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 #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
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 #

[View source]

Class Method Detail

def self.retrieve(id : String) #

[View source]
def self.retrieve(account : Stripe::Account) #

[View source]

Instance Method Detail

def business_profile : BusinessProfile | Nil #

[View source]
def business_type : BusinessType | Nil #

[View source]
def capabilities : Capabilities | Nil #

[View source]
def charges_enabled : Bool | Nil #

[View source]
def company : Company | Nil #

[View source]
def controller : Controller | Nil #

[View source]
def country : String | Nil #

[View source]
def created : Time | Nil #

[View source]
def default_currency : String | Nil #

[View source]
def details_submitted : Bool | Nil #

[View source]
def email : String | Nil #

[View source]
def external_accounts : List(Account) | Nil #

[View source]
def id : String #

[View source]
def individual : Individual | Nil #

[View source]
def metadata : JSON::Any | Nil #

[View source]
def payouts_enabled : Bool | Nil #

[View source]
def requirements : Individual::Requirements | Nil #

[View source]
def settings : Settings | Nil #

[View source]
def tos_acceptance : TOSAcceptance | Nil #

[View source]
def type : Stripe::Account::Type | Nil #

[View source]