ULTraveler

data class ULTraveler(val travelerId: Int? = null, val title: String? = null, val firstName: String? = null, val lastName: String? = null, val dateOfBirth: Date? = null) : Serializable

Class to represent a single traveler attached to the trips

Constructors

Link copied to clipboard
fun ULTraveler(travelerId: Int? = null, title: String? = null, firstName: String? = null, lastName: String? = null, dateOfBirth: Date? = null)

Init method to create a ULTraveler object with the required properties

Properties

Link copied to clipboard
val dateOfBirth: Date? = null

Date of birth of the traveler

Link copied to clipboard
val firstName: String? = null

First name of the traveler

Link copied to clipboard
val lastName: String? = null

Last name of the traveler

Link copied to clipboard
val title: String? = null

Title of the traveler

Link copied to clipboard
val travelerId: Int? = null

ID of the traveler within the context of this trip (eg: non-globally unique). Please keep in mind that the IDs must be different for each traveller in the same trip. In order to show the traveler in the dropdown menu of the checkout form, please use ID 0, 1, 2 etc.