setGlobalHotel
Change the selected hotel.
- Only applies to multi-property hosts
 - Affects the results of the PriceComparison module and the default hotel selection in the GetAQuote module.
 
Example
rpt({
  widget: "general",
  command: "setGlobalHotel",
  payload: { hotelcode: "CYPRIA" },
});
Payload
| Property | Type | Description | 
|---|---|---|
hotelcode | string | A hotel's unique code |