Class: Stripe::V2::MoneyManagement::FinancialAccountCreateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::MoneyManagement::FinancialAccountCreateParams
- Defined in:
- lib/stripe/params/v2/money_management/financial_account_create_params.rb
Defined Under Namespace
Classes: Storage
Instance Attribute Summary collapse
-
#display_name ⇒ Object
A descriptive name for the FinancialAccount, up to 50 characters long.
-
#metadata ⇒ Object
Metadata associated with the FinancialAccount.
-
#storage ⇒ Object
Parameters specific to creating ‘storage` type FinancialAccounts.
-
#type ⇒ Object
The type of FinancialAccount to create.
Instance Method Summary collapse
-
#initialize(display_name: nil, metadata: nil, storage: nil, type: nil) ⇒ FinancialAccountCreateParams
constructor
A new instance of FinancialAccountCreateParams.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(display_name: nil, metadata: nil, storage: nil, type: nil) ⇒ FinancialAccountCreateParams
Returns a new instance of FinancialAccountCreateParams.
25 26 27 28 29 30 |
# File 'lib/stripe/params/v2/money_management/financial_account_create_params.rb', line 25 def initialize(display_name: nil, metadata: nil, storage: nil, type: nil) @display_name = display_name @metadata = @storage = storage @type = type end |
Instance Attribute Details
#display_name ⇒ Object
A descriptive name for the FinancialAccount, up to 50 characters long. This name will be used in the Stripe Dashboard and embedded components.
17 18 19 |
# File 'lib/stripe/params/v2/money_management/financial_account_create_params.rb', line 17 def display_name @display_name end |
#metadata ⇒ Object
Metadata associated with the FinancialAccount.
19 20 21 |
# File 'lib/stripe/params/v2/money_management/financial_account_create_params.rb', line 19 def @metadata end |
#storage ⇒ Object
Parameters specific to creating ‘storage` type FinancialAccounts.
21 22 23 |
# File 'lib/stripe/params/v2/money_management/financial_account_create_params.rb', line 21 def storage @storage end |
#type ⇒ Object
The type of FinancialAccount to create.
23 24 25 |
# File 'lib/stripe/params/v2/money_management/financial_account_create_params.rb', line 23 def type @type end |