interface BasePayment {
    _id?: string;
    amount: number;
    currency: USD;
    date: Date;
    disputes?: PaymentDispute[];
    label?: string;
    note?: string;
    paymentError?: models.bookings.PaymentError;
    paymentProcessor?: PaymentProcessor;
    recipient?: recipients;
    status: PaymentStatus;
    transactionId?: string;
    type: PaymentType;
}

Hierarchy (View Summary)

Properties

_id?: string
amount: number
currency: USD
date: Date
disputes?: PaymentDispute[]
label?: string
note?: string
paymentProcessor?: PaymentProcessor
recipient?: recipients
transactionId?: string