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

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

Overview

See Also:

  • Increase::Models::CardDispute::Visa::UserSubmission::Chargeback#consumer_canceled_services

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 2828


Instance Attribute Details

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

Cardholder cancellation.



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

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

#contracted_atDate

Contracted at.



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

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.



2781
2782
2783
2784
2785
# File 'lib/increase/models/card_dispute.rb', line 2781

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.



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

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.



2799
2800
2801
2802
2803
# File 'lib/increase/models/card_dispute.rb', line 2799

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

#purchase_explanationString

Purchase explanation.



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

required :purchase_explanation, String

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

Service type.



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

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.



2822
2823
2824
2825
2826
# File 'lib/increase/models/card_dispute.rb', line 2822

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

Class Method Details

.valuesArray<Symbol>



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


Instance Method Details

#to_hash{



1947
# File 'sig/increase/models/card_dispute.rbs', line 1947

def to_hash: -> {