Class: Lithic::Models::AccountHolderUpdatedWebhookEvent::KYCPayload

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

Defined Under Namespace

Modules: EventType Classes: UpdateRequest

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(address1:, city:, country:, postal_code:, state:, address2: nil) ⇒ Object

Some parameter documentations has been truncated, see Lithic::Models::AccountHolderUpdatedWebhookEvent::KYCPayload::UpdateRequest::Individual::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.

Parameters:

  • address1 (String)

    Valid deliverable address (no PO boxes).

  • city (String)

    Name of city.

  • country (String)

    Valid country code. Only USA is currently supported, entered in uppercase ISO 31

  • postal_code (String)

    Valid postal code. Only USA ZIP codes are currently supported, entered as a five

  • state (String)

    Valid state code. Only USA state codes are currently supported, entered in upper

  • address2 (String) (defaults to: nil)

    Unit or apartment number (if applicable).



# File 'lib/lithic/models/account_holder_updated_webhook_event.rb', line 423


Instance Attribute Details

#event_typeSymbol, ...

The type of event that occurred.



414
# File 'lib/lithic/models/account_holder_updated_webhook_event.rb', line 414

optional :event_type, enum: -> { Lithic::AccountHolderUpdatedWebhookEvent::KYCPayload::EventType }

#external_idString?

A user provided id that can be used to link an account holder with an external system

Returns:

  • (String, nil)


421
# File 'lib/lithic/models/account_holder_updated_webhook_event.rb', line 421

optional :external_id, String

#tokenString

The token of the account_holder that was created.

Returns:

  • (String)


402
# File 'lib/lithic/models/account_holder_updated_webhook_event.rb', line 402

required :token, String

#update_requestLithic::Models::AccountHolderUpdatedWebhookEvent::KYCPayload::UpdateRequest

Original request to update the account holder.



408
# File 'lib/lithic/models/account_holder_updated_webhook_event.rb', line 408

required :update_request, -> { Lithic::AccountHolderUpdatedWebhookEvent::KYCPayload::UpdateRequest }