public CustomOrderTotalCalculationService(CatalogSettings catalogSettings,
                                                  IAddressService addressService,
                                                  ICheckoutAttributeParser checkoutAttributeParser,
                                                  ICustomerService customerService,
                                                  IDiscountService discountService,
                                                  IGenericAttributeService genericAttributeService,
                                                  IGiftCardService giftCardService,
                                                  IOrderService orderService,
                                                  IPaymentService paymentService,
                                                  IPriceCalculationService priceCalculationService,
                                                  IProductService productService,
                                                  IRewardPointService rewardPointService,
                                                  IShippingPluginManager shippingPluginManager,
                                                  IShippingService shippingService,
                                                  IShoppingCartService shoppingCartService,
                                                  IStoreContext storeContext,
                                                  ITaxService taxService,
                                                  IWorkContext workContext,
                                                  RewardPointsSettings rewardPointsSettings,
                                                  ShippingSettings shippingSettings,
                                                  ShoppingCartSettings shoppingCartSettings,
                                                  TaxSettings taxSettings,
                                                  // custom
                                                  IWarrantyTaxService warrantyTaxService
                                                  )
            : base(catalogSettings, addressService, checkoutAttributeParser, customerService,
                   discountService, genericAttributeService, giftCardService, orderService,
                   paymentService, priceCalculationService, productService, rewardPointService,
                   shippingPluginManager, shippingService, shoppingCartService,
                   storeContext, taxService, workContext, rewardPointsSettings,
                   shippingSettings, shoppingCartSettings, taxSettings)
        {
            _catalogSettings         = catalogSettings;
            _addressService          = addressService;
            _checkoutAttributeParser = checkoutAttributeParser;
            _customerService         = customerService;
            _discountService         = discountService;
            _genericAttributeService = genericAttributeService;
            _giftCardService         = giftCardService;
            _orderService            = orderService;
            _paymentService          = paymentService;
            _priceCalculationService = priceCalculationService;
            _productService          = productService;
            _rewardPointService      = rewardPointService;
            _shippingPluginManager   = shippingPluginManager;
            _shippingService         = shippingService;
            _shoppingCartService     = shoppingCartService;
            _storeContext            = storeContext;
            _taxService           = taxService;
            _workContext          = workContext;
            _rewardPointsSettings = rewardPointsSettings;
            _shippingSettings     = shippingSettings;
            _shoppingCartSettings = shoppingCartSettings;
            _taxSettings          = taxSettings;

            // custom
            _warrantyTaxService = warrantyTaxService;
        }
Exemple #2
0
        public CustomOrderProcessingService(
            CurrencySettings currencySettings,
            IAddressService addressService,
            IAffiliateService affiliateService,
            ICheckoutAttributeFormatter checkoutAttributeFormatter,
            ICountryService countryService,
            ICurrencyService currencyService,
            ICustomerActivityService customerActivityService,
            ICustomerService customerService,
            ICustomNumberFormatter customNumberFormatter,
            IDiscountService discountService,
            IEncryptionService encryptionService,
            IEventPublisher eventPublisher,
            IGenericAttributeService genericAttributeService,
            IGiftCardService giftCardService,
            ILanguageService languageService,
            ILocalizationService localizationService,
            ILogger logger,
            IOrderService orderService,
            IOrderTotalCalculationService orderTotalCalculationService,
            IPaymentPluginManager paymentPluginManager,
            IPaymentService paymentService,
            IPdfService pdfService,
            IPriceCalculationService priceCalculationService,
            IPriceFormatter priceFormatter,
            IProductAttributeFormatter productAttributeFormatter,
            IProductAttributeParser productAttributeParser,
            IProductService productService,
            IRewardPointService rewardPointService,
            IShipmentService shipmentService,
            IShippingService shippingService,
            IShoppingCartService shoppingCartService,
            IStateProvinceService stateProvinceService,
            ITaxService taxService,
            IVendorService vendorService,
            IWebHelper webHelper,
            IWorkContext workContext,
            IWorkflowMessageService workflowMessageService,
            LocalizationSettings localizationSettings,
            OrderSettings orderSettings,
            PaymentSettings paymentSettings,
            RewardPointsSettings rewardPointsSettings,
            ShippingSettings shippingSettings,
            TaxSettings taxSettings,
            // custom
            IWarrantyTaxService warrantyTaxService
            ) : base(currencySettings, addressService, affiliateService, checkoutAttributeFormatter,
                     countryService, currencyService, customerActivityService, customerService,
                     customNumberFormatter, discountService, encryptionService,
                     eventPublisher, genericAttributeService, giftCardService,
                     languageService, localizationService, logger, orderService,
                     orderTotalCalculationService, paymentPluginManager, paymentService,
                     pdfService, priceCalculationService, priceFormatter,
                     productAttributeFormatter, productAttributeParser, productService,
                     rewardPointService, shipmentService, shippingService, shoppingCartService,
                     stateProvinceService, taxService, vendorService, webHelper, workContext,
                     workflowMessageService, localizationSettings, orderSettings,
                     paymentSettings, rewardPointsSettings, shippingSettings, taxSettings)
        {
            _customerActivityService = customerActivityService;
            _customerService         = customerService;
            _discountService         = discountService;
            _eventPublisher          = eventPublisher;
            _localizationService     = localizationService;
            _logger                    = logger;
            _orderService              = orderService;
            _paymentService            = paymentService;
            _priceCalculationService   = priceCalculationService;
            _productAttributeFormatter = productAttributeFormatter;
            _productService            = productService;
            _shippingService           = shippingService;
            _shoppingCartService       = shoppingCartService;
            _taxService                = taxService;
            _paymentSettings           = paymentSettings;

            // custom
            _warrantyTaxService = warrantyTaxService;
        }