Class CampaignStatusCodes

Deprecated. Formerly used to contain the various statuses that a coupon may be in.

Deprecated:

Use CouponStatusCodes instead.

Warning

Constant Summary 

ConstantDescription
COUPON_ALREADY_APPLIED: String = “COUPON_ALREADY_APPLIED”Indicates that the coupon has already been applied to the basket.
COUPON_ALREADY_REDEEMED: String = “COUPON_ALREADY_REDEEMED”Indicates that the coupon has already been redeemed.
COUPON_NOT_REDEEMABLE: String = “COUPON_NOT_REDEEMABLE”Indicates that the coupon is not currently redeemable.
COUPON_UNKNOWN: String = “COUPON_UNKNOWN”Indicates that the coupon code is not valid.

Constructor Summary 

ConstructorDescription
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:

Use CouponStatusCodes.COUPON_CODE_ALREADY_IN_BASKET, CouponStatusCodes.COUPON_ALREADY_IN_BASKET instead.

Warning


COUPON_ALREADY_REDEEMED 

COUPON_ALREADY_REDEEMED: String = "COUPON_ALREADY_REDEEMED"

Indicates that the coupon has already been redeemed.

Deprecated:

Use CouponStatusCodes.COUPON_CODE_ALREADY_REDEEMED instead.

Warning


COUPON_NOT_REDEEMABLE 

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

Warning


COUPON_UNKNOWN 

COUPON_UNKNOWN: String = "COUPON_UNKNOWN"

Indicates that the coupon code is not valid.

Deprecated:

Use CouponStatusCodes.COUPON_CODE_UNKNOWN instead

Warning


Constructor Details 

CampaignStatusCodes() 

CampaignStatusCodes()


DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!