class Stripe::Discount

Overview

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

Included Modules

Defined in:

stripe/objects/core/discount.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

Instance Method Detail

def checkout_session : String | Nil #

def coupon : Stripe::Coupon | Nil #

def customer : String | Nil | Stripe::Customer | Nil #

def end_date : Time | Nil #

def id : String #

def invoice : String | Nil #

def invoice_item : String | Nil #

def promotion_code : String | Nil | Stripe::PromotionCode | Nil #

def start_date : Time | Nil #

def subscription : String | Nil #