Class TaxValue
Contains Tax Value
Inheritance
System.Object
TaxValue
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Orders
Assembly: Mediachase.Commerce.dll
Version: 12.17.2Syntax
public class TaxValue : 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. |