Class HotelOnMapSupplier

java.lang.Object
travel.wink.sdk.extranet.booking.model.HotelOnMapSupplier

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-12-27T09:36:28.273388475+07:00[Asia/Bangkok]") public class HotelOnMapSupplier extends Object
Combined property data.
  • Field Details

  • Constructor Details

    • HotelOnMapSupplier

      public HotelOnMapSupplier()
  • Method Details

    • identifier

      public HotelOnMapSupplier 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 HotelOnMapSupplier hotelIdentifier(UUID hotelIdentifier)
    • getHotelIdentifier

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

      public void setHotelIdentifier(UUID hotelIdentifier)
    • name

      public HotelOnMapSupplier name(String name)
    • getName

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

      public void setName(String name)
    • localName

      public HotelOnMapSupplier 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 HotelOnMapSupplier chain(String chain)
    • getChain

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

      public void setChain(String chain)
    • brand

      public HotelOnMapSupplier brand(String brand)
    • getBrand

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

      public void setBrand(String brand)
    • urlName

      public HotelOnMapSupplier 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 HotelOnMapSupplier 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 HotelOnMapSupplier 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 HotelOnMapSupplier 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 HotelOnMapSupplier location(GeoJsonPointSupplier location)
    • getLocation

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

      public void setLocation(GeoJsonPointSupplier location)
    • shortDescriptions

      public HotelOnMapSupplier shortDescriptions(List<LocalizedDescriptionSupplier> shortDescriptions)
    • addShortDescriptionsItem

      public HotelOnMapSupplier addShortDescriptionsItem(LocalizedDescriptionSupplier shortDescriptionsItem)
    • getShortDescriptions

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

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

      public HotelOnMapSupplier longDescriptions(List<LocalizedDescriptionSupplier> longDescriptions)
    • addLongDescriptionsItem

      public HotelOnMapSupplier addLongDescriptionsItem(LocalizedDescriptionSupplier longDescriptionsItem)
    • getLongDescriptions

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

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

      public HotelOnMapSupplier 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 HotelOnMapSupplier lifestyleTypes(List<HotelOnMapSupplier.LifestyleTypesEnum> lifestyleTypes)
    • addLifestyleTypesItem

      public HotelOnMapSupplier addLifestyleTypesItem(HotelOnMapSupplier.LifestyleTypesEnum lifestyleTypesItem)
    • getLifestyleTypes

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

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

      public HotelOnMapSupplier 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 HotelOnMapSupplier 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 HotelOnMapSupplier 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 HotelOnMapSupplier reservations(ContactSupplier reservations)
    • getReservations

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

      public void setReservations(ContactSupplier reservations)
    • socials

      public HotelOnMapSupplier socials(List<SocialSupplier> socials)
    • addSocialsItem

      public HotelOnMapSupplier addSocialsItem(SocialSupplier socialsItem)
    • getSocials

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

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

    • addImagesItem

      public HotelOnMapSupplier addImagesItem(SimpleMultimediaSupplier imagesItem)
    • getImages

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

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

    • addVideosItem

      public HotelOnMapSupplier addVideosItem(SimpleMultimediaSupplier videosItem)
    • getVideos

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

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

    • getPolicy

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

      public void setPolicy(PropertyPolicySupplier policy)
    • thirdPartyReviews

      public HotelOnMapSupplier thirdPartyReviews(List<TravelInventoryRecognitionSupplier> thirdPartyReviews)
    • addThirdPartyReviewsItem

      public HotelOnMapSupplier addThirdPartyReviewsItem(TravelInventoryRecognitionSupplier thirdPartyReviewsItem)
    • getThirdPartyReviews

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

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

      public HotelOnMapSupplier 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 HotelOnMapSupplier 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 HotelOnMapSupplier 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 HotelOnMapSupplier 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 HotelOnMapSupplier 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 HotelOnMapSupplier 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 HotelOnMapSupplier 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 HotelOnMapSupplier generalManager(GeneralManagerSupplier generalManager)
    • getGeneralManager

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

      public void setGeneralManager(GeneralManagerSupplier generalManager)
    • locationCategory

      public HotelOnMapSupplier 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 HotelOnMapSupplier 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 HotelOnMapSupplier 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 HotelOnMapSupplier 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 HotelOnMapSupplier whenBuilt(String whenBuilt)
    • getWhenBuilt

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

      public void setWhenBuilt(String whenBuilt)
    • currencyCode

      public HotelOnMapSupplier currencyCode(String currencyCode)
    • getCurrencyCode

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

      public void setCurrencyCode(String currencyCode)
    • membershipRateDiscount

      public HotelOnMapSupplier 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 HotelOnMapSupplier 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 HotelOnMapSupplier 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 HotelOnMapSupplier 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 HotelOnMapSupplier 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 HotelOnMapSupplier 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 HotelOnMapSupplier 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 HotelOnMapSupplier 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 HotelOnMapSupplier 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 HotelOnMapSupplier hotelAmenityCodes(List<String> hotelAmenityCodes)
    • addHotelAmenityCodesItem

      public HotelOnMapSupplier 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 HotelOnMapSupplier propertyAccessibilityCodes(List<String> propertyAccessibilityCodes)
    • addPropertyAccessibilityCodesItem

      public HotelOnMapSupplier 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 HotelOnMapSupplier propertySecurityCodes(List<String> propertySecurityCodes)
    • addPropertySecurityCodesItem

      public HotelOnMapSupplier 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 HotelOnMapSupplier 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 HotelOnMapSupplier address(AddressSupplier address)
    • getAddress

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

      public void setAddress(AddressSupplier address)
    • active

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