Пример #1
0
 public PaymentWeixinController(ISettingService settingService, IPaymentService paymentService,
                                IOrderService orderService, ILogger logger, ILocalizationService localizationService,
                                IWebHelper webHelper, IOrderProcessingService orderProcessingService,
                                WeixinPaymentSetting WeixinPaymentSetting, IStoreContext storeContext,
                                IWeixinPaymentService weixinPaymentService)
 {
     this._settingService         = settingService;
     this._paymentService         = paymentService;
     this._orderService           = orderService;
     this._webHelper              = webHelper;
     this._logger                 = logger;
     this._localizationService    = localizationService;
     this._orderProcessingService = orderProcessingService;
     this._WeixinPaymentSetting   = WeixinPaymentSetting;
     this._storeContext           = storeContext;
     this._weixinPaymentService   = weixinPaymentService;
 }
 public WeixinPaymentProcessor(
     ILogger logger,
     HttpContextBase httpContext,
     WeixinPaymentSetting WeixinPaymentSetting,
     StoreInformationSettings storeInformationSettings, IWebHelper webHelper,
     ISettingService settingService,
     IOrderService orderService,
     IStoreContext storeContext,
     IWeixinPaymentService weixinPaymentService,
     IOrderTotalCalculationService orderTotalCalculationService)
 {
     this._logger                       = logger;
     this._httpContext                  = httpContext;
     this._WeixinPaymentSetting         = WeixinPaymentSetting;
     this._storeInformationSetting      = storeInformationSettings;
     this._webHelper                    = webHelper;
     this._settingService               = settingService;
     this._orderService                 = orderService;
     this._storeContext                 = storeContext;
     this._weixinPaymentService         = weixinPaymentService;
     this._orderTotalCalculationService = orderTotalCalculationService;
 }