Class: Lithic::Models::AccountHolderCreatedWebhookEvent

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

Defined Under Namespace

Modules: Status

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(token: nil, account_token: nil, created: nil, required_documents: nil, status: nil, status_reason: nil, event_type: :"account_holder.created") ⇒ Object

Parameters:

  • token (String) (defaults to: nil)

    The token of the account_holder that was created.

  • account_token (String) (defaults to: nil)

    The token of the account that was created.

  • created (Time) (defaults to: nil)

    When the account_holder was created

  • required_documents (Array<Lithic::Models::RequiredDocument>) (defaults to: nil)
  • status (Symbol, Lithic::Models::AccountHolderCreatedWebhookEvent::Status) (defaults to: nil)

    The status of the account_holder that was created.

  • status_reason (Array<String>) (defaults to: nil)
  • event_type (Symbol, :"account_holder.created") (defaults to: :"account_holder.created")

    The type of event that occurred.



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


Instance Attribute Details

#account_tokenString?

The token of the account that was created.

Returns:

  • (String, nil)


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

optional :account_token, String

#createdTime?

When the account_holder was created

Returns:

  • (Time, nil)


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

optional :created, Time

#event_typeSymbol, :"account_holder.created"

The type of event that occurred.

Returns:

  • (Symbol, :"account_holder.created")


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

required :event_type, const: :"account_holder.created"

#required_documentsArray<Lithic::Models::RequiredDocument>?

Returns:



33
# File 'lib/lithic/models/account_holder_created_webhook_event.rb', line 33

optional :required_documents, -> { Lithic::Internal::Type::ArrayOf[Lithic::RequiredDocument] }

#statusSymbol, ...

The status of the account_holder that was created.



39
# File 'lib/lithic/models/account_holder_created_webhook_event.rb', line 39

optional :status, enum: -> { Lithic::AccountHolderCreatedWebhookEvent::Status }

#status_reasonArray<String>?

Returns:

  • (Array<String>, nil)


44
# File 'lib/lithic/models/account_holder_created_webhook_event.rb', line 44

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

#tokenString?

The token of the account_holder that was created.

Returns:

  • (String, nil)


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

optional :token, String