Class HotelOnMapAffiliate

java.lang.Object
travel.wink.sdk.affiliate.model.HotelOnMapAffiliate

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-03-10T10:47:30.893146041+07:00[Asia/Bangkok]") public class HotelOnMapAffiliate extends Object
Combined property data.
  • Field Details

  • Constructor Details

    • HotelOnMapAffiliate

      public HotelOnMapAffiliate()
  • Method Details

    • identifier

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

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

      public void setHotelIdentifier(UUID hotelIdentifier)
    • name

      public HotelOnMapAffiliate name(String name)
    • getName

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

      public void setName(String name)
    • localName

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

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

      public void setChain(String chain)
    • brand

      public HotelOnMapAffiliate brand(String brand)
    • getBrand

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

      public void setBrand(String brand)
    • urlName

      public HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate bookings(Long bookings)
    • getBookings

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

      public void setBookings(Long bookings)
    • aggregateReviewRating

      public HotelOnMapAffiliate 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 HotelOnMapAffiliate location(GeoJsonPointAffiliate location)
    • getLocation

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

      public void setLocation(GeoJsonPointAffiliate location)
    • shortDescriptions

      public HotelOnMapAffiliate shortDescriptions(List<LocalizedDescriptionAffiliate> shortDescriptions)
    • addShortDescriptionsItem

      public HotelOnMapAffiliate addShortDescriptionsItem(LocalizedDescriptionAffiliate shortDescriptionsItem)
    • getShortDescriptions

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

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

      public HotelOnMapAffiliate longDescriptions(List<LocalizedDescriptionAffiliate> longDescriptions)
    • addLongDescriptionsItem

      public HotelOnMapAffiliate addLongDescriptionsItem(LocalizedDescriptionAffiliate longDescriptionsItem)
    • getLongDescriptions

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

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

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

      public HotelOnMapAffiliate addLifestyleTypesItem(HotelOnMapAffiliate.LifestyleTypesEnum lifestyleTypesItem)
    • getLifestyleTypes

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

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

      public HotelOnMapAffiliate 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 HotelOnMapAffiliate available(Boolean available)
    • getAvailable

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

      public void setAvailable(Boolean available)
    • hotelAvailable

      public HotelOnMapAffiliate 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 HotelOnMapAffiliate reservations(ContactAffiliate reservations)
    • getReservations

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

      public void setReservations(ContactAffiliate reservations)
    • socials

      public HotelOnMapAffiliate socials(List<SocialAffiliate> socials)
    • addSocialsItem

      public HotelOnMapAffiliate addSocialsItem(SocialAffiliate socialsItem)
    • getSocials

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

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

    • addImagesItem

      public HotelOnMapAffiliate addImagesItem(SimpleMultimediaAffiliate imagesItem)
    • getImages

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

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

    • addVideosItem

      public HotelOnMapAffiliate addVideosItem(SimpleMultimediaAffiliate videosItem)
    • getVideos

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

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

    • getPolicy

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

      public void setPolicy(PropertyPolicyAffiliate policy)
    • thirdPartyReviews

      public HotelOnMapAffiliate thirdPartyReviews(List<RecognitionAffiliate> thirdPartyReviews)
    • addThirdPartyReviewsItem

      public HotelOnMapAffiliate addThirdPartyReviewsItem(RecognitionAffiliate thirdPartyReviewsItem)
    • getThirdPartyReviews

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

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

      public HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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)
    • fullNameOfGeneralManager

      public HotelOnMapAffiliate fullNameOfGeneralManager(String fullNameOfGeneralManager)
    • getFullNameOfGeneralManager

      @Nullable public String getFullNameOfGeneralManager()
      Full name of the property's current and active general manager.
      Returns:
      fullNameOfGeneralManager
    • setFullNameOfGeneralManager

      public void setFullNameOfGeneralManager(String fullNameOfGeneralManager)
    • profilePictureIdentifierGeneralManager

      public HotelOnMapAffiliate profilePictureIdentifierGeneralManager(String profilePictureIdentifierGeneralManager)
    • getProfilePictureIdentifierGeneralManager

      @Nullable public String getProfilePictureIdentifierGeneralManager()
      Cloudinary identifier referencing image of general manager.
      Returns:
      profilePictureIdentifierGeneralManager
    • setProfilePictureIdentifierGeneralManager

      public void setProfilePictureIdentifierGeneralManager(String profilePictureIdentifierGeneralManager)
    • messagesOfGeneralManager

      public HotelOnMapAffiliate messagesOfGeneralManager(List<SimpleDescriptionAffiliate> messagesOfGeneralManager)
    • addMessagesOfGeneralManagerItem

      public HotelOnMapAffiliate addMessagesOfGeneralManagerItem(SimpleDescriptionAffiliate messagesOfGeneralManagerItem)
    • getMessagesOfGeneralManager

      @Nullable @Valid public @Valid List<SimpleDescriptionAffiliate> getMessagesOfGeneralManager()
      A list of localized welcome messages created by the property's general manager.
      Returns:
      messagesOfGeneralManager
    • setMessagesOfGeneralManager

      public void setMessagesOfGeneralManager(List<SimpleDescriptionAffiliate> messagesOfGeneralManager)
    • locationCategory

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

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

      public void setWhenBuilt(String whenBuilt)
    • multimediaIdentifier

      public HotelOnMapAffiliate multimediaIdentifier(String multimediaIdentifier)
    • getMultimediaIdentifier

      @Nullable public String getMultimediaIdentifier()
      Featured image identifier for this property.
      Returns:
      multimediaIdentifier
    • setMultimediaIdentifier

      public void setMultimediaIdentifier(String multimediaIdentifier)
    • imageIdentifier

      public HotelOnMapAffiliate imageIdentifier(String imageIdentifier)
    • getImageIdentifier

      @Nullable public String getImageIdentifier()
      Featured Cloudinary image identifier for this property.
      Returns:
      imageIdentifier
    • setImageIdentifier

      public void setImageIdentifier(String imageIdentifier)
    • imageAngle

      public HotelOnMapAffiliate imageAngle(String imageAngle)
    • getImageAngle

      @Nullable public String getImageAngle()
      Meta data information about image angle that gives integrators a chance to crop this image properly.
      Returns:
      imageAngle
    • setImageAngle

      public void setImageAngle(String imageAngle)
    • videoIdentifier

      public HotelOnMapAffiliate videoIdentifier(String videoIdentifier)
    • getVideoIdentifier

      @Nullable public String getVideoIdentifier()
      Featured Cloudinary video identifier for this property.
      Returns:
      videoIdentifier
    • setVideoIdentifier

      public void setVideoIdentifier(String videoIdentifier)
    • currencyCode

      public HotelOnMapAffiliate currencyCode(String currencyCode)
    • getCurrencyCode

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

      public void setCurrencyCode(String currencyCode)
    • membershipRateDiscount

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

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

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

      public HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate address(AddressAffiliate address)
    • getAddress

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

      public void setAddress(AddressAffiliate address)
    • active

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