Documentation
room
Representation of a room.
It indicates features room where the passengers will be accommodated. The minimum number of passengers who stayed in a room will be one and maximum number will be three.
Usually we are working with the following types of rooms:
Single: a single guest.
Double: two guests, it can be bouble room or twin room depending on the number of the beds:
- Double room: one double bed.
- Twin room: two single beds.
Triple: three guests.
attributes
code
[int]
Identifier of the reservation room (0 - X).
pax
[int 1 - 3]
It indicates the total number of passenger of the room.
paxs
[array:paxs]
It contains all passengers of the room.
twin
[boolean]
It indicates the room type in a double room.