class

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
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
update(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
Source

Class methods

create_source(customer : String | Stripe::Customer, source : String | Stripe::Source) : Source forall T, U
Source
create_tax_id(customer : String | Stripe::Customer, type : String, value : String) : Customer::TaxID forall T, U
Source
delete(id : String)
Source
delete(customer : Stripe::Customer)
Source
delete_tax_id(id : String, tax_id : String)
Source
delete_tax_id(customer : Customer, tax_id : Customer::TaxID)
Source
detach_source(customer : String, source : String)
Source
detach_source(customer : Customer, source : Source)
Source
list(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)
Source
retrieve(id : String)
Source
retrieve(customer : Stripe::Customer)
Source
retrieve_tax_id(id : String, tax_id : String)
Source
retrieve_tax_id(customer : Customer, tax_id : Customer::TaxID)
Source

Instance methods

balance
Source
created
Source
currency
Source
default_source
Source
deleted
Source
delinquent
Source
description
Source
email
Source
invoice_prefix
Source
livemode
Source
metadata
Source
name
Source
phone
Source
shipping
Source
sources
Source
tax_info

getter subscriptions : List?

Source
tax_info_verification
Source

Nested types