Package travel.wink.sdk.extranet.model
Class HotelSupplier
java.lang.Object
travel.wink.sdk.extranet.model.HotelSupplier
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-04T22:29:13.908295668+07:00[Asia/Bangkok]")
public class HotelSupplier
extends Object
Hotel data
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic 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 Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountingAddress(AddressSupplier accountingAddress) accountingContact(ContactSupplier accountingContact) addHotelAmenityCodesItem(String hotelAmenityCodesItem) addLifestyleTypesItem(HotelSupplier.LifestyleTypesEnum lifestyleTypesItem) addLogosItem(SimpleMultimediaSupplier logosItem) addLongDescriptionsItem(LocalizedDescriptionSupplier longDescriptionsItem) addMultimediasItem(SimpleMultimediaSupplier multimediasItem) addPreviousUrlNameListItem(String previousUrlNameListItem) addPropertyAccessibilityCodesItem(String propertyAccessibilityCodesItem) addPropertySecurityCodesItem(String propertySecurityCodesItem) addRecognitionListItem(TravelInventoryRecognitionSupplier recognitionListItem) address(AddressSupplier address) addShortDescriptionsItem(LocalizedDescriptionSupplier shortDescriptionsItem) addSocialsItem(SocialSupplier socialsItem) agreementAccepted(Boolean agreementAccepted) architecturalStyle(String architecturalStyle) contractSignerFullName(String contractSignerFullName) currencyCode(String currencyCode) booleanexternalStatus(String externalStatus) fullAddress(String fullAddress) generalManager(GeneralManagerSupplier generalManager) @Valid AddressSupplierGet accountingAddress@Valid ContactSupplierGet accountingContactProperty is both approved and activated.@Valid AddressSupplierGet address@NotNull BooleanProperty has accepted our terms and conditions.Supported OTA specification `ARC` code.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 string@Valid GeneralManagerSupplierGet generalManagerGoogle Maps URL of the placeGet 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 @Valid UUIDUnique hotel identifier@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 GeoJsonPointSupplierGet locationPoint@Valid List<SimpleMultimediaSupplier> getLogos()List of logo images of property@Valid List<LocalizedDescriptionSupplier> Localized long descriptions of property.Property agreed to let the payment use its logo and images for marketing purposes (with proper credits).Place to put stuff into@Valid List<SimpleMultimediaSupplier> List of images / videos of property.@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 ContactSupplierGet ownerContactPlatform approved property.@Valid PropertyPolicySupplierGet policyPrevious url namesSupported OTA specification `PHY` code.Property activated itself and went live.Supported OTA specification `SEC` code.@Valid KeyValuePairSupplierGet rateProviderInventory-level recognition.Get remoteIpIf the reservation desk does not operate 24 hours, enter an end time.If the reservation desk does not operate 24 hours, enter a start time.@Valid ContactSupplierGet reservationsContactSupported OTA specification `SEG` code.@Valid List<LocalizedDescriptionSupplier> Localized short descriptions of property.Whether property has any social networks associated with her profile.@Valid List<SocialSupplier> List of all social network account property has.@Min(0L) @Max(6L) IntegergetStars()Hotel star rating.@NotNull HotelSupplier.StatusEnumwink.travel sets this status as the hotel moves through the payment workflow and manually for approval.@NotNull StringUnique url-friendly slug to identify propertyProperty brand.com website.Year the property was constructed.googleMapsUrl(String googleMapsUrl) greenIndexScores(AggregateGreendexAnswersSupplier greenIndexScores) inthashCode()hotelAmenityCodes(List<String> hotelAmenityCodes) hotelBrand(String hotelBrand) hotelCategory(String hotelCategory) hotelChain(String hotelChain) hotelIdentifier(UUID hotelIdentifier) licenseNumber(String licenseNumber) lifestyles(Boolean lifestyles) lifestyleTypes(List<HotelSupplier.LifestyleTypesEnum> lifestyleTypes) locationCategory(String locationCategory) locationPoint(GeoJsonPointSupplier locationPoint) logos(List<SimpleMultimediaSupplier> logos) longDescriptions(List<LocalizedDescriptionSupplier> longDescriptions) marketingOptinAllowed(Boolean marketingOptinAllowed) multimedias(List<SimpleMultimediaSupplier> multimedias) numberOfRooms(Integer numberOfRooms) otherChannelManager(String otherChannelManager) ownerContact(ContactSupplier ownerContact) platformActive(Boolean platformActive) policy(PropertyPolicySupplier policy) previousUrlNameList(List<String> previousUrlNameList) propertyAccessibilityCodes(List<String> propertyAccessibilityCodes) propertyActive(Boolean propertyActive) propertySecurityCodes(List<String> propertySecurityCodes) putMetadataItem(String key, Object metadataItem) rateProvider(KeyValuePairSupplier rateProvider) recognitionList(List<TravelInventoryRecognitionSupplier> recognitionList) reservationDeskEndTime(String reservationDeskEndTime) reservationDeskStartTime(String reservationDeskStartTime) reservationsContact(ContactSupplier reservationsContact) segmentCategory(String segmentCategory) voidsetAccountingAddress(AddressSupplier accountingAddress) voidsetAccountingContact(ContactSupplier accountingContact) voidvoidsetAddress(AddressSupplier address) voidsetAgreementAccepted(Boolean agreementAccepted) voidsetArchitecturalStyle(String architecturalStyle) voidsetContractSignerFullName(String contractSignerFullName) voidsetCurrencyCode(String currencyCode) voidsetExternalStatus(String externalStatus) voidsetFullAddress(String fullAddress) voidsetGeneralManager(GeneralManagerSupplier generalManager) voidsetGoogleMapsUrl(String googleMapsUrl) voidsetGreenIndexScores(AggregateGreendexAnswersSupplier greenIndexScores) voidsetHotelAmenityCodes(List<String> hotelAmenityCodes) voidsetHotelBrand(String hotelBrand) voidsetHotelCategory(String hotelCategory) voidsetHotelChain(String hotelChain) voidsetHotelCode(String hotelCode) voidsetHotelIdentifier(UUID hotelIdentifier) voidsetLegalName(String legalName) voidsetLicenseNumber(String licenseNumber) voidsetLifestyles(Boolean lifestyles) voidsetLifestyleTypes(List<HotelSupplier.LifestyleTypesEnum> lifestyleTypes) voidsetLocalName(String localName) voidsetLocationCategory(String locationCategory) voidsetLocationPoint(GeoJsonPointSupplier locationPoint) voidsetLogos(List<SimpleMultimediaSupplier> logos) voidsetLongDescriptions(List<LocalizedDescriptionSupplier> longDescriptions) voidsetMarketingOptinAllowed(Boolean marketingOptinAllowed) voidsetMetadata(Map<String, Object> metadata) voidsetMultimedias(List<SimpleMultimediaSupplier> multimedias) voidvoidsetNumberOfRooms(Integer numberOfRooms) voidsetOtherChannelManager(String otherChannelManager) voidsetOwnerContact(ContactSupplier ownerContact) voidsetPlatformActive(Boolean platformActive) voidsetPolicy(PropertyPolicySupplier policy) voidsetPreviousUrlNameList(List<String> previousUrlNameList) voidsetPropertyAccessibilityCodes(List<String> propertyAccessibilityCodes) voidsetPropertyActive(Boolean propertyActive) voidsetPropertySecurityCodes(List<String> propertySecurityCodes) voidsetRateProvider(KeyValuePairSupplier rateProvider) voidsetRecognitionList(List<TravelInventoryRecognitionSupplier> recognitionList) voidsetRemoteIp(String remoteIp) voidsetReservationDeskEndTime(String reservationDeskEndTime) voidsetReservationDeskStartTime(String reservationDeskStartTime) voidsetReservationsContact(ContactSupplier reservationsContact) voidsetSegmentCategory(String segmentCategory) voidsetShortDescriptions(List<LocalizedDescriptionSupplier> shortDescriptions) voidsetSocialNetworks(Boolean socialNetworks) voidsetSocials(List<SocialSupplier> socials) voidvoidsetStatus(HotelSupplier.StatusEnum status) voidsetUrlName(String urlName) voidsetWebsite(String website) voidsetWhenBuilt(String whenBuilt) shortDescriptions(List<LocalizedDescriptionSupplier> shortDescriptions) socialNetworks(Boolean socialNetworks) socials(List<SocialSupplier> socials) status(HotelSupplier.StatusEnum status) toString()
-
Field Details
-
JSON_PROPERTY_HOTEL_IDENTIFIER
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_HOTEL_CODE
- 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_MULTIMEDIAS
- See Also:
-
JSON_PROPERTY_RECOGNITION_LIST
- See Also:
-
JSON_PROPERTY_REMOTE_IP
- 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_OTHER_CHANNEL_MANAGER
- See Also:
-
JSON_PROPERTY_LICENSE_NUMBER
- See Also:
-
JSON_PROPERTY_STARS
- See Also:
-
JSON_PROPERTY_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_GREEN_INDEX_SCORES
- 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_RESERVATION_DESK_START_TIME
- See Also:
-
JSON_PROPERTY_RESERVATION_DESK_END_TIME
- See Also:
-
JSON_PROPERTY_WEBSITE
- See Also:
-
JSON_PROPERTY_GOOGLE_MAPS_URL
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
JSON_PROPERTY_PREVIOUS_URL_NAME_LIST
- See Also:
-
JSON_PROPERTY_RATE_PROVIDER
- See Also:
-
JSON_PROPERTY_ACTIVE
- See Also:
-
JSON_PROPERTY_SOCIAL_NETWORKS
- See Also:
-
JSON_PROPERTY_LIFESTYLES
- 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:
-
-
Constructor Details
-
HotelSupplier
public HotelSupplier()
-
-
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
-
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
-
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
-
multimedias
-
addMultimediasItem
-
getMultimedias
List of images / videos of property.- Returns:
- multimedias
-
setMultimedias
-
recognitionList
-
addRecognitionListItem
-
getRecognitionList
Inventory-level recognition.- Returns:
- recognitionList
-
setRecognitionList
-
remoteIp
-
getRemoteIp
-
setRemoteIp
-
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
-
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
-
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
-
generalManager
-
getGeneralManager
Get generalManager- Returns:
- generalManager
-
setGeneralManager
-
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
-
setHotelAmenityCodes
-
propertyAccessibilityCodes
-
addPropertyAccessibilityCodesItem
-
getPropertyAccessibilityCodes
-
setPropertyAccessibilityCodes
-
propertySecurityCodes
-
addPropertySecurityCodesItem
-
getPropertySecurityCodes
-
setPropertySecurityCodes
-
locationPoint
-
getLocationPoint
Get locationPoint- Returns:
- locationPoint
-
setLocationPoint
-
policy
-
getPolicy
-
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
-
greenIndexScores
-
getGreenIndexScores
Get greenIndexScores- Returns:
- greenIndexScores
-
setGreenIndexScores
-
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
-
setAddress
-
reservationDeskStartTime
-
getReservationDeskStartTime
If the reservation desk does not operate 24 hours, enter a start time.- Returns:
- reservationDeskStartTime
-
setReservationDeskStartTime
-
reservationDeskEndTime
-
getReservationDeskEndTime
If the reservation desk does not operate 24 hours, enter an end time.- Returns:
- reservationDeskEndTime
-
setReservationDeskEndTime
-
website
-
getWebsite
-
setWebsite
-
googleMapsUrl
-
getGoogleMapsUrl
-
setGoogleMapsUrl
-
metadata
-
putMetadataItem
-
getMetadata
-
setMetadata
-
previousUrlNameList
-
addPreviousUrlNameListItem
-
getPreviousUrlNameList
-
setPreviousUrlNameList
-
rateProvider
-
getRateProvider
Get rateProvider- Returns:
- rateProvider
-
setRateProvider
-
active
-
getActive
-
setActive
-
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
-
propertyActive
-
getPropertyActive
Property activated itself and went live.- Returns:
- propertyActive
-
setPropertyActive
-
platformActive
-
getPlatformActive
-
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
-
equals
-
hashCode
-
toString
-
socials