Class: Lithic::Models::DisputeV2::Event::Data::Workflow
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::DisputeV2::Event::Data::Workflow
- Defined in:
- lib/lithic/models/dispute_v2.rb
Defined Under Namespace
Modules: Action, Disposition, Stage
Instance Attribute Summary collapse
-
#action ⇒ Symbol, Lithic::Models::DisputeV2::Event::Data::Workflow::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::Data::Workflow::Stage
Current stage of the dispute workflow.
-
#type ⇒ Symbol, :WORKFLOW
Event type discriminator.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(action:, amount:, disposition:, reason:, stage:, type: :WORKFLOW) ⇒ Object
constructor
Details specific to workflow events.
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:, type: :WORKFLOW) ⇒ Object
Details specific to workflow events
|
|
# File 'lib/lithic/models/dispute_v2.rb', line 235
|
Instance Attribute Details
#action ⇒ Symbol, Lithic::Models::DisputeV2::Event::Data::Workflow::Action
Action taken in this stage
199 |
# File 'lib/lithic/models/dispute_v2.rb', line 199 required :action, enum: -> { Lithic::DisputeV2::Event::Data::Workflow::Action } |
#amount ⇒ Integer?
Amount in minor units
205 |
# File 'lib/lithic/models/dispute_v2.rb', line 205 required :amount, Integer, nil?: true |
#disposition ⇒ Symbol, ...
Dispute resolution outcome
211 212 213 214 215 |
# File 'lib/lithic/models/dispute_v2.rb', line 211 required :disposition, enum: -> { Lithic::DisputeV2::Event::Data::Workflow::Disposition }, nil?: true |
#reason ⇒ String?
Reason for the action
221 |
# File 'lib/lithic/models/dispute_v2.rb', line 221 required :reason, String, nil?: true |
#stage ⇒ Symbol, Lithic::Models::DisputeV2::Event::Data::Workflow::Stage
Current stage of the dispute workflow
227 |
# File 'lib/lithic/models/dispute_v2.rb', line 227 required :stage, enum: -> { Lithic::DisputeV2::Event::Data::Workflow::Stage } |
#type ⇒ Symbol, :WORKFLOW
Event type discriminator
233 |
# File 'lib/lithic/models/dispute_v2.rb', line 233 required :type, const: :WORKFLOW |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/lithic/models/dispute_v2.rb', line 260
|