| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- using Domain.Entities.Store.ValueObject;
- namespace Application.Features.Api.Store.Orders.Get;
- public sealed record Response(
- int ID,
- string OrderNumber,
- int TotalAmount,
- int PlatformFeeAmount,
- int GameRevenueAmount,
- int ChannelRewardAmount,
- OrderStatus Status,
- int? ChannelID,
- string? ChannelName,
- DateTime CreatedAt,
- DateTime? PaidAt,
- List<Response.ItemRow> Items,
- Response.ShipmentRow? Shipment,
- List<Response.RefundRow> Refunds
- )
- {
- public sealed record ItemRow(
- int ID,
- int ProductID,
- string ProductName,
- string? ProductThumbnail,
- ProductType Type,
- int Quantity,
- int UnitPrice,
- // Digital: 발급된 쿠폰 코드 (보관함에서도 확인 가능)
- int? IssuedCouponCodeID
- );
- public sealed record ShipmentRow(
- int ID,
- ShipmentStatus Status,
- string? Carrier,
- string? TrackingNumber,
- int ShippingFee,
- DateTime? ShippedAt,
- DateTime? DeliveredAt
- );
- public sealed record RefundRow(
- int ID,
- RefundType Type,
- RefundReasonType ReasonType,
- RefundStatus Status,
- int Amount,
- string Reason,
- string? AdminMemo,
- DateTime RequestedAt,
- DateTime? ResolvedAt
- );
- }
|