Class: Lithic::Models::DisputeV2::Event::Workflow::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::DisputeV2::Event::Workflow::Data
- Defined in:
- lib/lithic/models/dispute_v2.rb,
sig/lithic/models/dispute_v2.rbs
Overview
Defined Under Namespace
Modules: Action, Disposition, Stage
Instance Attribute Summary collapse
-
#action ⇒ Symbol, Lithic::Models::DisputeV2::Event::Workflow::Data::Action
Action taken in this stage.
-
#amount ⇒ Integer?
Amount in minor units.
-
#disposition ⇒ Symbol, ...
Dispute resolution outcome.
-
#reason ⇒ String?
Reason for the action.
-
#stage ⇒ Symbol, Lithic::Models::DisputeV2::Event::Workflow::Data::Stage
Current stage of the dispute workflow.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(action:, amount:, disposition:, reason:, stage:) ⇒ Object
constructor
Details specific to workflow events.
- #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(action:, amount:, disposition:, reason:, stage:) ⇒ Object
Details specific to workflow events
|
|
# File 'lib/lithic/models/dispute_v2.rb', line 238
|
Instance Attribute Details
#action ⇒ Symbol, Lithic::Models::DisputeV2::Event::Workflow::Data::Action
Action taken in this stage
208 |
# File 'lib/lithic/models/dispute_v2.rb', line 208 required :action, enum: -> { Lithic::DisputeV2::Event::Workflow::Data::Action } |
#amount ⇒ Integer?
Amount in minor units
214 |
# File 'lib/lithic/models/dispute_v2.rb', line 214 required :amount, Integer, nil?: true |
#disposition ⇒ Symbol, ...
Dispute resolution outcome
220 221 222 223 224 |
# File 'lib/lithic/models/dispute_v2.rb', line 220 required :disposition, enum: -> { Lithic::DisputeV2::Event::Workflow::Data::Disposition }, nil?: true |
#reason ⇒ String?
Reason for the action
230 |
# File 'lib/lithic/models/dispute_v2.rb', line 230 required :reason, String, nil?: true |
#stage ⇒ Symbol, Lithic::Models::DisputeV2::Event::Workflow::Data::Stage
Current stage of the dispute workflow
236 |
# File 'lib/lithic/models/dispute_v2.rb', line 236 required :stage, enum: -> { Lithic::DisputeV2::Event::Workflow::Data::Stage } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/lithic/models/dispute_v2.rb', line 261
|
Instance Method Details
#to_hash ⇒ {
170 |
# File 'sig/lithic/models/dispute_v2.rbs', line 170
def to_hash: -> {
|