Salesforce B2C Commerce 23.6
>
B2C Commerce API
>
B2C Commerce Script
>
dw.campaign
Overview
API Versioning
Deprecated
dw.campaign
Class CampaignStatusCodes
Object
dw.campaign.CampaignStatusCodes
Deprecated. Formerly used to contain the various statuses that a coupon may be in.
Deprecated:
Use
CouponStatusCodes
instead.
Constants
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
Properties
Constructor Summary
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
Constructor Detail
CampaignStatusCodes
public
CampaignStatusCodes
()
© Copyright 2000-2023, salesforce.com inc. All rights reserved. Various trademarks held by their respective owners.
X
Privacy Update:
We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this.
Privacy Policy.