Class CampaignStatusCodes
Deprecated. Formerly used to contain the various statuses that a coupon may be in.
Deprecated:
Use CouponStatusCodes instead.
| Constant | Description |
|---|---|
| Indicates that the coupon has already been applied to the basket. | |
| Indicates that the coupon has already been redeemed. | |
| Indicates that the coupon is not currently redeemable. | |
| Indicates that the coupon code is not valid. |
| Constructor | Description |
|---|---|
| CampaignStatusCodes() |
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
COUPON_ALREADY_APPLIED: String = "COUPON_ALREADY_APPLIED"Indicates that the coupon has already been applied to the basket.
Deprecated:
Use CouponStatusCodes.COUPON_CODE_ALREADY_IN_BASKET, CouponStatusCodes.COUPON_ALREADY_IN_BASKET instead.
COUPON_ALREADY_REDEEMED: String = "COUPON_ALREADY_REDEEMED"Indicates that the coupon has already been redeemed.
Deprecated:
Use CouponStatusCodes.COUPON_CODE_ALREADY_REDEEMED instead.
COUPON_NOT_REDEEMABLE: String = "COUPON_NOT_REDEEMABLE"Indicates that the coupon is not currently redeemable.
Deprecated:
Use CouponStatusCodes.COUPON_DISABLED, CouponStatusCodes.COUPON_CODE_UNKNOWN, CouponStatusCodes.REDEMPTION_LIMIT_EXCEEDED, CouponStatusCodes.CUSTOMER_REDEMPTION_LIMIT_EXCEEDED, CouponStatusCodes.TIMEFRAME_REDEMPTION_LIMIT_EXCEEDED or CouponStatusCodes.NO_APPLICABLE_PROMOTION
COUPON_UNKNOWN: String = "COUPON_UNKNOWN"Indicates that the coupon code is not valid.
Deprecated:
Use CouponStatusCodes.COUPON_CODE_UNKNOWN instead
- CampaignStatusCodes()