Package travel.wink.sdk.lookup.model
Class RoomTypeWithBestPriceConsumer
java.lang.Object
travel.wink.sdk.lookup.model.RoomTypeWithBestPriceConsumer
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-08-06T13:40:12.747584715+07:00[Asia/Bangkok]")
public class RoomTypeWithBestPriceConsumer
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(RoomTypeWithPriceConfigurationConsumer roomTypeWithPriceConfiguration) voidsetAvailable(Boolean available) voidsetPerkValue(Integer perkValue) voidsetRoomTypeWithPriceConfiguration(RoomTypeWithPriceConfigurationConsumer 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
-
RoomTypeWithBestPriceConsumer
public RoomTypeWithBestPriceConsumer()
-
-
Method Details
-
roomTypeWithPriceConfiguration
public RoomTypeWithBestPriceConsumer roomTypeWithPriceConfiguration(RoomTypeWithPriceConfigurationConsumer roomTypeWithPriceConfiguration) -
getRoomTypeWithPriceConfiguration
@Nullable @Valid public @Valid RoomTypeWithPriceConfigurationConsumer getRoomTypeWithPriceConfiguration()Get roomTypeWithPriceConfiguration- Returns:
- roomTypeWithPriceConfiguration
-
setRoomTypeWithPriceConfiguration
public void setRoomTypeWithPriceConfiguration(RoomTypeWithPriceConfigurationConsumer 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
-