SubscriptionDiscountRejectionReason enum

Version unstable

The reason a discount on a subscription draft was rejected.

Values

  • CURRENTLY_INACTIVE

    Discount is inactive.

  • CUSTOMER_NOT_ELIGIBLE

    Given customer does not qualify for the discount.

  • CUSTOMER_USAGE_LIMIT_REACHED

    Customer usage limit has been reached.

  • INCOMPATIBLE_PURCHASE_TYPE

    Purchase type does not qualify for the discount.

  • INTERNAL_ERROR

    Internal error during discount code validation.

  • NOT_FOUND