ICatalogTaxCalculatorApplyTax Method |
Applies a tax on the specified price using the parameters.
Applied tax value is returned in the tax parameter.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax 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:
DecimalA price with the tax reflected.
See Also