Click or drag to resize
ICatalogTaxCalculatorApplyTax Method
Applies a tax on the specified price using the parameters. Applied tax value is returned in the tax parameter.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
decimal ApplyTax(
	SKUInfo sku,
	decimal price,
	TaxCalculationParameters parameters,
	out decimal tax
)

Parameters

sku
Type: CMS.EcommerceSKUInfo
An SKU object.
price
Type: SystemDecimal
A taxed price.
parameters
Type: CMS.EcommerceTaxCalculationParameters
A parameters of calculation.
tax
Type: SystemDecimal
A tax

Return Value

Type: Decimal
A price with the tax reflected.
See Also