Class: Lithic::Models::DisputeV2::Event::CardholderLiability::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::DisputeV2::Event::CardholderLiability::Data
- Defined in:
- lib/lithic/models/dispute_v2.rb,
sig/lithic/models/dispute_v2.rbs
Overview
Defined Under Namespace
Modules: Action
Instance Attribute Summary collapse
-
#action ⇒ Symbol, Lithic::Models::DisputeV2::Event::CardholderLiability::Data::Action
Action taken regarding cardholder liability.
-
#amount ⇒ Integer
Amount in minor units.
-
#reason ⇒ String?
Reason for the action.
Instance Method Summary collapse
-
#initialize(action:, amount:, reason:) ⇒ Object
constructor
Details specific to cardholder liability 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:, reason:) ⇒ Object
Details specific to cardholder liability events
|
|
# File 'lib/lithic/models/dispute_v2.rb', line 447
|
Instance Attribute Details
#action ⇒ Symbol, Lithic::Models::DisputeV2::Event::CardholderLiability::Data::Action
Action taken regarding cardholder liability
433 |
# File 'lib/lithic/models/dispute_v2.rb', line 433 required :action, enum: -> { Lithic::DisputeV2::Event::CardholderLiability::Data::Action } |
#amount ⇒ Integer
Amount in minor units
439 |
# File 'lib/lithic/models/dispute_v2.rb', line 439 required :amount, Integer |
#reason ⇒ String?
Reason for the action
445 |
# File 'lib/lithic/models/dispute_v2.rb', line 445 required :reason, String, nil?: true |
Instance Method Details
#to_hash ⇒ {
357 |
# File 'sig/lithic/models/dispute_v2.rbs', line 357
def to_hash: -> {
|