Class: Lithic::Models::KYB::BusinessEntity

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/kyb.rb,
sig/lithic/models/kyb.rbs

Overview

See Also:

  • Lithic::Models::KYB#business_entity

Instance Attribute 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

#initializeObject



148
# File 'sig/lithic/models/kyb.rbs', line 148

def initialize: (

Instance Attribute Details

#addressLithic::Models::Address

Business's physical address - PO boxes, UPS drops, and FedEx drops are not acceptable; APO/FPO are acceptable.

Parameters:

Returns:



189
# File 'lib/lithic/models/kyb.rb', line 189

required :address, -> { Lithic::Address }

#dba_business_nameString?

Any name that the business operates under that is not its legal business name (if applicable).

Parameters:

  • (String)

Returns:

  • (String, nil)


217
# File 'lib/lithic/models/kyb.rb', line 217

optional :dba_business_name, String

#government_idString

Government-issued identification number. US Federal Employer Identification Numbers (EIN) are currently supported, entered as full nine-digits, with or without hyphens.

Parameters:

  • value (String)

Returns:

  • (String)


197
# File 'lib/lithic/models/kyb.rb', line 197

required :government_id, String

Legal (formal) business name.

Parameters:

  • value (String)

Returns:

  • (String)


203
# File 'lib/lithic/models/kyb.rb', line 203

required :legal_business_name, String

#parent_companyString?

Parent company name (if applicable).

Parameters:

  • (String)

Returns:

  • (String, nil)


223
# File 'lib/lithic/models/kyb.rb', line 223

optional :parent_company, String

#phone_numbersArray<String>

One or more of the business's phone number(s), entered as a list in E.164 format.

Parameters:

  • value (::Array[String])

Returns:

  • (Array<String>)


210
# File 'lib/lithic/models/kyb.rb', line 210

required :phone_numbers, Lithic::Internal::Type::ArrayOf[String]

Instance Method Details

#to_hash{

Returns:

  • ({)


157
# File 'sig/lithic/models/kyb.rbs', line 157

def to_hash: -> {