Class: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/card_dispute_create_params.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. Required if and only if ‘service_type` is `other`.



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


Instance Attribute Details

#cardholder_cancellationIncrease::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::CardholderCancellation

Cardholder cancellation.



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

required :cardholder_cancellation,
-> { Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::CardholderCancellation }

#contracted_atDate

Contracted at.

Returns:

  • (Date)


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

required :contracted_at, Date

#guaranteed_reservationIncrease::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation?

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



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

optional :guaranteed_reservation,
-> { Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation }

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

Merchant resolution attempted.



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

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

#otherIncrease::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Other?

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



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

optional :other, -> { Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Other }

#purchase_explanationString

Purchase explanation.

Returns:

  • (String)


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

required :purchase_explanation, String

#service_typeSymbol, Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::ServiceType

Service type.



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

required :service_type,
enum: -> { Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::ServiceType }

#timeshareIncrease::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Timeshare?

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



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

optional :timeshare, -> { Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Timeshare }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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