DiscountErrorCode
Stable reasons why a discount code is not applicable to the current cart / customer.
enum DiscountErrorCode {
CURRENCY_RATE_UNAVAILABLE
CUSTOMER_GROUP_NOT_ELIGIBLE
CUSTOMER_NOT_ELIGIBLE
CUSTOMER_USAGE_LIMIT_REACHED
DISCOUNT_COMBINATION_NOT_ALLOWED
DUPLICATE_DISCOUNT
EXPIRED
GRANT_REQUIRED
INACTIVE
MINIMUM_ORDER_NOT_MET
MINIMUM_QUANTITY_NOT_MET
NOT_APPLICABLE_TO_CART
NOT_FOUND
NOT_STARTED
SHIPPING_ALREADY_FREE
SHOP_NOT_FOUND
USAGE_LIMIT_REACHED
}
Values
DiscountErrorCode.CURRENCY_RATE_UNAVAILABLE
DiscountErrorCode.CUSTOMER_GROUP_NOT_ELIGIBLE
DiscountErrorCode.CUSTOMER_NOT_ELIGIBLE
DiscountErrorCode.CUSTOMER_USAGE_LIMIT_REACHED
DiscountErrorCode.DISCOUNT_COMBINATION_NOT_ALLOWED
DiscountErrorCode.DUPLICATE_DISCOUNT
DiscountErrorCode.EXPIRED
DiscountErrorCode.GRANT_REQUIRED
DiscountErrorCode.INACTIVE
DiscountErrorCode.MINIMUM_ORDER_NOT_MET
DiscountErrorCode.MINIMUM_QUANTITY_NOT_MET
DiscountErrorCode.NOT_APPLICABLE_TO_CART
DiscountErrorCode.NOT_FOUND
DiscountErrorCode.NOT_STARTED
DiscountErrorCode.SHIPPING_ALREADY_FREE
DiscountErrorCode.SHOP_NOT_FOUND
DiscountErrorCode.USAGE_LIMIT_REACHED
Member Of
DiscountValidationError object