Class: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa

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

Defined Under Namespace

Modules: Category Classes: Chargeback, MerchantPrearbitrationDecline, UserPrearbitration

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(reason: ) ⇒ Object

The merchant pre-arbitration decline details for the user submission. Required if and only if ‘category` is `merchant_prearbitration_decline`.

Parameters:

  • reason (String) (defaults to: )

    The reason for declining the merchant’s pre-arbitration request.



# File 'lib/increase/models/card_dispute_submit_user_submission_params.rb', line 113


Instance Attribute Details

#categorySymbol, Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Category

The category of the user submission. Details specific to the category are required under the sub-object with the same identifier as the category.



88
# File 'lib/increase/models/card_dispute_submit_user_submission_params.rb', line 88

required :category, enum: -> { Increase::CardDisputeSubmitUserSubmissionParams::Visa::Category }

#chargebackIncrease::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback?

The chargeback details for the user submission. Required if and only if ‘category` is `chargeback`.



95
# File 'lib/increase/models/card_dispute_submit_user_submission_params.rb', line 95

optional :chargeback, -> { Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback }

#merchant_prearbitration_declineIncrease::Models::CardDisputeSubmitUserSubmissionParams::Visa::MerchantPrearbitrationDecline?

The merchant pre-arbitration decline details for the user submission. Required if and only if ‘category` is `merchant_prearbitration_decline`.



102
103
# File 'lib/increase/models/card_dispute_submit_user_submission_params.rb', line 102

optional :merchant_prearbitration_decline,
-> { Increase::CardDisputeSubmitUserSubmissionParams::Visa::MerchantPrearbitrationDecline }

#user_prearbitrationIncrease::Models::CardDisputeSubmitUserSubmissionParams::Visa::UserPrearbitration?

The user pre-arbitration details for the user submission. Required if and only if ‘category` is `user_prearbitration`.



110
111
# File 'lib/increase/models/card_dispute_submit_user_submission_params.rb', line 110

optional :user_prearbitration,
-> { Increase::CardDisputeSubmitUserSubmissionParams::Visa::UserPrearbitration }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/card_dispute_submit_user_submission_params.rb', line 145