Class: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/card_dispute_create_params.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. Required if and only if ‘return_outcome` is `not_returned`.



# File 'lib/increase/models/card_dispute_create_params.rb', line 448


Instance Attribute Details

#cardholder_cancellationIncrease::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation?

Cardholder cancellation.



424
425
# File 'lib/increase/models/card_dispute_create_params.rb', line 424

optional :cardholder_cancellation,
-> { Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation }

#merchant_resolution_attemptedSymbol, Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::MerchantResolutionAttempted

Merchant resolution attempted.



398
399
# File 'lib/increase/models/card_dispute_create_params.rb', line 398

required :merchant_resolution_attempted,
enum: -> { Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::MerchantResolutionAttempted }

#not_returnedIncrease::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::NotReturned?

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



431
432
# File 'lib/increase/models/card_dispute_create_params.rb', line 431

optional :not_returned,
-> { Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::NotReturned }

#purchase_explanationString

Purchase explanation.

Returns:

  • (String)


405
# File 'lib/increase/models/card_dispute_create_params.rb', line 405

required :purchase_explanation, String

#received_or_expected_atDate

Received or expected at.

Returns:

  • (Date)


411
# File 'lib/increase/models/card_dispute_create_params.rb', line 411

required :received_or_expected_at, Date

#return_attemptedIncrease::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnAttempted?

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



439
440
# File 'lib/increase/models/card_dispute_create_params.rb', line 439

optional :return_attempted,
-> { Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnAttempted }

#return_outcomeSymbol, Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnOutcome

Return outcome.



417
418
# File 'lib/increase/models/card_dispute_create_params.rb', line 417

required :return_outcome,
enum: -> { Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnOutcome }

#returnedIncrease::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::Returned?

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



446
# File 'lib/increase/models/card_dispute_create_params.rb', line 446

optional :returned, -> { Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::Returned }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/card_dispute_create_params.rb', line 484