Class GuestRoomSupplier

java.lang.Object
travel.wink.sdk.extranet.model.GuestRoomSupplier

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-03-10T10:48:44.479471290+07:00[Asia/Bangkok]") public class GuestRoomSupplier extends Object
Contains room type data
  • Field Details

  • Constructor Details

    • GuestRoomSupplier

      public GuestRoomSupplier()
  • Method Details

    • identifier

      public GuestRoomSupplier identifier(UUID identifier)
    • getIdentifier

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

      public void setIdentifier(UUID identifier)
    • hotelIdentifier

      public GuestRoomSupplier hotelIdentifier(UUID hotelIdentifier)
    • getHotelIdentifier

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

      public void setHotelIdentifier(UUID hotelIdentifier)
    • featuredInd

      public GuestRoomSupplier 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 GuestRoomSupplier lifestyleType(GuestRoomSupplier.LifestyleTypeEnum lifestyleType)
    • getLifestyleType

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

      public void setLifestyleType(GuestRoomSupplier.LifestyleTypeEnum lifestyleType)
    • location

      public GuestRoomSupplier location(GeoJsonPointSupplier location)
    • getLocation

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

      public void setLocation(GeoJsonPointSupplier location)
    • descriptions

      public GuestRoomSupplier descriptions(List<SimpleDescriptionSupplier> descriptions)
    • addDescriptionsItem

      public GuestRoomSupplier addDescriptionsItem(SimpleDescriptionSupplier descriptionsItem)
    • getDescriptions

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

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

      public GuestRoomSupplier multimedias(List<SimpleMultimediaSupplier> multimedias)
    • addMultimediasItem

      public GuestRoomSupplier addMultimediasItem(SimpleMultimediaSupplier multimediasItem)
    • getMultimedias

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

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

      public GuestRoomSupplier contact(ContactSupplier contact)
    • getContact

      @Nonnull @NotNull @Valid public @NotNull @Valid ContactSupplier getContact()
      Get contact
      Returns:
      contact
    • setContact

      public void setContact(ContactSupplier contact)
    • address

      public GuestRoomSupplier address(AddressSupplier address)
    • getAddress

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

      public void setAddress(AddressSupplier address)
    • commissionable

      public GuestRoomSupplier 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 GuestRoomSupplier name(String name)
    • getName

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

      public void setName(String name)
    • proximityCode

      public GuestRoomSupplier proximityCode(String proximityCode)
    • getProximityCode

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

      public void setProximityCode(String proximityCode)
    • sort

      public GuestRoomSupplier 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 GuestRoomSupplier 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 GuestRoomSupplier 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 GuestRoomSupplier 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 GuestRoomSupplier disabilityFeatures(List<String> disabilityFeatures)
    • addDisabilityFeaturesItem

      public GuestRoomSupplier 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 GuestRoomSupplier securityFeatures(List<String> securityFeatures)
    • addSecurityFeaturesItem

      public GuestRoomSupplier 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 GuestRoomSupplier socials(List<SocialSupplier> socials)
    • addSocialsItem

      public GuestRoomSupplier addSocialsItem(SocialSupplier socialsItem)
    • getSocials

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

      public void setSocials(List<SocialSupplier> socials)
    • pricePoint

      public GuestRoomSupplier pricePoint(GuestRoomSupplier.PricePointEnum pricePoint)
    • getPricePoint

      @Nonnull @NotNull public @NotNull GuestRoomSupplier.PricePointEnum getPricePoint()
      Level of expensiveness.
      Returns:
      pricePoint
    • setPricePoint

      public void setPricePoint(GuestRoomSupplier.PricePointEnum pricePoint)
    • recognitionList

      public GuestRoomSupplier recognitionList(List<TravelInventoryRecognitionSupplier> recognitionList)
    • addRecognitionListItem

      public GuestRoomSupplier addRecognitionListItem(TravelInventoryRecognitionSupplier recognitionListItem)
    • getRecognitionList

      @Nullable @Valid public @Valid List<TravelInventoryRecognitionSupplier> getRecognitionList()
      Inventory-level recognition.
      Returns:
      recognitionList
    • setRecognitionList

      public void setRecognitionList(List<TravelInventoryRecognitionSupplier> recognitionList)
    • transactionalInventoryList

      public GuestRoomSupplier transactionalInventoryList(List<TransactionalTravelInventorySupplier> transactionalInventoryList)
    • addTransactionalInventoryListItem

      public GuestRoomSupplier addTransactionalInventoryListItem(TransactionalTravelInventorySupplier transactionalInventoryListItem)
    • getTransactionalInventoryList

      @Nullable @Valid public @Valid List<TransactionalTravelInventorySupplier> getTransactionalInventoryList()
      Purchasable items for this inventory.
      Returns:
      transactionalInventoryList
    • setTransactionalInventoryList

      public void setTransactionalInventoryList(List<TransactionalTravelInventorySupplier> transactionalInventoryList)
    • maxOccupancy

      public GuestRoomSupplier 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 GuestRoomSupplier 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 GuestRoomSupplier 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 GuestRoomSupplier nonSmoking(Boolean nonSmoking)
    • getNonSmoking

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

      public void setNonSmoking(Boolean nonSmoking)
    • bedroomConfigurationList

      public GuestRoomSupplier bedroomConfigurationList(List<BedroomConfigurationSupplier> bedroomConfigurationList)
    • addBedroomConfigurationListItem

      public GuestRoomSupplier addBedroomConfigurationListItem(BedroomConfigurationSupplier bedroomConfigurationListItem)
    • getBedroomConfigurationList

      @Nonnull @NotNull @Valid public @NotNull @Valid List<BedroomConfigurationSupplier> getBedroomConfigurationList()
      A room type can have more than one bed configuration.
      Returns:
      bedroomConfigurationList
    • setBedroomConfigurationList

      public void setBedroomConfigurationList(List<BedroomConfigurationSupplier> bedroomConfigurationList)
    • size

      public GuestRoomSupplier 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 GuestRoomSupplier 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 GuestRoomSupplier 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 GuestRoomSupplier 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 GuestRoomSupplier 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 GuestRoomSupplier 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 GuestRoomSupplier 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 GuestRoomSupplier 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 GuestRoomSupplier 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 GuestRoomSupplier 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 GuestRoomSupplier 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 GuestRoomSupplier 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 GuestRoomSupplier 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 GuestRoomSupplier 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 GuestRoomSupplier roomGender(GuestRoomSupplier.RoomGenderEnum roomGender)
    • getRoomGender

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

      public void setRoomGender(GuestRoomSupplier.RoomGenderEnum roomGender)
    • sharedRoomInd

      public GuestRoomSupplier 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 GuestRoomSupplier 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 GuestRoomSupplier amenities(List<String> amenities)
    • addAmenitiesItem

      public GuestRoomSupplier 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 GuestRoomSupplier 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 GuestRoomSupplier 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 GuestRoomSupplier baseRate(MoneysSupplier baseRate)
    • getBaseRate

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

      public void setBaseRate(MoneysSupplier baseRate)
    • minRate

      public GuestRoomSupplier minRate(MoneysSupplier minRate)
    • getMinRate

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

      public void setMinRate(MoneysSupplier 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