Class: Stripe::Treasury::ReceivedDebit::CreateParams::InitiatingPaymentMethodDetails::UsBankAccount
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Treasury::ReceivedDebit::CreateParams::InitiatingPaymentMethodDetails::UsBankAccount
- Defined in:
- lib/stripe/resources/treasury/received_debit.rb
Instance Attribute Summary collapse
-
#account_holder_name ⇒ Object
The bank account holder’s name.
-
#account_number ⇒ Object
The bank account number.
-
#routing_number ⇒ Object
The bank account’s routing number.
Instance Method Summary collapse
-
#initialize(account_holder_name: nil, account_number: nil, routing_number: nil) ⇒ UsBankAccount
constructor
A new instance of UsBankAccount.
Methods inherited from RequestParams
Constructor Details
#initialize(account_holder_name: nil, account_number: nil, routing_number: nil) ⇒ UsBankAccount
Returns a new instance of UsBankAccount.
218 219 220 221 222 |
# File 'lib/stripe/resources/treasury/received_debit.rb', line 218 def initialize(account_holder_name: nil, account_number: nil, routing_number: nil) @account_holder_name = account_holder_name @account_number = account_number @routing_number = routing_number end |
Instance Attribute Details
#account_holder_name ⇒ Object
The bank account holder’s name.
212 213 214 |
# File 'lib/stripe/resources/treasury/received_debit.rb', line 212 def account_holder_name @account_holder_name end |
#account_number ⇒ Object
The bank account number.
214 215 216 |
# File 'lib/stripe/resources/treasury/received_debit.rb', line 214 def account_number @account_number end |
#routing_number ⇒ Object
The bank account’s routing number.
216 217 218 |
# File 'lib/stripe/resources/treasury/received_debit.rb', line 216 def routing_number @routing_number end |