Class: Stripe::Treasury::FinancialAccountService::CloseParams::ForwardingSettings
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Treasury::FinancialAccountService::CloseParams::ForwardingSettings
- Defined in:
- lib/stripe/services/treasury/financial_account_service.rb
Instance Attribute Summary collapse
-
#financial_account ⇒ Object
The financial_account id.
-
#payment_method ⇒ Object
The payment_method or bank account id.
-
#type ⇒ Object
The type of the bank account provided.
Instance Method Summary collapse
-
#initialize(financial_account: nil, payment_method: nil, type: nil) ⇒ ForwardingSettings
constructor
A new instance of ForwardingSettings.
Methods inherited from RequestParams
Constructor Details
#initialize(financial_account: nil, payment_method: nil, type: nil) ⇒ ForwardingSettings
Returns a new instance of ForwardingSettings.
481 482 483 484 485 |
# File 'lib/stripe/services/treasury/financial_account_service.rb', line 481 def initialize(financial_account: nil, payment_method: nil, type: nil) @financial_account = financial_account @payment_method = payment_method @type = type end |
Instance Attribute Details
#financial_account ⇒ Object
The financial_account id
475 476 477 |
# File 'lib/stripe/services/treasury/financial_account_service.rb', line 475 def financial_account @financial_account end |
#payment_method ⇒ Object
The payment_method or bank account id. This needs to be a verified bank account.
477 478 479 |
# File 'lib/stripe/services/treasury/financial_account_service.rb', line 477 def payment_method @payment_method end |
#type ⇒ Object
The type of the bank account provided. This can be either “financial_account” or “payment_method”
479 480 481 |
# File 'lib/stripe/services/treasury/financial_account_service.rb', line 479 def type @type end |