Class: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/card_dispute_create_params.rb

Overview

Defined Under Namespace

Modules: MerchantResolutionAttempted, ReturnOutcome Classes: NotReturned, OngoingNegotiations, 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

#initialize(explanation: , issuer_first_notified_at: , started_at: ) ⇒ Object

Some parameter documentations has been truncated, see OngoingNegotiations for more details.

Ongoing negotiations. Exclude if there is no evidence of ongoing negotiations.

Parameters:

  • explanation (String) (defaults to: )

    Explanation of the previous ongoing negotiations between the cardholder and merc

  • issuer_first_notified_at (Date) (defaults to: )

    Date the cardholder first notified the issuer of the dispute.

  • started_at (Date) (defaults to: )

    Started at.



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


Instance Attribute Details

#expected_atDate

Expected at.

Returns:

  • (Date)


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

required :expected_at, Date

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

Merchant resolution attempted.



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

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

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

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



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

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

#ongoing_negotiationsIncrease::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::OngoingNegotiations?

Ongoing negotiations. Exclude if there is no evidence of ongoing negotiations.



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

optional :ongoing_negotiations,
-> { Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::OngoingNegotiations }

#purchase_info_and_quality_issueString

Purchase information and quality issue.

Returns:

  • (String)


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

required :purchase_info_and_quality_issue, String

#received_atDate

Received at.

Returns:

  • (Date)


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

required :received_at, Date

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

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



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

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

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

Return outcome.



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

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

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

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



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

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

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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