Class: Increase::Models::CardDispute::Visa::UserSubmission

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

Defined Under Namespace

Modules: Category, Status Classes: AttachmentFile, 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

Some parameter documentations has been truncated, see MerchantPrearbitrationDecline for more details.

A Visa Card Dispute Merchant Pre-Arbitration Decline User Submission object. This field will be present in the JSON response if and only if ‘category` is equal to `merchant_prearbitration_decline`. Contains the details specific to a merchant prearbitration decline Visa Card Dispute User Submission.

Parameters:

  • reason (String) (defaults to: )

    The reason the user declined the merchant’s request for pre-arbitration in their



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

Instance Attribute Details

#accepted_atTime?

The date and time at which the Visa Card Dispute User Submission was reviewed and accepted.

Returns:

  • (Time, nil)


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

required :accepted_at, Time, nil?: true

#amountInteger?

The amount of the dispute if it is different from the amount of a prior user submission or the disputed transaction.

Returns:

  • (Integer, nil)


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

required :amount, Integer, nil?: true

#attachment_filesArray<Increase::Models::CardDispute::Visa::UserSubmission::AttachmentFile>

The files attached to the Visa Card Dispute User Submission.



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

required :attachment_files,
-> { Increase::Internal::Type::ArrayOf[Increase::CardDispute::Visa::UserSubmission::AttachmentFile] }

#categorySymbol, Increase::Models::CardDispute::Visa::UserSubmission::Category

The category of the user submission. We may add additional possible values for this enum over time; your application should be able to handle such additions gracefully.



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

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

#chargebackIncrease::Models::CardDispute::Visa::UserSubmission::Chargeback?

A Visa Card Dispute Chargeback User Submission Chargeback Details object. This field will be present in the JSON response if and only if ‘category` is equal to `chargeback`. Contains the details specific to a Visa chargeback User Submission for a Card Dispute.



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

required :chargeback, -> { Increase::CardDispute::Visa::UserSubmission::Chargeback }, nil?: true

#created_atTime

The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date and time at which the Visa Card Dispute User Submission was created.

Returns:

  • (Time)


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

required :created_at, Time

#further_information_requested_atTime?

The date and time at which Increase requested further information from the user for the Visa Card Dispute.

Returns:

  • (Time, nil)


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

required :further_information_requested_at, Time, nil?: true

#further_information_requested_reasonString?

The reason for Increase requesting further information from the user for the Visa Card Dispute.

Returns:

  • (String, nil)


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

required :further_information_requested_reason, String, nil?: true

#merchant_prearbitration_declineIncrease::Models::CardDispute::Visa::UserSubmission::MerchantPrearbitrationDecline?

A Visa Card Dispute Merchant Pre-Arbitration Decline User Submission object. This field will be present in the JSON response if and only if ‘category` is equal to `merchant_prearbitration_decline`. Contains the details specific to a merchant prearbitration decline Visa Card Dispute User Submission.



1600
1601
1602
# File 'lib/increase/models/card_dispute.rb', line 1600

required :merchant_prearbitration_decline,
-> { Increase::CardDispute::Visa::UserSubmission::MerchantPrearbitrationDecline },
nil?: true

#statusSymbol, Increase::Models::CardDispute::Visa::UserSubmission::Status

The status of the Visa Card Dispute User Submission.



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

required :status, enum: -> { Increase::CardDispute::Visa::UserSubmission::Status }

#updated_atTime

The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date and time at which the Visa Card Dispute User Submission was updated.

Returns:

  • (Time)


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

required :updated_at, Time

#user_prearbitrationIncrease::Models::CardDispute::Visa::UserSubmission::UserPrearbitration?

A Visa Card Dispute User-Initiated Pre-Arbitration User Submission object. This field will be present in the JSON response if and only if ‘category` is equal to `user_prearbitration`. Contains the details specific to a user-initiated pre-arbitration Visa Card Dispute User Submission.



1624
1625
1626
# File 'lib/increase/models/card_dispute.rb', line 1624

required :user_prearbitration,
-> { Increase::CardDispute::Visa::UserSubmission::UserPrearbitration },
nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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