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: 13.0.131
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