Package travel.wink.sdk.extranet.model
Class UpsertRestaurantRequestSupplier
java.lang.Object
travel.wink.sdk.extranet.model.UpsertRestaurantRequestSupplier
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-06T15:46:48.127304372+07:00[Asia/Bangkok]")
public class UpsertRestaurantRequestSupplier
extends Object
UpsertRestaurantRequestSupplier
-
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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAmenitiesItem(String amenitiesItem) addCuisineCodesItem(String cuisineCodesItem) addDescriptionsItem(SimpleDescriptionSupplier descriptionsItem) addDisabilityFeaturesItem(String disabilityFeaturesItem) addInfoCodesItem(String infoCodesItem) addMultimediasItem(SimpleMultimediaSupplier multimediasItem) addRecognitionListItem(TravelInventoryRecognitionSupplier recognitionListItem) address(UpsertAddressRequestSupplier address) addSecurityFeaturesItem(String securityFeaturesItem) addSocialsItem(SocialSupplier socialsItem) addTransactionalInventoryListItem(TransactionalTravelInventorySupplier transactionalInventoryListItem) addTransactionInventoryListItem(TransactionalTravelInventorySupplier transactionInventoryListItem) applicableEnd(LocalDate applicableEnd) applicableStart(LocalDate applicableStart) commissionable(Boolean commissionable) contact(ContactSupplier contact) cuisineCodes(List<String> cuisineCodes) daysOfWeek(DowPatternGroupSupplier daysOfWeek) descriptions(List<SimpleDescriptionSupplier> descriptions) disabilityFeatures(List<String> disabilityFeatures) booleanfeaturedInd(Boolean featuredInd) @NotNull BooleanModify inventory availability with this flag.@NotNull @Valid UpsertAddressRequestSupplierGet addressSupported OTA specification `RSI` code.@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.@Valid ContactSupplierGet contactSupported OTA specification `CUI` code.@Valid DowPatternGroupSupplierGet daysOfWeek@NotNull @Valid List<SimpleDescriptionSupplier>Localized descriptions describing inventory.Supported OTA specification `PHY` code.@NotNull BooleanIndicates whether this inventory is featured.Supported OTA specification `RES` code.Indicate the type of lifestyle this inventory should be associated with.@NotNull @Valid GeoJsonPointSupplierGet location@NotNull @Min(1L) IntegerRestaurant supports these many people.@NotNull @Min(1L) IntegerLargest table at restaurant.Supported OTA specification `AQC` code.@NotNull @Valid List<SimpleMultimediaSupplier>List of images / videos of inventory.@NotNull StringgetName()Internal name of inventory.@NotNull BooleanRestaurant offers breakfast.@NotNull BooleanRestaurant offers brunch.@NotNull BooleanRestaurant offers dinner.@NotNull BooleanRestaurant offers lunch.getOpens()Opening time of inventory (if applicable).Level of expensiveness.Supported OTA specification `PRX` code.Inventory-level recognition.Indicates whether a reservation is required to participate in this inventory.Supported OTA specification `SEC` code.@Valid List<SocialSupplier>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.Get transactionInventoryListinthashCode()lifestyleType(UpsertRestaurantRequestSupplier.LifestyleTypeEnum lifestyleType) location(GeoJsonPointSupplier location) maxSeatingCapacity(Integer maxSeatingCapacity) maxSingleParty(Integer maxSingleParty) minAgeAppropriateCode(String minAgeAppropriateCode) multimedias(List<SimpleMultimediaSupplier> multimedias) offerBreakfast(Boolean offerBreakfast) offerBrunch(Boolean offerBrunch) offerDinner(Boolean offerDinner) offerLunch(Boolean offerLunch) proximityCode(String proximityCode) recognitionList(List<TravelInventoryRecognitionSupplier> recognitionList) reservationRequiredInd(Boolean reservationRequiredInd) securityFeatures(List<String> securityFeatures) voidvoidsetAddress(UpsertAddressRequestSupplier address) voidsetAmenities(List<String> amenities) voidsetApplicableEnd(LocalDate applicableEnd) voidsetApplicableStart(LocalDate applicableStart) voidsetBookable(Boolean bookable) voidvoidsetCommissionable(Boolean commissionable) voidsetContact(ContactSupplier contact) voidsetCuisineCodes(List<String> cuisineCodes) voidsetDaysOfWeek(DowPatternGroupSupplier daysOfWeek) voidsetDescriptions(List<SimpleDescriptionSupplier> descriptions) voidsetDisabilityFeatures(List<String> disabilityFeatures) voidsetFeaturedInd(Boolean featuredInd) voidsetInfoCodes(List<String> infoCodes) voidvoidsetLocation(GeoJsonPointSupplier location) voidsetMaxSeatingCapacity(Integer maxSeatingCapacity) voidsetMaxSingleParty(Integer maxSingleParty) voidsetMinAgeAppropriateCode(String minAgeAppropriateCode) voidsetMultimedias(List<SimpleMultimediaSupplier> multimedias) voidvoidsetOfferBreakfast(Boolean offerBreakfast) voidsetOfferBrunch(Boolean offerBrunch) voidsetOfferDinner(Boolean offerDinner) voidsetOfferLunch(Boolean offerLunch) voidvoidvoidsetProximityCode(String proximityCode) voidsetRecognitionList(List<TravelInventoryRecognitionSupplier> recognitionList) voidsetReservationRequiredInd(Boolean reservationRequiredInd) voidsetSecurityFeatures(List<String> securityFeatures) voidsetSocials(List<SocialSupplier> socials) voidvoidsetTransactionalInventoryList(List<TransactionalTravelInventorySupplier> transactionalInventoryList) voidsetTransactionInventoryList(List<TransactionalTravelInventorySupplier> transactionInventoryList) socials(List<SocialSupplier> socials) toString()transactionalInventoryList(List<TransactionalTravelInventorySupplier> transactionalInventoryList) transactionInventoryList(List<TransactionalTravelInventorySupplier> transactionInventoryList)
-
Field Details
-
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_TRANSACTION_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_MAX_SEATING_CAPACITY
- See Also:
-
JSON_PROPERTY_MAX_SINGLE_PARTY
- See Also:
-
JSON_PROPERTY_OFFER_BREAKFAST
- See Also:
-
JSON_PROPERTY_OFFER_BRUNCH
- See Also:
-
JSON_PROPERTY_OFFER_LUNCH
- See Also:
-
JSON_PROPERTY_OFFER_DINNER
- See Also:
-
JSON_PROPERTY_AMENITIES
- See Also:
-
JSON_PROPERTY_INFO_CODES
- See Also:
-
JSON_PROPERTY_CUISINE_CODES
- See Also:
-
JSON_PROPERTY_TRANSACTIONAL_INVENTORY_LIST
- See Also:
-
-
Constructor Details
-
UpsertRestaurantRequestSupplier
public UpsertRestaurantRequestSupplier()
-
-
Method Details
-
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
public UpsertRestaurantRequestSupplier lifestyleType(UpsertRestaurantRequestSupplier.LifestyleTypeEnum 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
public UpsertRestaurantRequestSupplier addDescriptionsItem(SimpleDescriptionSupplier descriptionsItem) -
getDescriptions
Localized descriptions describing inventory.- Returns:
- descriptions
-
setDescriptions
-
multimedias
-
addMultimediasItem
-
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
public UpsertRestaurantRequestSupplier pricePoint(UpsertRestaurantRequestSupplier.PricePointEnum pricePoint) -
getPricePoint
Level of expensiveness.- Returns:
- pricePoint
-
setPricePoint
-
recognitionList
public UpsertRestaurantRequestSupplier recognitionList(List<TravelInventoryRecognitionSupplier> recognitionList) -
addRecognitionListItem
public UpsertRestaurantRequestSupplier addRecognitionListItem(TravelInventoryRecognitionSupplier recognitionListItem) -
getRecognitionList
Inventory-level recognition.- Returns:
- recognitionList
-
setRecognitionList
-
transactionInventoryList
public UpsertRestaurantRequestSupplier transactionInventoryList(List<TransactionalTravelInventorySupplier> transactionInventoryList) -
addTransactionInventoryListItem
public UpsertRestaurantRequestSupplier addTransactionInventoryListItem(TransactionalTravelInventorySupplier transactionInventoryListItem) -
getTransactionInventoryList
@Nullable @Valid public @Valid List<TransactionalTravelInventorySupplier> getTransactionInventoryList()Get transactionInventoryList- Returns:
- transactionInventoryList
-
setTransactionInventoryList
public void setTransactionInventoryList(List<TransactionalTravelInventorySupplier> transactionInventoryList) -
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
-
maxSeatingCapacity
-
getMaxSeatingCapacity
Restaurant supports these many people. minimum: 1- Returns:
- maxSeatingCapacity
-
setMaxSeatingCapacity
-
maxSingleParty
-
getMaxSingleParty
Largest table at restaurant. minimum: 1- Returns:
- maxSingleParty
-
setMaxSingleParty
-
offerBreakfast
-
getOfferBreakfast
Restaurant offers breakfast.- Returns:
- offerBreakfast
-
setOfferBreakfast
-
offerBrunch
-
getOfferBrunch
Restaurant offers brunch.- Returns:
- offerBrunch
-
setOfferBrunch
-
offerLunch
-
getOfferLunch
Restaurant offers lunch.- Returns:
- offerLunch
-
setOfferLunch
-
offerDinner
-
getOfferDinner
Restaurant offers dinner.- Returns:
- offerDinner
-
setOfferDinner
-
amenities
-
addAmenitiesItem
-
getAmenities
Supported OTA specification `RSI` code. See [OTA geoname data](#operation/showAvailableCodesForCategory).- Returns:
- amenities
-
setAmenities
-
infoCodes
-
addInfoCodesItem
-
getInfoCodes
Supported OTA specification `RES` code. See [OTA geoname data](#operation/showAvailableCodesForCategory).- Returns:
- infoCodes
-
setInfoCodes
-
cuisineCodes
-
addCuisineCodesItem
-
getCuisineCodes
Supported OTA specification `CUI` code. See [OTA geoname data](#operation/showAvailableCodesForCategory).- Returns:
- cuisineCodes
-
setCuisineCodes
-
transactionalInventoryList
public UpsertRestaurantRequestSupplier transactionalInventoryList(List<TransactionalTravelInventorySupplier> transactionalInventoryList) -
addTransactionalInventoryListItem
public UpsertRestaurantRequestSupplier addTransactionalInventoryListItem(TransactionalTravelInventorySupplier transactionalInventoryListItem) -
getTransactionalInventoryList
@Nullable @Valid public @Valid List<TransactionalTravelInventorySupplier> getTransactionalInventoryList()Purchasable items for this inventory.- Returns:
- transactionalInventoryList
-
setTransactionalInventoryList
public void setTransactionalInventoryList(List<TransactionalTravelInventorySupplier> transactionalInventoryList) -
equals
-
hashCode
public int hashCode() -
toString
-
socials