export interface CartItem { foodId: string; foodTitle?: string; quantity: number; price: number; discount: number; totalPrice: number; } export interface CartCoupon { code: string; discount: number; discountType: 'amount' | 'percentage'; } export interface Cart { userId: string; restaurantId: string; restaurantName?: string; items: CartItem[]; coupon?: CartCoupon; addressId?: string; paymentMethodId?: string; couponDiscount: number; itemsDiscount: number; totalDiscount: number; subTotal: number; tax: number; shipmentFee: number; total: number; totalItems: number; createdAt: string; updatedAt: string; }