Exemplo n.º 1
0
        public Task <RefundResponse> RefundAsync(RefundRequest request)
        {
            var p = ChannelConvertor.ToProvider(request.Channel);
            var c = _channels[p];

            return(c.RefundAsync(request));
        }
Exemplo n.º 2
0
        public Task <PaymentCallbackResponse> GetPaymentResultAsync(PaymentQueryRequest request)
        {
            var p = ChannelConvertor.ToProvider(request.Channel);
            var c = _channels[p];

            return(c.GetPaymentResultAsync(request));
        }
Exemplo n.º 3
0
        public Task <PaymentResponse> PayAsync(PaymentRequest request)
        {
            var p = ChannelConvertor.ToProvider(request.Channel);
            var c = _channels[p];

            return(c.PayAsync(request));
        }