Itinerary

public final class Itinerary

The itinerary object.

Parameters

itineraryId

The itinerary id.

propertyId

The property id.

links
email

Email address for the customer.

phone
rooms
billingContact
adjustment
creationDateTime

The creation date/time of the booking.

affiliateReferenceId

Your unique reference value. This field supports from 3 to a maximum of 28 characters.

affiliateMetadata

Field that stores up to 256 characters of additional metadata with the itinerary, uniqueness is not required.

conversations
traderInformation
essentialInformation
travelPurpose

Value potentially passed in during the availability request to indicate the purpose of the trip designated by the traveler.

itineraryHistory
roomHistory

An array of rooms each containing an array of room history events.

Constructors

Link copied to clipboard
public Itinerary Itinerary(String itineraryId, String propertyId, ItineraryLinks links, String email, Phone phone, List<RoomItinerary> rooms, BillingContact billingContact, Adjustment adjustment, String creationDateTime, String affiliateReferenceId, String affiliateMetadata, Conversations conversations, TraderInformation traderInformation, EssentialInformation essentialInformation, Itinerary.TravelPurpose travelPurpose, List<ItineraryHistoryItem> itineraryHistory, List<List<RoomHistoryItem>> roomHistory)

Types

Link copied to clipboard
public final class Builder
Link copied to clipboard

Value potentially passed in during the availability request to indicate the purpose of the trip designated by the traveler. Values: LEISURE,BUSINESS,UNSPECIFIED

Properties

Link copied to clipboard
@Valid()
private final Adjustment adjustment
Link copied to clipboard
@Valid()
private final String affiliateMetadata
Link copied to clipboard
@Valid()
private final String affiliateReferenceId
Link copied to clipboard
@Valid()
private final BillingContact billingContact
Link copied to clipboard
@Valid()
private final Conversations conversations
Link copied to clipboard
@Valid()
private final String creationDateTime
Link copied to clipboard
@Valid()
private final String email
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Valid()
private final String itineraryId
Link copied to clipboard
@Valid()
private final ItineraryLinks links
Link copied to clipboard
@Valid()
private final Phone phone
Link copied to clipboard
@Valid()
private final String propertyId
Link copied to clipboard
@Valid()
private final List<List<RoomHistoryItem>> roomHistory
Link copied to clipboard
@Valid()
private final List<RoomItinerary> rooms
Link copied to clipboard
@Valid()
private final TraderInformation traderInformation
Link copied to clipboard

Functions

Link copied to clipboard
public final static Itinerary.Builder builder()
Link copied to clipboard
public final Adjustment getAdjustment()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final String getCreationDateTime()
Link copied to clipboard
public final String getEmail()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final String getItineraryId()
Link copied to clipboard
public final ItineraryLinks getLinks()
Link copied to clipboard
public final Phone getPhone()
Link copied to clipboard
public final String getPropertyId()
Link copied to clipboard
Link copied to clipboard
public final List<RoomItinerary> getRooms()
Link copied to clipboard
Link copied to clipboard