Class: Stripe::Treasury::FinancialAccountUpdateParams::ForwardingSettings

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/treasury/financial_account_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(financial_account: nil, payment_method: nil, type: nil) ⇒ ForwardingSettings

Returns a new instance of ForwardingSettings.



171
172
173
174
175
# File 'lib/stripe/params/treasury/financial_account_update_params.rb', line 171

def initialize(financial_account: nil, payment_method: nil, type: nil)
  @financial_account = 
  @payment_method = payment_method
  @type = type
end

Instance Attribute Details

#financial_accountObject

The financial_account id



165
166
167
# File 'lib/stripe/params/treasury/financial_account_update_params.rb', line 165

def 
  @financial_account
end

#payment_methodObject

The payment_method or bank account id. This needs to be a verified bank account.



167
168
169
# File 'lib/stripe/params/treasury/financial_account_update_params.rb', line 167

def payment_method
  @payment_method
end

#typeObject

The type of the bank account provided. This can be either “financial_account” or “payment_method”



169
170
171
# File 'lib/stripe/params/treasury/financial_account_update_params.rb', line 169

def type
  @type
end