Class: Lithic::Models::DisputeV2::Event::CardholderLiability
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::DisputeV2::Event::CardholderLiability
- Defined in:
- lib/lithic/models/dispute_v2.rb,
sig/lithic/models/dispute_v2.rbs
Defined Under Namespace
Classes: Data
Instance Attribute Summary collapse
-
#created ⇒ Time
When the event occurred.
-
#data ⇒ Lithic::Models::DisputeV2::Event::CardholderLiability::Data
Details specific to cardholder liability events.
-
#token ⇒ String
Unique identifier for the event, in UUID format.
-
#type ⇒ Symbol, :CARDHOLDER_LIABILITY
Type of event.
Instance Method Summary collapse
-
#initialize(token:, created:, data:, type: :CARDHOLDER_LIABILITY) ⇒ Object
constructor
Event tracking a change in cardholder liability.
- #to_hash ⇒ {
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:, created:, data:, type: :CARDHOLDER_LIABILITY) ⇒ Object
Event tracking a change in cardholder liability
|
|
# File 'lib/lithic/models/dispute_v2.rb', line 416
|
Instance Attribute Details
#created ⇒ Time
When the event occurred
402 |
# File 'lib/lithic/models/dispute_v2.rb', line 402 required :created, Time |
#data ⇒ Lithic::Models::DisputeV2::Event::CardholderLiability::Data
Details specific to cardholder liability events
408 |
# File 'lib/lithic/models/dispute_v2.rb', line 408 required :data, -> { Lithic::DisputeV2::Event::CardholderLiability::Data } |
#token ⇒ String
Unique identifier for the event, in UUID format
396 |
# File 'lib/lithic/models/dispute_v2.rb', line 396 required :token, String |
#type ⇒ Symbol, :CARDHOLDER_LIABILITY
Type of event. Always CARDHOLDER_LIABILITY
414 |
# File 'lib/lithic/models/dispute_v2.rb', line 414 required :type, const: :CARDHOLDER_LIABILITY |
Instance Method Details
#to_hash ⇒ {
330 |
# File 'sig/lithic/models/dispute_v2.rbs', line 330
def to_hash: -> {
|