Class: Stripe::Treasury::ReceivedCredit::CreateParams::InitiatingPaymentMethodDetails::UsBankAccount

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(account_holder_name: nil, account_number: nil, routing_number: nil) ⇒ UsBankAccount

Returns a new instance of UsBankAccount.



170
171
172
173
174
# File 'lib/stripe/resources/treasury/received_credit.rb', line 170

def initialize(account_holder_name: nil, account_number: nil, routing_number: nil)
  @account_holder_name = 
  @account_number = 
  @routing_number = routing_number
end

Instance Attribute Details

#account_holder_nameObject

The bank account holder’s name.



164
165
166
# File 'lib/stripe/resources/treasury/received_credit.rb', line 164

def 
  @account_holder_name
end

#account_numberObject

The bank account number.



166
167
168
# File 'lib/stripe/resources/treasury/received_credit.rb', line 166

def 
  @account_number
end

#routing_numberObject

The bank account’s routing number.



168
169
170
# File 'lib/stripe/resources/treasury/received_credit.rb', line 168

def routing_number
  @routing_number
end