alias Stripe::InvoiceDiscount

Overview

Describes the current discount applied to this invoice, if there is one. Not populated if there are multiple discounts.

Alias Definition

Stripe::Discount

Defined in:

stripe/models/invoice_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")