本文整理汇总了C#中ITaxService类的典型用法代码示例。如果您正苦于以下问题:C# ITaxService类的具体用法?C# ITaxService怎么用?C# ITaxService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ITaxService类属于命名空间,在下文中一共展示了ITaxService类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: CheckoutController
/// <summary>
/// CTR
/// </summary>
/// <param name="themes"></param>
public CheckoutController(ICartService carts, ThemeService themes, ITaxService taxes, IShippingService shipping)
{
_CartService = carts;
_ThemeService = themes;
_TaxService = taxes;
_ShippingService = shipping;
}
示例2: CheckoutAttributeFormatter
public CheckoutAttributeFormatter(IWorkContext workContext,
ICheckoutAttributeService checkoutAttributeService,
ICheckoutAttributeParser checkoutAttributeParser,
ICurrencyService currencyService,
ITaxService taxService,
IPriceFormatter priceFormatter,
IDownloadService downloadService,
IWebHelper webHelper,
PromoSettings promoSettings,
IPromoUtilities qixolPromoUtilities,
IAttributeValueService attributeValueService)
: base(workContext, checkoutAttributeService, checkoutAttributeParser,
currencyService, taxService, priceFormatter,
downloadService, webHelper)
{
this._workContext = workContext;
this._checkoutAttributeService = checkoutAttributeService;
this._checkoutAttributeParser = checkoutAttributeParser;
this._currencyService = currencyService;
this._taxService = taxService;
this._priceFormatter = priceFormatter;
this._downloadService = downloadService;
this._webHelper = webHelper;
this._promoSettings = promoSettings;
this._qixolPromoUtilities = qixolPromoUtilities;
this._attributeValueService = attributeValueService;
}
示例3: SetUp
public new void SetUp()
{
_store = new Store() { Id = 1 };
_storeContext = MockRepository.GenerateMock<IStoreContext>();
_storeContext.Expect(x => x.CurrentStore).Return(_store);
_discountService = MockRepository.GenerateMock<IDiscountService>();
_categoryService = MockRepository.GenerateMock<ICategoryService>();
_productAttributeParser = MockRepository.GenerateMock<IProductAttributeParser>();
_productService = MockRepository.GenerateMock<IProductService>();
_productAttributeService = MockRepository.GenerateMock<IProductAttributeService>();
_downloadService = MockRepository.GenerateMock<IDownloadService>();
_commonServices = MockRepository.GenerateMock<ICommonServices>();
_commonServices.Expect(x => x.StoreContext).Return(_storeContext);
_httpRequestBase = MockRepository.GenerateMock<HttpRequestBase>();
_taxService = MockRepository.GenerateMock<ITaxService>();
_shoppingCartSettings = new ShoppingCartSettings();
_catalogSettings = new CatalogSettings();
_priceCalcService = new PriceCalculationService(_discountService, _categoryService, _productAttributeParser, _productService, _shoppingCartSettings, _catalogSettings,
_productAttributeService, _downloadService, _commonServices, _httpRequestBase, _taxService);
}
示例4: GoogleCheckoutPaymentProcessor
public GoogleCheckoutPaymentProcessor(ISettingService settingService,
IWebHelper webHelper, ITaxService taxService,
IShippingService shippingService,
IOrderTotalCalculationService orderTotalCalculationService,
IProductAttributeFormatter productAttributeFormatter,
IPriceCalculationService priceCalculationService, IWorkContext workContext,
ICustomerService customerService, IGenericAttributeService genericAttributeService,
ICountryService countryService,
IStateProvinceService stateProvinceService, IOrderProcessingService orderProcessingService,
IOrderService orderService, ILogger logger, HttpContextBase httpContext)
{
this._settingService = settingService;
this._webHelper = webHelper;
this._taxService = taxService;
this._shippingService = shippingService;
this._orderTotalCalculationService = orderTotalCalculationService;
this._productAttributeFormatter = productAttributeFormatter;
this._priceCalculationService = priceCalculationService;
this._workContext = workContext;
this._customerService = customerService;
this._genericAttributeService = genericAttributeService;
this._countryService = countryService;
this._stateProvinceService = stateProvinceService;
this._orderProcessingService = orderProcessingService;
this._orderService = orderService;
this._logger = logger;
this._httpContext = httpContext;
}
示例5: MiscFacebookShopController
public MiscFacebookShopController(IAclService aclService,
ICacheManager cacheManager,
CatalogSettings catalogSettings,
ICategoryService categoryService,
ICurrencyService currencyService,
ILocalizationService localizationService,
IPermissionService permissionService,
IPictureService pictureService,
IPriceCalculationService priceCalculationService,
IPriceFormatter priceFormatter,
IProductService productService,
IStoreContext storeContext,
IStoreMappingService storeMappingService,
ITaxService taxService,
IWorkContext workContext)
{
this._aclService = aclService;
this._cacheManager = cacheManager;
this._catalogSettings = catalogSettings;
this._categoryService = categoryService;
this._currencyService = currencyService;
this._localizationService = localizationService;
this._permissionService = permissionService;
this._pictureService = pictureService;
this._priceCalculationService = priceCalculationService;
this._priceFormatter = priceFormatter;
this._productService = productService;
this._storeContext = storeContext;
this._storeMappingService = storeMappingService;
this._taxService = taxService;
this._workContext = workContext;
}
示例6: EmployeeController
public EmployeeController(IEmployeeService employeeService, ITaxService taxService, IMapper mapper, IPathProvider pathProvider)
{
_employeeService = employeeService;
_taxService = taxService;
_mapper = mapper;
_pathProvider = pathProvider;
}
示例7: CheckoutController
public CheckoutController(IWorkContext workContext,
IShoppingCartService shoppingCartService, ILocalizationService localizationService,
ITaxService taxService, ICurrencyService currencyService,
IPriceFormatter priceFormatter, IOrderProcessingService orderProcessingService,
ICustomerService customerService, ICountryService countryService,
IStateProvinceService stateProvinceService, IShippingService shippingService,
IPaymentService paymentService, IOrderTotalCalculationService orderTotalCalculationService,
ILogger logger, IOrderService orderService, IWebHelper webHelper,
OrderSettings orderSettings, RewardPointsSettings rewardPointsSettings,
PaymentSettings paymentSettings)
{
this._workContext = workContext;
this._shoppingCartService = shoppingCartService;
this._localizationService = localizationService;
this._taxService = taxService;
this._currencyService = currencyService;
this._priceFormatter = priceFormatter;
this._orderProcessingService = orderProcessingService;
this._customerService = customerService;
this._countryService = countryService;
this._stateProvinceService = stateProvinceService;
this._shippingService = shippingService;
this._paymentService = paymentService;
this._orderTotalCalculationService = orderTotalCalculationService;
this._logger = logger;
this._orderService = orderService;
this._webHelper = webHelper;
this._orderSettings = orderSettings;
this._rewardPointsSettings = rewardPointsSettings;
this._paymentSettings = paymentSettings;
}
示例8: PriceCalculationService
public PriceCalculationService(
IDiscountService discountService,
ICategoryService categoryService,
IProductAttributeParser productAttributeParser,
IProductService productService,
ShoppingCartSettings shoppingCartSettings,
CatalogSettings catalogSettings,
IProductAttributeService productAttributeService,
IDownloadService downloadService,
ICommonServices services,
HttpRequestBase httpRequestBase,
ITaxService taxService)
{
this._discountService = discountService;
this._categoryService = categoryService;
this._productAttributeParser = productAttributeParser;
this._productService = productService;
this._shoppingCartSettings = shoppingCartSettings;
this._catalogSettings = catalogSettings;
this._productAttributeService = productAttributeService;
this._downloadService = downloadService;
this._services = services;
this._httpRequestBase = httpRequestBase;
this._taxService = taxService;
}
示例9: OrderTotalCalculationService
/// <summary>
/// Ctor
/// </summary>
/// <param name="workContext">Work context</param>
/// <param name="storeContext">Store context</param>
/// <param name="priceCalculationService">Price calculation service</param>
/// <param name="taxService">Tax service</param>
/// <param name="shippingService">Shipping service</param>
/// <param name="paymentService">Payment service</param>
/// <param name="checkoutAttributeParser">Checkout attribute parser</param>
/// <param name="discountService">Discount service</param>
/// <param name="giftCardService">Gift card service</param>
/// <param name="genericAttributeService">Generic attribute service</param>
/// <param name="taxSettings">Tax settings</param>
/// <param name="rewardPointsSettings">Reward points settings</param>
/// <param name="shippingSettings">Shipping settings</param>
/// <param name="shoppingCartSettings">Shopping cart settings</param>
/// <param name="catalogSettings">Catalog settings</param>
public OrderTotalCalculationService(IWorkContext workContext,
IStoreContext storeContext,
IPriceCalculationService priceCalculationService,
ITaxService taxService,
IShippingService shippingService,
IPaymentService paymentService,
ICheckoutAttributeParser checkoutAttributeParser,
IDiscountService discountService,
IGiftCardService giftCardService,
IGenericAttributeService genericAttributeService,
TaxSettings taxSettings,
RewardPointsSettings rewardPointsSettings,
ShippingSettings shippingSettings,
ShoppingCartSettings shoppingCartSettings,
CatalogSettings catalogSettings)
{
this._workContext = workContext;
this._storeContext = storeContext;
this._priceCalculationService = priceCalculationService;
this._taxService = taxService;
this._shippingService = shippingService;
this._paymentService = paymentService;
this._checkoutAttributeParser = checkoutAttributeParser;
this._discountService = discountService;
this._giftCardService = giftCardService;
this._genericAttributeService = genericAttributeService;
this._taxSettings = taxSettings;
this._rewardPointsSettings = rewardPointsSettings;
this._shippingSettings = shippingSettings;
this._shoppingCartSettings = shoppingCartSettings;
this._catalogSettings = catalogSettings;
}
示例10: FroogleService
public FroogleService(IGoogleService googleService,
IPriceCalculationService priceCalculationService,
ITaxService taxService,
IProductService productService,
ICategoryService categoryService,
IManufacturerService manufacturerService,
IPictureService pictureService,
ICurrencyService currencyService,
ILanguageService languageService,
ISettingService settingService,
IWorkContext workContext,
IMeasureService measureService,
MeasureSettings measureSettings,
FroogleSettings froogleSettings,
CurrencySettings currencySettings,
GoogleProductObjectContext objectContext)
{
this._googleService = googleService;
this._priceCalculationService = priceCalculationService;
this._taxService = taxService;
this._productService = productService;
this._categoryService = categoryService;
this._manufacturerService = manufacturerService;
this._pictureService = pictureService;
this._currencyService = currencyService;
this._languageService = languageService;
this._settingService = settingService;
this._workContext = workContext;
this._measureService = measureService;
this._measureSettings = measureSettings;
this._froogleSettings = froogleSettings;
this._currencySettings = currencySettings;
this._objectContext = objectContext;
}
示例11: TaxStrikeIronController
public TaxStrikeIronController(ITaxService taxService,
StrikeIronTaxSettings strikeIronTaxSettings, ISettingService settingService)
{
this._taxService = taxService;
this._strikeIronTaxSettings = strikeIronTaxSettings;
this._settingService = settingService;
}
示例12: CatalogController
public CatalogController(ICategoryService categoryService,
IManufacturerService manufacturerService, IProductService productService,
IProductTemplateService productTemplateService,
ICategoryTemplateService categoryTemplateService,
IManufacturerTemplateService manufacturerTemplateService,
IProductAttributeService productAttributeService, IProductAttributeParser productAttributeParser,
IWorkContext workContext, ITaxService taxService, ICurrencyService currencyService,
IPictureService pictureService, ILocalizationService localizationService,
IPriceCalculationService priceCalculationService, IPriceFormatter priceFormatter,
IWebHelper webHelper, ISpecificationAttributeService specificationAttributeService,
ICustomerContentService customerContentService, IDateTimeHelper dateTimeHelper,
IShoppingCartService shoppingCartService,
IRecentlyViewedProductsService recentlyViewedProductsService, ICompareProductsService compareProductsService,
IWorkflowMessageService workflowMessageService, IProductTagService productTagService,
IOrderReportService orderReportService, ICustomerService customerService,
IBackInStockSubscriptionService backInStockSubscriptionService,
IPermissionService permissionService,
MediaSettings mediaSetting, CatalogSettings catalogSettings,
ShoppingCartSettings shoppingCartSettings, StoreInformationSettings storeInformationSettings,
LocalizationSettings localizationSettings, CustomerSettings customerSettings, ICacheManager cacheManager)
{
this._categoryService = categoryService;
this._manufacturerService = manufacturerService;
this._productService = productService;
this._productTemplateService = productTemplateService;
this._categoryTemplateService = categoryTemplateService;
this._manufacturerTemplateService = manufacturerTemplateService;
this._productAttributeService = productAttributeService;
this._productAttributeParser = productAttributeParser;
this._workContext = workContext;
this._taxService = taxService;
this._currencyService = currencyService;
this._pictureService = pictureService;
this._localizationService = localizationService;
this._priceCalculationService = priceCalculationService;
this._priceFormatter = priceFormatter;
this._webHelper = webHelper;
this._specificationAttributeService = specificationAttributeService;
this._customerContentService = customerContentService;
this._dateTimeHelper = dateTimeHelper;
this._shoppingCartService = shoppingCartService;
this._recentlyViewedProductsService = recentlyViewedProductsService;
this._compareProductsService = compareProductsService;
this._workflowMessageService = workflowMessageService;
this._productTagService = productTagService;
this._orderReportService = orderReportService;
this._customerService = customerService;
this._backInStockSubscriptionService = backInStockSubscriptionService;
this._permissionService = permissionService;
this._mediaSetting = mediaSetting;
this._catalogSettings = catalogSettings;
this._shoppingCartSettings = shoppingCartSettings;
this._storeInformationSettings = storeInformationSettings;
this._localizationSettings = localizationSettings;
this._customerSettings = customerSettings;
this._cacheManager = cacheManager;
}
示例13: ProductController
public ProductController(
ICommonServices services,
IManufacturerService manufacturerService,
IProductService productService,
IProductAttributeService productAttributeService,
IProductAttributeParser productAttributeParser,
ITaxService taxService,
ICurrencyService currencyService,
IPictureService pictureService,
IPriceCalculationService priceCalculationService,
IPriceFormatter priceFormatter,
ICustomerContentService customerContentService,
ICustomerService customerService,
IShoppingCartService shoppingCartService,
IRecentlyViewedProductsService recentlyViewedProductsService,
IWorkflowMessageService workflowMessageService,
IProductTagService productTagService,
IOrderReportService orderReportService,
IBackInStockSubscriptionService backInStockSubscriptionService,
IAclService aclService,
IStoreMappingService storeMappingService,
MediaSettings mediaSettings,
CatalogSettings catalogSettings,
ShoppingCartSettings shoppingCartSettings,
LocalizationSettings localizationSettings,
CaptchaSettings captchaSettings,
CatalogHelper helper,
IDownloadService downloadService,
ILocalizationService localizationService)
{
this._services = services;
this._manufacturerService = manufacturerService;
this._productService = productService;
this._productAttributeService = productAttributeService;
this._productAttributeParser = productAttributeParser;
this._taxService = taxService;
this._currencyService = currencyService;
this._pictureService = pictureService;
this._priceCalculationService = priceCalculationService;
this._priceFormatter = priceFormatter;
this._customerContentService = customerContentService;
this._customerService = customerService;
this._shoppingCartService = shoppingCartService;
this._recentlyViewedProductsService = recentlyViewedProductsService;
this._workflowMessageService = workflowMessageService;
this._productTagService = productTagService;
this._orderReportService = orderReportService;
this._backInStockSubscriptionService = backInStockSubscriptionService;
this._aclService = aclService;
this._storeMappingService = storeMappingService;
this._mediaSettings = mediaSettings;
this._catalogSettings = catalogSettings;
this._shoppingCartSettings = shoppingCartSettings;
this._localizationSettings = localizationSettings;
this._captchaSettings = captchaSettings;
this._helper = helper;
this._downloadService = downloadService;
this._localizationService = localizationService;
}
示例14: CartService
public CartService(IRepository<Customer> repositoryCustomer,
IRepository<Product> repositoryProduct, IUnitOfWork unitOfWork, ITaxService taxDomainService)
{
this.repositoryCustomer = repositoryCustomer;
this.repositoryProduct = repositoryProduct;
this.unitOfWork = unitOfWork;
this.taxDomainService = taxDomainService;
}
示例15: CheckoutController
public CheckoutController(IWorkContext workContext,
IStoreContext storeContext,
IStoreMappingService storeMappingService,
IShoppingCartService shoppingCartService,
ILocalizationService localizationService,
ITaxService taxService,
ICurrencyService currencyService,
IPriceFormatter priceFormatter,
IOrderProcessingService orderProcessingService,
ICustomerService customerService,
IGenericAttributeService genericAttributeService,
ICountryService countryService,
IStateProvinceService stateProvinceService,
IShippingService shippingService,
IPaymentService paymentService,
IPluginFinder pluginFinder,
IOrderTotalCalculationService orderTotalCalculationService,
ILogger logger,
IOrderService orderService,
IWebHelper webHelper,
HttpContextBase httpContext,
IMobileDeviceHelper mobileDeviceHelper,
OrderSettings orderSettings,
RewardPointsSettings rewardPointsSettings,
PaymentSettings paymentSettings,
ShippingSettings shippingSettings,
AddressSettings addressSettings)
{
this._workContext = workContext;
this._storeContext = storeContext;
this._storeMappingService = storeMappingService;
this._shoppingCartService = shoppingCartService;
this._localizationService = localizationService;
this._taxService = taxService;
this._currencyService = currencyService;
this._priceFormatter = priceFormatter;
this._orderProcessingService = orderProcessingService;
this._customerService = customerService;
this._genericAttributeService = genericAttributeService;
this._countryService = countryService;
this._stateProvinceService = stateProvinceService;
this._shippingService = shippingService;
this._paymentService = paymentService;
this._pluginFinder = pluginFinder;
this._orderTotalCalculationService = orderTotalCalculationService;
this._logger = logger;
this._orderService = orderService;
this._webHelper = webHelper;
this._httpContext = httpContext;
this._mobileDeviceHelper = mobileDeviceHelper;
this._orderSettings = orderSettings;
this._rewardPointsSettings = rewardPointsSettings;
this._paymentSettings = paymentSettings;
this._shippingSettings = shippingSettings;
this._addressSettings = addressSettings;
}