Example #1
0
 public WorldpayPaymentManager(ILogger logger,
                               IWorkContext workContext,
                               WorldpayPaymentSettings worldpayPaymentSettings)
 {
     this._logger                  = logger;
     this._workContext             = workContext;
     this._worldpayPaymentSettings = worldpayPaymentSettings;
 }
 public PaymentWorldpayController(ILocalizationService localizationService,
                                  IPermissionService permissionService,
                                  ISettingService settingService,
                                  WorldpayPaymentSettings worldpayPaymentSettings)
 {
     this._localizationService     = localizationService;
     this._permissionService       = permissionService;
     this._settingService          = settingService;
     this._worldpayPaymentSettings = worldpayPaymentSettings;
 }
 public PaymentWorldpayController(ICustomerService customerService,
                                  IGenericAttributeService genericAttributeService,
                                  ILocalizationService localizationService,
                                  IPermissionService permissionService,
                                  ISettingService settingService,
                                  WorldpayPaymentManager worldpayPaymentManager,
                                  WorldpayPaymentSettings worldpayPaymentSettings)
 {
     this._customerService         = customerService;
     this._genericAttributeService = genericAttributeService;
     this._localizationService     = localizationService;
     this._permissionService       = permissionService;
     this._settingService          = settingService;
     this._worldpayPaymentManager  = worldpayPaymentManager;
     this._worldpayPaymentSettings = worldpayPaymentSettings;
 }