/* tslint:disable */
/* eslint-disable */
/**
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

// May contain unused imports in some cases
// @ts-ignore
import { BasicChargebackHistory } from "./basic-chargeback-history";
// May contain unused imports in some cases
// @ts-ignore
import { ChargebackCategories } from "./chargeback-categories";
// May contain unused imports in some cases
// @ts-ignore
import { ChargebackStatus } from "./chargeback-status";

/**
 *
 * @export
 * @interface BasicChargeback
 */
export interface BasicChargeback {
  /**
   * Unique system generated identifier for the entity.
   * @type {string}
   * @memberof BasicChargeback
   */
  id: string;
  /**
   * Unique system generated identifier for the payment that is associated to the chargeback item.
   * @type {string}
   * @memberof BasicChargeback
   */
  paymentId: string;
  /**
   * Unique system generated identifier for the merchant.
   * @type {string}
   * @memberof BasicChargeback
   */
  merchantId: string;
  /**
   * Reason code given by the card network for the chargeback item.
   * @type {string}
   * @memberof BasicChargeback
   */
  reasonCode: string;
  /**
   *
   * @type {ChargebackStatus}
   * @memberof BasicChargeback
   */
  status: ChargebackStatus;
  /**
   *
   * @type {ChargebackCategories}
   * @memberof BasicChargeback
   */
  category?: ChargebackCategories;
  /**
   * The chargeback item\'s history list will be sorted by create date descending: more recent chargeback statuses will be at the beginning of the list.
   * @type {Array<BasicChargebackHistory>}
   * @memberof BasicChargeback
   */
  history: Array<BasicChargebackHistory>;
}
