Class: Stripe::V2::MoneyManagement::FinancialAddressService::CreateParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/v2/money_management/financial_address_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

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 = 
end

Instance Attribute Details

#currencyObject

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_accountObject

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
end