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;
 }
Example #2
0
 public KlarnaCheckoutController(
     IWorkContext workContext,
     ISettingService settingService,
     OrderSettings orderSettings,
     IRepository <KlarnaCheckoutEntity> repository,
     IOrderService orderService,
     IOrderProcessingService orderProcessingService,
     IStoreContext storeContext,
     ILogger logger,
     ICustomerService customerService,
     ICurrencyService currencyService,
     IStoreService storeService,
     ILocalizationService localizationService,
     IKlarnaCheckoutHelper klarnaCheckoutHelper,
     IKlarnaCheckoutPaymentService klarnaHelper,
     IPaymentService paymentService)
 {
     _workContext            = workContext;
     _settingService         = settingService;
     _orderSettings          = orderSettings;
     _repository             = repository;
     _orderService           = orderService;
     _orderProcessingService = orderProcessingService;
     _storeContext           = storeContext;
     _logger                       = logger;
     _customerService              = customerService;
     _currencyService              = currencyService;
     _storeService                 = storeService;
     _localizationService          = localizationService;
     _klarnaCheckoutHelper         = klarnaCheckoutHelper;
     _klarnaCheckoutPaymentService = klarnaHelper;
     _paymentService               = paymentService;
 }
 public KlarnaCheckoutProcessor(
     ILogger logger,
     IKlarnaCheckoutHelper klarnaCheckout,
     IKlarnaCheckoutPaymentService klarnaCheckoutPaymentService,
     IOrderService orderService,
     IRepository<KlarnaCheckoutEntity> repository)
 {
     _logger = logger;
     _klarnaCheckout = klarnaCheckout;
     _klarnaCheckoutPaymentService = klarnaCheckoutPaymentService;
     _orderService = orderService;
     _repository = repository;
 }
 public KlarnaCheckoutController(
     IWorkContext workContext,
     ISettingService settingService,
     OrderSettings orderSettings,
     IRepository <KlarnaCheckoutEntity> repository,
     IOrderService orderService,
     IOrderProcessingService orderProcessingService,
     IStoreContext storeContext,
     ILogger logger,
     ICustomerService customerService,
     ICurrencyService currencyService,
     IStoreService storeService,
     ILocalizationService localizationService,
     IKlarnaCheckoutHelper klarnaCheckoutHelper,
     IKlarnaCheckoutPaymentService klarnaHelper,
     IPaymentService paymentService,
     IShoppingCartService shoppingCartService,
     IProductService productService,
     IShippingService shippingService,
     IGenericAttributeService genericAttributeService,
     IGiftCardService giftCardService, ICheckoutAttributeParser checkoutAttributeParser, ICheckoutAttributeService checkoutAttributeService)
 {
     _workContext            = workContext;
     _settingService         = settingService;
     _orderSettings          = orderSettings;
     _repository             = repository;
     _orderService           = orderService;
     _orderProcessingService = orderProcessingService;
     _storeContext           = storeContext;
     _logger                       = logger;
     _customerService              = customerService;
     _currencyService              = currencyService;
     _storeService                 = storeService;
     _localizationService          = localizationService;
     _klarnaCheckoutHelper         = klarnaCheckoutHelper;
     _klarnaCheckoutPaymentService = klarnaHelper;
     _paymentService               = paymentService;
     _shoppingCartService          = shoppingCartService;
     _productService               = productService;
     _shippingService              = shippingService;
     _genericAttributeService      = genericAttributeService;
     _giftCardService              = giftCardService;
     _checkoutAttributeParser      = checkoutAttributeParser;
     _checkoutAttributeService     = checkoutAttributeService;
 }