Consolidated Comments

Hotel Trader has consolidated all the individual pieces of information into a single comments attribute, consolidatedComments, that can be used to display in the comments section of the booking confirmation sent to the end user. This can be directly displayed on the UI and does not require any additional parsing. For a more fine-grained control, each attribute can be queried individually.

You can also use the consolidatedHTMLComments node for a ready-to-use HTML formatted string to display in the comments section.

This attribute is sent in the Search, Quote, and Book response. The following sections provide the format of the comments attribute for each query along with the examples:

Search

FormatExample
{mealplandescription}. A Resort Fee totaling {value} USD will be charged for the stay. {ResortFeeDescription}Complimentary Grab and Go breakfast for 2 guests. A Resort Fee totaling 240 USD will be charged for the stay. Effective July 25, 2022, Facility Fee increased to  $35 (+14.75% tax) = $40.16
For generating the consolidated comments for multiple rooms, you will need to concatenate the consolidatedComments value for each room.

Quote

RoomsFormatExample
Single{mealplandescription}. A Resort Fee totaling {value} USD will be charged for the stay. {checkInInstruction}. Minimum adult age at check in is {minAgeAtCheckIn} years.Complimentary Grab and Go breakfast for 2 guests. A Resort Fee totaling 240 USD will be charged for the stay. Effective July 25, 2022, Facility Fee increased to $35 (+14.75% tax) = $40.16. Major credit card required at check-in for deposit and incidentals. Minimum adult age at check in is 19 years.
MultipleRoom#1: {mealplandescription}. Room#2: {mealplandescription}. Room#1: A Resort Fee totaling  {value} USD will be charged for the stay. {ResortFeeDescription}. Room#2: A Resort Fee totaling {value}  USD will be charged for the stay. {ResortFeeDescription}. {checkInInstructions}. Minimum adult age at check in is {minAgeAtCheckIn} years.Room#1: Complimentary Grab and Go breakfast for 2 guests. Room#2: Complimentary Grab and Go breakfast for 2 guests. Room#1: A Resort Fee totaling 240 USD will be charged for the stay. Effective July 25, 2022, Facility Fee increased to $35 (+14.75% tax) = $40.16. Room#2: A Resort Fee totaling 240 USD will be charged for the stay. Effective July 25, 2022, Facility Fee increased to $35 (+14.75% tax) = $40.16. Major credit card required at check-in for deposit and incidentals. Minimum adult age at check in is 19 years.

Book

RoomsFormatExample
Single{checkInInstructions}. Minimum adult age at check in is {minAgeAtCheckIn} years. Room#1: {mealplandescription}. Room#2: {mealplandescription}. Room#1: A Resort Fee totaling {value} USD will be charged for the stay. {ResortFeeDescription}. Room#2: A Resort Fee totaling {value} USD will be charged for the stay. {ResortFeeDescription}.Hotel Check In Policy: Major credit card required at check-in for deposit and incidentals. Minimum Adult Age at check in is 19 years. Room#1: Complimentary Grab and Go breakfast for 2 guests. Room#2: Complimentary Grab and Go breakfast for 2 guests. Room#1: A Resort Fee totaling 240 USD will be charged for the stay. Effective July 25, 2022, Facility Fee increased to $35 (+14.75% tax) = $40.16. Room#2: A Resort Fee totaling 240 USD will be charged for the stay. Effective July 25, 2022, Facility Fee increased to $35 (+14.75% tax) = $40.16.
Multiple{checkInInstructions}. Minimum adult age at check in is {minAgeAtCheckIn} years. Room#1: {mealplandescription}.Room#2: {mealplandescription}. Room#1: A Resort Fee totaling {value} USD will be charged for the stay. {ResortFeeDescription}. Room#2: A Resort Fee totaling {value} USD will be charged for the stay. {ResortFeeDescription}.Hotel Check In Policy: Major credit card required at check-in for deposit and incidentals. Minimum Adult Age at check in is 19 *years. Room#1: *Complimentary Grab and Go breakfast for 2 guests. Room#2: Complimentary Grab and Go breakfast for 2 guests. *Room#1: A Resort Fee totaling *240 USD will be charged for the stay. Effective July 25, 2022, Facility Fee increased to $35 (+14.75% tax) = $40.16. Room#2: A Resort Fee totaling 240 USD will be charged for the stay. Effective July 25, 2022, Facility Fee increased to $35 (+14.75% tax) = $40.16.