Class: Increase::Models::CardDispute::Loss

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/card_dispute.rb

Overview

See Also:

Defined Under Namespace

Modules: Reason

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(lost_at: , reason: ) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::CardDispute::Loss for more details.

If the Card Dispute’s status is ‘lost`, this will contain details of the lost dispute.

Parameters:



# File 'lib/increase/models/card_dispute.rb', line 144

Instance Attribute Details

#lost_atTime

The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date and time at which the Card Dispute was lost.

Returns:

  • (Time)


136
# File 'lib/increase/models/card_dispute.rb', line 136

required :lost_at, Time

#reasonSymbol, Increase::Models::CardDispute::Loss::Reason

The reason the Card Dispute was lost.



142
# File 'lib/increase/models/card_dispute.rb', line 142

required :reason, enum: -> { Increase::CardDispute::Loss::Reason }