Traveler

public Traveler Traveler(Name travelerName, Boolean primary, String emailAddress, List<Telephone> telephones, BigDecimal age, OffsetDateTime birthDate, String citizenshipCountryCode, String travelerId)

Parameters

travelerName
primary

Indicator for one of the travelers who is the primary traveler. One traveler in each itinerary item must be listed as primary. By default, for a single traveler this should be set to true.

emailAddress

Email address associated with the traveler as supplied by the partner system.

telephones
age

Age of the traveler.

birthDate

Date of birth for traveler, in ISO-8601 date and time format yyyy-MM-ddTHH:mm:ss.SSSZ.

citizenshipCountryCode

The alpha-3 ISO country code of the traveler's nationality.

travelerId

A unique identifier for travelers in the transaction.