Class Room
java.lang.Object
travel.wink.hotelbeds.booking.sdk.model.Room
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-10-04T11:28:08.331690043+07:00[Asia/Bangkok]")
public class Room
extends Object
Information about the room and its associated rates.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPaxesItem(ApiPax paxesItem) addRatesItem(ApiRate ratesItem) booleangetCode()Internal room code.getId()Room reservation identifier.getName()Room name/description.getPaxes()List of paxes for the room.getRates()List of rates associated to the room.Booking status of the room.Booking reference of the booking/room for external supplier bookings.inthashCode()voidvoidvoidvoidvoidvoidsetStatus(Room.StatusEnum status) voidsetSupplierReference(String supplierReference) status(Room.StatusEnum status) supplierReference(String supplierReference) toString()
-
Field Details
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_CODE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_SUPPLIER_REFERENCE
- See Also:
-
JSON_PROPERTY_PAXES
- See Also:
-
JSON_PROPERTY_RATES
- See Also:
-
-
Constructor Details
-
Room
public Room()
-
-
Method Details
-
status
-
getStatus
Booking status of the room.- Returns:
- status
-
setStatus
-
id
-
getId
Room reservation identifier.- Returns:
- id
-
setId
-
code
-
getCode
Internal room code.- Returns:
- code
-
setCode
-
name
-
getName
Room name/description.- Returns:
- name
-
setName
-
supplierReference
-
getSupplierReference
Booking reference of the booking/room for external supplier bookings.- Returns:
- supplierReference
-
setSupplierReference
-
paxes
-
addPaxesItem
-
getPaxes
List of paxes for the room.- Returns:
- paxes
-
setPaxes
-
rates
-
addRatesItem
-
getRates
List of rates associated to the room.- Returns:
- rates
-
setRates
-
equals
-
hashCode
public int hashCode() -
toString
-