public Task <RefundResponse> RefundAsync(RefundRequest request) { var p = ChannelConvertor.ToProvider(request.Channel); var c = _channels[p]; return(c.RefundAsync(request)); }
public Task <PaymentCallbackResponse> GetPaymentResultAsync(PaymentQueryRequest request) { var p = ChannelConvertor.ToProvider(request.Channel); var c = _channels[p]; return(c.GetPaymentResultAsync(request)); }
public Task <PaymentResponse> PayAsync(PaymentRequest request) { var p = ChannelConvertor.ToProvider(request.Channel); var c = _channels[p]; return(c.PayAsync(request)); }
public MiunieChannel ConvertChannel(DiscordChannel c) => ChannelConvertor.FromDiscordChannel(c);