Stripe::Customer
Inherits StripeMethods / JSON::Serializable / Reference / Object
Constructors
create(balance : Int32 | Nil = nil, coupon : String | Nil = nil, default_source : String | Token | Nil = nil, name : String | Token | Nil = nil, description : String | Token | Nil = nil, email : String | Nil = nil, phone : String | Nil = nil, invoice_prefix : String | Nil = nil, payment_method : String | Nil | Token | Nil | Stripe::PaymentMethod | Nil = nil, metadata : Hash | Nil = nil, shipping : T | Nil = nil, source : String | Token | PaymentMethods::Card | Nil = nil, tax_info : U | Nil = nil, invoice_settings : U | Nil = nil, expand : Array(String) | Nil = nil) : Customer forall T, U
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
Sourceupdate(customer : String | Customer, balance : Int32 | Unset = Unset.new, coupon : String | Nil | Unset = Unset.new, default_source : String | Token | Unset = Unset.new, name : String | Token | Nil | Unset = Unset.new, description : String | Token | Nil | Unset = Unset.new, email : String | Nil | Unset = Unset.new, phone : String | Nil | Unset = Unset.new, invoice_prefix : String | Unset = Unset.new, invoice_settings : U | Nil | Unset = Unset.new, metadata : Hash | Nil | Unset = Unset.new, shipping : T | Nil | Unset = Unset.new, source : String | Token | Unset = Unset.new, tax_info : U | Nil | Unset = Unset.new) : Customer forall T, U
SourceClass methods
create_source(customer : String | Stripe::Customer, source : String | Stripe::Source) : Source forall T, U
Sourcecreate_tax_id(customer : String | Stripe::Customer, type : String, value : String) : Customer::TaxID forall T, U
Sourcedelete(id : String)
Sourcedelete(customer : Stripe::Customer)
Sourcedelete_tax_id(id : String, tax_id : String)
Sourcedelete_tax_id(customer : Customer, tax_id : Customer::TaxID)
Sourcedetach_source(customer : String, source : String)
Sourcedetach_source(customer : Customer, source : Source)
Sourcelist(email : String | Nil = nil, created : Hash(String, Int32) | Nil = nil, limit : Int32 | Nil = nil, starting_after : String | Nil = nil, ending_before : String | Nil = nil) : List(Stripe::Customer)
Sourceretrieve(id : String)
Sourceretrieve(customer : Stripe::Customer)
Sourceretrieve_tax_id(id : String, tax_id : String)
Sourceretrieve_tax_id(customer : Customer, tax_id : Customer::TaxID)
SourceInstance methods
balance
Sourcecreated
Sourcecurrency
Sourcedefault_source
Sourcedeleted
Sourcedelinquent
Sourcedescription
Sourceemail
Sourceid
Sourceinvoice_prefix
Sourcelivemode
Sourcemetadata
Sourcename
Sourcephone
Sourceshipping
Sourcesources
Sourcetax_info_verification
Source