Class: Lithic::Models::Tokenization

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

Overview

Defined Under Namespace

Modules: Status, TokenRequestorName, TokenizationChannel Classes: Event

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:, account_token:, card_token:, created_at:, dpan:, status:, token_requestor_name:, token_unique_reference:, tokenization_channel:, updated_at:, device_id: nil, digital_card_art_token: nil, events: nil, payment_account_reference_id: nil) ⇒ Object

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



# File 'lib/lithic/models/tokenization.rb', line 96


Instance Attribute Details

#account_tokenString

The account token associated with the card being tokenized.



17
# File 'lib/lithic/models/tokenization.rb', line 17

required :account_token, String

#card_tokenString

The card token associated with the card being tokenized.



23
# File 'lib/lithic/models/tokenization.rb', line 23

required :card_token, String

#created_atTime

Date and time when the tokenization first occurred. UTC time zone.



29
# File 'lib/lithic/models/tokenization.rb', line 29

required :created_at, Time

#device_idString?

The device identifier associated with the tokenization.



73
# File 'lib/lithic/models/tokenization.rb', line 73

optional :device_id, String, nil?: true

#digital_card_art_tokenString?

Specifies the digital card art displayed in the user’s digital wallet after tokenization. This will be null if the tokenization was created without an associated digital card art. See [Flexible Card Art Guide](docs.lithic.com/docs/about-digital-wallets#flexible-card-art).



82
# File 'lib/lithic/models/tokenization.rb', line 82

optional :digital_card_art_token, String, nil?: true

#dpanString?

The dynamic pan assigned to the token by the network.



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

required :dpan, String, nil?: true

#eventsArray<Lithic::Models::Tokenization::Event>?

A list of events related to the tokenization.



88
# File 'lib/lithic/models/tokenization.rb', line 88

optional :events, -> { Lithic::Internal::Type::ArrayOf[Lithic::Tokenization::Event] }

#payment_account_reference_idString?

The network’s unique reference for the card that is tokenized.



94
# File 'lib/lithic/models/tokenization.rb', line 94

optional :payment_account_reference_id, String, nil?: true

#statusSymbol, Lithic::Models::Tokenization::Status

The status of the tokenization request



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

required :status, enum: -> { Lithic::Tokenization::Status }

#tokenString

Globally unique identifier for a Tokenization



11
# File 'lib/lithic/models/tokenization.rb', line 11

required :token, String

#token_requestor_nameSymbol, ...

The entity that requested the tokenization. For digital wallets, this will be one of the defined wallet types. For merchant tokenizations, this will be a free-form merchant name string.



49
# File 'lib/lithic/models/tokenization.rb', line 49

required :token_requestor_name, union: -> { Lithic::Tokenization::TokenRequestorName }

#token_unique_referenceString

The network’s unique reference for the tokenization.



55
# File 'lib/lithic/models/tokenization.rb', line 55

required :token_unique_reference, String

#tokenization_channelSymbol, Lithic::Models::Tokenization::TokenizationChannel

The channel through which the tokenization was made.



61
# File 'lib/lithic/models/tokenization.rb', line 61

required :tokenization_channel, enum: -> { Lithic::Tokenization::TokenizationChannel }

#updated_atTime

Latest date and time when the tokenization was updated. UTC time zone.



67
# File 'lib/lithic/models/tokenization.rb', line 67

required :updated_at, Time

Class Method Details

.valuesArray<Symbol>



# File 'lib/lithic/models/tokenization.rb', line 142