Skip to main content

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​

DiscountValidationError.EXPIRED​

DiscountValidationError.INCOMPATIBLE_DISCOUNT_CLASS​

DiscountValidationError.INVALID​

DiscountValidationError.PURCHASE_NOT_IN_RANGE​

DiscountValidationError.QUANTITY_NOT_IN_RANGE​

DiscountValidationError.RECURRING_USAGE_LIMIT_REACHED​

DiscountValidationError.SCHEDULED​

DiscountValidationError.TOTAL_USAGE_LIMIT_REACHED​

DiscountValidationError.UNSUPPORTED​

Member Of​

ErrorLogEntry object