Type alias Cart

Cart: {
    coupon?: string | null;
    items: API.CartItem[];
    subtotal?: string | number;
    tax?: string | number;
    total?: string | number;
    total_with_tax?: number;
}

Type declaration

  • Optional coupon?: string | null
  • items: API.CartItem[]
  • Optional subtotal?: string | number
  • Optional tax?: string | number
  • Optional total?: string | number
  • Optional total_with_tax?: number

Generated using TypeDoc