Class HotelInformation

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-11-08T09:36:20.822132243+07:00[Asia/Bangkok]") public class HotelInformation extends Object
Property information.
  • Field Details

  • Constructor Details

    • HotelInformation

      public HotelInformation()
  • Method Details

    • name

      public HotelInformation 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)
    • localName

      public HotelInformation 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 HotelInformation 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)
    • currencyCode

      public HotelInformation currencyCode(String currencyCode)
    • getCurrencyCode

      @Nonnull @NotNull public @NotNull String getCurrencyCode()
      Valid 3-character ISO currency code. Find our [supported currency codes here](#operation/showCurrencies).
      Returns:
      currencyCode
    • setCurrencyCode

      public void setCurrencyCode(String currencyCode)
    • numberOfRooms

      public HotelInformation 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)
    • locationCategory

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

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

      public void setWhenBuilt(String whenBuilt)
    • hotelChain

      public HotelInformation 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 HotelInformation 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 HotelInformation 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 HotelInformation channelManager(HotelInformation.ChannelManagerEnum channelManager)
    • getChannelManager

      @Nullable public HotelInformation.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(HotelInformation.ChannelManagerEnum channelManager)
    • otherChannelManager

      public HotelInformation 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 HotelInformation 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)
    • 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