Class: Lithic::Models::DisputeV2::Event
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::DisputeV2::Event
- Defined in:
- lib/lithic/models/dispute_v2.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#created ⇒ Time
When the event occurred.
-
#data ⇒ Lithic::Models::DisputeV2::Event::Data::Workflow, ...
Details specific to the event type.
-
#token ⇒ String
Unique identifier for the event, in UUID format.
-
#type ⇒ Symbol, Lithic::Models::DisputeV2::Event::Type
Type of event.
Class Method Summary collapse
- .values ⇒ Array<Symbol>
- .variants ⇒ Array(Lithic::Models::DisputeV2::Event::Data::Workflow, Lithic::Models::DisputeV2::Event::Data::Financial, Lithic::Models::DisputeV2::Event::Data::CardholderLiability)
Instance Method Summary collapse
-
#initialize(token:, created:, data:, type:) ⇒ Object
constructor
Event that occurred in the dispute lifecycle.
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:) ⇒ Object
Event that occurred in the dispute lifecycle
|
|
# File 'lib/lithic/models/dispute_v2.rb', line 166
|
Instance Attribute Details
#created ⇒ Time
When the event occurred
152 |
# File 'lib/lithic/models/dispute_v2.rb', line 152 required :created, Time |
#data ⇒ Lithic::Models::DisputeV2::Event::Data::Workflow, ...
Details specific to the event type
158 |
# File 'lib/lithic/models/dispute_v2.rb', line 158 required :data, union: -> { Lithic::DisputeV2::Event::Data } |
#token ⇒ String
Unique identifier for the event, in UUID format
146 |
# File 'lib/lithic/models/dispute_v2.rb', line 146 required :token, String |
#type ⇒ Symbol, Lithic::Models::DisputeV2::Event::Type
Type of event
164 |
# File 'lib/lithic/models/dispute_v2.rb', line 164 required :type, enum: -> { Lithic::DisputeV2::Event::Type } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/lithic/models/dispute_v2.rb', line 405
|
.variants ⇒ Array(Lithic::Models::DisputeV2::Event::Data::Workflow, Lithic::Models::DisputeV2::Event::Data::Financial, Lithic::Models::DisputeV2::Event::Data::CardholderLiability)
|
|
# File 'lib/lithic/models/dispute_v2.rb', line 410
|