import { Name } from './Name'; import { Telephone } from './Telephone'; export declare class Traveler { travelerName: Name; /** * Email address associated with the traveler as supplied by the partner system. */ emailAddress?: string; telephones?: Array; /** * 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`. */ primary: boolean; /** * Age of the traveler. */ age?: number; /** * Date of birth for traveler, in ISO-8601 date and time format `yyyy-MM-ddTHH:mm:ss.SSSZ`. */ birthDate?: Date; /** * The alpha-3 ISO country code of the traveler\'s nationality. */ citizenshipCountryCode?: string; /** * A unique identifier for travelers in the transaction. */ travelerId?: string; constructor(traveler: TravelerProperties); } export interface TravelerProperties { travelerName: Name; emailAddress?: string; telephones?: Array; primary: boolean; age?: number; birthDate?: Date; citizenshipCountryCode?: string; travelerId?: string; }