Class: Lithic::Models::AccountHolder::BeneficialOwnerEntity

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

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

#initialize(token:, created:, account_token: nil, beneficial_owner_entities: nil, beneficial_owner_individuals: nil, business_account_token: nil, business_entity: nil, control_person: nil, email: nil, exemption_type: nil, external_id: nil, individual: nil, nature_of_business: nil, phone_number: nil, required_documents: nil, status: nil, status_reasons: nil, user_type: nil, verification_application: nil, website_url: nil) ⇒ Object

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



208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
# File 'lib/lithic/models/account_holder.rb', line 208

class BeneficialOwnerEntity < Lithic::Internal::Type::BaseModel
  # @!attribute address
  #   Business's physical address - PO boxes, UPS drops, and FedEx drops are not
  #   acceptable; APO/FPO are acceptable.
  #
  #   @return [Lithic::Models::Address]
  required :address, -> { Lithic::Address }

  # @!attribute dba_business_name
  #   Any name that the business operates under that is not its legal business name
  #   (if applicable).
  #
  #   @return [String]
  required :dba_business_name, String

  # @!attribute entity_token
  #   Globally unique identifier for the entity.
  #
  #   @return [String]
  required :entity_token, String

  # @!attribute government_id
  #   Government-issued identification number. US Federal Employer Identification
  #   Numbers (EIN) are currently supported, entered as full nine-digits, with or
  #   without hyphens.
  #
  #   @return [String]
  required :government_id, String

  # @!attribute legal_business_name
  #   Legal (formal) business name.
  #
  #   @return [String]
  required :legal_business_name, String

  # @!attribute phone_numbers
  #   One or more of the business's phone number(s), entered as a list in E.164
  #   format.
  #
  #   @return [Array<String>]
  required :phone_numbers, Lithic::Internal::Type::ArrayOf[String]

  # @!attribute parent_company
  #   Parent company name (if applicable).
  #
  #   @return [String, nil]
  optional :parent_company, String

  # @!method initialize(address:, dba_business_name:, entity_token:, government_id:, legal_business_name:, phone_numbers:, parent_company: nil)
  #   Some parameter documentations has been truncated, see
  #   {Lithic::Models::AccountHolder::BeneficialOwnerEntity} for more details.
  #
  #   @param address [Lithic::Models::Address] Business's physical address - PO boxes, UPS drops, and FedEx drops are not accep
  #
  #   @param dba_business_name [String] Any name that the business operates under that is not its legal business name (i
  #
  #   @param entity_token [String] Globally unique identifier for the entity.
  #
  #   @param government_id [String] Government-issued identification number. US Federal Employer Identification Numb
  #
  #   @param legal_business_name [String] Legal (formal) business name.
  #
  #   @param phone_numbers [Array<String>] One or more of the business's phone number(s), entered as a list in E.164 format
  #
  #   @param parent_company [String] Parent company name (if applicable).
end

Instance Attribute Details

#addressLithic::Models::Address

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



214
# File 'lib/lithic/models/account_holder.rb', line 214

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

#dba_business_nameString

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



221
# File 'lib/lithic/models/account_holder.rb', line 221

required :dba_business_name, String

#entity_tokenString

Globally unique identifier for the entity.



227
# File 'lib/lithic/models/account_holder.rb', line 227

required :entity_token, 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.



235
# File 'lib/lithic/models/account_holder.rb', line 235

required :government_id, String

Legal (formal) business name.



241
# File 'lib/lithic/models/account_holder.rb', line 241

required :legal_business_name, String

#parent_companyString?

Parent company name (if applicable).



254
# File 'lib/lithic/models/account_holder.rb', line 254

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.



248
# File 'lib/lithic/models/account_holder.rb', line 248

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