interface FinancialBooking {
    _id: string;
    additionalParticipants: (string | User | BookingCustomerProfile)[];
    addOns?: FinancialBookingAddOn[];
    automaticPayment?: AutomaticPayment;
    bookingLedger?: BookingLedgerEvent[];
    cancellationDetails?: CancellationDetails;
    cancellationRequestDate?: Date;
    cancelledByHost?: Date;
    cancelledDate?: Date;
    confirmedDate?: Date;
    coupon?: string;
    couponUsed: boolean;
    createdDate: Date;
    customer: string | User | BookingCustomerProfile;
    dueAmount: number;
    id?: string;
    internalCancellationReason?: InternalCancellationReason;
    modifiedDate: Date;
    operator?: string | Operator;
    orderId: string;
    originalRezdyTripId?: string;
    paidAmount: number;
    paymentDueDate?: Date;
    payments?: models.bookings.BookingPayment[];
    rezdyPayloads?: RezdyBooking[];
    rezdyTripId?: string;
    status: BookingStatus;
    statusBeforeCancellation?: BookingStatus;
    totalAmount: number;
    totalSpotsBooked: number;
    travelAmount: number;
    travelersRooms?: TravelersRoom[];
    trip: undefined | string | models.trips.Trip;
}

Hierarchy (View Summary)

Properties

_id: string
additionalParticipants: (string | User | BookingCustomerProfile)[]
automaticPayment?: AutomaticPayment
bookingLedger?: BookingLedgerEvent[]
cancellationDetails?: CancellationDetails
cancellationRequestDate?: Date
cancelledByHost?: Date
cancelledDate?: Date
confirmedDate?: Date
coupon?: string
couponUsed: boolean
createdDate: Date
customer: string | User | BookingCustomerProfile
dueAmount: number
id?: string

Use _id instead

internalCancellationReason?: InternalCancellationReason
modifiedDate: Date
operator?: string | Operator
orderId: string
originalRezdyTripId?: string
paidAmount: number
paymentDueDate?: Date
rezdyPayloads?: RezdyBooking[]
rezdyTripId?: string
statusBeforeCancellation?: BookingStatus
totalAmount: number
totalSpotsBooked: number
travelAmount: number
travelersRooms?: TravelersRoom[]
trip: undefined | string | models.trips.Trip