A hotel location represents a hotel property that a traveler stays in during their trip.
| name | data type | type | namespace | min/max occurs | constraints | description |
|---|---|---|---|---|---|---|
| address1 | string | element | 0/1 | max size: 255, min size: 0 | The first line of the address. | |
| address2 | string | element | 0/1 | max size: 255, min size: 0 | The second line of the address | |
| city | city | element | 0/1 | The city, or nearest airport to the hotel. | ||
| fax | string | element | 0/1 | max size: 16, min size: 0 | The fax number of the hotel. | |
| googlePlaceId | string | element | 0/1 | |||
| latitude | double | element | 0/1 | The latitude of the hotel. | ||
| longitude | double | element | 0/1 | The longitude of the hotel. | ||
| phone1 | string | element | 0/1 | max size: 16, min size: 0 | The phone number of the hotel. | |
| phone2 | string | element | 0/1 | max size: 16, min size: 0 | The second phone number of the hotel. | |
| propertyCodes | list of hotelLocationCode | element | 0/unbounded | |||
| propertyName | string | element | 0/1 | max size: 100, min size: 0 | The local name of the property. | |
| sertifiCode | string | element | 0/1 | |||
| vendor | hotelVendor | element | 0/1 | The vendor chain that owns the hotel. | ||
| zip | string | element | 0/1 | max size: 45, min size: 0 | The zip code of the hotel. | |
Properties inherited from baseHibernateEntity |
||||||
| id | long | element | 0/1 | The unique internal ID of the object. | ||
| version | long | element | 0/1 | For internal use only. This is the serialization recorder for optimistic locking of several objects between sessions. | ||
Properties inherited from baseEntity |
||||||
| violations | list of simpleViolation | element | 0/unbounded | A list of constraint violations, if any, that this object has. | ||
Example
<hotelLocation>
<address1>...</address1>
<address2>...</address2>
<phone1>...</phone1>
<phone2>...</phone2>
<fax>...</fax>
<zip>...</zip>
<city>
<code>...</code>
<countryCode>...</countryCode>
<latitude>...</latitude>
<longitude>...</longitude>
<name>...</name>
<stateOrCountry>...</stateOrCountry>
<airportName>...</airportName>
<region>
<name>...</name>
<code>...</code>
<country/>
<position>...</position>
</region>
<timeZone>
<name>...</name>
<offset>...</offset>
<daylightSavingsOffset>...</daylightSavingsOffset>
</timeZone>
<retentionOnly>...</retentionOnly>
<position>...</position>
<unique>...</unique>
<alias>...</alias>
<id>...</id>
<version>...</version>
</city>
<vendor>
<longCode>...</longCode>
<commissionRate>...</commissionRate>
<family>
<name>...</name>
<code>...</code>
</family>
<position>...</position>
<code>...</code>
<name>...</name>
</vendor>
<latitude>...</latitude>
<sertifiCode>...</sertifiCode>
<googlePlaceId>...</googlePlaceId>
<longitude>...</longitude>
<propertyName>...</propertyName>
<propertyCodes>
<gds>
<code>...</code>
<name>...</name>
<enabled>...</enabled>
</gds>
<code>...</code>
<id>...</id>
<version>...</version>
</propertyCodes>
<id>...</id>
<version>...</version>
<violations/>
</hotelLocation>