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

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

Overview

See Also:

Defined Under Namespace

Modules: Reason Classes: CardholderNoLongerDisputes, CreditOrReversalProcessed, InvalidDispute, NonFiatCurrencyOrNonFungibleTokenAsDescribed, NonFiatCurrencyOrNonFungibleTokenReceived, ProofOfCashDisbursement, ReversalIssued

Instance Attribute Summary collapse

Class Method 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

Some parameter documentations has been truncated, see ProofOfCashDisbursement for more details.

Proof of cash disbursement details. Present if and only if ‘reason` is `proof_of_cash_disbursement`.

Parameters:

  • explanation (String, nil) (defaults to: )

    Explanation for why the merchant believes the evidence provides proof of cash di



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

Instance Attribute Details

#cardholder_no_longer_disputesIncrease::Models::CardDispute::Visa::NetworkEvent::Represented::CardholderNoLongerDisputes?

Cardholder no longer disputes details. Present if and only if ‘reason` is `cardholder_no_longer_disputes`.



969
970
971
972
973
# File 'lib/increase/models/card_dispute.rb', line 969

required :cardholder_no_longer_disputes,
-> {
  Increase::CardDispute::Visa::NetworkEvent::Represented::CardholderNoLongerDisputes
},
nil?: true

#credit_or_reversal_processedIncrease::Models::CardDispute::Visa::NetworkEvent::Represented::CreditOrReversalProcessed?

Credit or reversal processed details. Present if and only if ‘reason` is `credit_or_reversal_processed`.



980
981
982
# File 'lib/increase/models/card_dispute.rb', line 980

required :credit_or_reversal_processed,
-> { Increase::CardDispute::Visa::NetworkEvent::Represented::CreditOrReversalProcessed },
nil?: true

#invalid_disputeIncrease::Models::CardDispute::Visa::NetworkEvent::Represented::InvalidDispute?

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



988
989
990
# File 'lib/increase/models/card_dispute.rb', line 988

required :invalid_dispute,
-> { Increase::CardDispute::Visa::NetworkEvent::Represented::InvalidDispute },
nil?: true

#non_fiat_currency_or_non_fungible_token_as_describedIncrease::Models::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed?

Non-fiat currency or non-fungible token as described details. Present if and only if ‘reason` is `non_fiat_currency_or_non_fungible_token_as_described`.



997
998
999
1000
1001
# File 'lib/increase/models/card_dispute.rb', line 997

required :non_fiat_currency_or_non_fungible_token_as_described,
-> {
  Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed
},
nil?: true

#non_fiat_currency_or_non_fungible_token_receivedIncrease::Models::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenReceived?

Non-fiat currency or non-fungible token received details. Present if and only if ‘reason` is `non_fiat_currency_or_non_fungible_token_received`.



1008
1009
1010
1011
1012
# File 'lib/increase/models/card_dispute.rb', line 1008

required :non_fiat_currency_or_non_fungible_token_received,
-> {
  Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenReceived
},
nil?: true

#proof_of_cash_disbursementIncrease::Models::CardDispute::Visa::NetworkEvent::Represented::ProofOfCashDisbursement?

Proof of cash disbursement details. Present if and only if ‘reason` is `proof_of_cash_disbursement`.



1019
1020
1021
# File 'lib/increase/models/card_dispute.rb', line 1019

required :proof_of_cash_disbursement,
-> { Increase::CardDispute::Visa::NetworkEvent::Represented::ProofOfCashDisbursement },
nil?: true

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

The reason the merchant re-presented the dispute.



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

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

#reversal_issuedIncrease::Models::CardDispute::Visa::NetworkEvent::Represented::ReversalIssued?

Reversal issued by merchant details. Present if and only if ‘reason` is `reversal_issued`.



1034
1035
1036
# File 'lib/increase/models/card_dispute.rb', line 1034

required :reversal_issued,
-> { Increase::CardDispute::Visa::NetworkEvent::Represented::ReversalIssued },
nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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