Class ApiBookingRoom
java.lang.Object
travel.wink.hotelbeds.booking.sdk.model.ApiBookingRoom
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-10-04T11:28:08.331690043+07:00[Asia/Bangkok]")
public class ApiBookingRoom
extends Object
Defines the room to be booked.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPaxesItem(ApiPax paxesItem) booleangetPaxes()Data of the passengers assigned to this room.@NotNull StringInternal key that represents a combination of room type, category, board and occupancy.inthashCode()voidvoidsetRateKey(String rateKey) toString()
-
Field Details
-
JSON_PROPERTY_RATE_KEY
- See Also:
-
JSON_PROPERTY_PAXES
- See Also:
-
-
Constructor Details
-
ApiBookingRoom
public ApiBookingRoom()
-
-
Method Details
-
rateKey
-
getRateKey
Internal key that represents a combination of room type, category, board and occupancy. Is returned in Availability and used to valuate a rate and confirm a booking.- Returns:
- rateKey
-
setRateKey
-
paxes
-
addPaxesItem
-
getPaxes
Data of the passengers assigned to this room.- Returns:
- paxes
-
setPaxes
-
equals
-
hashCode
public int hashCode() -
toString
-