public EventConsumer(AvalaraTaxManager avalaraTaxManager,
                      ICheckoutAttributeService checkoutAttributeService,
                      ICustomerService customerService,
                      IGenericAttributeService genericAttributeService,
                      IHttpContextAccessor httpContextAccessor,
                      IPermissionService permissionService,
                      IProductService productService,
                      ITaxPluginManager taxPluginManager)
 {
     _avalaraTaxManager        = avalaraTaxManager;
     _checkoutAttributeService = checkoutAttributeService;
     _customerService          = customerService;
     _genericAttributeService  = genericAttributeService;
     _httpContextAccessor      = httpContextAccessor;
     _permissionService        = permissionService;
     _productService           = productService;
     _taxPluginManager         = taxPluginManager;
 }
Esempio n. 2
0
 public EventConsumer(AvalaraTaxManager avalaraTaxManager,
                      AvalaraTaxSettings avalaraTaxSettings,
                      ICheckoutAttributeService checkoutAttributeService,
                      ICustomerService customerService,
                      IGenericAttributeService genericAttributeService,
                      IHttpContextAccessor httpContextAccessor,
                      ILocalizationService localizationService,
                      IPermissionService permissionService,
                      IProductService productService,
                      ITaxPluginManager taxPluginManager,
                      IWorkContext workContext)
 {
     _avalaraTaxManager        = avalaraTaxManager;
     _avalaraTaxSettings       = avalaraTaxSettings;
     _checkoutAttributeService = checkoutAttributeService;
     _customerService          = customerService;
     _genericAttributeService  = genericAttributeService;
     _httpContextAccessor      = httpContextAccessor;
     _localizationService      = localizationService;
     _permissionService        = permissionService;
     _productService           = productService;
     _taxPluginManager         = taxPluginManager;
     _workContext = workContext;
 }
 public DownloadTaxRatesTask(AvalaraTaxManager avalaraTaxManager)
 {
     _avalaraTaxManager = avalaraTaxManager;
 }