Command.cs 361 B

1234567891011
  1. using Application.Abstractions.Messaging;
  2. using SharedKernel.Results;
  3. namespace Application.Features.Api.Payment.Toss.Cancel;
  4. /// <summary>토스 결제 전액 취소 — Toss 취소 API + 지갑 충전분(PgCharged) 회수</summary>
  5. public sealed record Command(
  6. string OrderID,
  7. string? CancelReason = null,
  8. int MemberID = 0
  9. ) : ICommand<Result>;