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

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

Overview

See Also:

  • Increase::Models::CardDispute::Visa::NetworkEvent#represented

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

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



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


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.



1200
1201
1202
1203
1204
# File 'lib/increase/models/card_dispute.rb', line 1200

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.



1211
1212
1213
# File 'lib/increase/models/card_dispute.rb', line 1211

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.



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

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.



1228
1229
1230
1231
1232
# File 'lib/increase/models/card_dispute.rb', line 1228

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.



1239
1240
1241
1242
1243
# File 'lib/increase/models/card_dispute.rb', line 1239

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.



1250
1251
1252
# File 'lib/increase/models/card_dispute.rb', line 1250

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.



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

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.



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

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

Class Method Details

.valuesArray<Symbol>



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


Instance Method Details

#to_hash{



798
# File 'sig/increase/models/card_dispute.rbs', line 798

def to_hash: -> {