Class: Stripe::Treasury::FinancialAccountCreateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Treasury::FinancialAccountCreateParams
- Defined in:
- lib/stripe/params/treasury/financial_account_create_params.rb
Defined Under Namespace
Classes: Features, PlatformRestrictions
Instance Attribute Summary collapse
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#features ⇒ Object
Encodes whether a FinancialAccount has access to a particular feature.
-
#metadata ⇒ Object
Set of [key-value pairs](stripe.com/docs/api/metadata) that you can attach to an object.
-
#nickname ⇒ Object
The nickname for the FinancialAccount.
-
#platform_restrictions ⇒ Object
The set of functionalities that the platform can restrict on the FinancialAccount.
-
#supported_currencies ⇒ Object
The currencies the FinancialAccount can hold a balance in.
Instance Method Summary collapse
-
#initialize(expand: nil, features: nil, metadata: nil, nickname: nil, platform_restrictions: nil, supported_currencies: nil) ⇒ FinancialAccountCreateParams
constructor
A new instance of FinancialAccountCreateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(expand: nil, features: nil, metadata: nil, nickname: nil, platform_restrictions: nil, supported_currencies: nil) ⇒ FinancialAccountCreateParams
Returns a new instance of FinancialAccountCreateParams.
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 |
# File 'lib/stripe/params/treasury/financial_account_create_params.rb', line 184 def initialize( expand: nil, features: nil, metadata: nil, nickname: nil, platform_restrictions: nil, supported_currencies: nil ) = @features = features = @nickname = nickname @platform_restrictions = platform_restrictions @supported_currencies = supported_currencies end |
Instance Attribute Details
#expand ⇒ Object
Specifies which fields in the response should be expanded.
172 173 174 |
# File 'lib/stripe/params/treasury/financial_account_create_params.rb', line 172 def end |
#features ⇒ Object
Encodes whether a FinancialAccount has access to a particular feature. Stripe or the platform can control features via the requested field.
174 175 176 |
# File 'lib/stripe/params/treasury/financial_account_create_params.rb', line 174 def features @features 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`.
176 177 178 |
# File 'lib/stripe/params/treasury/financial_account_create_params.rb', line 176 def end |
#nickname ⇒ Object
The nickname for the FinancialAccount.
178 179 180 |
# File 'lib/stripe/params/treasury/financial_account_create_params.rb', line 178 def nickname @nickname end |
#platform_restrictions ⇒ Object
The set of functionalities that the platform can restrict on the FinancialAccount.
180 181 182 |
# File 'lib/stripe/params/treasury/financial_account_create_params.rb', line 180 def platform_restrictions @platform_restrictions end |
#supported_currencies ⇒ Object
The currencies the FinancialAccount can hold a balance in.
182 183 184 |
# File 'lib/stripe/params/treasury/financial_account_create_params.rb', line 182 def supported_currencies @supported_currencies end |