Class: Lithic::Models::AccountHolderUpdatedWebhookEvent::LegacyPayload

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

Defined Under Namespace

Modules: EventType

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:, business_account_token: nil, created: nil, email: nil, event_type: nil, external_id: nil, first_name: nil, last_name: nil, legal_business_name: nil, phone_number: nil) ⇒ Object

Some parameter documentations has been truncated, see Lithic::Models::AccountHolderUpdatedWebhookEvent::LegacyPayload for more details.

Legacy payload for an updated account holder.

Parameters:

  • token (String)

    The token of the account_holder that was created.

  • business_account_token (String, nil) (defaults to: nil)

    If applicable, represents the business account token associated with the account

  • created (Time) (defaults to: nil)

    When the account_holder updated event was created

  • email (String) (defaults to: nil)

    If updated, the newly updated email associated with the account_holder otherwise

  • event_type (Symbol, Lithic::Models::AccountHolderUpdatedWebhookEvent::LegacyPayload::EventType) (defaults to: nil)

    The type of event that occurred.

  • external_id (String, nil) (defaults to: nil)

    If applicable, represents the external_id associated with the account_holder.

  • first_name (String) (defaults to: nil)

    If applicable, represents the account_holder’s first name.

  • last_name (String) (defaults to: nil)

    If applicable, represents the account_holder’s last name.

  • legal_business_name (String) (defaults to: nil)

    If applicable, represents the account_holder’s business name.

  • phone_number (String) (defaults to: nil)

    If updated, the newly updated phone_number associated with the account_holder ot



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


Instance Attribute Details

#business_account_tokenString?

If applicable, represents the business account token associated with the account_holder.

Returns:

  • (String, nil)


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

optional :business_account_token, String, nil?: true

#createdTime?

When the account_holder updated event was created

Returns:

  • (Time, nil)


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

optional :created, Time

#emailString?

If updated, the newly updated email associated with the account_holder otherwise the existing email is provided.

Returns:

  • (String, nil)


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

optional :email, String

#event_typeSymbol, ...

The type of event that occurred.



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

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

#external_idString?

If applicable, represents the external_id associated with the account_holder.

Returns:

  • (String, nil)


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

optional :external_id, String, nil?: true

#first_nameString?

If applicable, represents the account_holder’s first name.

Returns:

  • (String, nil)


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

optional :first_name, String

#last_nameString?

If applicable, represents the account_holder’s last name.

Returns:

  • (String, nil)


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

optional :last_name, String

If applicable, represents the account_holder’s business name.

Returns:

  • (String, nil)


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

optional :legal_business_name, String

#phone_numberString?

If updated, the newly updated phone_number associated with the account_holder otherwise the existing phone_number is provided.

Returns:

  • (String, nil)


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

optional :phone_number, String

#tokenString

The token of the account_holder that was created.

Returns:

  • (String)


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

required :token, String