| 4 | namespace API.DTOs; |
| 5 | |
| 6 | public class OrderDto |
| 7 | { |
| 8 | public int Id { get; set; } |
| 9 | public required string BuyerEmail { get; set; } |
| 10 | public required ShippingAddress ShippingAddress { get; set; } |
| 11 | public DateTime OrderDate { get; set; } |
| 12 | public List<OrderItemDto> OrderItems { get; set; } = []; |
| 13 | public long Subtotal { get; set; } |
| 14 | public long DeliveryFee { get; set; } |
| 15 | public long Discount { get; set; } |
| 16 | public long Total { get; set; } |
| 17 | public required string OrderStatus { get; set; } |
| 18 | public required PaymentSummary PaymentSummary { get; set; } |
| 19 | } |
nothing calls this directly
no outgoing calls
no test coverage detected