Class: Stripe::AccountExternalAccountCreateParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/account_external_account_create_params.rb

Defined Under Namespace

Classes: BankAccount, Card, CardToken

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(default_for_currency: nil, expand: nil, external_account: nil, metadata: nil) ⇒ AccountExternalAccountCreateParams



127
128
129
130
131
132
# File 'lib/stripe/params/account_external_account_create_params.rb', line 127

def initialize(default_for_currency: nil, expand: nil, external_account: nil, metadata: nil)
  @default_for_currency = default_for_currency
  @expand = expand
   = 
   = 
end

Instance Attribute Details

#default_for_currencyObject

When set to true, or if this is the first external account added in this currency, this account becomes the default external account for its currency.



119
120
121
# File 'lib/stripe/params/account_external_account_create_params.rb', line 119

def default_for_currency
  @default_for_currency
end

#expandObject

Specifies which fields in the response should be expanded.



121
122
123
# File 'lib/stripe/params/account_external_account_create_params.rb', line 121

def expand
  @expand
end

#external_accountObject

A token, like the ones returned by [Stripe.js](stripe.com/docs/js) or a dictionary containing a user’s external account details (with the options shown below). Please refer to full [documentation](stripe.com/docs/api/external_accounts) instead.



123
124
125
# File 'lib/stripe/params/account_external_account_create_params.rb', line 123

def 
  
end

#metadataObject

Set of [key-value pairs](stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to ‘metadata`.



125
126
127
# File 'lib/stripe/params/account_external_account_create_params.rb', line 125

def 
  
end