class

Stripe::Discount

Inherits JSON::Serializable / Reference / Object

https://stripe.com/docs/api/discounts/object

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

checkout_session
Source
coupon
Source
customer
Source
end_date

gotta rename these since end is not cool as a property name in Crystal

Source
invoice
Source
invoice_item
Source
promotion_code
Source
start_date
Source
subscription
Source