Class: Lithic::Models::ParsedWebhookEvent::KYBPayload::UpdateRequest::BeneficialOwnerIndividual

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

Defined Under Namespace

Classes: Address

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(address: nil, dob: nil, email: nil, first_name: nil, last_name: nil, phone_number: nil) ⇒ Object

Some parameter documentations has been truncated, see Lithic::Models::ParsedWebhookEvent::KYBPayload::UpdateRequest::BeneficialOwnerIndividual for more details.



253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
# File 'lib/lithic/models/parsed_webhook_event.rb', line 253

class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel
  # @!attribute address
  #   Individual's current address - PO boxes, UPS drops, and FedEx drops are not
  #   acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
  #
  #   @return [Lithic::Models::ParsedWebhookEvent::KYBPayload::UpdateRequest::BeneficialOwnerIndividual::Address, nil]
  optional :address,
           -> { Lithic::ParsedWebhookEvent::KYBPayload::UpdateRequest::BeneficialOwnerIndividual::Address }

  # @!attribute dob
  #   Individual's date of birth, as an RFC 3339 date.
  #
  #   @return [String, nil]
  optional :dob, String

  # @!attribute email
  #   Individual's email address. If utilizing Lithic for chargeback processing, this
  #   customer email address may be used to communicate dispute status and resolution.
  #
  #   @return [String, nil]
  optional :email, String

  # @!attribute first_name
  #   Individual's first name, as it appears on government-issued identity documents.
  #
  #   @return [String, nil]
  optional :first_name, String

  # @!attribute last_name
  #   Individual's last name, as it appears on government-issued identity documents.
  #
  #   @return [String, nil]
  optional :last_name, String

  # @!attribute phone_number
  #   Individual's phone number, entered in E.164 format.
  #
  #   @return [String, nil]
  optional :phone_number, String

  # @!method initialize(address: nil, dob: nil, email: nil, first_name: nil, last_name: nil, phone_number: nil)
  #   Some parameter documentations has been truncated, see
  #   {Lithic::Models::ParsedWebhookEvent::KYBPayload::UpdateRequest::BeneficialOwnerIndividual}
  #   for more details.
  #
  #   @param address [Lithic::Models::ParsedWebhookEvent::KYBPayload::UpdateRequest::BeneficialOwnerIndividual::Address] Individual's current address - PO boxes, UPS drops, and FedEx drops are not acce
  #
  #   @param dob [String] Individual's date of birth, as an RFC 3339 date.
  #
  #   @param email [String] Individual's email address. If utilizing Lithic for chargeback processing, this
  #
  #   @param first_name [String] Individual's first name, as it appears on government-issued identity documents.
  #
  #   @param last_name [String] Individual's last name, as it appears on government-issued identity documents.
  #
  #   @param phone_number [String] Individual's phone number, entered in E.164 format.

  # @see Lithic::Models::ParsedWebhookEvent::KYBPayload::UpdateRequest::BeneficialOwnerIndividual#address
  class Address < Lithic::Internal::Type::BaseModel
    # @!attribute address1
    #   Valid deliverable address (no PO boxes).
    #
    #   @return [String]
    required :address1, String

    # @!attribute city
    #   Name of city.
    #
    #   @return [String]
    required :city, String

    # @!attribute country
    #   Valid country code. Only USA is currently supported, entered in uppercase ISO
    #   3166-1 alpha-3 three-character format.
    #
    #   @return [String]
    required :country, String

    # @!attribute postal_code
    #   Valid postal code. Only USA ZIP codes are currently supported, entered as a
    #   five-digit ZIP or nine-digit ZIP+4.
    #
    #   @return [String]
    required :postal_code, String

    # @!attribute state
    #   Valid state code. Only USA state codes are currently supported, entered in
    #   uppercase ISO 3166-2 two-character format.
    #
    #   @return [String]
    required :state, String

    # @!attribute address2
    #   Unit or apartment number (if applicable).
    #
    #   @return [String, nil]
    optional :address2, String

    # @!method initialize(address1:, city:, country:, postal_code:, state:, address2: nil)
    #   Some parameter documentations has been truncated, see
    #   {Lithic::Models::ParsedWebhookEvent::KYBPayload::UpdateRequest::BeneficialOwnerIndividual::Address}
    #   for more details.
    #
    #   Individual's current address - PO boxes, UPS drops, and FedEx drops are not
    #   acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
    #
    #   @param address1 [String] Valid deliverable address (no PO boxes).
    #
    #   @param city [String] Name of city.
    #
    #   @param country [String] Valid country code. Only USA is currently supported, entered in uppercase ISO 31
    #
    #   @param postal_code [String] Valid postal code. Only USA ZIP codes are currently supported, entered as a five
    #
    #   @param state [String] Valid state code. Only USA state codes are currently supported, entered in upper
    #
    #   @param address2 [String] Unit or apartment number (if applicable).
  end
end

Instance Attribute Details

#addressLithic::Models::ParsedWebhookEvent::KYBPayload::UpdateRequest::BeneficialOwnerIndividual::Address?

Individual’s current address - PO boxes, UPS drops, and FedEx drops are not acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.



259
260
# File 'lib/lithic/models/parsed_webhook_event.rb', line 259

optional :address,
-> { Lithic::ParsedWebhookEvent::KYBPayload::UpdateRequest::BeneficialOwnerIndividual::Address }

#dobString?

Individual’s date of birth, as an RFC 3339 date.



266
# File 'lib/lithic/models/parsed_webhook_event.rb', line 266

optional :dob, String

#emailString?

Individual’s email address. If utilizing Lithic for chargeback processing, this customer email address may be used to communicate dispute status and resolution.



273
# File 'lib/lithic/models/parsed_webhook_event.rb', line 273

optional :email, String

#first_nameString?

Individual’s first name, as it appears on government-issued identity documents.



279
# File 'lib/lithic/models/parsed_webhook_event.rb', line 279

optional :first_name, String

#last_nameString?

Individual’s last name, as it appears on government-issued identity documents.



285
# File 'lib/lithic/models/parsed_webhook_event.rb', line 285

optional :last_name, String

#phone_numberString?

Individual’s phone number, entered in E.164 format.



291
# File 'lib/lithic/models/parsed_webhook_event.rb', line 291

optional :phone_number, String