Class: Increase::Models::CardDispute::Visa::NetworkEvent::Represented::InvalidDispute

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

Invalid dispute details. Present if and only if ‘reason` is `invalid_dispute`.

Parameters:



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

Instance Attribute Details

#explanationString?

Explanation for why the dispute is considered invalid by the merchant.

Returns:

  • (String, nil)


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

required :explanation, String, nil?: true

#reasonSymbol, Increase::Models::CardDispute::Visa::NetworkEvent::Represented::InvalidDispute::Reason

The reason a merchant considers the dispute invalid.



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

required :reason,
enum: -> { Increase::CardDispute::Visa::NetworkEvent::Represented::InvalidDispute::Reason }