Class: Lithic::Models::DisputeV2::Event::CardholderLiability

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/dispute_v2.rb,
sig/lithic/models/dispute_v2.rbs

Defined Under Namespace

Classes: Data

Instance Attribute Summary collapse

Instance Method Summary collapse

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(token:, created:, data:, type: :CARDHOLDER_LIABILITY) ⇒ Object

Event tracking a change in cardholder liability

Parameters:

  • token (String)

    Unique identifier for the event, in UUID format

  • created (Time)

    When the event occurred

  • data (Lithic::Models::DisputeV2::Event::CardholderLiability::Data)

    Details specific to cardholder liability events

  • type (Symbol, :CARDHOLDER_LIABILITY) (defaults to: :CARDHOLDER_LIABILITY)

    Type of event. Always CARDHOLDER_LIABILITY



# File 'lib/lithic/models/dispute_v2.rb', line 416

Instance Attribute Details

#createdTime

When the event occurred

Parameters:

  • value (Time)

Returns:

  • (Time)


402
# File 'lib/lithic/models/dispute_v2.rb', line 402

required :created, Time

#dataLithic::Models::DisputeV2::Event::CardholderLiability::Data

Details specific to cardholder liability events

Parameters:

  • value (Lithic::DisputeV2::Event::CardholderLiability::Data)

Returns:



408
# File 'lib/lithic/models/dispute_v2.rb', line 408

required :data, -> { Lithic::DisputeV2::Event::CardholderLiability::Data }

#tokenString

Unique identifier for the event, in UUID format

Parameters:

  • value (String)

Returns:

  • (String)


396
# File 'lib/lithic/models/dispute_v2.rb', line 396

required :token, String

#typeSymbol, :CARDHOLDER_LIABILITY

Type of event. Always CARDHOLDER_LIABILITY

Parameters:

  • value (:CARDHOLDER_LIABILITY)

Returns:

  • (Symbol, :CARDHOLDER_LIABILITY)


414
# File 'lib/lithic/models/dispute_v2.rb', line 414

required :type, const: :CARDHOLDER_LIABILITY

Instance Method Details

#to_hash{

Returns:

  • ({)


330
# File 'sig/lithic/models/dispute_v2.rbs', line 330

def to_hash: -> {