Example #1
0
 public HomeController(IProcessorFactory factory, PayChannelService payChannelService,
                       PayOrderService payOrderService)
 {
     this.factory            = factory;
     this._payChannelService = payChannelService;
     this._payOrderService   = payOrderService;
 }
Example #2
0
 public MerchantPayController(MerchantPayProductService mpService, IExcelClient excelClient, PayChannelService payChannelService, PayProductService payProductService)
 {
     this._mpService         = mpService;
     this.excelClient        = excelClient;
     this._payChannelService = payChannelService;
     this._payProductService = payProductService;
 }
Example #3
0
 public Processor10001(MerchantService merchantService,
                       PayProductService payProductService,
                       MerchantPayProductService merchantPayProductService,
                       PayChannelService payChannelService,
                       PayOrderService payOrderService
                       )
 {
     this._merchantService           = merchantService;
     this._payProductService         = payProductService;
     this._merchantPayProductService = merchantPayProductService;
     this._payChannelService         = payChannelService;
     this._payOrderService           = payOrderService;
 }
Example #4
0
 public Processor_JuBaoPay(MerchantService merchantService,
                           PayProductService payProductService,
                           MerchantPayProductService merchantPayProductService,
                           PayChannelService payChannelService,
                           PayOrderService payOrderService
                           )
 {
     this._merchantService           = merchantService;
     this._payProductService         = payProductService;
     this._merchantPayProductService = merchantPayProductService;
     this._payChannelService         = payChannelService;
     this._payOrderService           = payOrderService;
     this.IsPostForm    = true;
     this.PayUrl        = "http://gateway.jbpay.net/api/gateway";
     this.RequestMethod = "POST";
 }
Example #5
0
 public PayChannelController(PayChannelService payChannelService, IExcelClient excelClient)
 {
     this._payChannelService = payChannelService;
     this.excelClient        = excelClient;
 }