Command.cs 471 B

1234567891011121314
  1. using Application.Abstractions.Messaging;
  2. using Domain.Entities.Payments.ValueObject;
  3. namespace Application.Features.Api.Payment.CreateOrder;
  4. /// <summary>
  5. /// 포인트 충전 주문 생성. <see cref="Amount"/>는 사용자가 충전할 포인트(VAT 제외).
  6. /// PG 결제 총액은 Handler 에서 Amount + VAT(10%)로 계산됨.
  7. /// </summary>
  8. public sealed record Command(
  9. int Amount,
  10. PaymentMethod PaymentMethod,
  11. int MemberID = 0
  12. ) : IQuery<Response>;