using Baya.Application.Models.Booking;
using Baya.Application.Models.Common;
using Mediator;

namespace Baya.Application.Features.Booking.Commands.CancelBookingRequest;

/// <summary>The customer withdraws a request that is still pending or accepted-awaiting-payment (before they
/// pay). <c>Id</c> comes from the route. This is a request cancellation only — a booking cancellation with
/// refund tiers is b9+/DEFERRED.</summary>
public record CancelBookingRequestCommand(long Id = 0) : IRequest<OperationResult<BookingRequestDto>>;
