CreateItineraryRequest

public final class CreateItineraryRequest

Parameters

email

Email address for the customer. Must adhere to standard RFC 822 email format. Special characters (\"<\", \">\", \"(\", \")\", and \"&\") entered in this field will be re-encoded.

phone
rooms
affiliateReferenceId

Your unique reference value. This field supports from 3 to a maximum of 28 characters and is required to be unique (if provided). Entering special characters (\"<\", \">\", \"(\", \")\", and \"&\") in this field will result in the request being rejected.

hold

Flag for placing a booking on hold. The booking will be released if the resume link is not followed within the hold period. Please refer to our Hold and Resume documentation.

payments

Required if payment information prior to booking was not submitted. If register payments was called prior to this call, do not submit payment information again.

affiliateMetadata

Field that stores up to 256 characters of additional metadata with the itinerary. Will be returned on all retrieve responses for this itinerary. The data must be in the format 'key1:value|key2:value|key3:value'. Other Special characters (\"<\", \">\", \"(\", \")\", and \"&\") entered in this field will be re-encoded.

taxRegistrationNumber

The customer's taxpayer identification number that is provided by the government to nationals or resident aliens. This number should be collected from individuals that pay taxes or participate in activities that provide revenue for one or more tax types. Note: This value is only needed from Brazilian and Indian customers.

travelerHandlingInstructions

Custom traveler handling instructions for the hotel. Do not include PCI sensitive data, such as credit card numbers, in this field.

invoicing

Constructors

Link copied to clipboard
public CreateItineraryRequest CreateItineraryRequest(String email, PhoneRequest phone, List<CreateItineraryRequestRoom> rooms, String affiliateReferenceId, Boolean hold, List<PaymentRequest> payments, String affiliateMetadata, String taxRegistrationNumber, String travelerHandlingInstructions, CreateItineraryRequestInvoicing invoicing)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final String affiliateMetadata
Link copied to clipboard
@Valid()
private final String affiliateReferenceId
Link copied to clipboard
@NotNull()
@Valid()
private final String email
Link copied to clipboard
@Valid()
private final Boolean hold
Link copied to clipboard
Link copied to clipboard
@Valid()
private final List<PaymentRequest> payments
Link copied to clipboard
@NotNull()
@Valid()
private final PhoneRequest phone
Link copied to clipboard
@NotNull()
@Valid()
private final List<CreateItineraryRequestRoom> rooms
Link copied to clipboard
@Valid()
private final String taxRegistrationNumber
Link copied to clipboard
@Valid()
private final String travelerHandlingInstructions

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final String getEmail()
Link copied to clipboard
public final Boolean getHold()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final PhoneRequest getPhone()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard