Class: Stripe::AccountExternalAccountCreateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountExternalAccountCreateParams
- Defined in:
- lib/stripe/params/account_external_account_create_params.rb
Defined Under Namespace
Classes: BankAccount, Card, CardToken
Instance Attribute Summary collapse
-
#default_for_currency ⇒ Object
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.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#external_account ⇒ Object
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).
-
#metadata ⇒ Object
Set of [key-value pairs](stripe.com/docs/api/metadata) that you can attach to an object.
Instance Method Summary collapse
-
#initialize(default_for_currency: nil, expand: nil, external_account: nil, metadata: nil) ⇒ AccountExternalAccountCreateParams
constructor
A new instance of AccountExternalAccountCreateParams.
Methods inherited from RequestParams
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 = @external_account = external_account = end |
Instance Attribute Details
#default_for_currency ⇒ Object
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 |
#expand ⇒ Object
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 end |
#external_account ⇒ Object
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 external_account @external_account end |
#metadata ⇒ Object
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 |