Class HotelOnMapBooker

java.lang.Object
travel.wink.sdk.booking.model.HotelOnMapBooker

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-01-02T16:42:22.978624448+07:00[Asia/Bangkok]") public class HotelOnMapBooker extends Object
Combined property data.
  • Field Details

  • Constructor Details

    • HotelOnMapBooker

      public HotelOnMapBooker()
  • Method Details

    • identifier

      public HotelOnMapBooker identifier(String identifier)
    • getIdentifier

      @Nullable public String getIdentifier()
      Unique record identifier. This is NOT the same as the unique hotel record identifier.
      Returns:
      identifier
    • setIdentifier

      public void setIdentifier(String identifier)
    • hotelIdentifier

      public HotelOnMapBooker hotelIdentifier(UUID hotelIdentifier)
    • getHotelIdentifier

      @Nullable @Valid public @Valid UUID getHotelIdentifier()
      Unique hotel record identifier.
      Returns:
      hotelIdentifier
    • setHotelIdentifier

      public void setHotelIdentifier(UUID hotelIdentifier)
    • name

      public HotelOnMapBooker name(String name)
    • getName

      @Nullable public String getName()
      Hotel trade name
      Returns:
      name
    • setName

      public void setName(String name)
    • localName

      public HotelOnMapBooker localName(String localName)
    • getLocalName

      @Nullable public String getLocalName()
      Hotel local name if different from the trade name or if it is the local language.
      Returns:
      localName
    • setLocalName

      public void setLocalName(String localName)
    • chain

      public HotelOnMapBooker chain(String chain)
    • getChain

      @Nullable public String getChain()
      Name of hotel chain if applicable.
      Returns:
      chain
    • setChain

      public void setChain(String chain)
    • brand

      public HotelOnMapBooker brand(String brand)
    • getBrand

      @Nullable public String getBrand()
      Name of hotel brand
      Returns:
      brand
    • setBrand

      public void setBrand(String brand)
    • urlName

      public HotelOnMapBooker urlName(String urlName)
    • getUrlName

      @Nullable public String getUrlName()
      Unique URL-friendly name slug of hotel
      Returns:
      urlName
    • setUrlName

      public void setUrlName(String urlName)
    • starRating

      public HotelOnMapBooker starRating(Integer starRating)
    • getStarRating

      @Nullable @Min(0L) @Max(6L) public @Min(0L) @Max(6L) Integer getStarRating()
      Official or self-designated property star rating. Note that in some regions there are 6-star hotels. They are the same as 5-star hotels everywhere else. minimum: 0 maximum: 6
      Returns:
      starRating
    • setStarRating

      public void setStarRating(Integer starRating)
    • bookings

      public HotelOnMapBooker bookings(Long bookings)
    • getBookings

      @Nullable public Long getBookings()
      Number of bookings for this property on the wink.travel platform.
      Returns:
      bookings
    • setBookings

      public void setBookings(Long bookings)
    • aggregateReviewRating

      public HotelOnMapBooker aggregateReviewRating(Float aggregateReviewRating)
    • getAggregateReviewRating

      @Nullable public Float getAggregateReviewRating()
      Aggregate score based on all current user reviews.
      Returns:
      aggregateReviewRating
    • setAggregateReviewRating

      public void setAggregateReviewRating(Float aggregateReviewRating)
    • location

      public HotelOnMapBooker location(GeoJsonPointBooker location)
    • getLocation

      @Nullable @Valid public @Valid GeoJsonPointBooker getLocation()
      Get location
      Returns:
      location
    • setLocation

      public void setLocation(GeoJsonPointBooker location)
    • shortDescriptions

      public HotelOnMapBooker shortDescriptions(List<LocalizedDescriptionBooker> shortDescriptions)
    • addShortDescriptionsItem

      public HotelOnMapBooker addShortDescriptionsItem(LocalizedDescriptionBooker shortDescriptionsItem)
    • getShortDescriptions

      @Nullable @Valid public @Valid List<LocalizedDescriptionBooker> getShortDescriptions()
      A localized list of short property descriptions
      Returns:
      shortDescriptions
    • setShortDescriptions

      public void setShortDescriptions(List<LocalizedDescriptionBooker> shortDescriptions)
    • longDescriptions

      public HotelOnMapBooker longDescriptions(List<LocalizedDescriptionBooker> longDescriptions)
    • addLongDescriptionsItem

      public HotelOnMapBooker addLongDescriptionsItem(LocalizedDescriptionBooker longDescriptionsItem)
    • getLongDescriptions

      @Nullable @Valid public @Valid List<LocalizedDescriptionBooker> getLongDescriptions()
      A localized list of longer property descriptions
      Returns:
      longDescriptions
    • setLongDescriptions

      public void setLongDescriptions(List<LocalizedDescriptionBooker> longDescriptions)
    • aggregateGreendexRating

      public HotelOnMapBooker aggregateGreendexRating(Float aggregateGreendexRating)
    • getAggregateGreendexRating

      @Nullable public Float getAggregateGreendexRating()
      Aggregate Green Index score if the property has answered our questionnaire available in the Extranet.
      Returns:
      aggregateGreendexRating
    • setAggregateGreendexRating

      public void setAggregateGreendexRating(Float aggregateGreendexRating)
    • lifestyleTypes

      public HotelOnMapBooker lifestyleTypes(List<HotelOnMapBooker.LifestyleTypesEnum> lifestyleTypes)
    • addLifestyleTypesItem

      public HotelOnMapBooker addLifestyleTypesItem(HotelOnMapBooker.LifestyleTypesEnum lifestyleTypesItem)
    • getLifestyleTypes

      @Nullable public List<HotelOnMapBooker.LifestyleTypesEnum> getLifestyleTypes()
      Get lifestyleTypes
      Returns:
      lifestyleTypes
    • setLifestyleTypes

      public void setLifestyleTypes(List<HotelOnMapBooker.LifestyleTypesEnum> lifestyleTypes)
    • totalReviews

      public HotelOnMapBooker totalReviews(Integer totalReviews)
    • getTotalReviews

      @Nullable public Integer getTotalReviews()
      Count of total reviews left by users at this property.
      Returns:
      totalReviews
    • setTotalReviews

      public void setTotalReviews(Integer totalReviews)
    • available

      public HotelOnMapBooker available(Boolean available)
    • getAvailable

      @Nullable public Boolean getAvailable()
      Flag indicating whether the reactive has made this property available for sale.
      Returns:
      available
    • setAvailable

      public void setAvailable(Boolean available)
    • hotelAvailable

      public HotelOnMapBooker hotelAvailable(Boolean hotelAvailable)
    • getHotelAvailable

      @Nullable public Boolean getHotelAvailable()
      Flag indicating whether the property has made this property available for sale.
      Returns:
      hotelAvailable
    • setHotelAvailable

      public void setHotelAvailable(Boolean hotelAvailable)
    • reservations

      public HotelOnMapBooker reservations(ContactBooker reservations)
    • getReservations

      @Nullable @Valid public @Valid ContactBooker getReservations()
      Get reservations
      Returns:
      reservations
    • setReservations

      public void setReservations(ContactBooker reservations)
    • socials

      public HotelOnMapBooker socials(List<SocialBooker> socials)
    • addSocialsItem

      public HotelOnMapBooker addSocialsItem(SocialBooker socialsItem)
    • getSocials

      @Nullable @Valid public @Valid List<SocialBooker> getSocials()
      Property's social network accounts
      Returns:
      socials
    • setSocials

      public void setSocials(List<SocialBooker> socials)
    • images

      public HotelOnMapBooker images(List<SimpleMultimediaBooker> images)
    • addImagesItem

      public HotelOnMapBooker addImagesItem(SimpleMultimediaBooker imagesItem)
    • getImages

      @Nullable @Valid public @Valid List<SimpleMultimediaBooker> getImages()
      Property images.
      Returns:
      images
    • setImages

      public void setImages(List<SimpleMultimediaBooker> images)
    • videos

      public HotelOnMapBooker videos(List<SimpleMultimediaBooker> videos)
    • addVideosItem

      public HotelOnMapBooker addVideosItem(SimpleMultimediaBooker videosItem)
    • getVideos

      @Nullable @Valid public @Valid List<SimpleMultimediaBooker> getVideos()
      Property videos.
      Returns:
      videos
    • setVideos

      public void setVideos(List<SimpleMultimediaBooker> videos)
    • policy

      public HotelOnMapBooker policy(PropertyPolicyBooker policy)
    • getPolicy

      @Nullable @Valid public @Valid PropertyPolicyBooker getPolicy()
      Get policy
      Returns:
      policy
    • setPolicy

      public void setPolicy(PropertyPolicyBooker policy)
    • thirdPartyReviews

      public HotelOnMapBooker thirdPartyReviews(List<TravelInventoryRecognitionBooker> thirdPartyReviews)
    • addThirdPartyReviewsItem

      public HotelOnMapBooker addThirdPartyReviewsItem(TravelInventoryRecognitionBooker thirdPartyReviewsItem)
    • getThirdPartyReviews

      @Nullable @Valid public @Valid List<TravelInventoryRecognitionBooker> getThirdPartyReviews()
      Array of awards and third party reviews given to property by certified / non-certified providers.
      Returns:
      thirdPartyReviews
    • setThirdPartyReviews

      public void setThirdPartyReviews(List<TravelInventoryRecognitionBooker> thirdPartyReviews)
    • attractions

      public HotelOnMapBooker attractions(Integer attractions)
    • getAttractions

      @Nullable public Integer getAttractions()
      Number of attractions property has listed on its profile.
      Returns:
      attractions
    • setAttractions

      public void setAttractions(Integer attractions)
    • recreations

      public HotelOnMapBooker recreations(Integer recreations)
    • getRecreations

      @Nullable public Integer getRecreations()
      Number of activites property has listed on its profile.
      Returns:
      recreations
    • setRecreations

      public void setRecreations(Integer recreations)
    • pois

      public HotelOnMapBooker pois(Integer pois)
    • getPois

      @Nullable public Integer getPois()
      Number of places property has listed on its profile.
      Returns:
      pois
    • setPois

      public void setPois(Integer pois)
    • restaurants

      public HotelOnMapBooker restaurants(Integer restaurants)
    • getRestaurants

      @Nullable public Integer getRestaurants()
      Number of restaurants property has on its profile.
      Returns:
      restaurants
    • setRestaurants

      public void setRestaurants(Integer restaurants)
    • meetingRooms

      public HotelOnMapBooker meetingRooms(Integer meetingRooms)
    • getMeetingRooms

      @Nullable public Integer getMeetingRooms()
      Number of meeting rooms property has on its profile.
      Returns:
      meetingRooms
    • setMeetingRooms

      public void setMeetingRooms(Integer meetingRooms)
    • spas

      public HotelOnMapBooker spas(Integer spas)
    • getSpas

      @Nullable public Integer getSpas()
      Number of spas property has on its profile.
      Returns:
      spas
    • setSpas

      public void setSpas(Integer spas)
    • addOns

      public HotelOnMapBooker addOns(Integer addOns)
    • getAddOns

      @Nullable public Integer getAddOns()
      Number of add-ons property has on its profile.
      Returns:
      addOns
    • setAddOns

      public void setAddOns(Integer addOns)
    • generalManager

      public HotelOnMapBooker generalManager(GeneralManagerBooker generalManager)
    • getGeneralManager

      @Nullable @Valid public @Valid GeneralManagerBooker getGeneralManager()
      Get generalManager
      Returns:
      generalManager
    • setGeneralManager

      public void setGeneralManager(GeneralManagerBooker generalManager)
    • locationCategory

      public HotelOnMapBooker locationCategory(String locationCategory)
    • getLocationCategory

      @Nullable public String getLocationCategory()
      Supported OTA specification `LOC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      locationCategory
    • setLocationCategory

      public void setLocationCategory(String locationCategory)
    • segmentCategory

      public HotelOnMapBooker segmentCategory(String segmentCategory)
    • getSegmentCategory

      @Nullable public String getSegmentCategory()
      Supported OTA specification `SEG` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      segmentCategory
    • setSegmentCategory

      public void setSegmentCategory(String segmentCategory)
    • hotelCategory

      public HotelOnMapBooker hotelCategory(String hotelCategory)
    • getHotelCategory

      @Nullable public String getHotelCategory()
      Supported OTA specification `PCT` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      hotelCategory
    • setHotelCategory

      public void setHotelCategory(String hotelCategory)
    • architecturalStyle

      public HotelOnMapBooker architecturalStyle(String architecturalStyle)
    • getArchitecturalStyle

      @Nullable public String getArchitecturalStyle()
      Supported OTA specification `ARC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      architecturalStyle
    • setArchitecturalStyle

      public void setArchitecturalStyle(String architecturalStyle)
    • whenBuilt

      public HotelOnMapBooker whenBuilt(String whenBuilt)
    • getWhenBuilt

      @Nullable public String getWhenBuilt()
      Year the property was constructed.
      Returns:
      whenBuilt
    • setWhenBuilt

      public void setWhenBuilt(String whenBuilt)
    • currencyCode

      public HotelOnMapBooker currencyCode(String currencyCode)
    • getCurrencyCode

      @Nullable public String getCurrencyCode()
      Currency code for property.
      Returns:
      currencyCode
    • setCurrencyCode

      public void setCurrencyCode(String currencyCode)
    • membershipRateDiscount

      public HotelOnMapBooker membershipRateDiscount(Float membershipRateDiscount)
    • getMembershipRateDiscount

      @Nullable public Float getMembershipRateDiscount()
      A property's price score is based on calculating historical pricing data. Each property receives a unique score. There is no max score; it's there to compare it against other properties.
      Returns:
      membershipRateDiscount
    • setMembershipRateDiscount

      public void setMembershipRateDiscount(Float membershipRateDiscount)
    • priceScore

      public HotelOnMapBooker priceScore(Integer priceScore)
    • getPriceScore

      @Nullable public Integer getPriceScore()
      A property's price score is based on calculating historical pricing data. Each property receives a unique score. There is no max score; it's there to compare it against other properties.
      Returns:
      priceScore
    • setPriceScore

      public void setPriceScore(Integer priceScore)
    • perkScore

      public HotelOnMapBooker perkScore(Integer perkScore)
    • getPerkScore

      @Nullable public Integer getPerkScore()
      A property's perk score is based on the type of perks that is offered to the guests across all master rates. There is no max score; it's there to compare it against other properties.
      Returns:
      perkScore
    • setPerkScore

      public void setPerkScore(Integer perkScore)
    • packageScore

      public HotelOnMapBooker packageScore(Integer packageScore)
    • getPackageScore

      @Nullable public Integer getPackageScore()
      A property's package score is based on general availability and price for all packages and add-ons offered by the property. There is no max score; it's there to compare it against other properties.
      Returns:
      packageScore
    • setPackageScore

      public void setPackageScore(Integer packageScore)
    • loyaltyScore

      public HotelOnMapBooker loyaltyScore(Integer loyaltyScore)
    • getLoyaltyScore

      @Nullable public Integer getLoyaltyScore()
      A property's loyalty score is based on calculating how many available rate plans honor loyalty points. There is no max score; it's there to compare it against other properties.
      Returns:
      loyaltyScore
    • setLoyaltyScore

      public void setLoyaltyScore(Integer loyaltyScore)
    • popularScore

      public HotelOnMapBooker popularScore(Integer popularScore)
    • getPopularScore

      @Nullable public Integer getPopularScore()
      A property's popular score is based on calculating number of bookings across room types. There is no max score; it's there to compare it against other properties.
      Returns:
      popularScore
    • setPopularScore

      public void setPopularScore(Integer popularScore)
    • experienceScore

      public HotelOnMapBooker experienceScore(Integer experienceScore)
    • getExperienceScore

      @Nullable public Integer getExperienceScore()
      A property's experience score is based on how calculating how many types of experiences are available and at what price ranges. There is no max score; it's there to compare it against other properties.
      Returns:
      experienceScore
    • setExperienceScore

      public void setExperienceScore(Integer experienceScore)
    • availabilityScore

      public HotelOnMapBooker availabilityScore(Integer availabilityScore)
    • getAvailabilityScore

      @Nullable public Integer getAvailabilityScore()
      A property's availability score is based on general availability of all room types. If most room types are always unavailable, the attractiveness of this property goes down. We use this as our primary benchmark to decide how and when to feature properties. There is no max score; it's there to compare it against other properties.
      Returns:
      availabilityScore
    • setAvailabilityScore

      public void setAvailabilityScore(Integer availabilityScore)
    • views

      public HotelOnMapBooker views(Long views)
    • getViews

      @Nullable public Long getViews()
      Total number of user views of this property.
      Returns:
      views
    • setViews

      public void setViews(Long views)
    • hotelAmenityCodes

      public HotelOnMapBooker hotelAmenityCodes(List<String> hotelAmenityCodes)
    • addHotelAmenityCodesItem

      public HotelOnMapBooker addHotelAmenityCodesItem(String hotelAmenityCodesItem)
    • getHotelAmenityCodes

      @Nullable public List<String> getHotelAmenityCodes()
      Supported OTA specification `HAC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      hotelAmenityCodes
    • setHotelAmenityCodes

      public void setHotelAmenityCodes(List<String> hotelAmenityCodes)
    • propertyAccessibilityCodes

      public HotelOnMapBooker propertyAccessibilityCodes(List<String> propertyAccessibilityCodes)
    • addPropertyAccessibilityCodesItem

      public HotelOnMapBooker addPropertyAccessibilityCodesItem(String propertyAccessibilityCodesItem)
    • getPropertyAccessibilityCodes

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

      public void setPropertyAccessibilityCodes(List<String> propertyAccessibilityCodes)
    • propertySecurityCodes

      public HotelOnMapBooker propertySecurityCodes(List<String> propertySecurityCodes)
    • addPropertySecurityCodesItem

      public HotelOnMapBooker addPropertySecurityCodesItem(String propertySecurityCodesItem)
    • getPropertySecurityCodes

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

      public void setPropertySecurityCodes(List<String> propertySecurityCodes)
    • numberOfRooms

      public HotelOnMapBooker numberOfRooms(Integer numberOfRooms)
    • getNumberOfRooms

      @Nullable public Integer getNumberOfRooms()
      Number of rooms / keys for this property.
      Returns:
      numberOfRooms
    • setNumberOfRooms

      public void setNumberOfRooms(Integer numberOfRooms)
    • address

      public HotelOnMapBooker address(AddressBooker address)
    • getAddress

      @Nullable @Valid public @Valid AddressBooker getAddress()
      Get address
      Returns:
      address
    • setAddress

      public void setAddress(AddressBooker address)
    • active

      public HotelOnMapBooker active(Boolean active)
    • getActive

      @Nullable public Boolean getActive()
      A property is considered active when both available and hotelAvailable flags are true.
      Returns:
      active
    • setActive

      public void setActive(Boolean active)
    • urlParameters

      public HotelOnMapBooker urlParameters(String urlParameters)
    • getUrlParameters

      @Nullable public String getUrlParameters()
      Convenience data point that creates url friendly query parameters of property.
      Returns:
      urlParameters
    • setUrlParameters

      public void setUrlParameters(String urlParameters)
    • 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