Class AttractionNonAuthenticatedEntity
java.lang.Object
travel.wink.sdk.inventory.model.AttractionNonAuthenticatedEntity
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-01-26T12:32:01.129283054+07:00[Asia/Bangkok]")
public class AttractionNonAuthenticatedEntity
extends Object
Inventory data object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumIndicate the type of lifestyle this blocking should be associated with.static enumLevel of expensiveness. -
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDescriptionsItem(SimpleDescriptionNonAuthenticatedEntity descriptionsItem) addDisabilityFeaturesItem(String disabilityFeaturesItem) addMultimediasItem(SimpleMultimediaNonAuthenticatedEntity multimediasItem) addRecognitionListItem(TravelInventoryRecognitionNonAuthenticatedEntity recognitionListItem) address(AddressNonAuthenticatedEntity address) addSecurityFeaturesItem(String securityFeaturesItem) addSocialsItem(SocialNonAuthenticatedEntity socialsItem) applicableEnd(LocalDate applicableEnd) applicableStart(LocalDate applicableStart) attractionCategoryCode(String attractionCategoryCode) commissionable(Boolean commissionable) contact(ContactNonAuthenticatedEntity contact) courtesyPhone(Boolean courtesyPhone) daysOfWeek(DowPatternGroupNonAuthenticatedEntity daysOfWeek) descriptions(List<SimpleDescriptionNonAuthenticatedEntity> descriptions) disabilityFeatures(List<String> disabilityFeatures) booleanfeaturedInd(Boolean featuredInd) @NotNull BooleanModify blocking availability with this flag.@NotNull @Valid AddressNonAuthenticatedEntityGet address@Valid LocalDateEnd month and day or date for which the attraction (e.g.@Valid LocalDateStart month and day or date for which the attraction (e.g.@NotNull StringSupported OTA specification `ACC` code.@NotNull BooleanIndicates if this blocking can be added to a booking or if it is read-only marketing material only.Closing time of blocking (if applicable).@NotNull BooleanIndicate whether sales channels receive commission for selling this blocking.@NotNull @Valid ContactNonAuthenticatedEntityGet contactWhether or not a courtesy phone for contacting the hotel is available at the attraction (e.g.Get daysOfWeek@NotNull @Valid List<SimpleDescriptionNonAuthenticatedEntity> Localized descriptions describing blocking.Supported OTA specification `PHY` code.@NotNull BooleanIndicates whether this blocking is featured.@NotNull @Valid UUIDHotel identifier.@NotNull @Valid UUIDUnique record identifierIndicate the type of lifestyle this blocking should be associated with.@NotNull @Valid GeoJsonPointNonAuthenticatedEntityGet locationSupported OTA specification `AQC` code.@NotNull @Valid List<SimpleMultimediaNonAuthenticatedEntity> List of images / videos of blocking.@NotNull StringgetName()Internal name of blocking.getOpens()Opening time of blocking (if applicable).Level of expensiveness.@NotNull StringSupported OTA specification `PRX` code.Inventory-level recognition.Indicates whether a reservation is required to participate in this blocking.Supported OTA specification `SEC` code.@Valid List<SocialNonAuthenticatedEntity> Social network accounts for blocking (if applicable).getSort()Use this property to sort an blocking in a list of activities.inthashCode()hotelIdentifier(UUID hotelIdentifier) identifier(UUID identifier) lifestyleType(AttractionNonAuthenticatedEntity.LifestyleTypeEnum lifestyleType) location(GeoJsonPointNonAuthenticatedEntity location) minAgeAppropriateCode(String minAgeAppropriateCode) multimedias(List<SimpleMultimediaNonAuthenticatedEntity> multimedias) proximityCode(String proximityCode) recognitionList(List<TravelInventoryRecognitionNonAuthenticatedEntity> recognitionList) reservationRequiredInd(Boolean reservationRequiredInd) securityFeatures(List<String> securityFeatures) voidvoidsetAddress(AddressNonAuthenticatedEntity address) voidsetApplicableEnd(LocalDate applicableEnd) voidsetApplicableStart(LocalDate applicableStart) voidsetAttractionCategoryCode(String attractionCategoryCode) voidsetBookable(Boolean bookable) voidvoidsetCommissionable(Boolean commissionable) voidsetContact(ContactNonAuthenticatedEntity contact) voidsetCourtesyPhone(Boolean courtesyPhone) voidsetDaysOfWeek(DowPatternGroupNonAuthenticatedEntity daysOfWeek) voidsetDescriptions(List<SimpleDescriptionNonAuthenticatedEntity> descriptions) voidsetDisabilityFeatures(List<String> disabilityFeatures) voidsetFeaturedInd(Boolean featuredInd) voidsetHotelIdentifier(UUID hotelIdentifier) voidsetIdentifier(UUID identifier) voidvoidvoidsetMinAgeAppropriateCode(String minAgeAppropriateCode) voidsetMultimedias(List<SimpleMultimediaNonAuthenticatedEntity> multimedias) voidvoidvoidvoidsetProximityCode(String proximityCode) voidsetRecognitionList(List<TravelInventoryRecognitionNonAuthenticatedEntity> recognitionList) voidsetReservationRequiredInd(Boolean reservationRequiredInd) voidsetSecurityFeatures(List<String> securityFeatures) voidsetSocials(List<SocialNonAuthenticatedEntity> socials) voidsocials(List<SocialNonAuthenticatedEntity> socials) toString()
-
Field Details
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_HOTEL_IDENTIFIER
- See Also:
-
JSON_PROPERTY_FEATURED_IND
- See Also:
-
JSON_PROPERTY_LIFESTYLE_TYPE
- See Also:
-
JSON_PROPERTY_LOCATION
- See Also:
-
JSON_PROPERTY_DESCRIPTIONS
- See Also:
-
JSON_PROPERTY_MULTIMEDIAS
- See Also:
-
JSON_PROPERTY_CONTACT
- See Also:
-
JSON_PROPERTY_ADDRESS
- See Also:
-
JSON_PROPERTY_COMMISSIONABLE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PROXIMITY_CODE
- See Also:
-
JSON_PROPERTY_SORT
- See Also:
-
JSON_PROPERTY_MIN_AGE_APPROPRIATE_CODE
- See Also:
-
JSON_PROPERTY_BOOKABLE
- See Also:
-
JSON_PROPERTY_ACTIVE
- See Also:
-
JSON_PROPERTY_DISABILITY_FEATURES
- See Also:
-
JSON_PROPERTY_SECURITY_FEATURES
- See Also:
-
JSON_PROPERTY_SOCIALS
- See Also:
-
JSON_PROPERTY_PRICE_POINT
- See Also:
-
JSON_PROPERTY_RECOGNITION_LIST
- See Also:
-
JSON_PROPERTY_APPLICABLE_START
- See Also:
-
JSON_PROPERTY_APPLICABLE_END
- See Also:
-
JSON_PROPERTY_RESERVATION_REQUIRED_IND
- See Also:
-
JSON_PROPERTY_OPENS
- See Also:
-
JSON_PROPERTY_CLOSES
- See Also:
-
JSON_PROPERTY_DAYS_OF_WEEK
- See Also:
-
JSON_PROPERTY_ATTRACTION_CATEGORY_CODE
- See Also:
-
JSON_PROPERTY_COURTESY_PHONE
- See Also:
-
-
Constructor Details
-
AttractionNonAuthenticatedEntity
public AttractionNonAuthenticatedEntity()
-
-
Method Details
-
identifier
-
getIdentifier
Unique record identifier- Returns:
- identifier
-
setIdentifier
-
hotelIdentifier
-
getHotelIdentifier
Hotel identifier.- Returns:
- hotelIdentifier
-
setHotelIdentifier
-
featuredInd
-
getFeaturedInd
Indicates whether this blocking is featured. Use this flag as a way to signify that this blocking is special.- Returns:
- featuredInd
-
setFeaturedInd
-
lifestyleType
public AttractionNonAuthenticatedEntity lifestyleType(AttractionNonAuthenticatedEntity.LifestyleTypeEnum lifestyleType) -
getLifestyleType
Indicate the type of lifestyle this blocking should be associated with.- Returns:
- lifestyleType
-
setLifestyleType
-
location
-
getLocation
Get location- Returns:
- location
-
setLocation
-
descriptions
public AttractionNonAuthenticatedEntity descriptions(List<SimpleDescriptionNonAuthenticatedEntity> descriptions) -
addDescriptionsItem
public AttractionNonAuthenticatedEntity addDescriptionsItem(SimpleDescriptionNonAuthenticatedEntity descriptionsItem) -
getDescriptions
@Nonnull @NotNull @Valid public @NotNull @Valid List<SimpleDescriptionNonAuthenticatedEntity> getDescriptions()Localized descriptions describing blocking.- Returns:
- descriptions
-
setDescriptions
-
multimedias
public AttractionNonAuthenticatedEntity multimedias(List<SimpleMultimediaNonAuthenticatedEntity> multimedias) -
addMultimediasItem
public AttractionNonAuthenticatedEntity addMultimediasItem(SimpleMultimediaNonAuthenticatedEntity multimediasItem) -
getMultimedias
@Nonnull @NotNull @Valid public @NotNull @Valid List<SimpleMultimediaNonAuthenticatedEntity> getMultimedias()List of images / videos of blocking.- Returns:
- multimedias
-
setMultimedias
-
contact
-
getContact
Get contact- Returns:
- contact
-
setContact
-
address
-
getAddress
Get address- Returns:
- address
-
setAddress
-
commissionable
-
getCommissionable
Indicate whether sales channels receive commission for selling this blocking.- Returns:
- commissionable
-
setCommissionable
-
name
-
getName
-
setName
-
proximityCode
-
getProximityCode
Supported OTA specification `PRX` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)- Returns:
- proximityCode
-
setProximityCode
-
sort
-
getSort
Use this property to sort an blocking in a list of activities.- Returns:
- sort
-
setSort
-
minAgeAppropriateCode
-
getMinAgeAppropriateCode
Supported OTA specification `AQC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)- Returns:
- minAgeAppropriateCode
-
setMinAgeAppropriateCode
-
bookable
-
getBookable
Indicates if this blocking can be added to a booking or if it is read-only marketing material only.- Returns:
- bookable
-
setBookable
-
active
-
getActive
Modify blocking availability with this flag.- Returns:
- active
-
setActive
-
disabilityFeatures
-
addDisabilityFeaturesItem
-
getDisabilityFeatures
-
setDisabilityFeatures
-
securityFeatures
-
addSecurityFeaturesItem
-
getSecurityFeatures
-
setSecurityFeatures
-
addSocialsItem
-
getSocials
Social network accounts for blocking (if applicable).- Returns:
- socials
-
setSocials
-
pricePoint
public AttractionNonAuthenticatedEntity pricePoint(AttractionNonAuthenticatedEntity.PricePointEnum pricePoint) -
getPricePoint
Level of expensiveness.- Returns:
- pricePoint
-
setPricePoint
-
recognitionList
public AttractionNonAuthenticatedEntity recognitionList(List<TravelInventoryRecognitionNonAuthenticatedEntity> recognitionList) -
addRecognitionListItem
public AttractionNonAuthenticatedEntity addRecognitionListItem(TravelInventoryRecognitionNonAuthenticatedEntity recognitionListItem) -
getRecognitionList
@Nullable @Valid public @Valid List<TravelInventoryRecognitionNonAuthenticatedEntity> getRecognitionList()Inventory-level recognition.- Returns:
- recognitionList
-
setRecognitionList
public void setRecognitionList(List<TravelInventoryRecognitionNonAuthenticatedEntity> recognitionList) -
applicableStart
-
getApplicableStart
Start month and day or date for which the attraction (e.g. the start of a season) is available. This date property signifies that the blocking is recurring and / or seasonal. If the date is in the past, only day and month will be used to infer seasonality. If the date is a future date, it will be interpreted as a starting date.- Returns:
- applicableStart
-
setApplicableStart
-
applicableEnd
-
getApplicableEnd
End month and day or date for which the attraction (e.g. the start of a season) is available. This date property signifies that the blocking is recurring and / or seasonal. If the date is in the past, only day and month will be used to infer seasonality. If the date is a future date, it will be interpreted as a ending date.- Returns:
- applicableEnd
-
setApplicableEnd
-
reservationRequiredInd
-
getReservationRequiredInd
Indicates whether a reservation is required to participate in this blocking.- Returns:
- reservationRequiredInd
-
setReservationRequiredInd
-
opens
-
getOpens
Opening time of blocking (if applicable). Leave empty if blocking is always available.- Returns:
- opens
-
setOpens
-
closes
-
getCloses
Closing time of blocking (if applicable). Leave empty if blocking is always available.- Returns:
- closes
-
setCloses
-
daysOfWeek
public AttractionNonAuthenticatedEntity daysOfWeek(DowPatternGroupNonAuthenticatedEntity daysOfWeek) -
getDaysOfWeek
Get daysOfWeek- Returns:
- daysOfWeek
-
setDaysOfWeek
-
attractionCategoryCode
-
getAttractionCategoryCode
Supported OTA specification `ACC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)- Returns:
- attractionCategoryCode
-
setAttractionCategoryCode
-
courtesyPhone
-
getCourtesyPhone
Whether or not a courtesy phone for contacting the hotel is available at the attraction (e.g. often times these are available in airports). When true, the phone is available.- Returns:
- courtesyPhone
-
setCourtesyPhone
-
equals
-
hashCode
-
toString
-
socials