apply discount

This commit is contained in:
hamid zarghami
2025-12-07 12:23:15 +03:30
parent 88088c2ed5
commit fea922a2fa
6 changed files with 144 additions and 43 deletions
@@ -16,6 +16,12 @@ export interface CartItem {
totalPrice: number;
}
export interface Coupon {
couponId: string;
couponName: string;
couponCode: string;
}
export interface CartData {
userId: string;
restaurantId: string;
@@ -34,6 +40,7 @@ export interface CartData {
deliveryMethodId?: string;
addressId?: string;
paymentMethodId?: string;
coupon?: Coupon;
}
export interface CartCategory {