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

Inherits:
Internal::Type::BaseModel
  • Object
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 915


Instance Attribute Details

#explanationString?

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

Returns:

  • (String, nil)


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

required :explanation, String, nil?: true

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

The reason a merchant considers the dispute invalid.



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

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