Class RoomTypeWithBestPrice

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-06-20T21:56:03.334252+07:00[Asia/Bangkok]") public class RoomTypeWithBestPrice extends Object
Best-priced room at property
  • Field Details

  • Constructor Details

    • RoomTypeWithBestPrice

      public RoomTypeWithBestPrice()
  • Method Details

    • roomTypeWithPriceConfiguration

      public RoomTypeWithBestPrice roomTypeWithPriceConfiguration(RoomTypeWithPriceConfiguration roomTypeWithPriceConfiguration)
    • getRoomTypeWithPriceConfiguration

      @Nullable @Valid public @Valid RoomTypeWithPriceConfiguration getRoomTypeWithPriceConfiguration()
      Get roomTypeWithPriceConfiguration
      Returns:
      roomTypeWithPriceConfiguration
    • setRoomTypeWithPriceConfiguration

      public void setRoomTypeWithPriceConfiguration(RoomTypeWithPriceConfiguration roomTypeWithPriceConfiguration)
    • perkValue

      public RoomTypeWithBestPrice perkValue(Integer perkValue)
    • getPerkValue

      @Nullable public Integer getPerkValue()
      The sum of all perks the master rate had made available.
      Returns:
      perkValue
    • setPerkValue

      public void setPerkValue(Integer perkValue)
    • available

      public RoomTypeWithBestPrice available(Boolean available)
    • getAvailable

      @Nullable public Boolean getAvailable()
      Whether this room type is available with this configuration
      Returns:
      available
    • setAvailable

      public void setAvailable(Boolean available)
    • sort

      public RoomTypeWithBestPrice sort(Integer sort)
    • getSort

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

      public void setSort(Integer sort)
    • 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