Class: Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent::RequiredDocumentUpload

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

Defined Under Namespace

Modules: ImageType, Status

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, accepted_entity_status_reasons: nil, created: nil, image_type: nil, rejected_entity_status_reasons: nil, status: nil, status_reasons: nil, updated: nil) ⇒ Object

A document upload that belongs to the overall account holder document

Parameters:



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


Instance Attribute Details

#accepted_entity_status_reasonsArray<String>?

Returns:

  • (Array<String>, nil)


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

optional :accepted_entity_status_reasons, Lithic::Internal::Type::ArrayOf[String]

#createdTime?

When the document upload was created

Returns:

  • (Time, nil)


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

optional :created, Time

#image_typeSymbol, ...

The type of image that was uploaded



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

optional :image_type,
enum: -> { Lithic::AccountHolderDocumentUpdatedWebhookEvent::RequiredDocumentUpload::ImageType }

#rejected_entity_status_reasonsArray<String>?

Returns:

  • (Array<String>, nil)


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

optional :rejected_entity_status_reasons, Lithic::Internal::Type::ArrayOf[String]

#statusSymbol, ...

The status of the document upload



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

optional :status,
enum: -> { Lithic::AccountHolderDocumentUpdatedWebhookEvent::RequiredDocumentUpload::Status }

#status_reasonsArray<String>?

Returns:

  • (Array<String>, nil)


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

optional :status_reasons, Lithic::Internal::Type::ArrayOf[String]

#tokenString?

The token of the document upload

Returns:

  • (String, nil)


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

optional :token, String

#updatedTime?

When the document upload was last updated

Returns:

  • (Time, nil)


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

optional :updated, Time

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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