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

Hierarchy (View Summary)

Properties

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