Class: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise

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

Overview

Defined Under Namespace

Modules: MerchantResolutionAttempted, ReturnOutcome Classes: CardholderCancellation, NotReturned, ReturnAttempted, Returned

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

#initializeObject

Not returned. Present if and only if ‘return_outcome` is `not_returned`.



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


Instance Attribute Details

#cardholder_cancellationIncrease::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation?

Cardholder cancellation.



2045
2046
2047
2048
2049
# File 'lib/increase/models/card_dispute.rb', line 2045

required :cardholder_cancellation,
-> {
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation
},
nil?: true

#merchant_resolution_attemptedSymbol, Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::MerchantResolutionAttempted

Merchant resolution attempted.



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

required :merchant_resolution_attempted,
enum: -> { Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::MerchantResolutionAttempted }

#not_returnedIncrease::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::NotReturned?

Not returned. Present if and only if ‘return_outcome` is `not_returned`.



2062
2063
2064
2065
2066
# File 'lib/increase/models/card_dispute.rb', line 2062

required :not_returned,
-> {
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::NotReturned
},
nil?: true

#purchase_explanationString

Purchase explanation.

Returns:

  • (String)


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

required :purchase_explanation, String

#received_or_expected_atDate

Received or expected at.

Returns:

  • (Date)


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

required :received_or_expected_at, Date

#return_attemptedIncrease::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::ReturnAttempted?

Return attempted. Present if and only if ‘return_outcome` is `return_attempted`.



2084
2085
2086
2087
2088
# File 'lib/increase/models/card_dispute.rb', line 2084

required :return_attempted,
-> {
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::ReturnAttempted
},
nil?: true

#return_outcomeSymbol, Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::ReturnOutcome

Return outcome.



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

required :return_outcome,
enum: -> { Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::ReturnOutcome }

#returnedIncrease::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::Returned?

Returned. Present if and only if ‘return_outcome` is `returned`.



2101
2102
2103
2104
2105
# File 'lib/increase/models/card_dispute.rb', line 2101

required :returned,
-> {
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::Returned
},
nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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