Travel

@Serializable
sealed interface Travel

How a customer is travelling.

Sealed because the API accepts at most one of flight or cruise — expressing that in the type system means the invalid combination cannot be written, rather than being rejected by the server after a round trip.

Inheritors