Click or drag to resize
DiscountSummaryItem Class
Class used for displaying order and multibuy discounts in Invoice, Email template and Shopping cart.
Inheritance Hierarchy
SystemObject
  CMS.EcommerceDiscountSummaryItem

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
[SerializableAttribute]
public class DiscountSummaryItem : IDataContainer, 
	ISimpleDataContainer

The DiscountSummaryItem type exposes the following members.

Constructors
  NameDescription
Public methodDiscountSummaryItem
Top
Properties
  NameDescription
Public propertyColumnNames
DiscountSummaryItem object property names.
Public propertyItem
Gets or sets the value of the column.
Public propertyName
Discount item name used for displaying in Invoice, Email template and Shopping cart.
Public propertyValue
Discount item value in shopping cart currency used for displaying in Invoice, Email template and Shopping cart.
Public propertyValueInMainCurrency
Discount item value in main currency used for calculation.
Top
Methods
  NameDescription
Public methodContainsColumn
Returns true if the object contains specified column.
Public methodGetValue
Gets the value of column.
Public methodSetValue
Sets value of column.
Public methodTryGetValue
Returns value of column.
Top
Extension Methods
  NameDescription
Public Extension MethodCopyTo
Copies the data of specified columns of the source object to the target object.
(Defined by DataExtensions.)
Public Extension MethodCheckRequiredColumns
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.)
Public Extension MethodToJSON
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Public Extension MethodToXML
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Top
See Also