Click or drag to resize
TaxClassInfoProviderGetTaxValueInternal Method
Returns tax value based on the product price and tax type.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
protected virtual double GetTaxValueInternal(
	double price,
	double taxValue,
	bool isFlat
)

Parameters

price
Type: SystemDouble
Price the tax should be calculated from
taxValue
Type: SystemDouble
Tax value
isFlat
Type: SystemBoolean
True - tax value is flat, False - tax value is relative

Return Value

Type: Double
See Also