public static WeixinResult Close(string orderId) { string url = WeUtil.GetUrl(WeShopConst.CLOSE_BILL_URL); WeBillId request = new WeBillId(orderId); var result = WeUtil.PostToUri(url, request.WriteJson(), new WeixinResult()); return result; }
public static WeBill QueryById(string orderId) { TkDebug.AssertArgumentNullOrEmpty(orderId, "orderId", null); string url = WeUtil.GetUrl(WeShopConst.BILL_ID_URL); WeBillId request = new WeBillId(orderId); var result = WeUtil.PostToUri(url, request.WriteJson(), new WeBillOrder()); return(result.Order); }
public static WeixinResult Close(string orderId) { TkDebug.AssertArgumentNullOrEmpty(orderId, "orderId", null); string url = WeUtil.GetUrl(WeShopConst.CLOSE_BILL_URL); WeBillId request = new WeBillId(orderId); var result = WeUtil.PostToUri(url, request.WriteJson(), new WeixinResult()); return(result); }
public static WeBill QueryById(string orderId) { TkDebug.AssertArgumentNullOrEmpty(orderId, "orderId", null); string url = WeUtil.GetUrl(WeShopConst.BILL_ID_URL); WeBillId request = new WeBillId(orderId); var result = WeUtil.PostToUri(url, request.WriteJson(), new WeBillOrder()); return result.Order; }
public static WeixinResult Close(string orderId) { TkDebug.AssertArgumentNullOrEmpty(orderId, "orderId", null); string url = WeUtil.GetUrl(WeShopConst.CLOSE_BILL_URL); WeBillId request = new WeBillId(orderId); var result = WeUtil.PostToUri(url, request.WriteJson(), new WeixinResult()); return result; }