Class HotelSupplier

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-30T09:50:32.356842367+07:00[Asia/Bangkok]") public class HotelSupplier extends Object
Hotel data
  • Field Details

  • Constructor Details

    • HotelSupplier

      public HotelSupplier()
  • Method Details

    • hotelIdentifier

      public HotelSupplier hotelIdentifier(UUID hotelIdentifier)
    • getHotelIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getHotelIdentifier()
      Unique hotel identifier
      Returns:
      hotelIdentifier
    • setHotelIdentifier

      public void setHotelIdentifier(UUID hotelIdentifier)
    • name

      public HotelSupplier name(String name)
    • getName

      @Nonnull @NotNull public @NotNull String getName()
      Unique hotel trade name. The hotel name must be unique. If there are multiple hotels with the same name, we recommend appending destination to the name. [Verify uniqueness here](#operation/isHotelNameUnique).
      Returns:
      name
    • setName

      public void setName(String name)
    • hotelCode

      public HotelSupplier hotelCode(String hotelCode)
    • getHotelCode

      @Nonnull @NotNull public @NotNull String getHotelCode()
      A shorter unique code to refer to the hotel. Country Code + 5 digit number
      Returns:
      hotelCode
    • setHotelCode

      public void setHotelCode(String hotelCode)
    • hotelCodeContext

      public HotelSupplier hotelCodeContext(String hotelCodeContext)
    • getHotelCodeContext

      @Nonnull @NotNull public @NotNull String getHotelCodeContext()
      Origin of hotel data
      Returns:
      hotelCodeContext
    • setHotelCodeContext

      public void setHotelCodeContext(String hotelCodeContext)
    • localName

      public HotelSupplier localName(String localName)
    • getLocalName

      @Nonnull @NotNull public @NotNull String getLocalName()
      Name of the hotel in its local language if you use it for domestic guests.
      Returns:
      localName
    • setLocalName

      public void setLocalName(String localName)
    • legalName

      public HotelSupplier legalName(String legalName)
    • getLegalName

      @Nonnull @NotNull public @NotNull String getLegalName()
      Legal name of your hotel as it is registered.
      Returns:
      legalName
    • setLegalName

      public void setLegalName(String legalName)
    • urlName

      public HotelSupplier urlName(String urlName)
    • getUrlName

      @Nonnull @NotNull public @NotNull String getUrlName()
      Unique url-friendly slug to identify property
      Returns:
      urlName
    • setUrlName

      public void setUrlName(String urlName)
    • currencyCode

      public HotelSupplier currencyCode(String currencyCode)
    • getCurrencyCode

      @Nonnull @NotNull public @NotNull String getCurrencyCode()
      Currency code
      Returns:
      currencyCode
    • setCurrencyCode

      public void setCurrencyCode(String currencyCode)
    • status

      public HotelSupplier status(HotelSupplier.StatusEnum status)
    • getStatus

      @Nonnull @NotNull public @NotNull HotelSupplier.StatusEnum getStatus()
      wink.travel sets this status as the hotel moves through the payment workflow and manually for approval.
      Returns:
      status
    • setStatus

      public void setStatus(HotelSupplier.StatusEnum status)
    • externalStatus

      public HotelSupplier externalStatus(String externalStatus)
    • getExternalStatus

      @Nonnull @NotNull public @NotNull String getExternalStatus()
      Property goes active by changing externalStatus from 6 (Inactive) to 1 (Active) according to OTA property status.
      Returns:
      externalStatus
    • setExternalStatus

      public void setExternalStatus(String externalStatus)
    • multimediaIdentifier

      public HotelSupplier multimediaIdentifier(String multimediaIdentifier)
    • getMultimediaIdentifier

      @Nullable public String getMultimediaIdentifier()
      Featured property image document identifier. This is the image that is ordered first in the list of property images.
      Returns:
      multimediaIdentifier
    • setMultimediaIdentifier

      public void setMultimediaIdentifier(String multimediaIdentifier)
    • imageIdentifier

      public HotelSupplier imageIdentifier(String imageIdentifier)
    • getImageIdentifier

      @Nullable public String getImageIdentifier()
      Featured Cloudinary identifier that can be used directly to retrieve media from Cloudinary.
      Returns:
      imageIdentifier
    • setImageIdentifier

      public void setImageIdentifier(String imageIdentifier)
    • imageAngle

      public HotelSupplier imageAngle(String imageAngle)
    • getImageAngle

      @Nullable public String getImageAngle()
      Featured image angle (if available).
      Returns:
      imageAngle
    • setImageAngle

      public void setImageAngle(String imageAngle)
    • remoteIp

      public HotelSupplier remoteIp(String remoteIp)
    • getRemoteIp

      @Nullable public String getRemoteIp()
      Get remoteIp
      Returns:
      remoteIp
    • setRemoteIp

      public void setRemoteIp(String remoteIp)
    • locationCategory

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

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

      public void setWhenBuilt(String whenBuilt)
    • hotelChain

      public HotelSupplier hotelChain(String hotelChain)
    • getHotelChain

      @Nullable public String getHotelChain()
      Hotel chain name if property is part of that chain.
      Returns:
      hotelChain
    • setHotelChain

      public void setHotelChain(String hotelChain)
    • hotelBrand

      public HotelSupplier hotelBrand(String hotelBrand)
    • getHotelBrand

      @Nullable public String getHotelBrand()
      Hotel brand name if property is part of that brand.
      Returns:
      hotelBrand
    • setHotelBrand

      public void setHotelBrand(String hotelBrand)
    • channelManagerIdentifier

      public HotelSupplier channelManagerIdentifier(UUID channelManagerIdentifier)
    • getChannelManagerIdentifier

      @Nullable @Valid public @Valid UUID getChannelManagerIdentifier()
      Property's channel manager. Rate ownership is decided based on the channel manager selected.
      Returns:
      channelManagerIdentifier
    • setChannelManagerIdentifier

      public void setChannelManagerIdentifier(UUID channelManagerIdentifier)
    • channelManager

      public HotelSupplier channelManager(HotelSupplier.ChannelManagerEnum channelManager)
    • getChannelManager

      @Nullable public HotelSupplier.ChannelManagerEnum getChannelManager()
      Property's channel manager. Rate ownership is decided based on the channel manager selected. Defaults to `TRAVELIKO` which is the same as no channel manager and rate ownership goes to the payment.
      Returns:
      channelManager
    • setChannelManager

      public void setChannelManager(HotelSupplier.ChannelManagerEnum channelManager)
    • otherChannelManager

      public HotelSupplier otherChannelManager(String otherChannelManager)
    • getOtherChannelManager

      @Nullable public String getOtherChannelManager()
      If the property is currently using a channel manager but it isn't yet part of our list, chose 'OTHER_CHANNEL_MANAGER' as channelManager and fill in the name of the channel manager here
      Returns:
      otherChannelManager
    • setOtherChannelManager

      public void setOtherChannelManager(String otherChannelManager)
    • licenseNumber

      public HotelSupplier licenseNumber(String licenseNumber)
    • getLicenseNumber

      @Nullable public String getLicenseNumber()
      If the property has a valid license number to run a hotel in their country, add it here.
      Returns:
      licenseNumber
    • setLicenseNumber

      public void setLicenseNumber(String licenseNumber)
    • stars

      public HotelSupplier stars(Integer stars)
    • getStars

      @Nullable @Min(0L) @Max(6L) public @Min(0L) @Max(6L) Integer getStars()
      Hotel star rating. minimum: 0 maximum: 6
      Returns:
      stars
    • setStars

      public void setStars(Integer stars)
    • fullNameOfGeneralManager

      public HotelSupplier fullNameOfGeneralManager(String fullNameOfGeneralManager)
    • getFullNameOfGeneralManager

      @Nullable public String getFullNameOfGeneralManager()
      Name of GM currently managing the property.
      Returns:
      fullNameOfGeneralManager
    • setFullNameOfGeneralManager

      public void setFullNameOfGeneralManager(String fullNameOfGeneralManager)
    • profilePictureIdentifierGeneralManager

      public HotelSupplier profilePictureIdentifierGeneralManager(String profilePictureIdentifierGeneralManager)
    • getProfilePictureIdentifierGeneralManager

      @Nullable public String getProfilePictureIdentifierGeneralManager()
      Cloudinary image identifier of GM currently managing the property.
      Returns:
      profilePictureIdentifierGeneralManager
    • setProfilePictureIdentifierGeneralManager

      public void setProfilePictureIdentifierGeneralManager(String profilePictureIdentifierGeneralManager)
    • messagesOfGeneralManager

      public HotelSupplier messagesOfGeneralManager(List<LocalizedDescriptionSupplier> messagesOfGeneralManager)
    • addMessagesOfGeneralManagerItem

      public HotelSupplier addMessagesOfGeneralManagerItem(LocalizedDescriptionSupplier messagesOfGeneralManagerItem)
    • getMessagesOfGeneralManager

      @Nullable @Valid public @Valid List<LocalizedDescriptionSupplier> getMessagesOfGeneralManager()
      Personal welcome message from GM.
      Returns:
      messagesOfGeneralManager
    • setMessagesOfGeneralManager

      public void setMessagesOfGeneralManager(List<LocalizedDescriptionSupplier> messagesOfGeneralManager)
    • shortDescriptions

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

      public HotelSupplier addShortDescriptionsItem(LocalizedDescriptionSupplier shortDescriptionsItem)
    • getShortDescriptions

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

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

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

      public HotelSupplier addLongDescriptionsItem(LocalizedDescriptionSupplier longDescriptionsItem)
    • getLongDescriptions

      @Nullable @Valid public @Valid List<LocalizedDescriptionSupplier> getLongDescriptions()
      Localized long descriptions of property.
      Returns:
      longDescriptions
    • setLongDescriptions

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

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

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

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

      public HotelSupplier 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)
    • locationPoint

      public HotelSupplier locationPoint(GeoJsonPointSupplier locationPoint)
    • getLocationPoint

      @Nullable @Valid public @Valid GeoJsonPointSupplier getLocationPoint()
      Get locationPoint
      Returns:
      locationPoint
    • setLocationPoint

      public void setLocationPoint(GeoJsonPointSupplier locationPoint)
    • policy

      public HotelSupplier policy(PropertyPolicySupplier policy)
    • getPolicy

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

      public void setPolicy(PropertyPolicySupplier policy)
    • socials

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

      public HotelSupplier addSocialsItem(SocialSupplier socialsItem)
    • getSocials

      @Nullable @Valid public @Valid List<SocialSupplier> getSocials()
      List of all social network account property has.
      Returns:
      socials
    • setSocials

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

      public HotelSupplier ownerContact(ContactSupplier ownerContact)
    • getOwnerContact

      @Nullable @Valid public @Valid ContactSupplier getOwnerContact()
      Get ownerContact
      Returns:
      ownerContact
    • setOwnerContact

      public void setOwnerContact(ContactSupplier ownerContact)
    • reservationsContact

      public HotelSupplier reservationsContact(ContactSupplier reservationsContact)
    • getReservationsContact

      @Nullable @Valid public @Valid ContactSupplier getReservationsContact()
      Get reservationsContact
      Returns:
      reservationsContact
    • setReservationsContact

      public void setReservationsContact(ContactSupplier reservationsContact)
    • accountingContact

      public HotelSupplier accountingContact(ContactSupplier accountingContact)
    • getAccountingContact

      @Nullable @Valid public @Valid ContactSupplier getAccountingContact()
      Get accountingContact
      Returns:
      accountingContact
    • setAccountingContact

      public void setAccountingContact(ContactSupplier accountingContact)
    • accountingAddress

      public HotelSupplier accountingAddress(AddressSupplier accountingAddress)
    • getAccountingAddress

      @Nullable @Valid public @Valid AddressSupplier getAccountingAddress()
      Get accountingAddress
      Returns:
      accountingAddress
    • setAccountingAddress

      public void setAccountingAddress(AddressSupplier accountingAddress)
    • lifestyleTypes

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

      public HotelSupplier addLifestyleTypesItem(HotelSupplier.LifestyleTypesEnum lifestyleTypesItem)
    • getLifestyleTypes

      @Nullable public List<HotelSupplier.LifestyleTypesEnum> getLifestyleTypes()
      List of all lifestyles property has associated with. See [Lifestyle geoname data](#operation/showLifestyles)
      Returns:
      lifestyleTypes
    • setLifestyleTypes

      public void setLifestyleTypes(List<HotelSupplier.LifestyleTypesEnum> lifestyleTypes)
    • greenIndexScores

      public HotelSupplier greenIndexScores(AggregateGreendexAnswersSupplier greenIndexScores)
    • getGreenIndexScores

      @Nullable @Valid public @Valid AggregateGreendexAnswersSupplier getGreenIndexScores()
      Get greenIndexScores
      Returns:
      greenIndexScores
    • setGreenIndexScores

      public void setGreenIndexScores(AggregateGreendexAnswersSupplier greenIndexScores)
    • agreementAccepted

      public HotelSupplier agreementAccepted(Boolean agreementAccepted)
    • getAgreementAccepted

      @Nonnull @NotNull public @NotNull Boolean getAgreementAccepted()
      Property has accepted our terms and conditions.
      Returns:
      agreementAccepted
    • setAgreementAccepted

      public void setAgreementAccepted(Boolean agreementAccepted)
    • marketingOptinAllowed

      public HotelSupplier marketingOptinAllowed(Boolean marketingOptinAllowed)
    • getMarketingOptinAllowed

      @Nullable public Boolean getMarketingOptinAllowed()
      Property agreed to let the payment use its logo and images for marketing purposes (with proper credits).
      Returns:
      marketingOptinAllowed
    • setMarketingOptinAllowed

      public void setMarketingOptinAllowed(Boolean marketingOptinAllowed)
    • logos

    • addLogosItem

      public HotelSupplier addLogosItem(SimpleMultimediaSupplier logosItem)
    • getLogos

      @Nullable @Valid public @Valid List<SimpleMultimediaSupplier> getLogos()
      List of logo images of property
      Returns:
      logos
    • setLogos

      public void setLogos(List<SimpleMultimediaSupplier> logos)
    • numberOfRooms

      public HotelSupplier numberOfRooms(Integer numberOfRooms)
    • getNumberOfRooms

      @Nonnull @NotNull @Min(1L) public @NotNull @Min(1L) Integer getNumberOfRooms()
      Number of rooms / keys for property minimum: 1
      Returns:
      numberOfRooms
    • setNumberOfRooms

      public void setNumberOfRooms(Integer numberOfRooms)
    • address

      public HotelSupplier address(AddressSupplier address)
    • getAddress

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

      public void setAddress(AddressSupplier address)
    • reservationDeskStartTime

      public HotelSupplier reservationDeskStartTime(String reservationDeskStartTime)
    • getReservationDeskStartTime

      @Nullable public String getReservationDeskStartTime()
      If the reservation desk does not operate 24 hours, enter a start time.
      Returns:
      reservationDeskStartTime
    • setReservationDeskStartTime

      public void setReservationDeskStartTime(String reservationDeskStartTime)
    • reservationDeskEndTime

      public HotelSupplier reservationDeskEndTime(String reservationDeskEndTime)
    • getReservationDeskEndTime

      @Nullable public String getReservationDeskEndTime()
      If the reservation desk does not operate 24 hours, enter an end time.
      Returns:
      reservationDeskEndTime
    • setReservationDeskEndTime

      public void setReservationDeskEndTime(String reservationDeskEndTime)
    • active

      public HotelSupplier active(Boolean active)
    • getActive

      @Nullable public Boolean getActive()
      Property is both approved and activated.
      Returns:
      active
    • setActive

      public void setActive(Boolean active)
    • socialNetworks

      public HotelSupplier socialNetworks(Boolean socialNetworks)
    • getSocialNetworks

      @Nullable public Boolean getSocialNetworks()
      Whether property has any social networks associated with her profile.
      Returns:
      socialNetworks
    • setSocialNetworks

      public void setSocialNetworks(Boolean socialNetworks)
    • lifestyles

      public HotelSupplier lifestyles(Boolean lifestyles)
    • getLifestyles

      @Nullable public Boolean getLifestyles()
      Whether property has any lifestyles associated with her profile.
      Returns:
      lifestyles
    • setLifestyles

      public void setLifestyles(Boolean lifestyles)
    • contractSignerFullName

      public HotelSupplier contractSignerFullName(String contractSignerFullName)
    • getContractSignerFullName

      @Nullable public String getContractSignerFullName()
      Concatenated name of contract signer into one string.
      Returns:
      contractSignerFullName
    • setContractSignerFullName

      public void setContractSignerFullName(String contractSignerFullName)
    • fullAddress

      public HotelSupplier fullAddress(String fullAddress)
    • getFullAddress

      @Nullable public String getFullAddress()
      Concatenated address into a single string
      Returns:
      fullAddress
    • setFullAddress

      public void setFullAddress(String fullAddress)
    • propertyActive

      public HotelSupplier propertyActive(Boolean propertyActive)
    • getPropertyActive

      @Nullable public Boolean getPropertyActive()
      Property activated itself and went live.
      Returns:
      propertyActive
    • setPropertyActive

      public void setPropertyActive(Boolean propertyActive)
    • platformActive

      public HotelSupplier platformActive(Boolean platformActive)
    • getPlatformActive

      @Nullable public Boolean getPlatformActive()
      Platform approved property.
      Returns:
      platformActive
    • setPlatformActive

      public void setPlatformActive(Boolean platformActive)
    • 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