Class HotelWithBestPrice

java.lang.Object
travel.wink.sdk.booking.engine.model.HotelWithBestPrice

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-28T12:57:01.511487+07:00[Asia/Bangkok]") public class HotelWithBestPrice extends Object
HotelWithBestPrice
  • Field Details

  • Constructor Details

    • HotelWithBestPrice

      public HotelWithBestPrice()
  • Method Details

    • hotel

      public HotelWithBestPrice hotel(HotelOnMap hotel)
    • getHotel

      @Nullable @Valid public @Valid HotelOnMap getHotel()
      Get hotel
      Returns:
      hotel
    • setHotel

      public void setHotel(HotelOnMap hotel)
    • price

    • getPrice

      @Nullable @Valid public @Valid RoomTypeWithBestPrice getPrice()
      Get price
      Returns:
      price
    • setPrice

      public void setPrice(RoomTypeWithBestPrice price)
    • roomTypeList

      public HotelWithBestPrice roomTypeList(List<GuestRoom> roomTypeList)
    • addRoomTypeListItem

      public HotelWithBestPrice addRoomTypeListItem(GuestRoom roomTypeListItem)
    • getRoomTypeList

      @Nullable @Valid public @Valid List<GuestRoom> getRoomTypeList()
      Unique property room types
      Returns:
      roomTypeList
    • setRoomTypeList

      public void setRoomTypeList(List<GuestRoom> roomTypeList)
    • priceList

      public HotelWithBestPrice priceList(List<RoomTypeBestPrice> priceList)
    • addPriceListItem

      public HotelWithBestPrice addPriceListItem(RoomTypeBestPrice priceListItem)
    • getPriceList

      @Nullable @Valid public @Valid List<RoomTypeBestPrice> getPriceList()
      Best-priced room types
      Returns:
      priceList
    • setPriceList

      public void setPriceList(List<RoomTypeBestPrice> priceList)
    • potentialChannelDiscountPercent

      public HotelWithBestPrice potentialChannelDiscountPercent(Float potentialChannelDiscountPercent)
    • getPotentialChannelDiscountPercent

      @Nullable public Float getPotentialChannelDiscountPercent()
      The potential discount the user is entitled to if user is a member / authenticated.
      Returns:
      potentialChannelDiscountPercent
    • setPotentialChannelDiscountPercent

      public void setPotentialChannelDiscountPercent(Float potentialChannelDiscountPercent)
    • distance

      public HotelWithBestPrice distance(Double distance)
    • getDistance

      @Nullable public Double 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

      public void setDistance(Double distance)
    • sourceToUserCurrencyQuote

      public HotelWithBestPrice sourceToUserCurrencyQuote(Quote sourceToUserCurrencyQuote)
    • getSourceToUserCurrencyQuote

      @Nullable @Valid public @Valid Quote getSourceToUserCurrencyQuote()
      Get sourceToUserCurrencyQuote
      Returns:
      sourceToUserCurrencyQuote
    • setSourceToUserCurrencyQuote

      public void setSourceToUserCurrencyQuote(Quote sourceToUserCurrencyQuote)
    • sourceToInternalCurrencyQuote

      public HotelWithBestPrice sourceToInternalCurrencyQuote(Quote sourceToInternalCurrencyQuote)
    • getSourceToInternalCurrencyQuote

      @Nullable @Valid public @Valid Quote getSourceToInternalCurrencyQuote()
      Get sourceToInternalCurrencyQuote
      Returns:
      sourceToInternalCurrencyQuote
    • setSourceToInternalCurrencyQuote

      public void setSourceToInternalCurrencyQuote(Quote sourceToInternalCurrencyQuote)
    • available

      public HotelWithBestPrice available(Boolean available)
    • getAvailable

      @Nullable public Boolean 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

      public void setAvailable(Boolean available)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object