Class: Stripe::V2::MoneyManagement::FinancialAddressService::CreateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::MoneyManagement::FinancialAddressService::CreateParams
- Defined in:
- lib/stripe/services/v2/money_management/financial_address_service.rb
Instance Attribute Summary collapse
-
#currency ⇒ Object
Open Enum.
-
#financial_account ⇒ Object
The ID of the FinancialAccount the new FinancialAddress should be associated with.
Instance Method Summary collapse
-
#initialize(currency: nil, financial_account: nil) ⇒ CreateParams
constructor
A new instance of CreateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(currency: nil, financial_account: nil) ⇒ CreateParams
Returns a new instance of CreateParams.
29 30 31 32 |
# File 'lib/stripe/services/v2/money_management/financial_address_service.rb', line 29 def initialize(currency: nil, financial_account: nil) @currency = currency @financial_account = financial_account end |
Instance Attribute Details
#currency ⇒ Object
Open Enum. The currency the FinancialAddress should support. Currently, only the ‘usd` and `gbp` values are supported.
25 26 27 |
# File 'lib/stripe/services/v2/money_management/financial_address_service.rb', line 25 def currency @currency end |
#financial_account ⇒ Object
The ID of the FinancialAccount the new FinancialAddress should be associated with.
27 28 29 |
# File 'lib/stripe/services/v2/money_management/financial_address_service.rb', line 27 def financial_account @financial_account end |