Class: Lithic::Models::DigitalCardArtAPI
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::DigitalCardArtAPI
- Defined in:
- lib/lithic/models/digital_card_art.rb
Overview
Defined Under Namespace
Modules: Network
Instance Attribute Summary collapse
-
#card_program_token ⇒ String
Globally unique identifier for the card program.
-
#created ⇒ Time
Timestamp of when card art was created.
-
#description ⇒ String
Description of the card art.
-
#is_card_program_default ⇒ Boolean?
Whether the card art is the default card art to be added upon tokenization.
-
#is_enabled ⇒ Boolean
Whether the card art is enabled.
-
#network ⇒ Symbol, Lithic::Models::DigitalCardArtAPI::Network
Card network.
-
#token ⇒ String
Globally unique identifier for the card art.
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:, card_program_token:, created:, description:, is_enabled:, network:, is_card_program_default: nil) ⇒ Object
|
|
# File 'lib/lithic/models/digital_card_art.rb', line 49
|
Instance Attribute Details
#card_program_token ⇒ String
Globally unique identifier for the card program.
17 |
# File 'lib/lithic/models/digital_card_art.rb', line 17 required :card_program_token, String |
#created ⇒ Time
Timestamp of when card art was created.
23 |
# File 'lib/lithic/models/digital_card_art.rb', line 23 required :created, Time |
#description ⇒ String
Description of the card art.
29 |
# File 'lib/lithic/models/digital_card_art.rb', line 29 required :description, String |
#is_card_program_default ⇒ Boolean?
Whether the card art is the default card art to be added upon tokenization.
47 |
# File 'lib/lithic/models/digital_card_art.rb', line 47 optional :is_card_program_default, Lithic::Internal::Type::Boolean |
#is_enabled ⇒ Boolean
Whether the card art is enabled.
35 |
# File 'lib/lithic/models/digital_card_art.rb', line 35 required :is_enabled, Lithic::Internal::Type::Boolean |
#network ⇒ Symbol, Lithic::Models::DigitalCardArtAPI::Network
Card network.
41 |
# File 'lib/lithic/models/digital_card_art.rb', line 41 required :network, enum: -> { Lithic::DigitalCardArtAPI::Network } |
#token ⇒ String
Globally unique identifier for the card art.
11 |
# File 'lib/lithic/models/digital_card_art.rb', line 11 required :token, String |