Class: Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise

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, 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 1161


Instance Attribute Details

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

Merchant resolution attempted.



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

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

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

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



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

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

#order_and_issue_explanationString

Order and issue explanation.

Returns:

  • (String)


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

required :order_and_issue_explanation, String

#received_atDate

Received at.

Returns:

  • (Date)


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

required :received_at, Date

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

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



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

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

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

Return outcome.



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

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

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

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



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

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

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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