Class: Stripe::V2::Core::Vault::UsBankAccountService::CreateParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/v2/core/vault/us_bank_account_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(account_number: nil, bank_account_type: nil, fedwire_routing_number: nil, routing_number: nil) ⇒ CreateParams

Returns a new instance of CreateParams.



19
20
21
22
23
24
25
26
27
28
29
# File 'lib/stripe/services/v2/core/vault/us_bank_account_service.rb', line 19

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

Instance Attribute Details

#account_numberObject

The account number of the bank account.



11
12
13
# File 'lib/stripe/services/v2/core/vault/us_bank_account_service.rb', line 11

def 
  @account_number
end

#bank_account_typeObject

Closed Enum. The type of the bank account (checking or savings).



13
14
15
# File 'lib/stripe/services/v2/core/vault/us_bank_account_service.rb', line 13

def 
  @bank_account_type
end

#fedwire_routing_numberObject

The fedwire routing number of the bank account. Note that certain banks have the same ACH and wire routing number.



15
16
17
# File 'lib/stripe/services/v2/core/vault/us_bank_account_service.rb', line 15

def fedwire_routing_number
  @fedwire_routing_number
end

#routing_numberObject

The ACH routing number of the bank account. Note that certain banks have the same ACH and wire routing number.



17
18
19
# File 'lib/stripe/services/v2/core/vault/us_bank_account_service.rb', line 17

def routing_number
  @routing_number
end