Class: Lithic::Models::ParsedWebhookEvent::KYBPayload

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/parsed_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::ParsedWebhookEvent::KYBPayload::UpdateRequest::ControlPerson::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.



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


Instance Attribute Details

#event_typeSymbol, ...

The type of event that occurred.



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

optional :event_type, enum: -> { Lithic::ParsedWebhookEvent::KYBPayload::EventType }

#external_idString?

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



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

optional :external_id, String

#nature_of_businessString?

Short description of the company’s line of business (i.e., what does the company do?).



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

optional :nature_of_business, String

#tokenString

The token of the account_holder that was created.



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

required :token, String

#update_requestLithic::Models::ParsedWebhookEvent::KYBPayload::UpdateRequest

Original request to update the account holder.



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

required :update_request, -> { Lithic::ParsedWebhookEvent::KYBPayload::UpdateRequest }

#website_urlString?

Company website URL.



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

optional :website_url, String