this interface represents an Order

interface Order {
    _id: string;
    customerEmail: string;
    items: OrderItem[];
    price: number;
    state: OrderState;
    type: OrderType;
}

Hierarchy (View Summary)

Properties

_id: string
customerEmail: string
items: OrderItem[]
price: number
state: OrderState
type: OrderType