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 902

Instance Attribute Details

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

Cardholder cancellation.



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

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

#contracted_atDate

Contracted at.

Returns:

  • (Date)


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

required :contracted_at, Date

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

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



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

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

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

Merchant resolution attempted.



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

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`.



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

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

#purchase_explanationString

Purchase explanation.

Returns:

  • (String)


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

required :purchase_explanation, String

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

Service type.



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

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`.



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

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 968