Package travel.wink.sdk.extranet.model
Class AddOnSupplierDetails
java.lang.Object
travel.wink.sdk.extranet.model.AddOnSupplierDetails
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-08-22T15:43:52.377864372+07:00[Asia/Bangkok]")
public class AddOnSupplierDetails
extends Object
The original add-on record created by the property.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumIndicate the type of lifestyle this inventory 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 Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDescriptionsItem(SimpleDescriptionSupplierDetails descriptionsItem) addDisabilityFeaturesItem(String disabilityFeaturesItem) addMultimediasItem(SimpleMultimediaSupplierDetails multimediasItem) addRecognitionListItem(TravelInventoryRecognitionSupplierDetails recognitionListItem) address(AddressSupplierDetails address) addSecurityFeaturesItem(String securityFeaturesItem) addSocialsItem(SocialSupplierDetails socialsItem) addTransactionalInventoryListItem(TransactionalTravelInventorySupplierDetails transactionalInventoryListItem) applicableEnd(LocalDate applicableEnd) applicableStart(LocalDate applicableStart) commissionable(Boolean commissionable) contact(ContactSupplierDetails contact) daysOfWeek(DowPatternGroupSupplierDetails daysOfWeek) descriptions(List<SimpleDescriptionSupplierDetails> descriptions) disabilityFeatures(List<String> disabilityFeatures) booleanfeaturedInd(Boolean featuredInd) @NotNull BooleanModify inventory availability with this flag.@NotNull @Valid AddressSupplierDetailsGet 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 BooleanIndicates if this inventory can be added to a booking or if it is read-only marketing material only.Closing time of inventory (if applicable).@NotNull BooleanIndicate whether sales channels receive commission for selling this inventory.@NotNull @Valid ContactSupplierDetailsGet contactGet daysOfWeek@NotNull @Valid List<SimpleDescriptionSupplierDetails>Localized descriptions describing inventory.Supported OTA specification `PHY` code.@NotNull BooleanIndicates whether this inventory is featured.@NotNull @Valid UUIDHotel identifier.@NotNull @Valid UUIDUnique record identifierIndicate the type of lifestyle this inventory should be associated with.@NotNull @Valid GeoJsonPointSupplierDetailsGet location@NotNull BooleanMake this add-on mandatory for all guests by enabling this flag.Supported OTA specification `AQC` code.@NotNull @Valid List<SimpleMultimediaSupplierDetails>List of images / videos of inventory.@NotNull StringgetName()Internal name of inventory.@NotNull @Min(0L) IntegerTotal number of add-ons available to purchase.getOpens()Opening time of inventory (if applicable).@NotNull AddOnSupplierDetails.PricePointEnumLevel of expensiveness.@NotNull StringSupported OTA specification `PRX` code.@Valid RatePlanSupplierDetailsGet ratePlan@Valid UUIDPass an optional rate plan identifier if you want to add more complex restrictions to this add-on.Inventory-level recognition.Indicates whether a reservation is required to participate in this inventory.Supported OTA specification `SEC` code.@Valid List<SocialSupplierDetails>Social network accounts for inventory (if applicable).getSort()Use this property to sort an inventory in a list of activities.Purchasable items for this inventory.inthashCode()hotelIdentifier(UUID hotelIdentifier) identifier(UUID identifier) lifestyleType(AddOnSupplierDetails.LifestyleTypeEnum lifestyleType) location(GeoJsonPointSupplierDetails location) minAgeAppropriateCode(String minAgeAppropriateCode) multimedias(List<SimpleMultimediaSupplierDetails> multimedias) numberOfUnits(Integer numberOfUnits) pricePoint(AddOnSupplierDetails.PricePointEnum pricePoint) proximityCode(String proximityCode) ratePlan(RatePlanSupplierDetails ratePlan) ratePlanIdentifier(UUID ratePlanIdentifier) recognitionList(List<TravelInventoryRecognitionSupplierDetails> recognitionList) reservationRequiredInd(Boolean reservationRequiredInd) securityFeatures(List<String> securityFeatures) voidvoidsetAddress(AddressSupplierDetails address) voidsetApplicableEnd(LocalDate applicableEnd) voidsetApplicableStart(LocalDate applicableStart) voidsetBookable(Boolean bookable) voidvoidsetCommissionable(Boolean commissionable) voidsetContact(ContactSupplierDetails contact) voidsetDaysOfWeek(DowPatternGroupSupplierDetails daysOfWeek) voidsetDescriptions(List<SimpleDescriptionSupplierDetails> descriptions) voidsetDisabilityFeatures(List<String> disabilityFeatures) voidsetFeaturedInd(Boolean featuredInd) voidsetHotelIdentifier(UUID hotelIdentifier) voidsetIdentifier(UUID identifier) voidsetLifestyleType(AddOnSupplierDetails.LifestyleTypeEnum lifestyleType) voidsetLocation(GeoJsonPointSupplierDetails location) voidsetMandatory(Boolean mandatory) voidsetMinAgeAppropriateCode(String minAgeAppropriateCode) voidsetMultimedias(List<SimpleMultimediaSupplierDetails> multimedias) voidvoidsetNumberOfUnits(Integer numberOfUnits) voidvoidsetPricePoint(AddOnSupplierDetails.PricePointEnum pricePoint) voidsetProximityCode(String proximityCode) voidsetRatePlan(RatePlanSupplierDetails ratePlan) voidsetRatePlanIdentifier(UUID ratePlanIdentifier) voidsetRecognitionList(List<TravelInventoryRecognitionSupplierDetails> recognitionList) voidsetReservationRequiredInd(Boolean reservationRequiredInd) voidsetSecurityFeatures(List<String> securityFeatures) voidsetSocials(List<SocialSupplierDetails> socials) voidvoidsetTransactionalInventoryList(List<TransactionalTravelInventorySupplierDetails> transactionalInventoryList) socials(List<SocialSupplierDetails> socials) toString()transactionalInventoryList(List<TransactionalTravelInventorySupplierDetails> transactionalInventoryList)
-
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_TRANSACTIONAL_INVENTORY_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_NUMBER_OF_UNITS
- See Also:
-
JSON_PROPERTY_RATE_PLAN_IDENTIFIER
- See Also:
-
JSON_PROPERTY_RATE_PLAN
- See Also:
-
JSON_PROPERTY_MANDATORY
- See Also:
-
-
Constructor Details
-
AddOnSupplierDetails
public AddOnSupplierDetails()
-
-
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
@Nonnull @NotNull @Valid public @NotNull @Valid List<SimpleDescriptionSupplierDetails> getDescriptions()Localized descriptions describing inventory.- Returns:
- descriptions
-
setDescriptions
-
multimedias
-
addMultimediasItem
-
getMultimedias
@Nonnull @NotNull @Valid public @NotNull @Valid List<SimpleMultimediaSupplierDetails> getMultimedias()List of images / videos of inventory.- 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 inventory.- Returns:
- commissionable
-
setCommissionable
-
name
-
getName
Internal name of inventory.- Returns:
- name
-
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 inventory 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 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 geoname data](#operation/showAvailableCodesForCategory)- Returns:
- disabilityFeatures
-
setDisabilityFeatures
-
securityFeatures
-
addSecurityFeaturesItem
-
getSecurityFeatures
Supported OTA specification `SEC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)- Returns:
- securityFeatures
-
setSecurityFeatures
-
addSocialsItem
-
getSocials
Social network accounts for inventory (if applicable).- Returns:
- socials
-
setSocials
-
pricePoint
-
getPricePoint
Level of expensiveness.- Returns:
- pricePoint
-
setPricePoint
-
recognitionList
public AddOnSupplierDetails recognitionList(List<TravelInventoryRecognitionSupplierDetails> recognitionList) -
addRecognitionListItem
public AddOnSupplierDetails addRecognitionListItem(TravelInventoryRecognitionSupplierDetails recognitionListItem) -
getRecognitionList
Inventory-level recognition.- Returns:
- recognitionList
-
setRecognitionList
-
transactionalInventoryList
public AddOnSupplierDetails transactionalInventoryList(List<TransactionalTravelInventorySupplierDetails> transactionalInventoryList) -
addTransactionalInventoryListItem
public AddOnSupplierDetails addTransactionalInventoryListItem(TransactionalTravelInventorySupplierDetails transactionalInventoryListItem) -
getTransactionalInventoryList
@Nullable @Valid public @Valid List<TransactionalTravelInventorySupplierDetails> getTransactionalInventoryList()Purchasable items for this inventory.- Returns:
- transactionalInventoryList
-
setTransactionalInventoryList
public void setTransactionalInventoryList(List<TransactionalTravelInventorySupplierDetails> transactionalInventoryList) -
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
-
daysOfWeek
-
getDaysOfWeek
Get daysOfWeek- Returns:
- daysOfWeek
-
setDaysOfWeek
-
numberOfUnits
-
getNumberOfUnits
Total number of add-ons available to purchase. minimum: 0- Returns:
- numberOfUnits
-
setNumberOfUnits
-
ratePlanIdentifier
-
getRatePlanIdentifier
Pass an optional rate plan identifier if you want to add more complex restrictions to this add-on. Example: You want the add-on to only be available when a specific room is available.- Returns:
- ratePlanIdentifier
-
setRatePlanIdentifier
-
ratePlan
-
getRatePlan
Get ratePlan- Returns:
- ratePlan
-
setRatePlan
-
mandatory
-
getMandatory
Make this add-on mandatory for all guests by enabling this flag.- Returns:
- mandatory
-
setMandatory
-
equals
-
hashCode
public int hashCode() -
toString
-
socials