Class GuestRoom

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-08-16T13:27:12.790694+07:00[Asia/Bangkok]") public class GuestRoom extends Object
Unique property room types
  • Field Details

  • Constructor Details

    • GuestRoom

      public GuestRoom()
  • Method Details

    • identifier

      public GuestRoom identifier(UUID identifier)
    • getIdentifier

      @Nullable @Valid public @Valid UUID getIdentifier()
      Unique record identifier
      Returns:
      identifier
    • setIdentifier

      public void setIdentifier(UUID identifier)
    • hotelIdentifier

      public GuestRoom hotelIdentifier(UUID hotelIdentifier)
    • getHotelIdentifier

      @Nullable @Valid public @Valid UUID getHotelIdentifier()
      Hotel identifier.
      Returns:
      hotelIdentifier
    • setHotelIdentifier

      public void setHotelIdentifier(UUID hotelIdentifier)
    • featuredInd

      public GuestRoom featuredInd(Boolean featuredInd)
    • getFeaturedInd

      @Nonnull @NotNull public @NotNull Boolean getFeaturedInd()
      Indicates whether this inventory is featured. Use this flag as a way to signify that this inventory is special.
      Returns:
      featuredInd
    • setFeaturedInd

      public void setFeaturedInd(Boolean featuredInd)
    • lifestyleType

      public GuestRoom lifestyleType(GuestRoom.LifestyleTypeEnum lifestyleType)
    • getLifestyleType

      @Nullable public GuestRoom.LifestyleTypeEnum getLifestyleType()
      Indicate the type of lifestyle this inventory should be associated with.
      Returns:
      lifestyleType
    • setLifestyleType

      public void setLifestyleType(GuestRoom.LifestyleTypeEnum lifestyleType)
    • location

      public GuestRoom location(GeoJsonPoint location)
    • getLocation

      @Nonnull @NotNull @Valid public @NotNull @Valid GeoJsonPoint getLocation()
      Get location
      Returns:
      location
    • setLocation

      public void setLocation(GeoJsonPoint location)
    • descriptions

      public GuestRoom descriptions(List<SimpleDescription> descriptions)
    • addDescriptionsItem

      public GuestRoom addDescriptionsItem(SimpleDescription descriptionsItem)
    • getDescriptions

      @Nonnull @NotNull @Valid public @NotNull @Valid List<SimpleDescription> getDescriptions()
      Localized descriptions describing inventory.
      Returns:
      descriptions
    • setDescriptions

      public void setDescriptions(List<SimpleDescription> descriptions)
    • multimedias

      public GuestRoom multimedias(List<Multimedia> multimedias)
    • addMultimediasItem

      public GuestRoom addMultimediasItem(Multimedia multimediasItem)
    • getMultimedias

      @Nonnull @NotNull @Valid public @NotNull @Valid List<Multimedia> getMultimedias()
      List of images / videos of inventory.
      Returns:
      multimedias
    • setMultimedias

      public void setMultimedias(List<Multimedia> multimedias)
    • contact

      public GuestRoom contact(Contact contact)
    • getContact

      @Nullable @Valid public @Valid Contact getContact()
      Get contact
      Returns:
      contact
    • setContact

      public void setContact(Contact contact)
    • address

      public GuestRoom address(Address address)
    • getAddress

      @Nonnull @NotNull @Valid public @NotNull @Valid Address getAddress()
      Get address
      Returns:
      address
    • setAddress

      public void setAddress(Address address)
    • commissionable

      public GuestRoom commissionable(Boolean commissionable)
    • getCommissionable

      @Nonnull @NotNull public @NotNull Boolean getCommissionable()
      Indicate whether sales channels receive commission for selling this inventory.
      Returns:
      commissionable
    • setCommissionable

      public void setCommissionable(Boolean commissionable)
    • name

      public GuestRoom name(String name)
    • getName

      @Nonnull @NotNull public @NotNull String getName()
      Internal name of inventory.
      Returns:
      name
    • setName

      public void setName(String name)
    • proximityCode

      public GuestRoom proximityCode(String proximityCode)
    • getProximityCode

      @Nullable public String getProximityCode()
      Supported OTA specification `PRX` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      proximityCode
    • setProximityCode

      public void setProximityCode(String proximityCode)
    • sort

      public GuestRoom sort(Integer sort)
    • getSort

      @Nullable public Integer getSort()
      Use this property to sort an inventory in a list of activities.
      Returns:
      sort
    • setSort

      public void setSort(Integer sort)
    • minAgeAppropriateCode

      public GuestRoom minAgeAppropriateCode(String minAgeAppropriateCode)
    • getMinAgeAppropriateCode

      @Nullable public String getMinAgeAppropriateCode()
      Supported OTA specification `AQC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      minAgeAppropriateCode
    • setMinAgeAppropriateCode

      public void setMinAgeAppropriateCode(String minAgeAppropriateCode)
    • bookable

      public GuestRoom bookable(Boolean bookable)
    • getBookable

      @Nonnull @NotNull public @NotNull Boolean getBookable()
      Indicates if this inventory can be added to a booking or if it is read-only marketing material only.
      Returns:
      bookable
    • setBookable

      public void setBookable(Boolean bookable)
    • active

      public GuestRoom active(Boolean active)
    • getActive

      @Nonnull @NotNull public @NotNull Boolean getActive()
      Modify inventory availability with this flag.
      Returns:
      active
    • setActive

      public void setActive(Boolean active)
    • disabilityFeatures

      public GuestRoom disabilityFeatures(List<String> disabilityFeatures)
    • addDisabilityFeaturesItem

      public GuestRoom addDisabilityFeaturesItem(String disabilityFeaturesItem)
    • getDisabilityFeatures

      @Nullable public List<String> getDisabilityFeatures()
      Supported OTA specification `PHY` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      disabilityFeatures
    • setDisabilityFeatures

      public void setDisabilityFeatures(List<String> disabilityFeatures)
    • securityFeatures

      public GuestRoom securityFeatures(List<String> securityFeatures)
    • addSecurityFeaturesItem

      public GuestRoom addSecurityFeaturesItem(String securityFeaturesItem)
    • getSecurityFeatures

      @Nullable public List<String> getSecurityFeatures()
      Supported OTA specification `SEC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      securityFeatures
    • setSecurityFeatures

      public void setSecurityFeatures(List<String> securityFeatures)
    • socials

      public GuestRoom socials(List<Social> socials)
    • addSocialsItem

      public GuestRoom addSocialsItem(Social socialsItem)
    • getSocials

      @Nullable @Valid public @Valid List<Social> getSocials()
      Social network accounts for inventory (if applicable).
      Returns:
      socials
    • setSocials

      public void setSocials(List<Social> socials)
    • maxOccupancy

      public GuestRoom maxOccupancy(Integer maxOccupancy)
    • getMaxOccupancy

      @Nonnull @NotNull @Min(1L) public @NotNull @Min(1L) Integer getMaxOccupancy()
      Maximum number of guest allowed in a room type. minimum: 1
      Returns:
      maxOccupancy
    • setMaxOccupancy

      public void setMaxOccupancy(Integer maxOccupancy)
    • minOccupancy

      public GuestRoom minOccupancy(Integer minOccupancy)
    • getMinOccupancy

      @Nonnull @NotNull @Min(1L) public @NotNull @Min(1L) Integer getMinOccupancy()
      Minimum number of guests allowed in a room type. minimum: 1
      Returns:
      minOccupancy
    • setMinOccupancy

      public void setMinOccupancy(Integer minOccupancy)
    • quantity

      public GuestRoom quantity(Integer quantity)
    • getQuantity

      @Nonnull @NotNull @Min(1L) public @NotNull @Min(1L) Integer getQuantity()
      Defines the number of rooms of this type minimum: 1
      Returns:
      quantity
    • setQuantity

      public void setQuantity(Integer quantity)
    • nonSmoking

      public GuestRoom nonSmoking(Boolean nonSmoking)
    • getNonSmoking

      @Nonnull @NotNull public @NotNull Boolean getNonSmoking()
      Non-smoking indicator
      Returns:
      nonSmoking
    • setNonSmoking

      public void setNonSmoking(Boolean nonSmoking)
    • beds

      public GuestRoom beds(List<Bed> beds)
    • addBedsItem

      public GuestRoom addBedsItem(Bed bedsItem)
    • getBeds

      @Nonnull @NotNull @Valid public @NotNull @Valid List<Bed> getBeds()
      A room type can have more than one bed configuration.
      Returns:
      beds
    • setBeds

      public void setBeds(List<Bed> beds)
    • size

      public GuestRoom size(Float size)
    • getSize

      @Nonnull @NotNull @DecimalMin("1") public @NotNull @DecimalMin("1") Float getSize()
      Number of square meters that defines the size of this room type. minimum: 1
      Returns:
      size
    • setSize

      public void setSize(Float size)
    • maxAdultOccupancy

      public GuestRoom maxAdultOccupancy(Integer maxAdultOccupancy)
    • getMaxAdultOccupancy

      @Nonnull @NotNull @Min(1L) public @NotNull @Min(1L) Integer getMaxAdultOccupancy()
      Maximum number of adults allowed in a room type. minimum: 1
      Returns:
      maxAdultOccupancy
    • setMaxAdultOccupancy

      public void setMaxAdultOccupancy(Integer maxAdultOccupancy)
    • maxChildOccupancy

      public GuestRoom maxChildOccupancy(Integer maxChildOccupancy)
    • getMaxChildOccupancy

      @Nonnull @NotNull @Min(0L) public @NotNull @Min(0L) Integer getMaxChildOccupancy()
      Maximum number of children allowed in a room type. minimum: 0
      Returns:
      maxChildOccupancy
    • setMaxChildOccupancy

      public void setMaxChildOccupancy(Integer maxChildOccupancy)
    • bathroomCount

      public GuestRoom bathroomCount(Integer bathroomCount)
    • getBathroomCount

      @Nonnull @NotNull @Min(0L) public @NotNull @Min(0L) Integer getBathroomCount()
      Number of bathrooms minimum: 0
      Returns:
      bathroomCount
    • setBathroomCount

      public void setBathroomCount(Integer bathroomCount)
    • livingRoomCount

      public GuestRoom livingRoomCount(Integer livingRoomCount)
    • getLivingRoomCount

      @Nonnull @NotNull @Min(0L) public @NotNull @Min(0L) Integer getLivingRoomCount()
      Number of living rooms minimum: 0
      Returns:
      livingRoomCount
    • setLivingRoomCount

      public void setLivingRoomCount(Integer livingRoomCount)
    • maxRollaways

      public GuestRoom maxRollaways(Integer maxRollaways)
    • getMaxRollaways

      @Nonnull @NotNull @Min(0L) public @NotNull @Min(0L) Integer getMaxRollaways()
      Maximum number of rollaway beds allowed in this room type. minimum: 0
      Returns:
      maxRollaways
    • setMaxRollaways

      public void setMaxRollaways(Integer maxRollaways)
    • roomCategory

      public GuestRoom roomCategory(String roomCategory)
    • getRoomCategory

      @Nonnull @NotNull public @NotNull String getRoomCategory()
      Indicates the category of the room. Typical values would be Moderate, Standard, or Deluxe. Supported OTA specification `SEG` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      roomCategory
    • setRoomCategory

      public void setRoomCategory(String roomCategory)
    • floor

      public GuestRoom floor(String floor)
    • getFloor

      @Nullable public String getFloor()
      Floor an which a room is located
      Returns:
      floor
    • setFloor

      public void setFloor(String floor)
    • roomLocationCode

      public GuestRoom roomLocationCode(String roomLocationCode)
    • getRoomLocationCode

      @Nonnull @NotNull public @NotNull String getRoomLocationCode()
      Indicates the location of the room within the hotel structure. Typical values would be \"Near Exit\",\"Close to elevator\", \"Low Floor\" or \"High Floor\". Supported OTA specification `RLT` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      roomLocationCode
    • setRoomLocationCode

      public void setRoomLocationCode(String roomLocationCode)
    • roomViewCode

      public GuestRoom roomViewCode(String roomViewCode)
    • getRoomViewCode

      @Nonnull @NotNull public @NotNull String getRoomViewCode()
      Indicates the view of the room. Typical values would be \"Ocean view\", \"Pool view\" or \"Garden View\". Supported OTA specification `RVT` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      roomViewCode
    • setRoomViewCode

      public void setRoomViewCode(String roomViewCode)
    • composite

      public GuestRoom composite(Boolean composite)
    • getComposite

      @Nonnull @NotNull public @NotNull Boolean getComposite()
      Indicates that the room (suite) is a composite of smaller units.
      Returns:
      composite
    • setComposite

      public void setComposite(Boolean composite)
    • compositeCount

      public GuestRoom compositeCount(Integer compositeCount)
    • getCompositeCount

      @Nonnull @NotNull @Min(0L) public @NotNull @Min(0L) Integer getCompositeCount()
      Number of rooms of this room type that makes up a larger unit (composite) such as a two bedroom suite could be comprised of two king rooms plus other room types. A 0 means disabled. minimum: 0
      Returns:
      compositeCount
    • setCompositeCount

      public void setCompositeCount(Integer compositeCount)
    • roomClassificationCode

      public GuestRoom roomClassificationCode(String roomClassificationCode)
    • getRoomClassificationCode

      @Nonnull @NotNull public @NotNull String getRoomClassificationCode()
      Specifies the room classification (e.g., cabin, apartment). Supported OTA specification `GRI` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      roomClassificationCode
    • setRoomClassificationCode

      public void setRoomClassificationCode(String roomClassificationCode)
    • roomArchitectureCode

      public GuestRoom roomArchitectureCode(String roomArchitectureCode)
    • getRoomArchitectureCode

      @Nonnull @NotNull public @NotNull String getRoomArchitectureCode()
      Specifies the architectural style of a room. Supported OTA specification `ARC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      roomArchitectureCode
    • setRoomArchitectureCode

      public void setRoomArchitectureCode(String roomArchitectureCode)
    • roomGender

      public GuestRoom roomGender(GuestRoom.RoomGenderEnum roomGender)
    • getRoomGender

      @Nullable public GuestRoom.RoomGenderEnum getRoomGender()
      Used to request or specify a gender assignment for a room. Note: Typically used by Hosteliers.
      Returns:
      roomGender
    • setRoomGender

      public void setRoomGender(GuestRoom.RoomGenderEnum roomGender)
    • sharedRoomInd

      public GuestRoom sharedRoomInd(Boolean sharedRoomInd)
    • getSharedRoomInd

      @Nonnull @NotNull public @NotNull Boolean getSharedRoomInd()
      If TRUE, the room requires or has sharing available. Note: Typically used by Hosteliers.
      Returns:
      sharedRoomInd
    • setSharedRoomInd

      public void setSharedRoomInd(Boolean sharedRoomInd)
    • maxCribs

      public GuestRoom maxCribs(Integer maxCribs)
    • getMaxCribs

      @Nonnull @NotNull @Min(0L) public @NotNull @Min(0L) Integer getMaxCribs()
      Maximum number of cribs allowed in a room type. minimum: 0
      Returns:
      maxCribs
    • setMaxCribs

      public void setMaxCribs(Integer maxCribs)
    • amenities

      public GuestRoom amenities(List<String> amenities)
    • addAmenitiesItem

      public GuestRoom addAmenitiesItem(String amenitiesItem)
    • getAmenities

      @Nullable public List<String> getAmenities()
      Collection of room amenity items available to the guest. Supported OTA specification `RMA` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      amenities
    • setAmenities

      public void setAmenities(List<String> amenities)
    • includedAdultOccupancy

      public GuestRoom includedAdultOccupancy(Integer includedAdultOccupancy)
    • getIncludedAdultOccupancy

      @Nonnull @NotNull @Min(0L) public @NotNull @Min(0L) Integer getIncludedAdultOccupancy()
      The number of pax the room price was meant for minimum: 0
      Returns:
      includedAdultOccupancy
    • setIncludedAdultOccupancy

      public void setIncludedAdultOccupancy(Integer includedAdultOccupancy)
    • includedChildOccupancy

      public GuestRoom includedChildOccupancy(Integer includedChildOccupancy)
    • getIncludedChildOccupancy

      @Nonnull @NotNull @Min(0L) public @NotNull @Min(0L) Integer getIncludedChildOccupancy()
      The number of children the room price was meant for minimum: 0
      Returns:
      includedChildOccupancy
    • setIncludedChildOccupancy

      public void setIncludedChildOccupancy(Integer includedChildOccupancy)
    • baseRate

      public GuestRoom baseRate(Moneys baseRate)
    • getBaseRate

      @Nonnull @NotNull @Valid public @NotNull @Valid Moneys getBaseRate()
      Get baseRate
      Returns:
      baseRate
    • setBaseRate

      public void setBaseRate(Moneys baseRate)
    • minRate

      public GuestRoom minRate(Moneys minRate)
    • getMinRate

      @Nonnull @NotNull @Valid public @NotNull @Valid Moneys getMinRate()
      Get minRate
      Returns:
      minRate
    • setMinRate

      public void setMinRate(Moneys minRate)
    • 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