TaxClassInfoProviderApplyTax Method (Double, Double, Boolean) |
Note: This API is now obsolete.
Returns the modified price after the specified tax is applied.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax[ObsoleteAttribute("Use ApplyTax(double price, double taxValue). Flat taxes were removed.")]
public static double ApplyTax(
double price,
double taxValue,
bool isFlat
)
Parameters
- price
- Type: SystemDouble
Price the tax should be applied to - taxValue
- Type: SystemDouble
Tax value, either flat or relative - isFlat
- Type: SystemBoolean
True - tax value is flat, False - tax value is relative
Return Value
Type:
Double
See Also