Click or drag to resize
ItemTax Class
Class representing tax which should be applied to the specified shopping cart item. It implements IItemTax interface.
Inheritance Hierarchy
SystemObject
  CMS.EcommerceItemTax

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
[SerializableAttribute]
public class ItemTax : IItemTax

The ItemTax type exposes the following members.

Constructors
  NameDescription
Public methodItemTax
Constructor - Creates an empty ItemTax object.
Public methodItemTax(SerializationInfo, StreamingContext)
Constructor - Creates a new ItemTax object from serialized data.
Top
Methods
  NameDescription
Public methodGetObjectData
Gets object data.
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Properties
  NameDescription
Public propertyItemTaxCustomData
Tax class custom data.
Public propertyItemTaxDisplayName
Tax class display name.
Public propertyItemTaxID
Tax class unique identifier.
Public propertyItemTaxIsFlat
True - tax class value is flat, False (default) - tax class is relative.
Public propertyItemTaxIsGlobal
True - tax class value is set in global main currency, False (default) - tax class value is set in site main currency. Takes effect only if tax class is flat.
Public propertyItemTaxValue
Tax class value. It can be either relative or flat according to the ItemTaxClassIsFlat property.
Public propertyItemTaxZeroIfIDSupplied
True - if customer's tax ID is supplied, the tax value for the customer is zero. False (default) - value of the tax is calculated
Top
See Also