Пример #1
0
        public static BasePayResponse CloseOrder(string outTradeNo)
        {
            TkDebug.AssertArgumentNullOrEmpty(outTradeNo, "outTradeNo", null);

            WeCloseOrderRequest request = new WeCloseOrderRequest(outTradeNo);

            return(PostData <BasePayResponse>(WePayConst.CLOSE_ORDER_URL, request));
        }
Пример #2
0
        public static WeOrderQueryResponse QueryOrder(string outTradeNo)
        {
            TkDebug.AssertArgumentNullOrEmpty(outTradeNo, "outTradeNo", null);

            WeCloseOrderRequest request = new WeCloseOrderRequest(outTradeNo);

            return(PostData <WeOrderQueryResponse>(WePayConst.ORDER_QUERY_URL, request));
        }