TaxClassInfoProvider GetTaxValue Method Kentico 8.0 API Reference
Returns calculated tax based on the product price and tax type.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

price
Type: OnlineSystem Double
Price the tax should be calculated from
taxValue
Type: OnlineSystem Double
Tax value
isFlat
Type: OnlineSystem Boolean
True - tax value is flat (both price and tax value must be expressed in the same currency to obtain correct result), False - tax value is relative (currency of the price is not important).

Return Value

Type: OnlineDouble
See Also