Click or drag to resize
CouponCode Class
Represents the coupon code.
Inheritance Hierarchy
SystemObject
  CMS.EcommerceCouponCode

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
[SerializableAttribute]
public class CouponCode : ICouponCode, ICouponCodeApplication

The CouponCode type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyApplicationStatus
Gets the information about coupon application.
Public propertyCode
Gets the coupon code.
Public propertyValueInMainCurrency
The provided discount value in main currency.
Top
Methods
  NameDescription
Public methodApply
Applies coupon code during order creation.
Public methodShouldSerializeValueInMainCurrency
Do not remove. A conventional method that prevents the serialization of nullable decimal property.
Top
See Also