struct

Stripe::Customers

Inherits Stripe::API < Struct < Value < Object

Instance methods

create(name : String | Nil = nil, email : String | Nil = nil, description : String | Nil = nil, metadata = nil, balance : Int | Nil = nil, source : String | Nil = nil, invoice_settings : Customer::InvoiceSettings | Nil = nil, tax_exempt : TaxExemption | Nil = nil) : Customer
Source
list

TODO: Add params

Source
payment_methods(*, customer : String, limit : Int | Nil = 0, type : PaymentMethod::Type | Nil = nil) : List(PaymentMethod)

TODO: Add params

Source
retrieve(id : String)
Source
search(query_data : NamedTuple | Hash)
Source
search(query : String)
Source
update(customer : String | Customer, name : String | Nil = nil, email : String | Nil = nil, description : String | Nil = nil, metadata = nil, balance : Int | Nil = nil, source : String | Nil = nil, invoice_settings : Customer::InvoiceSettings | Nil = nil, tax_exempt : TaxExemption | Nil = nil) : Customer
Source