Class RoomTypeBestPrice
java.lang.Object
travel.wink.sdk.booking.engine.model.RoomTypeBestPrice
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-16T12:47:15.131812+07:00[Asia/Bangkok]")
public class RoomTypeBestPrice
extends Object
Best-priced room types
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchannelInventoryIdentifier(String channelInventoryIdentifier) booleanWhether this room type is available with this configurationChannel inventory identifier.The sum of all perks the master rate had made available.@Valid RoomConfigurationPricegetPrice()Get priceRoom 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()price(RoomConfigurationPrice price) roomTypeIdentifier(String roomTypeIdentifier) voidsetAvailable(Boolean available) voidsetChannelInventoryIdentifier(String channelInventoryIdentifier) voidsetPerkValue(Integer perkValue) voidsetPrice(RoomConfigurationPrice price) voidsetRoomTypeIdentifier(String roomTypeIdentifier) voidtoString()
-
Field Details
-
JSON_PROPERTY_ROOM_TYPE_IDENTIFIER
- See Also:
-
JSON_PROPERTY_CHANNEL_INVENTORY_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
-
RoomTypeBestPrice
public RoomTypeBestPrice()
-
-
Method Details
-
roomTypeIdentifier
-
getRoomTypeIdentifier
Room type identifier.- Returns:
- roomTypeIdentifier
-
setRoomTypeIdentifier
-
channelInventoryIdentifier
-
getChannelInventoryIdentifier
Channel inventory identifier.- Returns:
- channelInventoryIdentifier
-
setChannelInventoryIdentifier
-
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
-