Package travel.wink.sdk.extranet.model
Class Hotel
java.lang.Object
travel.wink.sdk.extranet.model.Hotel
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-20T22:26:49.575007+07:00[Asia/Bangkok]")
public class Hotel
extends Object
Hotel data
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumProperty's channel manager.static enumList of all lifestyles property has associated with.static enumwink.travel sets this status as the hotel moves through the payment workflow and manually for approval. -
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 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 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 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 TypeMethodDescriptionaccountingAddress(Address accountingAddress) accountingContact(Contact accountingContact) addHotelAmenityCodesItem(String hotelAmenityCodesItem) addLifestyleTypesItem(Hotel.LifestyleTypesEnum lifestyleTypesItem) addLogosItem(Multimedia logosItem) addLongDescriptionsItem(SimpleDescription longDescriptionsItem) addMessagesOfGeneralManagerItem(SimpleDescription messagesOfGeneralManagerItem) addPropertyAccessibilityCodesItem(String propertyAccessibilityCodesItem) addPropertySecurityCodesItem(String propertySecurityCodesItem) addShortDescriptionsItem(SimpleDescription shortDescriptionsItem) addSocialsItem(Social socialsItem) agreementAccepted(Boolean agreementAccepted) architecturalStyle(String architecturalStyle) channelManager(Hotel.ChannelManagerEnum channelManager) contractSignerFullName(String contractSignerFullName) currencyCode(String currencyCode) booleanexternalStatus(String externalStatus) fullAddress(String fullAddress) fullNameOfGeneralManager(String fullNameOfGeneralManager) generalManagerWelcomeMessage(Boolean generalManagerWelcomeMessage) @Valid AddressGet accountingAddress@Valid ContactGet accountingContactProperty is both approved and activated.@Valid AddressGet address@NotNull BooleanProperty has accepted our terms and conditions.Supported OTA specification `ARC` code.Property's channel manager.Concatenated name of contract signer into one string.@NotNull StringCurrency code@NotNull StringProperty goes active by changing externalStatus from 6 (Inactive) to 1 (Active) according to OTA property status.Concatenated address into a single stringName of GM currently managing the property.Whether property has any GM-created welcome messages.@Valid AggregateGreendexAnswersGet greenIndexScoresSupported OTA specification `HAC` 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 StringA shorter unique code to refer to the hotel.@NotNull StringOrigin of hotel data@NotNull StringUnique hotel identifierFeatured image angle (if available).Featured Cloudinary identifier that can be used directly to retrieve media from Cloudinary.@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.Whether property has any lifestyles associated with her profile.List of all lifestyles property has associated with.Name of the hotel in its local language if you use it for domestic guests.Supported OTA specification `LOC` code.@Valid GeoJsonPointGet locationPoint@Valid List<Multimedia>getLogos()List of logo images of property@Valid List<SimpleDescription>Localized long descriptions of property.Property agreed to let the payment use its logo and images for marketing purposes (with proper credits).@Valid List<SimpleDescription>Personal welcome message from GM.Featured property image document identifier.@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 here@Valid ContactGet ownerContactPlatform approved property.@Valid PropertyPolicyGet policyCloudinary image identifier of GM currently managing the property.Supported OTA specification `PHY` code.Property activated itself and went live.Supported OTA specification `SEC` code.@Valid ContactGet reservationsContactSupported OTA specification `SEG` code.@Valid List<SimpleDescription>Localized short descriptions of property.Whether property has any social networks associated with her profile.List of all social network account property has.@Min(0L) @Max(6L) IntegergetStars()Hotel star rating.@NotNull Hotel.StatusEnumwink.travel sets this status as the hotel moves through the payment workflow and manually for approval.@NotNull StringUnique url-friendly slug to identify propertyYear the property was constructed.greenIndexScores(AggregateGreendexAnswers greenIndexScores) inthashCode()hotelAmenityCodes(List<String> hotelAmenityCodes) hotelBrand(String hotelBrand) hotelCategory(String hotelCategory) hotelChain(String hotelChain) hotelCodeContext(String hotelCodeContext) hotelIdentifier(String hotelIdentifier) imageAngle(String imageAngle) imageIdentifier(String imageIdentifier) licenseNumber(String licenseNumber) lifestyles(Boolean lifestyles) lifestyleTypes(List<Hotel.LifestyleTypesEnum> lifestyleTypes) locationCategory(String locationCategory) locationPoint(GeoJsonPoint locationPoint) logos(List<Multimedia> logos) longDescriptions(List<SimpleDescription> longDescriptions) marketingOptinAllowed(Boolean marketingOptinAllowed) messagesOfGeneralManager(List<SimpleDescription> messagesOfGeneralManager) multimediaIdentifier(String multimediaIdentifier) numberOfRooms(Integer numberOfRooms) otherChannelManager(String otherChannelManager) ownerContact(Contact ownerContact) platformActive(Boolean platformActive) policy(PropertyPolicy policy) profilePictureIdentifierGeneralManager(String profilePictureIdentifierGeneralManager) propertyAccessibilityCodes(List<String> propertyAccessibilityCodes) propertyActive(Boolean propertyActive) propertySecurityCodes(List<String> propertySecurityCodes) reservationsContact(Contact reservationsContact) segmentCategory(String segmentCategory) voidsetAccountingAddress(Address accountingAddress) voidsetAccountingContact(Contact accountingContact) voidvoidsetAddress(Address address) voidsetAgreementAccepted(Boolean agreementAccepted) voidsetArchitecturalStyle(String architecturalStyle) voidsetChannelManager(Hotel.ChannelManagerEnum channelManager) voidsetContractSignerFullName(String contractSignerFullName) voidsetCurrencyCode(String currencyCode) voidsetExternalStatus(String externalStatus) voidsetFullAddress(String fullAddress) voidsetFullNameOfGeneralManager(String fullNameOfGeneralManager) voidsetGeneralManagerWelcomeMessage(Boolean generalManagerWelcomeMessage) voidsetGreenIndexScores(AggregateGreendexAnswers greenIndexScores) voidsetHotelAmenityCodes(List<String> hotelAmenityCodes) voidsetHotelBrand(String hotelBrand) voidsetHotelCategory(String hotelCategory) voidsetHotelChain(String hotelChain) voidsetHotelCode(String hotelCode) voidsetHotelCodeContext(String hotelCodeContext) voidsetHotelIdentifier(String hotelIdentifier) voidsetImageAngle(String imageAngle) voidsetImageIdentifier(String imageIdentifier) voidsetLegalName(String legalName) voidsetLicenseNumber(String licenseNumber) voidsetLifestyles(Boolean lifestyles) voidsetLifestyleTypes(List<Hotel.LifestyleTypesEnum> lifestyleTypes) voidsetLocalName(String localName) voidsetLocationCategory(String locationCategory) voidsetLocationPoint(GeoJsonPoint locationPoint) voidsetLogos(List<Multimedia> logos) voidsetLongDescriptions(List<SimpleDescription> longDescriptions) voidsetMarketingOptinAllowed(Boolean marketingOptinAllowed) voidsetMessagesOfGeneralManager(List<SimpleDescription> messagesOfGeneralManager) voidsetMultimediaIdentifier(String multimediaIdentifier) voidvoidsetNumberOfRooms(Integer numberOfRooms) voidsetOtherChannelManager(String otherChannelManager) voidsetOwnerContact(Contact ownerContact) voidsetPlatformActive(Boolean platformActive) voidsetPolicy(PropertyPolicy policy) voidsetProfilePictureIdentifierGeneralManager(String profilePictureIdentifierGeneralManager) voidsetPropertyAccessibilityCodes(List<String> propertyAccessibilityCodes) voidsetPropertyActive(Boolean propertyActive) voidsetPropertySecurityCodes(List<String> propertySecurityCodes) voidsetReservationsContact(Contact reservationsContact) voidsetSegmentCategory(String segmentCategory) voidsetShortDescriptions(List<SimpleDescription> shortDescriptions) voidsetSocialNetworks(Boolean socialNetworks) voidsetSocials(List<Social> socials) voidvoidsetStatus(Hotel.StatusEnum status) voidsetUrlName(String urlName) voidsetWhenBuilt(String whenBuilt) shortDescriptions(List<SimpleDescription> shortDescriptions) socialNetworks(Boolean socialNetworks) status(Hotel.StatusEnum status) toString()
-
Field Details
-
JSON_PROPERTY_HOTEL_IDENTIFIER
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_HOTEL_CODE
- See Also:
-
JSON_PROPERTY_HOTEL_CODE_CONTEXT
- See Also:
-
JSON_PROPERTY_LOCAL_NAME
- See Also:
-
JSON_PROPERTY_LEGAL_NAME
- See Also:
-
JSON_PROPERTY_URL_NAME
- See Also:
-
JSON_PROPERTY_CURRENCY_CODE
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_EXTERNAL_STATUS
- See Also:
-
JSON_PROPERTY_MULTIMEDIA_IDENTIFIER
- See Also:
-
JSON_PROPERTY_IMAGE_IDENTIFIER
- See Also:
-
JSON_PROPERTY_IMAGE_ANGLE
- 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:
-
JSON_PROPERTY_STARS
- See Also:
-
JSON_PROPERTY_FULL_NAME_OF_GENERAL_MANAGER
- See Also:
-
JSON_PROPERTY_PROFILE_PICTURE_IDENTIFIER_GENERAL_MANAGER
- See Also:
-
JSON_PROPERTY_MESSAGES_OF_GENERAL_MANAGER
- See Also:
-
JSON_PROPERTY_SHORT_DESCRIPTIONS
- See Also:
-
JSON_PROPERTY_LONG_DESCRIPTIONS
- See Also:
-
JSON_PROPERTY_HOTEL_AMENITY_CODES
- See Also:
-
JSON_PROPERTY_PROPERTY_ACCESSIBILITY_CODES
- See Also:
-
JSON_PROPERTY_PROPERTY_SECURITY_CODES
- See Also:
-
JSON_PROPERTY_LOCATION_POINT
- See Also:
-
JSON_PROPERTY_POLICY
- See Also:
-
JSON_PROPERTY_SOCIALS
- See Also:
-
JSON_PROPERTY_OWNER_CONTACT
- See Also:
-
JSON_PROPERTY_RESERVATIONS_CONTACT
- See Also:
-
JSON_PROPERTY_ACCOUNTING_CONTACT
- See Also:
-
JSON_PROPERTY_ACCOUNTING_ADDRESS
- See Also:
-
JSON_PROPERTY_LIFESTYLE_TYPES
- See Also:
-
JSON_PROPERTY_AGREEMENT_ACCEPTED
- See Also:
-
JSON_PROPERTY_MARKETING_OPTIN_ALLOWED
- See Also:
-
JSON_PROPERTY_LOGOS
- See Also:
-
JSON_PROPERTY_NUMBER_OF_ROOMS
- See Also:
-
JSON_PROPERTY_ADDRESS
- See Also:
-
JSON_PROPERTY_ACTIVE
- See Also:
-
JSON_PROPERTY_GENERAL_MANAGER_WELCOME_MESSAGE
- See Also:
-
JSON_PROPERTY_PROPERTY_ACTIVE
- See Also:
-
JSON_PROPERTY_PLATFORM_ACTIVE
- See Also:
-
JSON_PROPERTY_CONTRACT_SIGNER_FULL_NAME
- See Also:
-
JSON_PROPERTY_FULL_ADDRESS
- See Also:
-
JSON_PROPERTY_SOCIAL_NETWORKS
- See Also:
-
JSON_PROPERTY_LIFESTYLES
- See Also:
-
JSON_PROPERTY_GREEN_INDEX_SCORES
- See Also:
-
-
Constructor Details
-
Hotel
public Hotel()
-
-
Method Details
-
hotelIdentifier
-
getHotelIdentifier
Unique hotel identifier- Returns:
- hotelIdentifier
-
setHotelIdentifier
-
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
-
hotelCode
-
getHotelCode
A shorter unique code to refer to the hotel. Country Code + 5 digit number- Returns:
- hotelCode
-
setHotelCode
-
hotelCodeContext
-
getHotelCodeContext
Origin of hotel data- Returns:
- hotelCodeContext
-
setHotelCodeContext
-
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
-
urlName
-
getUrlName
Unique url-friendly slug to identify property- Returns:
- urlName
-
setUrlName
-
currencyCode
-
getCurrencyCode
Currency code- Returns:
- currencyCode
-
setCurrencyCode
-
status
-
getStatus
wink.travel sets this status as the hotel moves through the payment workflow and manually for approval.- Returns:
- status
-
setStatus
-
externalStatus
-
getExternalStatus
Property goes active by changing externalStatus from 6 (Inactive) to 1 (Active) according to OTA property status.- Returns:
- externalStatus
-
setExternalStatus
-
multimediaIdentifier
-
getMultimediaIdentifier
Featured property image document identifier. This is the image that is ordered first in the list of property images.- Returns:
- multimediaIdentifier
-
setMultimediaIdentifier
-
imageIdentifier
-
getImageIdentifier
Featured Cloudinary identifier that can be used directly to retrieve media from Cloudinary.- Returns:
- imageIdentifier
-
setImageIdentifier
-
imageAngle
-
getImageAngle
Featured image angle (if available).- Returns:
- imageAngle
-
setImageAngle
-
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
-
stars
-
getStars
Hotel star rating. minimum: 0 maximum: 6- Returns:
- stars
-
setStars
-
fullNameOfGeneralManager
-
getFullNameOfGeneralManager
Name of GM currently managing the property.- Returns:
- fullNameOfGeneralManager
-
setFullNameOfGeneralManager
-
profilePictureIdentifierGeneralManager
-
getProfilePictureIdentifierGeneralManager
Cloudinary image identifier of GM currently managing the property.- Returns:
- profilePictureIdentifierGeneralManager
-
setProfilePictureIdentifierGeneralManager
public void setProfilePictureIdentifierGeneralManager(String profilePictureIdentifierGeneralManager) -
messagesOfGeneralManager
-
addMessagesOfGeneralManagerItem
-
getMessagesOfGeneralManager
Personal welcome message from GM.- Returns:
- messagesOfGeneralManager
-
setMessagesOfGeneralManager
-
shortDescriptions
-
addShortDescriptionsItem
-
getShortDescriptions
Localized short descriptions of property.- Returns:
- shortDescriptions
-
setShortDescriptions
-
longDescriptions
-
addLongDescriptionsItem
-
getLongDescriptions
Localized long descriptions of property.- Returns:
- longDescriptions
-
setLongDescriptions
-
hotelAmenityCodes
-
addHotelAmenityCodesItem
-
getHotelAmenityCodes
Supported OTA specification `HAC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory).- Returns:
- hotelAmenityCodes
-
setHotelAmenityCodes
-
propertyAccessibilityCodes
-
addPropertyAccessibilityCodesItem
-
getPropertyAccessibilityCodes
Supported OTA specification `PHY` code. See [OTA geoname data](#operation/showAvailableCodesForCategory).- Returns:
- propertyAccessibilityCodes
-
setPropertyAccessibilityCodes
-
propertySecurityCodes
-
addPropertySecurityCodesItem
-
getPropertySecurityCodes
Supported OTA specification `SEC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory).- Returns:
- propertySecurityCodes
-
setPropertySecurityCodes
-
locationPoint
-
getLocationPoint
Get locationPoint- Returns:
- locationPoint
-
setLocationPoint
-
policy
-
getPolicy
Get policy- Returns:
- policy
-
setPolicy
-
addSocialsItem
-
getSocials
List of all social network account property has.- Returns:
- socials
-
setSocials
-
ownerContact
-
getOwnerContact
Get ownerContact- Returns:
- ownerContact
-
setOwnerContact
-
reservationsContact
-
getReservationsContact
Get reservationsContact- Returns:
- reservationsContact
-
setReservationsContact
-
accountingContact
-
getAccountingContact
Get accountingContact- Returns:
- accountingContact
-
setAccountingContact
-
accountingAddress
-
getAccountingAddress
Get accountingAddress- Returns:
- accountingAddress
-
setAccountingAddress
-
lifestyleTypes
-
addLifestyleTypesItem
-
getLifestyleTypes
List of all lifestyles property has associated with. See [Lifestyle geoname data](#operation/showLifestyles)- Returns:
- lifestyleTypes
-
setLifestyleTypes
-
agreementAccepted
-
getAgreementAccepted
Property has accepted our terms and conditions.- Returns:
- agreementAccepted
-
setAgreementAccepted
-
marketingOptinAllowed
-
getMarketingOptinAllowed
Property agreed to let the payment use its logo and images for marketing purposes (with proper credits).- Returns:
- marketingOptinAllowed
-
setMarketingOptinAllowed
-
logos
-
addLogosItem
-
getLogos
List of logo images of property- Returns:
- logos
-
setLogos
-
numberOfRooms
-
getNumberOfRooms
Number of rooms / keys for property minimum: 1- Returns:
- numberOfRooms
-
setNumberOfRooms
-
address
-
getAddress
Get address- Returns:
- address
-
setAddress
-
active
-
getActive
Property is both approved and activated.- Returns:
- active
-
setActive
-
generalManagerWelcomeMessage
-
getGeneralManagerWelcomeMessage
Whether property has any GM-created welcome messages.- Returns:
- generalManagerWelcomeMessage
-
setGeneralManagerWelcomeMessage
-
propertyActive
-
getPropertyActive
Property activated itself and went live.- Returns:
- propertyActive
-
setPropertyActive
-
platformActive
-
getPlatformActive
Platform approved property.- Returns:
- platformActive
-
setPlatformActive
-
contractSignerFullName
-
getContractSignerFullName
Concatenated name of contract signer into one string.- Returns:
- contractSignerFullName
-
setContractSignerFullName
-
fullAddress
-
getFullAddress
Concatenated address into a single string- Returns:
- fullAddress
-
setFullAddress
-
socialNetworks
-
getSocialNetworks
Whether property has any social networks associated with her profile.- Returns:
- socialNetworks
-
setSocialNetworks
-
lifestyles
-
getLifestyles
Whether property has any lifestyles associated with her profile.- Returns:
- lifestyles
-
setLifestyles
-
greenIndexScores
-
getGreenIndexScores
Get greenIndexScores- Returns:
- greenIndexScores
-
setGreenIndexScores
-
equals
-
hashCode
public int hashCode() -
toString
-
socials