Table of Contents

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

PriceRaw

CalculateVat

Gets or sets the value indicating whether to calculate the tax vat.
public bool CalculateVat { get; set; }

Property Value

bool

Name

Gets or sets the tax name.
public string Name { get; set; }

Property Value

string

Price

[Obsolete("Use GetPrice instead")]
public PriceInfo Price { get; }

Property Value

PriceInfo

Product

Gets or sets the tax product.
public Product Product { get; set; }

Property Value

Product

Methods

GetPrice(PriceContext)

Gets the tax price.
public PriceInfo GetPrice(PriceContext context)

Parameters

context PriceContext

Returns

PriceInfo
To top