CreateItineraryRequestRoom

public final class CreateItineraryRequestRoom

Parameters

givenName

First name of room guest. Max 60 characters. Special characters (\"<\", \">\", \"(\", \")\", and \"&\") entered in this field will be re-encoded.

familyName

Last name of room guest. Max 60 characters. Special characters (\"<\", \">\", \"(\", \")\", and \"&\") entered in this field will be re-encoded.

smoking

Specify if the guest would prefer a smoking room. This field is only a request and the property is not guaranteed to honor it, it will not override any non-smoking policies by the hotel.

specialRequest

Special requests to send to hotel (not guaranteed). Do not use this field to communicate B2B customer service requests or pass any sensitive personal or financial information (PII). Special characters (\"<\", \">\", \"(\", \")\", and \"&\") entered in this field will be re-encoded.

loyaltyId

Deprecated. Please use the loyalty id inside the loyalty object.

loyalty

Constructors

Link copied to clipboard
public CreateItineraryRequestRoom CreateItineraryRequestRoom(String givenName, String familyName, Boolean smoking, String specialRequest, String loyaltyId, Loyalty loyalty)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@NotNull()
@Valid()
private final String familyName
Link copied to clipboard
@NotNull()
@Valid()
private final String givenName
Link copied to clipboard
@Valid()
private final Loyalty loyalty
Link copied to clipboard
@Valid()
private final String loyaltyId
Link copied to clipboard
@Valid()
private final Boolean smoking
Link copied to clipboard
@Valid()
private final String specialRequest

Functions

Link copied to clipboard
Link copied to clipboard
public final String getFamilyName()
Link copied to clipboard
public final String getGivenName()
Link copied to clipboard
public final Loyalty getLoyalty()
Link copied to clipboard
public final String getLoyaltyId()
Link copied to clipboard
public final Boolean getSmoking()
Link copied to clipboard
public final String getSpecialRequest()
Link copied to clipboard