Package travel.wink.sdk.lookup.model
Class RoomTypeBestPriceConsumer
java.lang.Object
travel.wink.sdk.lookup.model.RoomTypeBestPriceConsumer
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-04T14:50:52.244825801+07:00[Asia/Bangkok]")
public class RoomTypeBestPriceConsumer
extends Object
Best-priced room types
-
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.getPrice()Get price@Valid UUIDRoom type identifier.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.inthashCode()roomTypeIdentifier(UUID roomTypeIdentifier) voidsetAvailable(Boolean available) voidsetPerkValue(Integer perkValue) voidvoidsetRoomTypeIdentifier(UUID roomTypeIdentifier) voidtoString()
-
Field Details
-
JSON_PROPERTY_ROOM_TYPE_IDENTIFIER
- See Also:
-
JSON_PROPERTY_PRICE
- See Also:
-
JSON_PROPERTY_PERK_VALUE
- See Also:
-
JSON_PROPERTY_AVAILABLE
- See Also:
-
JSON_PROPERTY_SORT
- See Also:
-
-
Constructor Details
-
RoomTypeBestPriceConsumer
public RoomTypeBestPriceConsumer()
-
-
Method Details
-
roomTypeIdentifier
-
getRoomTypeIdentifier
Room type identifier.- Returns:
- roomTypeIdentifier
-
setRoomTypeIdentifier
-
price
-
getPrice
Get price- Returns:
- price
-
setPrice
-
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
-