Class: Stripe::SetupIntent::UpdateParams::PaymentMethodData::UsBankAccount

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(account_holder_type: nil, account_number: nil, account_type: nil, financial_connections_account: nil, routing_number: nil) ⇒ UsBankAccount

Returns a new instance of UsBankAccount.



1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
# File 'lib/stripe/resources/setup_intent.rb', line 1772

def initialize(
  account_holder_type: nil,
  account_number: nil,
  account_type: nil,
  financial_connections_account: nil,
  routing_number: nil
)
  @account_holder_type = 
  @account_number = 
  @account_type = 
  @financial_connections_account = 
  @routing_number = routing_number
end

Instance Attribute Details

#account_holder_typeObject

Account holder type: individual or company.



1762
1763
1764
# File 'lib/stripe/resources/setup_intent.rb', line 1762

def 
  @account_holder_type
end

#account_numberObject

Account number of the bank account.



1764
1765
1766
# File 'lib/stripe/resources/setup_intent.rb', line 1764

def 
  @account_number
end

#account_typeObject

Account type: checkings or savings. Defaults to checking if omitted.



1766
1767
1768
# File 'lib/stripe/resources/setup_intent.rb', line 1766

def 
  @account_type
end

#financial_connections_accountObject

The ID of a Financial Connections Account to use as a payment method.



1768
1769
1770
# File 'lib/stripe/resources/setup_intent.rb', line 1768

def 
  @financial_connections_account
end

#routing_numberObject

Routing number of the bank account.



1770
1771
1772
# File 'lib/stripe/resources/setup_intent.rb', line 1770

def routing_number
  @routing_number
end