コード例 #1
0
 public KlarnaCheckoutHelper(
     IWorkContext workContext,
     IStoreContext storeContext,
     IOrderTotalCalculationService orderTotalCalculationService,
     ILocalizationService localizationService,
     IProductAttributeParser productAttributeParser,
     ITaxService taxService,
     IPriceCalculationService priceCalculationService,
     ICurrencyService currencyService,
     IGenericAttributeService genericAttributeService,
     ICheckoutAttributeParser checkoutAttributeParser,
     KlarnaCheckoutSettings klarnaSettings
     )
 {
     _workContext  = workContext;
     _storeContext = storeContext;
     _orderTotalCalculationService = orderTotalCalculationService;
     _localizationService          = localizationService;
     _productAttributeParser       = productAttributeParser;
     _taxService = taxService;
     _priceCalculationService = priceCalculationService;
     _currencyService         = currencyService;
     _genericAttributeService = genericAttributeService;
     _checkoutAttributeParser = checkoutAttributeParser;
     _klarnaSettings          = klarnaSettings;
 }
 public KlarnaCheckoutController(
     IWorkContext workContext,
     ISettingService settingService,
     KlarnaCheckoutSettings settings,
     OrderSettings orderSettings,
     IRepository<KlarnaCheckoutEntity> repository,
     IOrderService orderService,
     IOrderProcessingService orderProcessingService,
     IStoreContext storeContext,
     ILogger logger,
     ICustomerService customerService,
     ICurrencyService currencyService,
     IKlarnaCheckoutHelper klarnaCheckoutHelper,
     IKlarnaCheckoutPaymentService klarnaHelper)
 {
     _workContext = workContext;
     _settingService = settingService;
     _settings = settings;
     _orderSettings = orderSettings;
     _repository = repository;
     _orderService = orderService;
     _orderProcessingService = orderProcessingService;
     _storeContext = storeContext;
     _logger = logger;
     _customerService = customerService;
     _currencyService = currencyService;
     _klarnaCheckoutHelper = klarnaCheckoutHelper;
     _klarnaCheckoutPaymentService = klarnaHelper;
 }
 public KlarnaCheckoutPaymentService(
     IStoreContext storeContext,
     IWorkContext workContext,
     IWebHelper webHelper,
     IRepository<KlarnaCheckoutEntity> klarnaRepository,
     IKlarnaCheckoutHelper klarnaCheckoutUtils,
     ICustomerService customerService,
     ILogger logger,
     KlarnaCheckoutSettings klarnaSettings)
 {
     _storeContext = storeContext;
     _workContext = workContext;
     _webHelper = webHelper;
     _klarnaRepository = klarnaRepository;
     _klarnaCheckoutUtils = klarnaCheckoutUtils;
     _customerService = customerService;
     _logger = logger;
     _klarnaSettings = klarnaSettings;
 }
 public KlarnaCheckoutPaymentService(
     IStoreContext storeContext,
     IWorkContext workContext,
     IWebHelper webHelper,
     IRepository <KlarnaCheckoutEntity> klarnaRepository,
     IKlarnaCheckoutHelper klarnaCheckoutUtils,
     ICustomerService customerService,
     ILogger logger,
     KlarnaCheckoutSettings klarnaSettings,
     IOrderService orderService)
 {
     _storeContext        = storeContext;
     _workContext         = workContext;
     _webHelper           = webHelper;
     _klarnaRepository    = klarnaRepository;
     _klarnaCheckoutUtils = klarnaCheckoutUtils;
     _customerService     = customerService;
     _logger         = logger;
     _klarnaSettings = klarnaSettings;
     _orderService   = orderService;
 }
コード例 #5
0
 public KlarnaCheckoutHelper(
     IWorkContext workContext,
     IStoreContext storeContext,
     IOrderTotalCalculationService orderTotalCalculationService,
     ILocalizationService localizationService,
     IProductAttributeParser productAttributeParser,
     ITaxService taxService,
     IPriceCalculationService priceCalculationService,
     ICurrencyService currencyService,
     IGenericAttributeService genericAttributeService,
     ICheckoutAttributeParser checkoutAttributeParser,
     KlarnaCheckoutSettings klarnaSettings
     )
 {
     _workContext = workContext;
     _storeContext = storeContext;
     _orderTotalCalculationService = orderTotalCalculationService;
     _localizationService = localizationService;
     _productAttributeParser = productAttributeParser;
     _taxService = taxService;
     _priceCalculationService = priceCalculationService;
     _currencyService = currencyService;
     _genericAttributeService = genericAttributeService;
     _checkoutAttributeParser = checkoutAttributeParser;
     _klarnaSettings = klarnaSettings;
 }