Update payment status to enum and refactor update order handler

This commit is contained in:
masoodafar-web
2025-11-28 04:03:12 +03:30
parent 067fe6cc0e
commit 698c044be6
5 changed files with 32 additions and 29 deletions

View File

@@ -1,3 +1,5 @@
using BackOffice.BFF.UserOrder.Protobuf.Protos.UserOrder;
namespace BackOffice.BFF.Application.UserOrderCQ.Queries.GetUserOrder;
public class GetUserOrderResponseDto
@@ -11,7 +13,7 @@ public class GetUserOrderResponseDto
//شناسه تراکنش
public long? TransactionId { get; set; }
//وضعیت پرداخت (true برای Success)
public bool PaymentStatus { get; set; }
public PaymentMethod PaymentStatus { get; set; }
//تاریخ پرداخت
public DateTime? PaymentDate { get; set; }
// روش پرداخت (0=IPG,1=Wallet)