Class: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation

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

Overview

See Also:

  • Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices#guaranteed_reservation

Defined Under Namespace

Modules: Explanation

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(explanation:) ⇒ Object

Guaranteed reservation explanation. Required if and only if service_type is guaranteed_reservation.



# File 'lib/increase/models/card_dispute_create_params.rb', line 1017

Instance Attribute Details

#explanationSymbol, Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation::Explanation

Explanation.

Parameters:

  • value (Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation::explanation)

Returns:



1014
1015
# File 'lib/increase/models/card_dispute_create_params.rb', line 1014

required :explanation,
enum: -> { Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation::Explanation }

Instance Method Details

#to_hash{

Returns:

  • ({)


937
# File 'sig/increase/models/card_dispute_create_params.rbs', line 937

def to_hash: -> {