// EN: Command to pay for an order.
// VI: Command thanh toán order.

using MediatR;

namespace OrderService.API.Application.Commands;

/// <summary>
/// EN: Command to process payment and execute order.
/// VI: Command xử lý thanh toán và thực thi order.
/// </summary>
public record PayOrderCommand(
    Guid OrderId,
    Guid ShopId
) : IRequest<PayOrderResult>;

/// <summary>
/// EN: Result of pay order command.
/// VI: Kết quả command thanh toán order.
/// </summary>
public record PayOrderResult(
    bool Success,
    string Status
);
