room {.u-pearl}

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 {.u-pearl}

code {.u-pearl}
[int] {.u-lightPearl}

Identifier of the reservation room (0 - X).


pax {.u-pearl}
[int 1 - 3] {.u-lightPearl}

It indicates the total number of passenger of the room.


paxs {.u-pearl}
[array:paxs{.u-pearl .u-red-hover}] {.u-red}

It contains all passengers of the room.


twin {.u-pearl}
[boolean] {.u-lightPearl}

It indicates the room type in a double room.