Class: Lithic::Models::TokenizationUpdatedWebhookEvent

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

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(account_token:, card_token:, created:, tokenization:, event_type: :"tokenization.updated") ⇒ Object

Parameters:

  • account_token (String)

    Account token

  • card_token (String)

    Card token

  • created (Time)

    Created date

  • tokenization (Lithic::Models::Tokenization)
  • event_type (Symbol, :"tokenization.updated") (defaults to: :"tokenization.updated")

    The type of event that occurred.



# File 'lib/lithic/models/tokenization_updated_webhook_event.rb', line 35


Instance Attribute Details

#account_tokenString

Account token

Returns:

  • (String)


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

required :account_token, String

#card_tokenString

Card token

Returns:

  • (String)


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

required :card_token, String

#createdTime

Created date

Returns:

  • (Time)


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

required :created, Time

#event_typeSymbol, :"tokenization.updated"

The type of event that occurred.

Returns:



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

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

#tokenizationLithic::Models::Tokenization



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

required :tokenization, -> { Lithic::Tokenization }