Class TaxValue
Contains Tax Value
Inheritance
System.Object
TaxValue
Implements
Namespace: Mediachase.Commerce.Orders
Assembly: Mediachase.Commerce.dll
Version: 14.26.0Syntax
public class TaxValue : Object, ITaxValue
Constructors
TaxValue()
Initializes a new instance of the TaxValue class.
Declaration
public TaxValue()
TaxValue(Double, String, String, TaxType)
Initializes a new instance of the TaxValue class.
Declaration
public TaxValue(double percentage, string name, string displayname, TaxType type)
Parameters
Type | Name | Description |
---|---|---|
System.Double | percentage | The percentage. |
System.String | name | The name. |
System.String | displayname | The displayname. |
TaxType | type | The type. |
Properties
DisplayName
Gets or sets the display name.
Declaration
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The display name. |
Name
Gets or sets the name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name. |
Percentage
Gets or sets the percentage.
Declaration
public double Percentage { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The percentage. |
TaxType
Gets or sets the type of the tax.
Declaration
public TaxType TaxType { get; set; }
Property Value
Type | Description |
---|---|
TaxType | The type of the tax. |