Class: Increase::Models::CardDispute::Win

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

Overview

See Also:

  • Increase::Models::CardDispute#win

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

#initializeWin

Returns a new instance of Win.

Parameters:

  • won_at: (Time)


4122
# File 'sig/increase/models/card_dispute.rbs', line 4122

def initialize: (won_at: Time) -> void

Instance Attribute Details

#won_atTime

The ISO 8601 date and time at which the Card Dispute was won.

Parameters:

  • value (Time)

Returns:

  • (Time)


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

required :won_at, Time

Instance Method Details

#to_hash{ won_at: Time }

Returns:

  • ({ won_at: Time })


4124
# File 'sig/increase/models/card_dispute.rbs', line 4124

def to_hash: -> { won_at: Time }