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: 9.0.0
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
Properties
  NameDescription
Public propertyItemTaxCustomData
Tax class custom data.
Public propertyItemTaxDisplayName
Tax class display name.
Public propertyItemTaxID
Tax class unique identifier.
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
Methods
  NameDescription
Public methodGetObjectData
Gets object data.
Top
See Also