Class: FinchAPI::Models::Sandbox::CompanyUpdateParams::Account

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/finch-api/models/sandbox/company_update_params.rb

Overview

def initialize: (Hash | FinchAPI::BaseModel) -> void

Defined Under Namespace

Modules: AccountType

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(account_name: nil, account_number: nil, account_type: nil, institution_name: nil, routing_number: nil) ⇒ Account

Returns a new instance of Account.

Parameters:



7
# File 'lib/finch-api/models/sandbox/company_update_params.rb', line 7

def initialize(account_name: nil, account_number: nil, account_type: nil, institution_name: nil, routing_number: nil, **) = super

Instance Attribute Details

#account_nameString?

The name of the bank associated in the payroll/HRIS system.

Returns:

  • (String, nil)


95
# File 'lib/finch-api/models/sandbox/company_update_params.rb', line 95

optional :account_name, String, nil?: true

#account_numberString?

10-12 digit number to specify the bank account

Returns:

  • (String, nil)


101
# File 'lib/finch-api/models/sandbox/company_update_params.rb', line 101

optional :account_number, String, nil?: true

#account_typeSymbol, ...

The type of bank account.



107
108
109
# File 'lib/finch-api/models/sandbox/company_update_params.rb', line 107

optional :account_type,
enum: -> { FinchAPI::Models::Sandbox::CompanyUpdateParams::Account::AccountType },
nil?: true

#institution_nameString?

Name of the banking institution.

Returns:

  • (String, nil)


115
# File 'lib/finch-api/models/sandbox/company_update_params.rb', line 115

optional :institution_name, String, nil?: true

#routing_numberString?

A nine-digit code that’s based on the U.S. Bank location where your account was

opened.

Returns:

  • (String, nil)


122
# File 'lib/finch-api/models/sandbox/company_update_params.rb', line 122

optional :routing_number, String, nil?: true