Click or drag to resize
CouponCode Constructor (String, CouponCodeApplicationStatusEnum, ICouponCodeApplication, NullableDecimal)
Creates a new instance of CouponCode

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
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