Class: Lithic::Models::TokenizationResultWebhookEvent

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

Defined Under Namespace

Classes: TokenizationResultDetails

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_result_details:, tokenization_token:, event_type: :"tokenization.result") ⇒ Object

Parameters:

  • account_token (String)

    Account token

  • card_token (String)

    Card token

  • created (Time)

    Created date

  • tokenization_result_details (Lithic::Models::TokenizationResultWebhookEvent::TokenizationResultDetails)

    The result of the tokenization request.

  • tokenization_token (String)

    Tokenization token

  • event_type (Symbol, :"tokenization.result") (defaults to: :"tokenization.result")

    The type of event that occurred.



# File 'lib/lithic/models/tokenization_result_webhook_event.rb', line 43


Instance Attribute Details

#account_tokenString

Account token

Returns:

  • (String)


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

required :account_token, String

#card_tokenString

Card token

Returns:

  • (String)


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

required :card_token, String

#createdTime

Created date

Returns:

  • (Time)


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

required :created, Time

#event_typeSymbol, :"tokenization.result"

The type of event that occurred.

Returns:

  • (Symbol, :"tokenization.result")


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

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

#tokenization_result_detailsLithic::Models::TokenizationResultWebhookEvent::TokenizationResultDetails

The result of the tokenization request.



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

required :tokenization_result_details,
-> { Lithic::TokenizationResultWebhookEvent::TokenizationResultDetails }

#tokenization_tokenString

Tokenization token

Returns:

  • (String)


41
# File 'lib/lithic/models/tokenization_result_webhook_event.rb', line 41

required :tokenization_token, String