Class: Increase::Models::Simulations::CardDisputeActionParams::Visa

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

Defined Under Namespace

Modules: Action Classes: AcceptChargeback, AcceptUserSubmission, DeclineUserPrearbitration, ReceiveMerchantPrearbitration, Represent, RequestFurtherInformation, TimeOutChargeback, TimeOutMerchantPrearbitration, TimeOutRepresentment, TimeOutUserPrearbitration

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

The parameters for timing out the user prearbitration. Required if and only if ‘action` is `time_out_user_prearbitration`.



# File 'lib/increase/models/simulations/card_dispute_action_params.rb', line 133


Instance Attribute Details

#accept_chargebackIncrease::Models::Simulations::CardDisputeActionParams::Visa::AcceptChargeback?

The parameters for accepting the chargeback. Required if and only if ‘action` is `accept_chargeback`.



60
# File 'lib/increase/models/simulations/card_dispute_action_params.rb', line 60

optional :accept_chargeback, -> { Increase::Simulations::CardDisputeActionParams::Visa::AcceptChargeback }

#accept_user_submissionIncrease::Models::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission?

The parameters for accepting the user submission. Required if and only if ‘action` is `accept_user_submission`.



67
68
# File 'lib/increase/models/simulations/card_dispute_action_params.rb', line 67

optional :accept_user_submission,
-> { Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission }

#actionSymbol, Increase::Models::Simulations::CardDisputeActionParams::Visa::Action

The action to take. Details specific to the action are required under the sub-object with the same identifier as the action.



53
# File 'lib/increase/models/simulations/card_dispute_action_params.rb', line 53

required :action, enum: -> { Increase::Simulations::CardDisputeActionParams::Visa::Action }

#decline_user_prearbitrationIncrease::Models::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration?

The parameters for declining the prearbitration. Required if and only if ‘action` is `decline_user_prearbitration`.



75
76
# File 'lib/increase/models/simulations/card_dispute_action_params.rb', line 75

optional :decline_user_prearbitration,
-> { Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration }

#receive_merchant_prearbitrationIncrease::Models::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration?

The parameters for receiving the prearbitration. Required if and only if ‘action` is `receive_merchant_prearbitration`.



83
84
# File 'lib/increase/models/simulations/card_dispute_action_params.rb', line 83

optional :receive_merchant_prearbitration,
-> { Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration }

#representIncrease::Models::Simulations::CardDisputeActionParams::Visa::Represent?

The parameters for re-presenting the dispute. Required if and only if ‘action` is `represent`.



91
# File 'lib/increase/models/simulations/card_dispute_action_params.rb', line 91

optional :represent, -> { Increase::Simulations::CardDisputeActionParams::Visa::Represent }

#request_further_informationIncrease::Models::Simulations::CardDisputeActionParams::Visa::RequestFurtherInformation?

The parameters for requesting further information from the user. Required if and only if ‘action` is `request_further_information`.



98
99
# File 'lib/increase/models/simulations/card_dispute_action_params.rb', line 98

optional :request_further_information,
-> { Increase::Simulations::CardDisputeActionParams::Visa::RequestFurtherInformation }

#time_out_chargebackIncrease::Models::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback?

The parameters for timing out the chargeback. Required if and only if ‘action` is `time_out_chargeback`.



106
107
# File 'lib/increase/models/simulations/card_dispute_action_params.rb', line 106

optional :time_out_chargeback,
-> { Increase::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback }

#time_out_merchant_prearbitrationIncrease::Models::Simulations::CardDisputeActionParams::Visa::TimeOutMerchantPrearbitration?

The parameters for timing out the merchant prearbitration. Required if and only if ‘action` is `time_out_merchant_prearbitration`.



114
115
# File 'lib/increase/models/simulations/card_dispute_action_params.rb', line 114

optional :time_out_merchant_prearbitration,
-> { Increase::Simulations::CardDisputeActionParams::Visa::TimeOutMerchantPrearbitration }

#time_out_representmentIncrease::Models::Simulations::CardDisputeActionParams::Visa::TimeOutRepresentment?

The parameters for timing out the re-presentment. Required if and only if ‘action` is `time_out_representment`.



122
123
# File 'lib/increase/models/simulations/card_dispute_action_params.rb', line 122

optional :time_out_representment,
-> { Increase::Simulations::CardDisputeActionParams::Visa::TimeOutRepresentment }

#time_out_user_prearbitrationIncrease::Models::Simulations::CardDisputeActionParams::Visa::TimeOutUserPrearbitration?

The parameters for timing out the user prearbitration. Required if and only if ‘action` is `time_out_user_prearbitration`.



130
131
# File 'lib/increase/models/simulations/card_dispute_action_params.rb', line 130

optional :time_out_user_prearbitration,
-> { Increase::Simulations::CardDisputeActionParams::Visa::TimeOutUserPrearbitration }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/simulations/card_dispute_action_params.rb', line 199