Enum Class OfferRequestBodyPassengerWithType.TypeEnum

java.lang.Object
java.lang.Enum<OfferRequestBodyPassengerWithType.TypeEnum>
com.duffel.sdk.model.OfferRequestBodyPassengerWithType.TypeEnum
All Implemented Interfaces:
Serializable, Comparable<OfferRequestBodyPassengerWithType.TypeEnum>, Constable
Enclosing class:
OfferRequestBodyPassengerWithType

public static enum OfferRequestBodyPassengerWithType.TypeEnum extends Enum<OfferRequestBodyPassengerWithType.TypeEnum>
The type of the passenger. If the passenger is aged 18 or over, you should specify a `type` of `adult`. If a passenger is aged under 18, you should specify their `age` instead of a `type`. A passenger can have only a type or an age, but not both.