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 1112

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



1043
1044
1045
1046
1047
# File 'lib/increase/models/card_dispute.rb', line 1043

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



1054
1055
1056
# File 'lib/increase/models/card_dispute.rb', line 1054

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



1062
1063
1064
# File 'lib/increase/models/card_dispute.rb', line 1062

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



1071
1072
1073
1074
1075
# File 'lib/increase/models/card_dispute.rb', line 1071

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



1082
1083
1084
1085
1086
# File 'lib/increase/models/card_dispute.rb', line 1082

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



1093
1094
1095
# File 'lib/increase/models/card_dispute.rb', line 1093

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.



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

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



1108
1109
1110
# File 'lib/increase/models/card_dispute.rb', line 1108

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 1340