DiscountValidationError
The possible reasons a discount failed validation.
enum DiscountValidationError {
DISCOUNT_DELETED
EXPIRED
INCOMPATIBLE_DISCOUNT_CLASS
INVALID
PURCHASE_NOT_IN_RANGE
QUANTITY_NOT_IN_RANGE
RECURRING_USAGE_LIMIT_REACHED
SCHEDULED
TOTAL_USAGE_LIMIT_REACHED
UNSUPPORTED
}
Values
DiscountValidationError.DISCOUNT_DELETED
The discount has been deleted.
DiscountValidationError.EXPIRED
The discount has expired.
DiscountValidationError.INCOMPATIBLE_DISCOUNT_CLASS
The discount can't be combined with the other discounts on the order.
DiscountValidationError.INVALID
The discount isn't valid for the order, for example because it doesn't recur.
DiscountValidationError.PURCHASE_NOT_IN_RANGE
The order doesn't reach the discount's minimum spend.
DiscountValidationError.QUANTITY_NOT_IN_RANGE
The order doesn't have enough items for the discount.
DiscountValidationError.RECURRING_USAGE_LIMIT_REACHED
The discount has been used for its maximum number of recurring cycles.
DiscountValidationError.SCHEDULED
The discount hasn't started yet.
DiscountValidationError.TOTAL_USAGE_LIMIT_REACHED
The discount has reached its total usage limit.
DiscountValidationError.UNSUPPORTED
The discount isn't supported, for example because of its category or currency.
Member Of
ErrorLogEntry object