Class: Increase::Models::CardDisputeCreateParams::Visa::ProcessingError

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

Overview

See Also:

Defined Under Namespace

Modules: ErrorReason, MerchantResolutionAttempted Classes: DuplicateTransaction, IncorrectAmount, PaidByOtherMeans

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

Incorrect amount. Required if and only if ‘error_reason` is `incorrect_amount`.

Parameters:

  • expected_amount (Integer) (defaults to: )

    Expected amount.



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

Instance Attribute Details

#duplicate_transactionIncrease::Models::CardDisputeCreateParams::Visa::ProcessingError::DuplicateTransaction?

Duplicate transaction. Required if and only if ‘error_reason` is `duplicate_transaction`.



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

optional :duplicate_transaction,
-> { Increase::CardDisputeCreateParams::Visa::ProcessingError::DuplicateTransaction }

#error_reasonSymbol, Increase::Models::CardDisputeCreateParams::Visa::ProcessingError::ErrorReason

Error reason.



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

required :error_reason, enum: -> { Increase::CardDisputeCreateParams::Visa::ProcessingError::ErrorReason }

#incorrect_amountIncrease::Models::CardDisputeCreateParams::Visa::ProcessingError::IncorrectAmount?

Incorrect amount. Required if and only if ‘error_reason` is `incorrect_amount`.



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

optional :incorrect_amount,
-> { Increase::CardDisputeCreateParams::Visa::ProcessingError::IncorrectAmount }

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

Merchant resolution attempted.



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

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

Paid by other means. Required if and only if ‘error_reason` is `paid_by_other_means`.



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

optional :paid_by_other_means,
-> { Increase::CardDisputeCreateParams::Visa::ProcessingError::PaidByOtherMeans }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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