Class: Lithic::Models::DisputeV2::Event::Data::CardholderLiability
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::DisputeV2::Event::Data::CardholderLiability
- Defined in:
- lib/lithic/models/dispute_v2.rb
Defined Under Namespace
Modules: Action
Instance Attribute Summary collapse
-
#action ⇒ Symbol, Lithic::Models::DisputeV2::Event::Data::CardholderLiability::Action
Action taken regarding cardholder liability.
-
#amount ⇒ Integer
Amount in minor units.
-
#reason ⇒ String
Reason for the action.
-
#type ⇒ Symbol, :CARDHOLDER_LIABILITY
Event type discriminator.
Instance Method Summary collapse
-
#initialize(action:, amount:, reason:, type: :CARDHOLDER_LIABILITY) ⇒ Object
constructor
Details specific to cardholder liability 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:, reason:, type: :CARDHOLDER_LIABILITY) ⇒ Object
Details specific to cardholder liability events
|
|
# File 'lib/lithic/models/dispute_v2.rb', line 384
|
Instance Attribute Details
#action ⇒ Symbol, Lithic::Models::DisputeV2::Event::Data::CardholderLiability::Action
Action taken regarding cardholder liability
364 |
# File 'lib/lithic/models/dispute_v2.rb', line 364 required :action, enum: -> { Lithic::DisputeV2::Event::Data::CardholderLiability::Action } |
#amount ⇒ Integer
Amount in minor units
370 |
# File 'lib/lithic/models/dispute_v2.rb', line 370 required :amount, Integer |
#reason ⇒ String
Reason for the action
376 |
# File 'lib/lithic/models/dispute_v2.rb', line 376 required :reason, String |
#type ⇒ Symbol, :CARDHOLDER_LIABILITY
Event type discriminator
382 |
# File 'lib/lithic/models/dispute_v2.rb', line 382 required :type, const: :CARDHOLDER_LIABILITY |