CouponCode Constructor (String, CouponCodeApplicationStatusEnum, ICouponCodeApplication, NullableDecimal) |
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax public CouponCode(
string code,
CouponCodeApplicationStatusEnum applicationStatus,
ICouponCodeApplication applicationAction = null,
Nullable<decimal> valueInMainCurrency = null
)
Parameters
- code
- Type: SystemString
Coupon code. - applicationStatus
- Type: CMS.EcommerceCouponCodeApplicationStatusEnum
Status of coupon code application. - applicationAction (Optional)
- Type: CMS.EcommerceICouponCodeApplication
Action for coupon code application. - valueInMainCurrency (Optional)
- Type: SystemNullableDecimal
Coupon code discount value.
See Also