Class: Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent

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

Defined Under Namespace

Modules: DocumentType Classes: RequiredDocumentUpload

Instance Attribute Summary collapse

Class Method 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: nil, account_holder_token: nil, created: nil, document_type: nil, entity_token: nil, required_document_uploads: nil, event_type: :"account_holder_document.updated") ⇒ Object



# File 'lib/lithic/models/account_holder_document_updated_webhook_event.rb', line 48


Instance Attribute Details

#account_holder_tokenString?

The token of the account_holder that the document belongs to



22
# File 'lib/lithic/models/account_holder_document_updated_webhook_event.rb', line 22

optional :account_holder_token, String

#createdTime?

When the account_holder was created



28
# File 'lib/lithic/models/account_holder_document_updated_webhook_event.rb', line 28

optional :created, Time

#document_typeSymbol, ...

Type of documentation to be submitted for verification of an account holder



34
# File 'lib/lithic/models/account_holder_document_updated_webhook_event.rb', line 34

optional :document_type, enum: -> { Lithic::AccountHolderDocumentUpdatedWebhookEvent::DocumentType }

#entity_tokenString?

The token of the entity that the document belongs to



40
# File 'lib/lithic/models/account_holder_document_updated_webhook_event.rb', line 40

optional :entity_token, String

#event_typeSymbol, :"account_holder_document.updated"

The type of event that occurred.



10
# File 'lib/lithic/models/account_holder_document_updated_webhook_event.rb', line 10

required :event_type, const: :"account_holder_document.updated"

#required_document_uploadsArray<Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent::RequiredDocumentUpload>?



45
46
# File 'lib/lithic/models/account_holder_document_updated_webhook_event.rb', line 45

optional :required_document_uploads,
-> { Lithic::Internal::Type::ArrayOf[Lithic::AccountHolderDocumentUpdatedWebhookEvent::RequiredDocumentUpload] }

#tokenString?

The token of the account holder document



16
# File 'lib/lithic/models/account_holder_document_updated_webhook_event.rb', line 16

optional :token, String

Class Method Details

.valuesArray<Symbol>



# File 'lib/lithic/models/account_holder_document_updated_webhook_event.rb', line 89