Class: Stripe::V2::Core::Vault::GbBankAccountService::CreateParams::ConfirmationOfPayee

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(business_type: nil, initiate: nil, name: nil) ⇒ ConfirmationOfPayee

Returns a new instance of ConfirmationOfPayee.



22
23
24
25
26
# File 'lib/stripe/services/v2/core/vault/gb_bank_account_service.rb', line 22

def initialize(business_type: nil, initiate: nil, name: nil)
  @business_type = business_type
  @initiate = initiate
  @name = name
end

Instance Attribute Details

#business_typeObject

The business type to be checked against. Legal entity information will be used if unspecified. Closed enum.



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

def business_type
  @business_type
end

#initiateObject

User specifies whether Confirmation of Payee is automatically initiated when creating the bank account.



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

def initiate
  @initiate
end

#nameObject

The name to be checked against. Legal entity information will be used if unspecified.



20
21
22
# File 'lib/stripe/services/v2/core/vault/gb_bank_account_service.rb', line 20

def name
  @name
end