| 1234567891011121314 |
- using Application.Abstractions.Messaging;
- using SharedKernel.Results;
- namespace Application.Features.Api.Payment.Toss.CreateOrder;
- /// <summary>
- /// 토스 캐시 충전 주문 생성. <see cref="Amount"/>는 사용자가 충전할 캐시(VAT 제외).
- /// PG 결제 총액은 Handler 에서 Amount + VAT(10%)로 계산됨.
- /// 서버가 orderID·금액·orderName 을 확정 저장하고, 회원 customerKey(UUID)를 없으면 발급한다.
- /// </summary>
- public sealed record Command(
- int Amount,
- int MemberID = 0
- ) : ICommand<Result<Response>>;
|