Class: Lithic::Models::ExternalBankAccountUpdateResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/external_bank_account_update_response.rb

Overview

Defined Under Namespace

Modules: OwnerType, State, Type, VerificationMethod, VerificationState

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(token:, country:, created:, currency:, last_four:, owner:, owner_type:, routing_number:, state:, type:, verification_attempts:, verification_method:, verification_state:, account_token: nil, address: nil, company_id: nil, dob: nil, doing_business_as: nil, financial_account_token: nil, name: nil, user_defined_id: nil, verification_failed_reason: nil) ⇒ Object

Some parameter documentations has been truncated, see Lithic::Models::ExternalBankAccountUpdateResponse for more details.

Parameters:

  • token (String)

    A globally unique identifier for this record of an external bank account associa

  • country (String)

    The country that the bank account is located in using ISO 3166-1. We will only a

  • created (Time)

    An ISO 8601 string representing when this funding source was added to the Lithic

  • currency (String)

    currency of the external account 3-character alphabetic ISO 4217 code

  • last_four (String)

    The last 4 digits of the bank account. Derived by Lithic from the account number

  • owner (String)

    Legal Name of the business or individual who owns the external account. This wil

  • owner_type (Symbol, Lithic::Models::ExternalBankAccountUpdateResponse::OwnerType)

    Owner Type

  • routing_number (String)

    Routing Number

  • state (Symbol, Lithic::Models::ExternalBankAccountUpdateResponse::State)

    Account State

  • type (Symbol, Lithic::Models::ExternalBankAccountUpdateResponse::Type)

    Account Type

  • verification_attempts (Integer)

    The number of attempts at verification

  • verification_method (Symbol, Lithic::Models::ExternalBankAccountUpdateResponse::VerificationMethod)

    Verification Method

  • verification_state (Symbol, Lithic::Models::ExternalBankAccountUpdateResponse::VerificationState)

    Verification State

  • account_token (String, nil) (defaults to: nil)

    Indicates which Lithic account the external account is associated with. For exte

  • address (Lithic::Models::ExternalBankAccountAddress, nil) (defaults to: nil)

    Address

  • company_id (String, nil) (defaults to: nil)

    Optional field that helps identify bank accounts in receipts

  • dob (Date, nil) (defaults to: nil)

    Date of Birth of the Individual that owns the external bank account

  • doing_business_as (String, nil) (defaults to: nil)

    Doing Business As

  • financial_account_token (String, nil) (defaults to: nil)

    The financial account token of the operating account to fund the micro deposits

  • name (String, nil) (defaults to: nil)

    The nickname for this External Bank Account

  • user_defined_id (String, nil) (defaults to: nil)

    User Defined ID

  • verification_failed_reason (String, nil) (defaults to: nil)

    Optional free text description of the reason for the failed verification. For AC



# File 'lib/lithic/models/external_bank_account_update_response.rb', line 152


Instance Attribute Details

#account_tokenString?

Indicates which Lithic account the external account is associated with. For external accounts that are associated with the program, account_token field returned will be null

Returns:

  • (String, nil)


100
# File 'lib/lithic/models/external_bank_account_update_response.rb', line 100

optional :account_token, String, nil?: true

#addressLithic::Models::ExternalBankAccountAddress?

Address



106
# File 'lib/lithic/models/external_bank_account_update_response.rb', line 106

optional :address, -> { Lithic::ExternalBankAccountAddress }, nil?: true

#company_idString?

Optional field that helps identify bank accounts in receipts

Returns:

  • (String, nil)


112
# File 'lib/lithic/models/external_bank_account_update_response.rb', line 112

optional :company_id, String, nil?: true

#countryString

The country that the bank account is located in using ISO 3166-1. We will only accept USA bank accounts e.g., USA

Returns:

  • (String)


21
# File 'lib/lithic/models/external_bank_account_update_response.rb', line 21

required :country, String

#createdTime

An ISO 8601 string representing when this funding source was added to the Lithic account.

Returns:

  • (Time)


28
# File 'lib/lithic/models/external_bank_account_update_response.rb', line 28

required :created, Time

#currencyString

currency of the external account 3-character alphabetic ISO 4217 code

Returns:

  • (String)


34
# File 'lib/lithic/models/external_bank_account_update_response.rb', line 34

required :currency, String

#dobDate?

Date of Birth of the Individual that owns the external bank account

Returns:

  • (Date, nil)


118
# File 'lib/lithic/models/external_bank_account_update_response.rb', line 118

optional :dob, Date, nil?: true

#doing_business_asString?

Doing Business As

Returns:

  • (String, nil)


124
# File 'lib/lithic/models/external_bank_account_update_response.rb', line 124

optional :doing_business_as, String, nil?: true

#financial_account_tokenString?

The financial account token of the operating account to fund the micro deposits

Returns:

  • (String, nil)


130
# File 'lib/lithic/models/external_bank_account_update_response.rb', line 130

optional :financial_account_token, String, nil?: true

#last_fourString

The last 4 digits of the bank account. Derived by Lithic from the account number passed

Returns:

  • (String)


41
# File 'lib/lithic/models/external_bank_account_update_response.rb', line 41

required :last_four, String

#nameString?

The nickname for this External Bank Account

Returns:

  • (String, nil)


136
# File 'lib/lithic/models/external_bank_account_update_response.rb', line 136

optional :name, String, nil?: true

#ownerString

Legal Name of the business or individual who owns the external account. This will appear in statements

Returns:

  • (String)


48
# File 'lib/lithic/models/external_bank_account_update_response.rb', line 48

required :owner, String

#owner_typeSymbol, Lithic::Models::ExternalBankAccountUpdateResponse::OwnerType

Owner Type



54
# File 'lib/lithic/models/external_bank_account_update_response.rb', line 54

required :owner_type, enum: -> { Lithic::Models::ExternalBankAccountUpdateResponse::OwnerType }

#routing_numberString

Routing Number

Returns:

  • (String)


60
# File 'lib/lithic/models/external_bank_account_update_response.rb', line 60

required :routing_number, String

#stateSymbol, Lithic::Models::ExternalBankAccountUpdateResponse::State

Account State



66
# File 'lib/lithic/models/external_bank_account_update_response.rb', line 66

required :state, enum: -> { Lithic::Models::ExternalBankAccountUpdateResponse::State }

#tokenString

A globally unique identifier for this record of an external bank account association. If a program links an external bank account to more than one end-user or to both the program and the end-user, then Lithic will return each record of the association

Returns:

  • (String)


14
# File 'lib/lithic/models/external_bank_account_update_response.rb', line 14

required :token, String

#typeSymbol, Lithic::Models::ExternalBankAccountUpdateResponse::Type

Account Type



72
# File 'lib/lithic/models/external_bank_account_update_response.rb', line 72

required :type, enum: -> { Lithic::Models::ExternalBankAccountUpdateResponse::Type }

#user_defined_idString?

User Defined ID

Returns:

  • (String, nil)


142
# File 'lib/lithic/models/external_bank_account_update_response.rb', line 142

optional :user_defined_id, String, nil?: true

#verification_attemptsInteger

The number of attempts at verification

Returns:

  • (Integer)


78
# File 'lib/lithic/models/external_bank_account_update_response.rb', line 78

required :verification_attempts, Integer

#verification_failed_reasonString?

Optional free text description of the reason for the failed verification. For ACH micro-deposits returned, this field will display the reason return code sent by the ACH network

Returns:

  • (String, nil)


150
# File 'lib/lithic/models/external_bank_account_update_response.rb', line 150

optional :verification_failed_reason, String, nil?: true

#verification_methodSymbol, Lithic::Models::ExternalBankAccountUpdateResponse::VerificationMethod

Verification Method



84
85
# File 'lib/lithic/models/external_bank_account_update_response.rb', line 84

required :verification_method,
enum: -> { Lithic::Models::ExternalBankAccountUpdateResponse::VerificationMethod }

#verification_stateSymbol, Lithic::Models::ExternalBankAccountUpdateResponse::VerificationState

Verification State



91
92
# File 'lib/lithic/models/external_bank_account_update_response.rb', line 91

required :verification_state,
enum: -> { Lithic::Models::ExternalBankAccountUpdateResponse::VerificationState }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/lithic/models/external_bank_account_update_response.rb', line 209