Salesforce B2C Commerce 23.6 > B2C Commerce API > B2C Commerce Script > dw.order
dw.order
Class GiftCertificateStatusCodes
Object
dw.order.GiftCertificateStatusCodes
Helper class containing status codes for the various errors that can occur when redeeming a gift certificate. One of these codes is returned as part of a Status object when a unsuccessful call to the RedeemGiftCertificate pipelet is made.
Constants
GIFTCERTIFICATE_CURRENCY_MISMATCH  :  String = "GIFTCERTIFICATE_CURRENCY_MISMATCH"
Indicates that an error occurred because the Gift Certificate was in a different currency than the Basket.
GIFTCERTIFICATE_DISABLED  :  String = "GIFTCERTIFICATE_DISABLED"
Indicates that an error occurred because the Gift Certificate is currently disabled.
GIFTCERTIFICATE_INSUFFICIENT_BALANCE  :  String = "GIFTCERTIFICATE_INSUFFICIENT_BALANCE"
Indicates that an error occurred because the Gift Certificate does not have a sufficient balance to perform the requested operation.
GIFTCERTIFICATE_NOT_FOUND  :  String = "GIFTCERTIFICATE_NOT_FOUND"
Indicates that an error occurred because the Gift Certificate was not found.
GIFTCERTIFICATE_PENDING  :  String = "GIFTCERTIFICATE_PENDING"
Indicates that an error occurred because the Gift Certificate is pending and is not available for use.
GIFTCERTIFICATE_REDEEMED  :  String = "GIFTCERTIFICATE_REDEEMED"
Indicates that an error occurred because the Gift Certificate has been fully redeemed.
Properties
Constructor Summary
Method Summary
Methods inherited from class Object
Constructor Detail
GiftCertificateStatusCodes
public GiftCertificateStatusCodes()

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.