Class Hotel

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-27T09:29:05.118372+07:00[Asia/Bangkok]") public class Hotel extends Object
Hotel data
  • Field Details

  • Constructor Details

    • Hotel

      public Hotel()
  • Method Details

    • hotelIdentifier

      public Hotel hotelIdentifier(String hotelIdentifier)
    • getHotelIdentifier

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

      public void setHotelIdentifier(String hotelIdentifier)
    • name

      public Hotel 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 Hotel 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 Hotel hotelCodeContext(String hotelCodeContext)
    • getHotelCodeContext

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

      public void setHotelCodeContext(String hotelCodeContext)
    • localName

      public Hotel localName(String localName)
    • getLocalName

      @Nullable public 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 Hotel 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 Hotel 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 Hotel currencyCode(String currencyCode)
    • getCurrencyCode

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

      public void setCurrencyCode(String currencyCode)
    • status

      public Hotel status(Hotel.StatusEnum status)
    • getStatus

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

      public void setStatus(Hotel.StatusEnum status)
    • statusLastUpdate

      public Hotel statusLastUpdate(OffsetDateTime statusLastUpdate)
    • getStatusLastUpdate

      @Nonnull @NotNull @Valid public @NotNull @Valid OffsetDateTime getStatusLastUpdate()
      Last time the platform status changed.
      Returns:
      statusLastUpdate
    • setStatusLastUpdate

      public void setStatusLastUpdate(OffsetDateTime statusLastUpdate)
    • externalStatus

      public Hotel 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)
    • externalStatusLastUpdate

      public Hotel externalStatusLastUpdate(OffsetDateTime externalStatusLastUpdate)
    • getExternalStatusLastUpdate

      @Nonnull @NotNull @Valid public @NotNull @Valid OffsetDateTime getExternalStatusLastUpdate()
      Last time the property status changed.
      Returns:
      externalStatusLastUpdate
    • setExternalStatusLastUpdate

      public void setExternalStatusLastUpdate(OffsetDateTime externalStatusLastUpdate)
    • multimediaIdentifier

      public Hotel 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 Hotel 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 Hotel imageAngle(String imageAngle)
    • getImageAngle

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

      public void setImageAngle(String imageAngle)
    • address1

      public Hotel address1(String address1)
    • getAddress1

      @Nonnull @NotNull public @NotNull String getAddress1()
      Property physical location address line 1
      Returns:
      address1
    • setAddress1

      public void setAddress1(String address1)
    • address2

      public Hotel address2(String address2)
    • getAddress2

      @Nullable public String getAddress2()
      Second line of property address.
      Returns:
      address2
    • setAddress2

      public void setAddress2(String address2)
    • postalCode

      public Hotel postalCode(String postalCode)
    • getPostalCode

      @Nonnull @NotNull public @NotNull String getPostalCode()
      Postal / zip code
      Returns:
      postalCode
    • setPostalCode

      public void setPostalCode(String postalCode)
    • state

      public Hotel state(String state)
    • getState

      @Nullable public String getState()
      Not all countries have states. Add the state if the property is in a country that contain states.
      Returns:
      state
    • setState

      public void setState(String state)
    • vatId

      public Hotel vatId(String vatId)
    • getVatId

      @Nullable public String getVatId()
      If property country requires a VAT identification number to operate, enter it here.
      Returns:
      vatId
    • setVatId

      public void setVatId(String vatId)
    • contractSignerFirstName

      public Hotel contractSignerFirstName(String contractSignerFirstName)
    • getContractSignerFirstName

      @Nonnull @NotNull public @NotNull String getContractSignerFirstName()
      First name of legal signer for this property. This is the person who agrees to the terms and conditions.
      Returns:
      contractSignerFirstName
    • setContractSignerFirstName

      public void setContractSignerFirstName(String contractSignerFirstName)
    • contractSignerLastName

      public Hotel contractSignerLastName(String contractSignerLastName)
    • getContractSignerLastName

      @Nonnull @NotNull public @NotNull String getContractSignerLastName()
      Last name of legal signer for this property. This is the person who agrees to the terms and conditions.
      Returns:
      contractSignerLastName
    • setContractSignerLastName

      public void setContractSignerLastName(String contractSignerLastName)
    • contractSignerPhoneNumber

      public Hotel contractSignerPhoneNumber(String contractSignerPhoneNumber)
    • getContractSignerPhoneNumber

      @Nonnull @NotNull public @NotNull String getContractSignerPhoneNumber()
      Phone number of legal signer for this property. This is the person who agrees to the terms and conditions.
      Returns:
      contractSignerPhoneNumber
    • setContractSignerPhoneNumber

      public void setContractSignerPhoneNumber(String contractSignerPhoneNumber)
    • contractSignerEmail

      public Hotel contractSignerEmail(String contractSignerEmail)
    • getContractSignerEmail

      @Nonnull @NotNull public @NotNull String getContractSignerEmail()
      Email of legal signer for this property. This is the person who agrees to the terms and conditions.
      Returns:
      contractSignerEmail
    • setContractSignerEmail

      public void setContractSignerEmail(String contractSignerEmail)
    • locationCategory

      public Hotel locationCategory(String locationCategory)
    • getLocationCategory

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

      public void setLocationCategory(String locationCategory)
    • segmentCategory

      public Hotel segmentCategory(String segmentCategory)
    • getSegmentCategory

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

      public void setSegmentCategory(String segmentCategory)
    • hotelCategory

      public Hotel hotelCategory(String hotelCategory)
    • getHotelCategory

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

      public void setHotelCategory(String hotelCategory)
    • architecturalStyle

      public Hotel architecturalStyle(String architecturalStyle)
    • getArchitecturalStyle

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

      public void setArchitecturalStyle(String architecturalStyle)
    • whenBuilt

      public Hotel whenBuilt(String whenBuilt)
    • getWhenBuilt

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

      public void setWhenBuilt(String whenBuilt)
    • hotelChain

      public Hotel 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 Hotel 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)
    • channelManager

      public Hotel channelManager(Hotel.ChannelManagerEnum channelManager)
    • getChannelManager

      @Nullable public Hotel.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 platform.
      Returns:
      channelManager
    • setChannelManager

      public void setChannelManager(Hotel.ChannelManagerEnum channelManager)
    • otherChannelManager

      public Hotel 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 Hotel 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 Hotel 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 Hotel 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 Hotel 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 Hotel messagesOfGeneralManager(List<SimpleDescription> messagesOfGeneralManager)
    • addMessagesOfGeneralManagerItem

      public Hotel addMessagesOfGeneralManagerItem(SimpleDescription messagesOfGeneralManagerItem)
    • getMessagesOfGeneralManager

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

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

      public Hotel shortDescriptions(List<SimpleDescription> shortDescriptions)
    • addShortDescriptionsItem

      public Hotel addShortDescriptionsItem(SimpleDescription shortDescriptionsItem)
    • getShortDescriptions

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

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

      public Hotel longDescriptions(List<SimpleDescription> longDescriptions)
    • addLongDescriptionsItem

      public Hotel addLongDescriptionsItem(SimpleDescription longDescriptionsItem)
    • getLongDescriptions

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

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

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

      public Hotel addHotelAmenityCodesItem(String hotelAmenityCodesItem)
    • getHotelAmenityCodes

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

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

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

      public Hotel addPropertyAccessibilityCodesItem(String propertyAccessibilityCodesItem)
    • getPropertyAccessibilityCodes

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

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

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

      public Hotel addPropertySecurityCodesItem(String propertySecurityCodesItem)
    • getPropertySecurityCodes

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

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

      public Hotel locationPoint(GeoJsonPoint locationPoint)
    • getLocationPoint

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

      public void setLocationPoint(GeoJsonPoint locationPoint)
    • policy

      public Hotel policy(PropertyPolicy policy)
    • getPolicy

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

      public void setPolicy(PropertyPolicy policy)
    • socials

      public Hotel socials(List<Social> socials)
    • addSocialsItem

      public Hotel addSocialsItem(Social socialsItem)
    • getSocials

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

      public void setSocials(List<Social> socials)
    • reservationsContact

      public Hotel reservationsContact(ContactDto reservationsContact)
    • getReservationsContact

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

      public void setReservationsContact(ContactDto reservationsContact)
    • accountingContact

      public Hotel accountingContact(ContactDto accountingContact)
    • getAccountingContact

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

      public void setAccountingContact(ContactDto accountingContact)
    • accountingAddress

      public Hotel accountingAddress(AddressDto accountingAddress)
    • getAccountingAddress

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

      public void setAccountingAddress(AddressDto accountingAddress)
    • lifestyleTypes

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

      public Hotel addLifestyleTypesItem(Hotel.LifestyleTypesEnum lifestyleTypesItem)
    • getLifestyleTypes

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

      public void setLifestyleTypes(List<Hotel.LifestyleTypesEnum> lifestyleTypes)
    • agreementAccepted

      public Hotel 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 Hotel marketingOptinAllowed(Boolean marketingOptinAllowed)
    • getMarketingOptinAllowed

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

      public void setMarketingOptinAllowed(Boolean marketingOptinAllowed)
    • logos

      public Hotel logos(List<Multimedia> logos)
    • addLogosItem

      public Hotel addLogosItem(Multimedia logosItem)
    • getLogos

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

      public void setLogos(List<Multimedia> logos)
    • city

      public Hotel city(GeoName city)
    • getCity

      @Nonnull @NotNull @Valid public @NotNull @Valid GeoName getCity()
      Get city
      Returns:
      city
    • setCity

      public void setCity(GeoName city)
    • numberOfRooms

      public Hotel 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)
    • active

      public Hotel active(Boolean active)
    • getActive

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

      public void setActive(Boolean active)
    • propertyActive

      public Hotel propertyActive(Boolean propertyActive)
    • getPropertyActive

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

      public void setPropertyActive(Boolean propertyActive)
    • platformActive

      public Hotel platformActive(Boolean platformActive)
    • getPlatformActive

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

      public void setPlatformActive(Boolean platformActive)
    • contractSignerFullName

      public Hotel contractSignerFullName(String contractSignerFullName)
    • getContractSignerFullName

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

      public void setContractSignerFullName(String contractSignerFullName)
    • socialNetworks

      public Hotel 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 Hotel 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)
    • fullAddress

      public Hotel fullAddress(String fullAddress)
    • getFullAddress

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

      public void setFullAddress(String fullAddress)
    • generalManagerWelcomeMessage

      public Hotel generalManagerWelcomeMessage(Boolean generalManagerWelcomeMessage)
    • getGeneralManagerWelcomeMessage

      @Nullable public Boolean getGeneralManagerWelcomeMessage()
      Whether property has any GM-created welcome messages.
      Returns:
      generalManagerWelcomeMessage
    • setGeneralManagerWelcomeMessage

      public void setGeneralManagerWelcomeMessage(Boolean generalManagerWelcomeMessage)
    • greenIndexScores

      public Hotel greenIndexScores(AggregateGreendexAnswers greenIndexScores)
    • getGreenIndexScores

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

      public void setGreenIndexScores(AggregateGreendexAnswers greenIndexScores)
    • 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