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

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

Overview

Defined Under Namespace

Modules: MerchantResolutionAttempted, ServiceType Classes: CardholderCancellation, GuaranteedReservation, Other, Timeshare

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

Other service type explanation. Present if and only if ‘service_type` is `other`.



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


Instance Attribute Details

#cardholder_cancellationIncrease::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::CardholderCancellation

Cardholder cancellation.



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

required :cardholder_cancellation,
-> { Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::CardholderCancellation }

#contracted_atDate

Contracted at.

Returns:

  • (Date)


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

required :contracted_at, Date

#guaranteed_reservationIncrease::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::GuaranteedReservation?

Guaranteed reservation explanation. Present if and only if ‘service_type` is `guaranteed_reservation`.



2515
2516
2517
2518
2519
# File 'lib/increase/models/card_dispute.rb', line 2515

required :guaranteed_reservation,
-> {
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::GuaranteedReservation
},
nil?: true

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

Merchant resolution attempted.



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

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

#otherIncrease::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Other?

Other service type explanation. Present if and only if ‘service_type` is `other`.



2533
2534
2535
2536
2537
# File 'lib/increase/models/card_dispute.rb', line 2533

required :other,
-> {
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Other
},
nil?: true

#purchase_explanationString

Purchase explanation.

Returns:

  • (String)


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

required :purchase_explanation, String

#service_typeSymbol, Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::ServiceType

Service type.



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

required :service_type,
enum: -> { Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::ServiceType }

#timeshareIncrease::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Timeshare?

Timeshare explanation. Present if and only if ‘service_type` is `timeshare`.



2556
2557
2558
2559
2560
# File 'lib/increase/models/card_dispute.rb', line 2556

required :timeshare,
-> {
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Timeshare
},
nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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