Package travel.wink.sdk.lookup.model
Class HotelWithBestPriceConsumer
java.lang.Object
travel.wink.sdk.lookup.model.HotelWithBestPriceConsumer
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-04T14:50:52.244825801+07:00[Asia/Bangkok]")
public class HotelWithBestPriceConsumer
extends Object
HotelWithBestPriceConsumer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPriceListItem(RoomTypeBestPriceConsumer priceListItem) addRoomTypeListItem(GuestRoomConsumer roomTypeListItem) distance(BigDecimal distance) 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.@NotNull @Valid HotelOnMapConsumergetHotel()Get hotel@NotNull FloatThe potential discount the user is entitled to if user is a member / authenticated.@NotNull @Valid RoomTypeWithBestPriceConsumergetPrice()Get price@NotNull @Valid List<RoomTypeBestPriceConsumer>Best-priced room types@NotNull @Valid List<GuestRoomConsumer>Unique property room types@NotNull @Valid QuoteConsumerGet sourceToInternalCurrencyQuote@NotNull @Valid QuoteConsumerGet sourceToUserCurrencyQuoteinthashCode()hotel(HotelOnMapConsumer hotel) potentialChannelDiscountPercent(Float potentialChannelDiscountPercent) priceList(List<RoomTypeBestPriceConsumer> priceList) roomTypeList(List<GuestRoomConsumer> roomTypeList) voidsetAvailable(Boolean available) voidsetDistance(BigDecimal distance) voidsetHotel(HotelOnMapConsumer hotel) voidsetPotentialChannelDiscountPercent(Float potentialChannelDiscountPercent) voidvoidsetPriceList(List<RoomTypeBestPriceConsumer> priceList) voidsetRoomTypeList(List<GuestRoomConsumer> roomTypeList) voidsetSourceToInternalCurrencyQuote(QuoteConsumer sourceToInternalCurrencyQuote) voidsetSourceToUserCurrencyQuote(QuoteConsumer sourceToUserCurrencyQuote) sourceToInternalCurrencyQuote(QuoteConsumer sourceToInternalCurrencyQuote) sourceToUserCurrencyQuote(QuoteConsumer 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
-
HotelWithBestPriceConsumer
public HotelWithBestPriceConsumer()
-
-
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
public HotelWithBestPriceConsumer potentialChannelDiscountPercent(Float 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
public HotelWithBestPriceConsumer sourceToUserCurrencyQuote(QuoteConsumer sourceToUserCurrencyQuote) -
getSourceToUserCurrencyQuote
Get sourceToUserCurrencyQuote- Returns:
- sourceToUserCurrencyQuote
-
setSourceToUserCurrencyQuote
-
sourceToInternalCurrencyQuote
public HotelWithBestPriceConsumer sourceToInternalCurrencyQuote(QuoteConsumer 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
-