Package travel.wink.sdk.extranet.model
Class HotelInformation
java.lang.Object
travel.wink.sdk.extranet.model.HotelInformation
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-20T22:26:49.575007+07:00[Asia/Bangkok]")
public class HotelInformation
extends Object
Property information.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumProperty's channel manager. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarchitecturalStyle(String architecturalStyle) channelManager(HotelInformation.ChannelManagerEnum channelManager) currencyCode(String currencyCode) booleanSupported OTA specification `ARC` code.Property's channel manager.@NotNull StringValid 3-character ISO currency code.Hotel brand name if property is part of that brand.Supported OTA specification `PCT` code.Hotel chain name if property is part of that chain.@NotNull StringLegal name of your hotel as it is registered.If the property has a valid license number to run a hotel in their country, add it here.Name of the hotel in its local language if you use it for domestic guests.Supported OTA specification `LOC` code.@NotNull StringgetName()Unique hotel trade name.@NotNull @Min(1L) IntegerNumber of rooms / keys for property minimum: 1If 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 hereSupported OTA specification `SEG` code.Year the property was constructed.inthashCode()hotelBrand(String hotelBrand) hotelCategory(String hotelCategory) hotelChain(String hotelChain) licenseNumber(String licenseNumber) locationCategory(String locationCategory) numberOfRooms(Integer numberOfRooms) otherChannelManager(String otherChannelManager) segmentCategory(String segmentCategory) voidsetArchitecturalStyle(String architecturalStyle) voidsetChannelManager(HotelInformation.ChannelManagerEnum channelManager) voidsetCurrencyCode(String currencyCode) voidsetHotelBrand(String hotelBrand) voidsetHotelCategory(String hotelCategory) voidsetHotelChain(String hotelChain) voidsetLegalName(String legalName) voidsetLicenseNumber(String licenseNumber) voidsetLocalName(String localName) voidsetLocationCategory(String locationCategory) voidvoidsetNumberOfRooms(Integer numberOfRooms) voidsetOtherChannelManager(String otherChannelManager) voidsetSegmentCategory(String segmentCategory) voidsetWhenBuilt(String whenBuilt) toString()
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_LOCAL_NAME
- See Also:
-
JSON_PROPERTY_LEGAL_NAME
- See Also:
-
JSON_PROPERTY_CURRENCY_CODE
- See Also:
-
JSON_PROPERTY_NUMBER_OF_ROOMS
- See Also:
-
JSON_PROPERTY_LOCATION_CATEGORY
- See Also:
-
JSON_PROPERTY_SEGMENT_CATEGORY
- See Also:
-
JSON_PROPERTY_HOTEL_CATEGORY
- See Also:
-
JSON_PROPERTY_ARCHITECTURAL_STYLE
- See Also:
-
JSON_PROPERTY_WHEN_BUILT
- See Also:
-
JSON_PROPERTY_HOTEL_CHAIN
- See Also:
-
JSON_PROPERTY_HOTEL_BRAND
- See Also:
-
JSON_PROPERTY_CHANNEL_MANAGER
- See Also:
-
JSON_PROPERTY_OTHER_CHANNEL_MANAGER
- See Also:
-
JSON_PROPERTY_LICENSE_NUMBER
- See Also:
-
-
Constructor Details
-
HotelInformation
public HotelInformation()
-
-
Method Details
-
name
-
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
-
localName
-
getLocalName
Name of the hotel in its local language if you use it for domestic guests.- Returns:
- localName
-
setLocalName
-
legalName
-
getLegalName
Legal name of your hotel as it is registered.- Returns:
- legalName
-
setLegalName
-
currencyCode
-
getCurrencyCode
Valid 3-character ISO currency code. Find our [supported currency codes here](#operation/showCurrencies).- Returns:
- currencyCode
-
setCurrencyCode
-
numberOfRooms
-
getNumberOfRooms
Number of rooms / keys for property minimum: 1- Returns:
- numberOfRooms
-
setNumberOfRooms
-
locationCategory
-
getLocationCategory
Supported OTA specification `LOC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)- Returns:
- locationCategory
-
setLocationCategory
-
segmentCategory
-
getSegmentCategory
Supported OTA specification `SEG` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)- Returns:
- segmentCategory
-
setSegmentCategory
-
hotelCategory
-
getHotelCategory
Supported OTA specification `PCT` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)- Returns:
- hotelCategory
-
setHotelCategory
-
architecturalStyle
-
getArchitecturalStyle
Supported OTA specification `ARC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)- Returns:
- architecturalStyle
-
setArchitecturalStyle
-
whenBuilt
-
getWhenBuilt
Year the property was constructed.- Returns:
- whenBuilt
-
setWhenBuilt
-
hotelChain
-
getHotelChain
Hotel chain name if property is part of that chain.- Returns:
- hotelChain
-
setHotelChain
-
hotelBrand
-
getHotelBrand
Hotel brand name if property is part of that brand.- Returns:
- hotelBrand
-
setHotelBrand
-
channelManager
-
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
-
otherChannelManager
-
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
-
licenseNumber
-
getLicenseNumber
If the property has a valid license number to run a hotel in their country, add it here.- Returns:
- licenseNumber
-
setLicenseNumber
-
equals
-
hashCode
public int hashCode() -
toString
-