Class: Stripe::Treasury::FinancialAccount::UpdateParams::ForwardingSettings

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/treasury/financial_account.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

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

Returns a new instance of ForwardingSettings.



527
528
529
530
531
# File 'lib/stripe/resources/treasury/financial_account.rb', line 527

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



521
522
523
# File 'lib/stripe/resources/treasury/financial_account.rb', line 521

def 
  @financial_account
end

#payment_methodObject

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



523
524
525
# File 'lib/stripe/resources/treasury/financial_account.rb', line 523

def payment_method
  @payment_method
end

#typeObject

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



525
526
527
# File 'lib/stripe/resources/treasury/financial_account.rb', line 525

def type
  @type
end