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
Constructor Details
#initialize(display_name: nil, metadata: nil, storage: nil, type: nil) ⇒ FinancialAccountCreateParams
Returns a new instance of FinancialAccountCreateParams.
28 29 30 31 32 33 |
# File 'lib/stripe/params/v2/money_management/financial_account_create_params.rb', line 28 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.
20 21 22 |
# File 'lib/stripe/params/v2/money_management/financial_account_create_params.rb', line 20 def display_name @display_name end |
#metadata ⇒ Object
Metadata associated with the FinancialAccount.
22 23 24 |
# File 'lib/stripe/params/v2/money_management/financial_account_create_params.rb', line 22 def @metadata end |
#storage ⇒ Object
Parameters specific to creating ‘storage` type FinancialAccounts.
24 25 26 |
# File 'lib/stripe/params/v2/money_management/financial_account_create_params.rb', line 24 def storage @storage end |
#type ⇒ Object
The type of FinancialAccount to create.
26 27 28 |
# File 'lib/stripe/params/v2/money_management/financial_account_create_params.rb', line 26 def type @type end |