CouponCode Class |
Namespace: CMS.Ecommerce
[SerializableAttribute] public class CouponCode : ICouponCode, ICouponCodeApplication
The CouponCode type exposes the following members.
Name | Description | |
---|---|---|
CouponCode | Obsolete.
Creates a new instance of CouponCode | |
CouponCode(String) |
Creates a new instance of CouponCode | |
CouponCode(String, CouponCodeApplicationStatusEnum, ICouponCodeApplication, NullableDecimal) |
Creates a new instance of CouponCode |
Name | Description | |
---|---|---|
ApplicationStatus |
Gets the information about coupon application.
| |
Code |
Gets the coupon code.
| |
ValueInMainCurrency |
The provided discount value in main currency.
|
Name | Description | |
---|---|---|
Apply |
Applies coupon code during order creation.
| |
ShouldSerializeValueInMainCurrency |
Do not remove.
A conventional method that prevents the serialization of nullable decimal property.
|