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.
14 15 16 17 |
# File 'lib/stripe/services/v2/money_management/financial_address_service.rb', line 14 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.
10 11 12 |
# File 'lib/stripe/services/v2/money_management/financial_address_service.rb', line 10 def currency @currency end |
#financial_account ⇒ Object
The ID of the FinancialAccount the new FinancialAddress should be associated with.
12 13 14 |
# File 'lib/stripe/services/v2/money_management/financial_address_service.rb', line 12 def financial_account @financial_account end |