Deprecated. Formerly used to contain the various statuses that a coupon may be in.
Deprecated: warning: Use CouponStatusCodes instead.
Constant Summary
| 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 Summary
| Constructor | Description |
|---|---|
| CampaignStatusCodes() |
Method Summary
Methods inherited from class Object
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
Constant Details
COUPON_ALREADY_APPLIED
COUPON_ALREADY_APPLIED: String = "COUPON_ALREADY_APPLIED"-
: Indicates that the coupon has already been applied to the basket.
Deprecated: warning: Use CouponStatusCodes.COUPON_CODE_ALREADY_IN_BASKET, CouponStatusCodes.COUPON_ALREADY_IN_BASKET instead.
-
COUPON_ALREADY_REDEEMED
COUPON_ALREADY_REDEEMED: String = "COUPON_ALREADY_REDEEMED"-
: Indicates that the coupon has already been redeemed.
Deprecated: warning: Use CouponStatusCodes.COUPON_CODE_ALREADY_REDEEMED instead.
-
COUPON_NOT_REDEEMABLE
COUPON_NOT_REDEEMABLE: String = "COUPON_NOT_REDEEMABLE"-
: Indicates that the coupon is not currently redeemable.
Deprecated: warning: 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
COUPON_UNKNOWN: String = "COUPON_UNKNOWN"-
: Indicates that the coupon code is not valid.
Deprecated: warning: Use CouponStatusCodes.COUPON_CODE_UNKNOWN instead
-
Constructor Details
CampaignStatusCodes()
- CampaignStatusCodes()
- :
<!-- prettier-ignore-end -->