Class 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.
Constant Summary
Constant Description 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.
Constructor Summary
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
GIFTCERTIFICATE_CURRENCY_MISMATCH
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
GIFTCERTIFICATE_DISABLED: String = "GIFTCERTIFICATE_DISABLED"
Indicates that an error occurred because the Gift Certificate
is currently disabled.
GIFTCERTIFICATE_INSUFFICIENT_BALANCE
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
GIFTCERTIFICATE_NOT_FOUND: String = "GIFTCERTIFICATE_NOT_FOUND"
Indicates that an error occurred because the Gift Certificate
was not found.
GIFTCERTIFICATE_PENDING
GIFTCERTIFICATE_PENDING: String = "GIFTCERTIFICATE_PENDING"
Indicates that an error occurred because the Gift Certificate
is pending and is not available for use.
GIFTCERTIFICATE_REDEEMED
GIFTCERTIFICATE_REDEEMED: String = "GIFTCERTIFICATE_REDEEMED"
Indicates that an error occurred because the Gift Certificate
has been fully redeemed.
Constructor Details
GiftCertificateStatusCodes()
GiftCertificateStatusCodes()