refactor : payment

This commit is contained in:
2026-01-03 17:35:18 +03:30
parent 60f7b46779
commit a65ad8b5ff
15 changed files with 159 additions and 224 deletions
@@ -7,7 +7,7 @@ export interface ICartPayment {
_id: Types.ObjectId;
user_id: Types.ObjectId;
authority: string;
transaction_id: number;
transaction_id: string | null;
payment_method: Types.ObjectId;
priceDetails: IPriceDetails;
totalPrice: number;
@@ -34,7 +34,7 @@ export interface IProductRequestPayment {
_id: Types.ObjectId;
seller_id: Types.ObjectId;
authority: string;
transaction_id: number;
transaction_id: string | null;
payment_method: Types.ObjectId;
priceDetails: IPRPriceDetails;
totalPrice: number;