public KlarnaCheckoutService( IOrderGroupTotalsCalculator orderGroupTotalsCalculator, IOrderRepository orderRepository, IPaymentProcessor paymentProcessor, IOrderGroupCalculator orderGroupCalculator, IKlarnaOrderValidator klarnaOrderValidator, KlarnaOrderServiceFactory klarnaOrderServiceFactory) : base(orderRepository, paymentProcessor, orderGroupCalculator) { _orderGroupTotalsCalculator = orderGroupTotalsCalculator; _orderRepository = orderRepository; _klarnaOrderValidator = klarnaOrderValidator; _klarnaOrderServiceFactory = klarnaOrderServiceFactory; }
public KlarnaCheckoutService( IOrderRepository orderRepository, IPaymentProcessor paymentProcessor, IOrderGroupCalculator orderGroupCalculator, IKlarnaOrderValidator klarnaOrderValidator, IMarketService marketService, ICheckoutConfigurationLoader checkoutConfigurationLoader, KlarnaOrderServiceFactory klarnaOrderServiceFactory) : base(orderRepository, paymentProcessor, orderGroupCalculator, marketService) { _orderGroupCalculator = orderGroupCalculator; _orderRepository = orderRepository; _klarnaOrderValidator = klarnaOrderValidator; _marketService = marketService; _checkoutConfigurationLoader = checkoutConfigurationLoader; _klarnaOrderServiceFactory = klarnaOrderServiceFactory; }