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

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

Overview

Defined Under Namespace

Modules: MerchantResolutionAttempted, ReturnOutcome Classes: 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(merchant_resolution_attempted: , received_at: , return_attempted: , return_outcome: , returned: ) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed for more details.

Merchandise not as described. Present if and only if ‘category` is `consumer_merchandise_not_as_described`.

Parameters:



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


Instance Attribute Details

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

Merchant resolution attempted.



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

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

#received_atDate

Received at.

Returns:

  • (Date)


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

required :received_at, Date

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

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



3329
3330
3331
3332
3333
# File 'lib/increase/models/card_dispute.rb', line 3329

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

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

Return outcome.



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

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

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

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



3346
3347
3348
3349
3350
# File 'lib/increase/models/card_dispute.rb', line 3346

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

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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