Class: Stripe::V2::Core::Vault::UsBankAccountCreateParams

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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 = 
  @bank_account_type = 
  @currency = currency
  @fedwire_routing_number = fedwire_routing_number
  @routing_number = routing_number
end

Instance Attribute Details

#account_numberObject

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
end

#bank_account_typeObject

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
end

#currencyObject

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_numberObject

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_numberObject

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