PolicyInfo¶
HotelProduct¶
Fields¶
Field | Description | Type | Min/max | Notes |
---|---|---|---|---|
HotelProduct/PolicyInfo |
Cancellation and booking policies for the product. | object | 0..1 | - |
PolicyInfo /CancelPolicy |
Container for CancelPenalty. | object | 0..1 | - |
PolicyInfo /BookingRules |
Rules for how long in advance the room can be booked. | array of BookingRule | 0..1 | - |
XML¶
<PolicyInfo>
<CancelPolicy>
...
</CancelPolicy>
<BookingRules>
...
</BookingRules>
</PolicyInfo>
Policy¶
Fields¶
Field | Description | Type | Min/max | Notes |
---|---|---|---|---|
Policy/PolicyInfo |
Check-in/-out times. | object | 0..1 | - |
PolicyInfo /@CheckInTime |
The Booking.com Check-in/Check-Out Time Code for the earliest time a guest can check in. | BCIO | 1..1 | Format: HH:MM (from) or HH:MM-HH:MM (from-to). Only "from" is required; "to" is optional. 24-hour check-in can be specified using 00:00-00:00 . |
PolicyInfo /@CheckOutTime |
The Booking.com Check-in/Check-Out Time Code[codes-bcio] for the time by which a guest should check out at the latest. | BCIO | 0..1 | Format: HH:MM (from) or HH:MM-HH:MM (from-to). 24-hour check-out can be specified using 00:00-00:00 . |
PolicyInfo /@TotalGuestCount |
The total number of guests that can stay at the property at a given time. | int | 0..1 | - |
PolicyInfo /@AcceptedGuestType |
Specifies whether the property admits adults and children, or only adults. | enum | 0..1 | Accepts AdultOnly and ChildrenAllowed . Default value is AdultsOnly , which means children are not allowed. |
PolicyInfo /@MinGuestAge |
Specifies the minimum age that children are allowed (in case ChildrenAllowed ). |
integer | 0..1 |
XML¶
<PolicyInfo
CheckInTime="17:00-20:00"
CheckOutTime="12:00"
TotalGuestCount="4"
AcceptedGuestType="AdultOnly" />