Class RoomTypeWithBestPrice
java.lang.Object
travel.wink.sdk.booking.engine.model.RoomTypeWithBestPrice
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-05-27T09:28:43.464694+07:00[Asia/Bangkok]")
public class RoomTypeWithBestPrice
extends Object
Best-priced room at property
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether this room type is available with this configurationThe sum of all perks the master rate had made available.Get roomTypeWithPriceConfigurationgetSort()When this room type is displayed in conjunction with many others, this sort property will often times be populated to indicate how the room types should be sorted and displayed.inthashCode()roomTypeWithPriceConfiguration(RoomTypeWithPriceConfiguration roomTypeWithPriceConfiguration) voidsetAvailable(Boolean available) voidsetPerkValue(Integer perkValue) voidsetRoomTypeWithPriceConfiguration(RoomTypeWithPriceConfiguration roomTypeWithPriceConfiguration) voidtoString()
-
Field Details
-
JSON_PROPERTY_ROOM_TYPE_WITH_PRICE_CONFIGURATION
- See Also:
-
JSON_PROPERTY_PERK_VALUE
- See Also:
-
JSON_PROPERTY_AVAILABLE
- See Also:
-
JSON_PROPERTY_SORT
- See Also:
-
-
Constructor Details
-
RoomTypeWithBestPrice
public RoomTypeWithBestPrice()
-
-
Method Details
-
roomTypeWithPriceConfiguration
public RoomTypeWithBestPrice roomTypeWithPriceConfiguration(RoomTypeWithPriceConfiguration roomTypeWithPriceConfiguration) -
getRoomTypeWithPriceConfiguration
Get roomTypeWithPriceConfiguration- Returns:
- roomTypeWithPriceConfiguration
-
setRoomTypeWithPriceConfiguration
public void setRoomTypeWithPriceConfiguration(RoomTypeWithPriceConfiguration roomTypeWithPriceConfiguration) -
perkValue
-
getPerkValue
The sum of all perks the master rate had made available.- Returns:
- perkValue
-
setPerkValue
-
available
-
getAvailable
Whether this room type is available with this configuration- Returns:
- available
-
setAvailable
-
sort
-
getSort
When this room type is displayed in conjunction with many others, this sort property will often times be populated to indicate how the room types should be sorted and displayed.- Returns:
- sort
-
setSort
-
equals
-
hashCode
public int hashCode() -
toString
-