import type * as Square from "../index"; /** * Represents a [dispute](https://developer.squareup.com/docs/disputes-api/overview) a cardholder initiated with their bank. */ export interface Dispute { /** The unique ID for this `Dispute`, generated by Square. */ disputeId?: string | null; /** The unique ID for this `Dispute`, generated by Square. */ id?: string; /** * The disputed amount, which can be less than the total transaction amount. * For instance, if multiple items were purchased but the cardholder only initiates a dispute over some of the items. */ amountMoney?: Square.Money; /** * The reason why the cardholder initiated the dispute. * See [DisputeReason](#type-disputereason) for possible values */ reason?: Square.DisputeReason; /** * The current state of this dispute. * See [DisputeState](#type-disputestate) for possible values */ state?: Square.DisputeState; /** The deadline by which the seller must respond to the dispute, in [RFC 3339 format](https://developer.squareup.com/docs/build-basics/common-data-types/working-with-dates). */ dueAt?: string | null; /** The payment challenged in this dispute. */ disputedPayment?: Square.DisputedPayment; /** The IDs of the evidence associated with the dispute. */ evidenceIds?: string[] | null; /** * The card brand used in the disputed payment. * See [CardBrand](#type-cardbrand) for possible values */ cardBrand?: Square.CardBrand; /** The timestamp when the dispute was created, in RFC 3339 format. */ createdAt?: string; /** The timestamp when the dispute was last updated, in RFC 3339 format. */ updatedAt?: string; /** The ID of the dispute in the card brand system, generated by the card brand. */ brandDisputeId?: string | null; /** The timestamp when the dispute was reported, in RFC 3339 format. */ reportedDate?: string | null; /** The timestamp when the dispute was reported, in RFC 3339 format. */ reportedAt?: string | null; /** The current version of the `Dispute`. */ version?: number; /** The ID of the location where the dispute originated. */ locationId?: string | null; }