alias Stripe::CustomerDiscount

Overview

Describes the current discount active on the customer, if there is one.

Alias Definition

Stripe::Discount

Defined in:

stripe/models/customer_discount.cr

Constant 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")