Class HotelWithBestPrice
java.lang.Object
travel.wink.sdk.booking.engine.model.HotelWithBestPrice
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-20T22:26:28.213326+07:00[Asia/Bangkok]")
public class HotelWithBestPrice
extends Object
HotelWithBestPrice
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPriceListItem(RoomTypeBestPrice priceListItem) addRoomTypeListItem(GuestRoom roomTypeListItem) booleanFlag to indicate whether this inventory is available or not.If property is within certain geo data result set, distance will be included here to signify the distance the property is from a specific geo-location.@Valid HotelOnMapgetHotel()Get hotelThe potential discount the user is entitled to if user is a member / authenticated.@Valid RoomTypeWithBestPricegetPrice()Get price@Valid List<RoomTypeBestPrice>Best-priced room typesUnique property room types@Valid QuoteGet sourceToInternalCurrencyQuote@Valid QuoteGet sourceToUserCurrencyQuoteinthashCode()hotel(HotelOnMap hotel) potentialChannelDiscountPercent(Float potentialChannelDiscountPercent) price(RoomTypeWithBestPrice price) priceList(List<RoomTypeBestPrice> priceList) roomTypeList(List<GuestRoom> roomTypeList) voidsetAvailable(Boolean available) voidsetDistance(Double distance) voidsetHotel(HotelOnMap hotel) voidsetPotentialChannelDiscountPercent(Float potentialChannelDiscountPercent) voidsetPrice(RoomTypeWithBestPrice price) voidsetPriceList(List<RoomTypeBestPrice> priceList) voidsetRoomTypeList(List<GuestRoom> roomTypeList) voidsetSourceToInternalCurrencyQuote(Quote sourceToInternalCurrencyQuote) voidsetSourceToUserCurrencyQuote(Quote sourceToUserCurrencyQuote) sourceToInternalCurrencyQuote(Quote sourceToInternalCurrencyQuote) sourceToUserCurrencyQuote(Quote sourceToUserCurrencyQuote) toString()
-
Field Details
-
JSON_PROPERTY_HOTEL
- See Also:
-
JSON_PROPERTY_PRICE
- See Also:
-
JSON_PROPERTY_ROOM_TYPE_LIST
- See Also:
-
JSON_PROPERTY_PRICE_LIST
- See Also:
-
JSON_PROPERTY_POTENTIAL_CHANNEL_DISCOUNT_PERCENT
- See Also:
-
JSON_PROPERTY_DISTANCE
- See Also:
-
JSON_PROPERTY_SOURCE_TO_USER_CURRENCY_QUOTE
- See Also:
-
JSON_PROPERTY_SOURCE_TO_INTERNAL_CURRENCY_QUOTE
- See Also:
-
JSON_PROPERTY_AVAILABLE
- See Also:
-
-
Constructor Details
-
HotelWithBestPrice
public HotelWithBestPrice()
-
-
Method Details
-
hotel
-
getHotel
Get hotel- Returns:
- hotel
-
setHotel
-
price
-
getPrice
Get price- Returns:
- price
-
setPrice
-
roomTypeList
-
addRoomTypeListItem
-
getRoomTypeList
Unique property room types- Returns:
- roomTypeList
-
setRoomTypeList
-
priceList
-
addPriceListItem
-
getPriceList
Best-priced room types- Returns:
- priceList
-
setPriceList
-
potentialChannelDiscountPercent
-
getPotentialChannelDiscountPercent
The potential discount the user is entitled to if user is a member / authenticated.- Returns:
- potentialChannelDiscountPercent
-
setPotentialChannelDiscountPercent
-
distance
-
getDistance
If property is within certain geo data result set, distance will be included here to signify the distance the property is from a specific geo-location.- Returns:
- distance
-
setDistance
-
sourceToUserCurrencyQuote
-
getSourceToUserCurrencyQuote
Get sourceToUserCurrencyQuote- Returns:
- sourceToUserCurrencyQuote
-
setSourceToUserCurrencyQuote
-
sourceToInternalCurrencyQuote
-
getSourceToInternalCurrencyQuote
Get sourceToInternalCurrencyQuote- Returns:
- sourceToInternalCurrencyQuote
-
setSourceToInternalCurrencyQuote
-
available
-
getAvailable
Flag to indicate whether this inventory is available or not. This data point is identifier to the available flag on the `price` child data point.- Returns:
- available
-
setAvailable
-
equals
-
hashCode
public int hashCode() -
toString
-