Class: Stripe::V2::Core::Vault::UsBankAccountCreateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::Vault::UsBankAccountCreateParams
- Defined in:
- lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb
Instance Attribute Summary collapse
-
#account_number ⇒ Object
The account number of the bank account.
-
#bank_account_type ⇒ Object
Closed Enum.
-
#currency ⇒ Object
The currency of the bank account.
-
#fedwire_routing_number ⇒ Object
The fedwire routing number of the bank account.
-
#routing_number ⇒ Object
The ACH routing number of the bank account.
Instance Method Summary collapse
-
#initialize(account_number: nil, bank_account_type: nil, currency: nil, fedwire_routing_number: nil, routing_number: nil) ⇒ UsBankAccountCreateParams
constructor
A new instance of UsBankAccountCreateParams.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(account_number: nil, bank_account_type: nil, currency: nil, fedwire_routing_number: nil, routing_number: nil) ⇒ UsBankAccountCreateParams
Returns a new instance of UsBankAccountCreateParams.
20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb', line 20 def initialize( account_number: nil, bank_account_type: nil, currency: nil, fedwire_routing_number: nil, routing_number: nil ) @account_number = account_number @bank_account_type = bank_account_type @currency = currency @fedwire_routing_number = fedwire_routing_number @routing_number = routing_number end |
Instance Attribute Details
#account_number ⇒ Object
The account number of the bank account.
10 11 12 |
# File 'lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb', line 10 def account_number @account_number end |
#bank_account_type ⇒ Object
Closed Enum. The type of the bank account (checking or savings).
12 13 14 |
# File 'lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb', line 12 def bank_account_type @bank_account_type end |
#currency ⇒ Object
The currency of the bank account.
14 15 16 |
# File 'lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb', line 14 def currency @currency end |
#fedwire_routing_number ⇒ Object
The fedwire routing number of the bank account. Note that certain banks have the same ACH and wire routing number.
16 17 18 |
# File 'lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb', line 16 def fedwire_routing_number @fedwire_routing_number end |
#routing_number ⇒ Object
The ACH routing number of the bank account. Note that certain banks have the same ACH and wire routing number.
18 19 20 |
# File 'lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb', line 18 def routing_number @routing_number end |