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, 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 1033

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`.



966
967
968
969
970
# File 'lib/increase/models/card_dispute.rb', line 966

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`.



977
978
979
# File 'lib/increase/models/card_dispute.rb', line 977

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`.



985
986
987
# File 'lib/increase/models/card_dispute.rb', line 985

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

#non_fiat_currency_or_non_fungible_token_as_describedObject?

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`.

Returns:

  • (Object, nil)


994
995
996
# File 'lib/increase/models/card_dispute.rb', line 994

required :non_fiat_currency_or_non_fungible_token_as_described,
Increase::Internal::Type::Unknown,
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`.



1003
1004
1005
1006
1007
# File 'lib/increase/models/card_dispute.rb', line 1003

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`.



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

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.



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

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`.



1029
1030
1031
# File 'lib/increase/models/card_dispute.rb', line 1029

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 1261