Example #1
0
 public PaymentPayGateController(IWorkContext workContext,
                                 IStoreService storeService,
                                 ISettingService settingService,
                                 IPaymentService paymentService,
                                 IOrderService orderService,
                                 IOrderProcessingService orderProcessingService,
                                 ILocalizationService localizationService,
                                 IStoreContext storeContext,
                                 ILogger logger,
                                 IWebHelper webHelper,
                                 PaymentSettings paymentSettings,
                                 PayGatePaymentSettings payGatePaymentSettings)
 {
     this._workContext            = workContext;
     this._storeService           = storeService;
     this._settingService         = settingService;
     this._paymentService         = paymentService;
     this._orderService           = orderService;
     this._orderProcessingService = orderProcessingService;
     this._localizationService    = localizationService;
     this._storeContext           = storeContext;
     this._logger                 = logger;
     this._webHelper              = webHelper;
     this._paymentSettings        = paymentSettings;
     this._payGatePaymentSettings = payGatePaymentSettings;
 }
 public PaymentPayGateController(
     IWorkContext workContext,
     IStoreService storeService,
     ISettingService settingService,
     IOrderService orderService,
     IOrderProcessingService orderProcessingService,
     ILocalizationService localizationService,
     IPermissionService permissionService,
     ILogger logger,
     PayGatePaymentSettings payGatePaymentSettings,
     INotificationService notificationService,
     IStoreContext storeContext
     )
 {
     this._workContext            = workContext;
     this._storeService           = storeService;
     this._settingService         = settingService;
     this._orderService           = orderService;
     this._orderProcessingService = orderProcessingService;
     this._localizationService    = localizationService;
     this._permissionService      = permissionService;
     this._payGatePaymentSettings = payGatePaymentSettings;
     this._logger = logger;
     this._notificationService = notificationService;
     this._storeContext        = storeContext;
 }