alias Stripe::SubscriptionDiscount
Overview
Describes the current discount applied to this subscription, if there is one. When billing, a discount applied to a subscription overrides a discount applied on a customer-wide basis. This field has been deprecated and will be removed in a future API version. Use discounts
instead.
Alias Definition
Stripe::Discount
Defined in:
stripe/models/subscription_discount.crConstant Summary
-
ERROR_MESSAGE_FOR_OBJECT =
"invalid value for \"object\", must be one of [discount]."
-
MAX_LENGTH_FOR_CHECKOUT_SESSION =
5000
-
MAX_LENGTH_FOR_ID =
5000
-
MAX_LENGTH_FOR_INVOICE =
5000
-
MAX_LENGTH_FOR_INVOICE_ITEM =
5000
-
MAX_LENGTH_FOR_SUBSCRIPTION =
5000
-
MAX_LENGTH_FOR_SUBSCRIPTION_ITEM =
5000
-
VALID_VALUES_FOR_OBJECT =
String.static_array("discount")