Class: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/card_dispute.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. Present if and only if ‘error_reason` is `incorrect_amount`.

Parameters:

  • expected_amount (Integer) (defaults to: )

    Expected amount.



# File 'lib/increase/models/card_dispute.rb', line 4951

Instance Attribute Details

#duplicate_transactionIncrease::Models::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::DuplicateTransaction?

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



4910
4911
4912
4913
4914
# File 'lib/increase/models/card_dispute.rb', line 4910

required :duplicate_transaction,
-> {
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::DuplicateTransaction
},
nil?: true

#error_reasonSymbol, Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::ErrorReason

Error reason.



4920
4921
# File 'lib/increase/models/card_dispute.rb', line 4920

required :error_reason,
enum: -> { Increase::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::ErrorReason }

#incorrect_amountIncrease::Models::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::IncorrectAmount?

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



4927
4928
4929
4930
4931
# File 'lib/increase/models/card_dispute.rb', line 4927

required :incorrect_amount,
-> {
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::IncorrectAmount
},
nil?: true

#merchant_resolution_attemptedSymbol, Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::MerchantResolutionAttempted

Merchant resolution attempted.



4937
4938
# File 'lib/increase/models/card_dispute.rb', line 4937

required :merchant_resolution_attempted,
enum: -> { Increase::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::MerchantResolutionAttempted }

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



4945
4946
4947
4948
4949
# File 'lib/increase/models/card_dispute.rb', line 4945

required :paid_by_other_means,
-> {
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::PaidByOtherMeans
},
nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/card_dispute.rb', line 4998