Class RoomTypeBestPrice

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-06-05T13:54:07.858909+07:00[Asia/Bangkok]") public class RoomTypeBestPrice extends Object
Best-priced room types
  • Field Details

  • Constructor Details

    • RoomTypeBestPrice

      public RoomTypeBestPrice()
  • Method Details

    • roomTypeIdentifier

      public RoomTypeBestPrice roomTypeIdentifier(String roomTypeIdentifier)
    • getRoomTypeIdentifier

      @Nullable public String getRoomTypeIdentifier()
      Room type identifier.
      Returns:
      roomTypeIdentifier
    • setRoomTypeIdentifier

      public void setRoomTypeIdentifier(String roomTypeIdentifier)
    • channelInventoryIdentifier

      public RoomTypeBestPrice channelInventoryIdentifier(String channelInventoryIdentifier)
    • getChannelInventoryIdentifier

      @Nullable public String getChannelInventoryIdentifier()
      Channel inventory identifier.
      Returns:
      channelInventoryIdentifier
    • setChannelInventoryIdentifier

      public void setChannelInventoryIdentifier(String channelInventoryIdentifier)
    • price

    • getPrice

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

      public void setPrice(RoomConfigurationPrice price)
    • perkValue

      public RoomTypeBestPrice 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 RoomTypeBestPrice 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 RoomTypeBestPrice 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