package se.bilhalsning.dto; import java.math.BigDecimal; import java.time.Instant; import java.util.UUID; /** * Response shape for guest-order endpoints. * * Identical to {@link OrderResponse} plus {@link #guestToken}, which the * client needs to (a) build the payment page URL and (b) look up the * order again without an account. Token is returned only on create and * by-token lookup — it is never re-exposed by order ID alone. */ public record GuestOrderResponse( UUID id, String plate, String letterText, String status, String trackingId, BigDecimal amountPaid, Instant createdAt, UUID guestToken ) {}