Пример #1
0
 public AbcTaxProvider(AbcTaxSettings abcTaxSettings,
                       IAbcTaxService abcTaxService,
                       ICountryService countryService,
                       IGenericAttributeService genericAttributeService,
                       IHttpContextAccessor httpContextAccessor,
                       ILocalizationService localizationService,
                       INopDataProvider nopDataProvider,
                       IOrderTotalCalculationService orderTotalCalculationService,
                       IPaymentService paymentService,
                       ISettingService settingService,
                       IStaticCacheManager staticCacheManager,
                       ITaxCategoryService taxCategoryService,
                       ITaxjarRateService taxjarRateService,
                       ITaxService taxService,
                       IWebHelper webHelper,
                       TaxSettings taxSettings)
 {
     _abcTaxSettings               = abcTaxSettings;
     _abcTaxService                = abcTaxService;
     _countryService               = countryService;
     _genericAttributeService      = genericAttributeService;
     _httpContextAccessor          = httpContextAccessor;
     _localizationService          = localizationService;
     _nopDataProvider              = nopDataProvider;
     _orderTotalCalculationService = orderTotalCalculationService;
     _paymentService               = paymentService;
     _settingService               = settingService;
     _staticCacheManager           = staticCacheManager;
     _taxCategoryService           = taxCategoryService;
     _taxjarRateService            = taxjarRateService;
     _taxService  = taxService;
     _webHelper   = webHelper;
     _taxSettings = taxSettings;
 }
Пример #2
0
        public AbcTaxController(AbcTaxSettings abcTaxSettings,
                                ICountryService countryService,
                                IAbcTaxService abcTaxService,
                                ILocalizationService localizationService,
                                INotificationService notificationService,
                                IPermissionService permissionService,
                                ISettingService settingService,
                                IStateProvinceService stateProvinceService,
                                IStoreService storeService,
                                ITaxCategoryService taxCategoryService,
                                IGenericAttributeService genericAttributeService,
                                IWorkContext workContext)

        {
            _abcTaxSettings          = abcTaxSettings;
            _countryService          = countryService;
            _abcTaxService           = abcTaxService;
            _permissionService       = permissionService;
            _localizationService     = localizationService;
            _notificationService     = notificationService;
            _settingService          = settingService;
            _stateProvinceService    = stateProvinceService;
            _storeService            = storeService;
            _taxCategoryService      = taxCategoryService;
            _genericAttributeService = genericAttributeService;
            _workContext             = workContext;
        }
Пример #3
0
 public ModelCacheEventConsumer(IAbcTaxService abcTaxService,
                                ISettingService settingService,
                                IStaticCacheManager staticCacheManager)
 {
     _abcTaxService      = abcTaxService;
     _settingService     = settingService;
     _staticCacheManager = staticCacheManager;
 }
Пример #4
0
 public WarrantyTaxService(
     IAttributeUtilities attributeUtilities,
     IImportUtilities importUtilities,
     IAbcTaxService abcTaxService,
     IAddressService addressService,
     IProductAttributeParser productAttributeParser,
     IProductService productService,
     ITaxService taxService,
     ITaxCategoryService taxCategoryService
     )
 {
     _attributeUtilities     = attributeUtilities;
     _importUtilities        = importUtilities;
     _abcTaxService          = abcTaxService;
     _addressService         = addressService;
     _productAttributeParser = productAttributeParser;
     _productService         = productService;
     _taxService             = taxService;
     _taxCategoryService     = taxCategoryService;
 }