Class Tax
- Namespace
- Dynamicweb.Ecommerce.Products.Taxes
- Assembly
- Dynamicweb.Ecommerce.dll
The class Tax represents product tax.
[Serializable]
public class Tax : IWithPrice
- Inheritance
-
Tax
- Implements
- Inherited Members
Properties
Amount
Gets or sets the tax amount.
public PriceRaw Amount { get; set; }
Property Value
CalculateVat
Gets or sets the value indicating whether to calculate the tax vat.
public bool CalculateVat { get; set; }
Property Value
Name
Gets or sets the tax name.
public string Name { get; set; }
Property Value
Price
[Obsolete("Use GetPrice instead")]
public PriceInfo Price { get; }
Property Value
Product
Gets or sets the tax product.
public Product Product { get; set; }
Property Value
Methods
GetPrice(PriceContext)
Gets the tax price.
public PriceInfo GetPrice(PriceContext context)
Parameters
context
PriceContext