import { Amount } from './Amount'; /** * Details related to the chargeback. */ export declare class ChargebackDetail { /** * Identifies the chargeback status. Possible values are: -`RECEIVED` - The chargeback was received. -`REVERSAL` - The chargeback reversal was received. */ chargebackStatus: ChargebackDetailChargebackStatusEnum; /** * Reason for chargeback which can be `Fraud` or `Non Fraud`. */ chargebackReason: ChargebackDetailChargebackReasonEnum; chargebackAmount: Amount; /** * Unique code provided by the acquiring bank for the category of fraud. */ bankReasonCode?: string; /** * Date and time when the chargeback was reported to the partner, in ISO-8601 date and time format `yyyy-MM-ddTHH:mm:ss.SSSZ`. */ chargebackReportedDateTime?: Date; constructor(chargebackDetail: ChargebackDetailProperties); } export type ChargebackDetailChargebackStatusEnum = 'RECEIVED' | 'REVERSAL'; export type ChargebackDetailChargebackReasonEnum = 'FRAUD' | 'NON_FRAUD'; export interface ChargebackDetailProperties { chargebackStatus: ChargebackDetailChargebackStatusEnum; chargebackReason: ChargebackDetailChargebackReasonEnum; chargebackAmount: Amount; bankReasonCode?: string; chargebackReportedDateTime?: Date; }