예제 #1
0
 public PaymentCardComController(IWorkContext workContext,
                                 IStoreService storeService,
                                 ISettingService settingService,
                                 IPaymentService paymentService,
                                 IOrderService orderService,
                                 IOrderProcessingService orderProcessingService,
                                 IStoreContext storeContext,
                                 ILogger logger,
                                 IWebHelper webHelper,
                                 PaymentSettings paymentSettings,
                                 CardComPaymentSettings cardComPaymentSettings,
                                 ICardComService cardComService)
 {
     this._workContext            = workContext;
     this._storeService           = storeService;
     this._settingService         = settingService;
     this._paymentService         = paymentService;
     this._orderService           = orderService;
     this._orderProcessingService = orderProcessingService;
     this._storeContext           = storeContext;
     this._logger                 = logger;
     this._webHelper              = webHelper;
     this._paymentSettings        = paymentSettings;
     this._cardComPaymentSettings = cardComPaymentSettings;
     this._cardComService         = cardComService;
 }
예제 #2
0
 public CardComService(IWorkContext workContext, CardComPaymentSettings cardComPaymentSettings,
                       ISettingService settingService, ICurrencyService currencyService,
                       CurrencySettings currencySettings, IWebHelper webHelper,
                       ICheckoutAttributeParser checkoutAttributeParser, ITaxService taxService,
                       IOrderTotalCalculationService orderTotalCalculationService, HttpContextBase httpContext,
                       IGenericAttributeService genericAttributeService,
                       ILocalizationService localizationService,
                       IEventPublisher eventPublisher)
 {
     this._workContext            = workContext;
     this._cardComPaymentSettings = cardComPaymentSettings;
     this._settingService         = settingService;
     this._currencyService        = currencyService;
     this._currencySettings       = currencySettings;
     this._webHelper = webHelper;
     this._checkoutAttributeParser = checkoutAttributeParser;
     this._taxService = taxService;
     this._orderTotalCalculationService = orderTotalCalculationService;
     this._httpContext             = httpContext;
     this._genericAttributeService = genericAttributeService;
     this._localizationService     = localizationService;
     this._eventPublisher          = eventPublisher;
 }