Class: Stripe::Treasury::FinancialAccount::CloseParams::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.



688
689
690
691
692
# File 'lib/stripe/resources/treasury/financial_account.rb', line 688

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



682
683
684
# File 'lib/stripe/resources/treasury/financial_account.rb', line 682

def 
  @financial_account
end

#payment_methodObject

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



684
685
686
# File 'lib/stripe/resources/treasury/financial_account.rb', line 684

def payment_method
  @payment_method
end

#typeObject

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



686
687
688
# File 'lib/stripe/resources/treasury/financial_account.rb', line 686

def type
  @type
end