Package travel.wink.sdk.extranet.model
Class Attraction
java.lang.Object
travel.wink.sdk.extranet.model.Attraction
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-05-31T13:46:32.173577+07:00[Asia/Bangkok]")
public class Attraction
extends Object
Attraction
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumIndicate the type of lifestyle this inventory should be associated with.static enumHow this inventory item should be priced. -
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDescriptionsItem(SimpleDescription descriptionsItem) addDisabilityFeaturesItem(String disabilityFeaturesItem) addMultimediasItem(Multimedia multimediasItem) address(AddressDto address) addSecurityFeaturesItem(String securityFeaturesItem) addSocialsItem(Social socialsItem) applicableEnd(LocalDate applicableEnd) applicableStart(LocalDate applicableStart) attractionCategoryCode(String attractionCategoryCode) commissionable(Boolean commissionable) contact(ContactDto contact) courtesyPhone(Boolean courtesyPhone) daysOfWeek(RatePlanRequiredDaysOfWeek daysOfWeek) descriptions(List<SimpleDescription> descriptions) disabilityFeatures(List<String> disabilityFeatures) booleanfeaturedInd(Boolean featuredInd) @NotNull BooleanModify inventory availability with this flag.@Valid AddressDtoGet 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 inventory can be added to a booking or if it is read-only marketing material only.@Valid GeoNamegetCity()Get cityClosing time of inventory (if applicable).@NotNull BooleanIndicate whether sales channels receive commission for selling this inventory.@Valid ContactDtoGet contactWhether or not a courtesy phone for contacting the hotel is available at the attraction (e.g.@Valid RatePlanRequiredDaysOfWeekGet daysOfWeek@NotNull @Valid List<SimpleDescription>Localized descriptions describing inventory.Supported OTA specification `PHY` code.@NotNull BooleanIndicates whether this inventory is featured.@Valid MoneysgetFee()Get fee@NotNull StringSet this datapoint to control in which city this inventory is located.Hotel identifier.Unique record identifierIndicate the type of lifestyle this inventory should be associated with.@NotNull @Valid GeoJsonPointGet locationSupported OTA specification `AQC` code.@NotNull @Valid List<Multimedia>List of images / videos of inventory.@NotNull StringgetName()Internal name of inventory.getOpens()Opening time of inventory (if applicable).@NotNull @DecimalMin("0.0") @DecimalMax("1.0") DoubleExpected savings.How this inventory item should be priced.Supported OTA specification `PRX` code.Indicates whether a reservation is required to participate in this inventory.Supported OTA specification `SEC` code.Social network accounts for inventory (if applicable).getSort()Use this property to sort an inventory in a list of activities.inthashCode()hotelIdentifier(String hotelIdentifier) identifier(String identifier) lifestyleType(Attraction.LifestyleTypeEnum lifestyleType) location(GeoJsonPoint location) minAgeAppropriateCode(String minAgeAppropriateCode) multimedias(List<Multimedia> multimedias) percentDiscount(Double percentDiscount) pricingType(Attraction.PricingTypeEnum pricingType) proximityCode(String proximityCode) reservationRequiredInd(Boolean reservationRequiredInd) securityFeatures(List<String> securityFeatures) voidvoidsetAddress(AddressDto address) voidsetApplicableEnd(LocalDate applicableEnd) voidsetApplicableStart(LocalDate applicableStart) voidsetAttractionCategoryCode(String attractionCategoryCode) voidsetBookable(Boolean bookable) voidvoidvoidsetCommissionable(Boolean commissionable) voidsetContact(ContactDto contact) voidsetCourtesyPhone(Boolean courtesyPhone) voidsetDaysOfWeek(RatePlanRequiredDaysOfWeek daysOfWeek) voidsetDescriptions(List<SimpleDescription> descriptions) voidsetDisabilityFeatures(List<String> disabilityFeatures) voidsetFeaturedInd(Boolean featuredInd) voidvoidsetGeoNameId(String geoNameId) voidsetHotelIdentifier(String hotelIdentifier) voidsetIdentifier(String identifier) voidsetLifestyleType(Attraction.LifestyleTypeEnum lifestyleType) voidsetLocation(GeoJsonPoint location) voidsetMinAgeAppropriateCode(String minAgeAppropriateCode) voidsetMultimedias(List<Multimedia> multimedias) voidvoidvoidsetPercentDiscount(Double percentDiscount) voidsetPricingType(Attraction.PricingTypeEnum pricingType) voidsetProximityCode(String proximityCode) voidsetReservationRequiredInd(Boolean reservationRequiredInd) voidsetSecurityFeatures(List<String> securityFeatures) voidsetSocials(List<Social> socials) voidtoString()
-
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_GEO_NAME_ID
- See Also:
-
JSON_PROPERTY_CITY
- 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_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_FEE
- See Also:
-
JSON_PROPERTY_PERCENT_DISCOUNT
- See Also:
-
JSON_PROPERTY_CONTACT
- See Also:
-
JSON_PROPERTY_ADDRESS
- See Also:
-
JSON_PROPERTY_DAYS_OF_WEEK
- See Also:
-
JSON_PROPERTY_SOCIALS
- See Also:
-
JSON_PROPERTY_ATTRACTION_CATEGORY_CODE
- See Also:
-
JSON_PROPERTY_COURTESY_PHONE
- See Also:
-
JSON_PROPERTY_PRICING_TYPE
- See Also:
-
-
Constructor Details
-
Attraction
public Attraction()
-
-
Method Details
-
identifier
-
getIdentifier
Unique record identifier- Returns:
- identifier
-
setIdentifier
-
hotelIdentifier
-
getHotelIdentifier
Hotel identifier.- Returns:
- hotelIdentifier
-
setHotelIdentifier
-
featuredInd
-
getFeaturedInd
Indicates whether this inventory is featured. Use this flag as a way to signify that this inventory is special.- Returns:
- featuredInd
-
setFeaturedInd
-
lifestyleType
-
getLifestyleType
Indicate the type of lifestyle this inventory should be associated with.- Returns:
- lifestyleType
-
setLifestyleType
-
location
-
getLocation
Get location- Returns:
- location
-
setLocation
-
descriptions
-
addDescriptionsItem
-
getDescriptions
Localized descriptions describing inventory.- Returns:
- descriptions
-
setDescriptions
-
multimedias
-
addMultimediasItem
-
getMultimedias
List of images / videos of inventory.- Returns:
- multimedias
-
setMultimedias
-
geoNameId
-
getGeoNameId
Set this datapoint to control in which city this inventory is located. Defaults to city where property is located.- Returns:
- geoNameId
-
setGeoNameId
-
city
-
getCity
Get city- Returns:
- city
-
setCity
-
commissionable
-
getCommissionable
Indicate whether sales channels receive commission for selling this inventory.- Returns:
- commissionable
-
setCommissionable
-
name
-
getName
Internal name of inventory.- Returns:
- name
-
setName
-
proximityCode
-
getProximityCode
Supported OTA specification `PRX` code. See [OTA reference data](#operation/showAvailableCodesForCategory)- Returns:
- proximityCode
-
setProximityCode
-
sort
-
getSort
Use this property to sort an inventory in a list of activities.- Returns:
- sort
-
setSort
-
minAgeAppropriateCode
-
getMinAgeAppropriateCode
Supported OTA specification `AQC` code. See [OTA reference data](#operation/showAvailableCodesForCategory)- Returns:
- minAgeAppropriateCode
-
setMinAgeAppropriateCode
-
bookable
-
getBookable
Indicates if this inventory can be added to a booking or if it is read-only marketing material only.- Returns:
- bookable
-
setBookable
-
active
-
getActive
Modify inventory availability with this flag.- Returns:
- active
-
setActive
-
disabilityFeatures
-
addDisabilityFeaturesItem
-
getDisabilityFeatures
Supported OTA specification `PHY` code. See [OTA reference data](#operation/showAvailableCodesForCategory)- Returns:
- disabilityFeatures
-
setDisabilityFeatures
-
securityFeatures
-
addSecurityFeaturesItem
-
getSecurityFeatures
Supported OTA specification `SEC` code. See [OTA reference data](#operation/showAvailableCodesForCategory)- Returns:
- securityFeatures
-
setSecurityFeatures
-
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 inventory 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 inventory 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 inventory.- Returns:
- reservationRequiredInd
-
setReservationRequiredInd
-
opens
-
getOpens
Opening time of inventory (if applicable). Leave empty if inventory is always available.- Returns:
- opens
-
setOpens
-
closes
-
getCloses
Closing time of inventory (if applicable). Leave empty if inventory is always available.- Returns:
- closes
-
setCloses
-
fee
-
getFee
Get fee- Returns:
- fee
-
setFee
-
percentDiscount
-
getPercentDiscount
@Nonnull @NotNull @DecimalMin("0.0") @DecimalMax("1.0") public @NotNull @DecimalMin("0.0") @DecimalMax("1.0") Double getPercentDiscount()Expected savings. Indicate how much the traveler is [usually] saving by booking it through this payment. Example: 20% discount. minimum: 0.0 maximum: 1.0- Returns:
- percentDiscount
-
setPercentDiscount
-
contact
-
getContact
Get contact- Returns:
- contact
-
setContact
-
address
-
getAddress
Get address- Returns:
- address
-
setAddress
-
daysOfWeek
-
getDaysOfWeek
Get daysOfWeek- Returns:
- daysOfWeek
-
setDaysOfWeek
-
addSocialsItem
-
getSocials
Social network accounts for inventory (if applicable).- Returns:
- socials
-
setSocials
-
attractionCategoryCode
-
getAttractionCategoryCode
Supported OTA specification `ACC` code. See [OTA reference 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
-
pricingType
-
getPricingType
How this inventory item should be priced.- Returns:
- pricingType
-
setPricingType
-
equals
-
hashCode
public int hashCode() -
toString
-
socials