Class RoomTypeBestPrice

java.lang.Object
travel.wink.sdk.lookup.model.RoomTypeBestPrice

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-09-16T10:43:13.368286067+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(UUID roomTypeIdentifier)
    • getRoomTypeIdentifier

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

      public void setRoomTypeIdentifier(UUID roomTypeIdentifier)
    • channelInventoryIdentifier

      public RoomTypeBestPrice channelInventoryIdentifier(UUID channelInventoryIdentifier)
    • getChannelInventoryIdentifier

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

      public void setChannelInventoryIdentifier(UUID 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