class Stripe::Account

Included Modules

Defined in:

stripe/methods/create_account.cr
stripe/methods/update_account.cr
stripe/objects/account.cr

Constructors

Class Method Summary

Instance Method Summary

Macros inherited from module StripeMethods

add_delete_method add_delete_method, add_list_method(*arguments) add_list_method, add_retrieve_method add_retrieve_method

Constructor Detail

def self.create(type : String | Stripe::Account::Type, country : String | Nil = nil, email : String | Nil = nil, capabilities : Array(String) | Nil = nil, business_type : String | Stripe::Account::BusinessType | Nil = nil, company : Stripe::Account::Company | Nil = nil, individual : Stripe::Account::Individual | Nil = nil, metadata : Hash | Nil = nil, tos_acceptance : Stripe::Account::TOSAcceptance | Nil = nil, default_currency : String | Nil = nil, settings : Stripe::Account::Settings | Nil = nil) : Account forall T, U #

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

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

def self.update(account : String | Stripe::Account, country : String | Nil = nil, email : String | Nil = nil, capabilities : Array(String) | Nil = nil, business_type : String | Stripe::Account::BusinessType | Nil = nil, company : Stripe::Account::Company | Nil = nil, individual : Stripe::Account::Individual | Nil = nil, metadata : Hash | Nil = nil, tos_acceptance : Stripe::Account::TOSAcceptance | Nil = nil, default_currency : String | Nil = nil, settings : Stripe::Account::Settings | Nil = nil) : Account forall T, U #

Class Method Detail

def self.retrieve(id : String) #

def self.retrieve(account : Stripe::Account) #

Instance Method Detail

def business_profile : BusinessProfile | Nil #

def business_type : BusinessType | Nil #

def capabilities : Capabilities | Nil #

def charges_enabled : Bool | Nil #

def company : Company | Nil #

def controller : Controller | Nil #

def country : String | Nil #

def created : Time | Nil #

def default_currency : String | Nil #

def details_submitted : Bool | Nil #

def email : String | Nil #

def external_accounts : List(Account) | Nil #

def id : String #

def individual : Individual | Nil #

def metadata : JSON::Any | Nil #

def payouts_enabled : Bool | Nil #

def requirements : Individual::Requirements | Nil #

def settings : Settings | Nil #

def tos_acceptance : TOSAcceptance | Nil #

def type : Stripe::Account::Type | Nil #