Class: Lithic::Models::DisputeV2::Event::Data::Financial
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::DisputeV2::Event::Data::Financial
- Defined in:
- lib/lithic/models/dispute_v2.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#amount ⇒ Integer
Amount in minor units.
-
#polarity ⇒ Symbol, Lithic::Models::DisputeV2::Event::Data::Financial::Polarity
Direction of funds flow.
-
#stage ⇒ Symbol, Lithic::Models::DisputeV2::Event::Data::Financial::Stage
Stage at which the financial event occurred.
-
#type ⇒ Symbol, :FINANCIAL
Event type discriminator.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(amount:, polarity:, stage:, type: :FINANCIAL) ⇒ Object
constructor
Details specific to financial 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(amount:, polarity:, stage:, type: :FINANCIAL) ⇒ Object
Details specific to financial events
|
|
# File 'lib/lithic/models/dispute_v2.rb', line 318
|
Instance Attribute Details
#amount ⇒ Integer
Amount in minor units
298 |
# File 'lib/lithic/models/dispute_v2.rb', line 298 required :amount, Integer |
#polarity ⇒ Symbol, Lithic::Models::DisputeV2::Event::Data::Financial::Polarity
Direction of funds flow
304 |
# File 'lib/lithic/models/dispute_v2.rb', line 304 required :polarity, enum: -> { Lithic::DisputeV2::Event::Data::Financial::Polarity } |
#stage ⇒ Symbol, Lithic::Models::DisputeV2::Event::Data::Financial::Stage
Stage at which the financial event occurred
310 |
# File 'lib/lithic/models/dispute_v2.rb', line 310 required :stage, enum: -> { Lithic::DisputeV2::Event::Data::Financial::Stage } |
#type ⇒ Symbol, :FINANCIAL
Event type discriminator
316 |
# File 'lib/lithic/models/dispute_v2.rb', line 316 required :type, const: :FINANCIAL |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/lithic/models/dispute_v2.rb', line 338
|