コード例 #1
0
        public FixedOrByCountryStateZipController(FixedOrByCountryStateZipTaxSettings countryStateZipSettings,
                                                  ICountryService countryService,
                                                  ICountryStateZipService taxRateService,
                                                  ILocalizationService localizationService,
                                                  IPermissionService permissionService,
                                                  ISettingService settingService,
                                                  IStateProvinceService stateProvinceService,
                                                  IStoreService storeService,
                                                  ITaxCategoryService taxCategoryService,
                                                  IGenericAttributeService genericAttributeService,
                                                  IWorkContext workContext)

        {
            _countryStateZipSettings = countryStateZipSettings;
            _countryService          = countryService;
            _taxRateService          = taxRateService;
            _permissionService       = permissionService;
            _localizationService     = localizationService;
            _settingService          = settingService;
            _stateProvinceService    = stateProvinceService;
            _storeService            = storeService;
            _taxCategoryService      = taxCategoryService;
            _genericAttributeService = genericAttributeService;
            _workContext             = workContext;
        }
コード例 #2
0
 public FixedOrByCountryStateZipTaxProvider(FixedOrByCountryStateZipTaxSettings countryStateZipSettings,
                                            ICacheKeyService cacheKeyService,
                                            ICountryStateZipService taxRateService,
                                            IGenericAttributeService genericAttributeService,
                                            IHttpContextAccessor httpContextAccessor,
                                            ILocalizationService localizationService,
                                            IOrderTotalCalculationService orderTotalCalculationService,
                                            IPaymentService paymentService,
                                            ISettingService settingService,
                                            IStaticCacheManager staticCacheManager,
                                            ITaxCategoryService taxCategoryService,
                                            ITaxService taxService,
                                            IWebHelper webHelper,
                                            TaxSettings taxSettings)
 {
     _countryStateZipSettings      = countryStateZipSettings;
     _cacheKeyService              = cacheKeyService;
     _taxRateService               = taxRateService;
     _genericAttributeService      = genericAttributeService;
     _httpContextAccessor          = httpContextAccessor;
     _localizationService          = localizationService;
     _orderTotalCalculationService = orderTotalCalculationService;
     _paymentService               = paymentService;
     _settingService               = settingService;
     _staticCacheManager           = staticCacheManager;
     _taxCategoryService           = taxCategoryService;
     _taxService  = taxService;
     _webHelper   = webHelper;
     _taxSettings = taxSettings;
 }
コード例 #3
0
 public ModelCacheEventConsumer(ICountryStateZipService taxRateService,
                                ISettingService settingService,
                                IStaticCacheManager cacheManager)
 {
     this._taxRateService = taxRateService;
     this._settingService = settingService;
     this._cacheManager   = cacheManager;
 }
コード例 #4
0
 public ModelCacheEventConsumer(ICountryStateZipService taxRateService,
                                ISettingService settingService,
                                IStaticCacheManager staticCacheManager)
 {
     _taxRateService     = taxRateService;
     _settingService     = settingService;
     _staticCacheManager = staticCacheManager;
 }
コード例 #5
0
        public ModelCacheEventConsumer(ICountryStateZipService taxRateService, ISettingService settingService)
        {
            //TODO inject static cache manager using constructor
            this._cacheManager = EngineContext.Current.ContainerManager.Resolve <ICacheManager>("nop_cache_static");

            this._taxRateService = taxRateService;
            this._settingService = settingService;
        }
コード例 #6
0
 public FixedOrByCountryStateZipTaxProvider(ICountryStateZipService taxRateService,
                                            IStoreContext storeContext,
                                            CountryStateZipObjectContext objectContext,
                                            ICacheManager cacheManager,
                                            ISettingService settingService,
                                            FixedOrByCountryStateZipTaxSettings countryStateZipSettings)
 {
     this._taxRateService          = taxRateService;
     this._storeContext            = storeContext;
     this._objectContext           = objectContext;
     this._cacheManager            = cacheManager;
     this._settingService          = settingService;
     this._countryStateZipSettings = countryStateZipSettings;
 }
コード例 #7
0
 public FixedOrByCountryStateZipTaxProvider(FixedOrByCountryStateZipTaxSettings countryStateZipSettings,
                                            ICountryStateZipService taxRateService,
                                            ILocalizationService localizationService,
                                            ISettingService settingService,
                                            IStaticCacheManager cacheManager,
                                            ITaxCategoryService taxCategoryService,
                                            IWebHelper webHelper)
 {
     _countryStateZipSettings = countryStateZipSettings;
     _taxRateService          = taxRateService;
     _localizationService     = localizationService;
     _settingService          = settingService;
     _cacheManager            = cacheManager;
     _taxCategoryService      = taxCategoryService;
     _webHelper = webHelper;
 }
コード例 #8
0
 public FixedOrByCountryStateZipTaxProvider(CountryStateZipObjectContext objectContext,
                                            FixedOrByCountryStateZipTaxSettings countryStateZipSettings,
                                            ICountryStateZipService taxRateService,
                                            ILocalizationService localizationService,
                                            ISettingService settingService,
                                            IStaticCacheManager cacheManager,
                                            ITaxCategoryService taxCategoryService,
                                            IWebHelper webHelper)
 {
     this._objectContext           = objectContext;
     this._countryStateZipSettings = countryStateZipSettings;
     this._taxRateService          = taxRateService;
     this._localizationService     = localizationService;
     this._settingService          = settingService;
     this._cacheManager            = cacheManager;
     this._taxCategoryService      = taxCategoryService;
     this._webHelper = webHelper;
 }
 public FixedOrByCountryStateZipController(FixedOrByCountryStateZipTaxSettings countryStateZipSettings,
                                           ICountryService countryService,
                                           ICountryStateZipService taxRateService,
                                           IPermissionService permissionService,
                                           ISettingService settingService,
                                           IStateProvinceService stateProvinceService,
                                           IStoreService storeService,
                                           ITaxCategoryService taxCategoryService)
 {
     _countryStateZipSettings = countryStateZipSettings;
     _countryService          = countryService;
     _taxRateService          = taxRateService;
     _permissionService       = permissionService;
     _settingService          = settingService;
     _stateProvinceService    = stateProvinceService;
     _storeService            = storeService;
     _taxCategoryService      = taxCategoryService;
 }