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

namespace Baya.Application.Features.Bnpl.Queries.GetBnplOrderByRequest;

/// <summary>Reads the BNPL order for a booking request (the id the return-poll surface holds, not the order id),
/// owner-scoped. 404 when the request has no BNPL order.</summary>
public record GetBnplOrderByRequestQuery(long BookingRequestId) : IRequest<OperationResult<BnplOrderStatusDto>>;
