Class RestaurantConsumer

java.lang.Object
travel.wink.sdk.inventory.model.RestaurantConsumer

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-31T09:11:40.364983137+07:00[Asia/Bangkok]") public class RestaurantConsumer extends Object
Inventory data object
  • Field Details

  • Constructor Details

    • RestaurantConsumer

      public RestaurantConsumer()
  • Method Details

    • identifier

      public RestaurantConsumer identifier(UUID identifier)
    • getIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getIdentifier()
      Unique record identifier
      Returns:
      identifier
    • setIdentifier

      public void setIdentifier(UUID identifier)
    • hotelIdentifier

      public RestaurantConsumer hotelIdentifier(UUID hotelIdentifier)
    • getHotelIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getHotelIdentifier()
      Hotel identifier.
      Returns:
      hotelIdentifier
    • setHotelIdentifier

      public void setHotelIdentifier(UUID hotelIdentifier)
    • featuredInd

      public RestaurantConsumer featuredInd(Boolean featuredInd)
    • getFeaturedInd

      @Nonnull @NotNull public @NotNull Boolean getFeaturedInd()
      Indicates whether this inventory is featured. Use this flag as a way to signify that this inventory is special.
      Returns:
      featuredInd
    • setFeaturedInd

      public void setFeaturedInd(Boolean featuredInd)
    • lifestyleType

      public RestaurantConsumer lifestyleType(RestaurantConsumer.LifestyleTypeEnum lifestyleType)
    • getLifestyleType

      @Nullable public RestaurantConsumer.LifestyleTypeEnum getLifestyleType()
      Indicate the type of lifestyle this inventory should be associated with.
      Returns:
      lifestyleType
    • setLifestyleType

      public void setLifestyleType(RestaurantConsumer.LifestyleTypeEnum lifestyleType)
    • location

      public RestaurantConsumer location(GeoJsonPointConsumer location)
    • getLocation

      @Nonnull @NotNull @Valid public @NotNull @Valid GeoJsonPointConsumer getLocation()
      Get location
      Returns:
      location
    • setLocation

      public void setLocation(GeoJsonPointConsumer location)
    • descriptions

      public RestaurantConsumer descriptions(List<SimpleDescriptionConsumer> descriptions)
    • addDescriptionsItem

      public RestaurantConsumer addDescriptionsItem(SimpleDescriptionConsumer descriptionsItem)
    • getDescriptions

      @Nonnull @NotNull @Valid public @NotNull @Valid List<SimpleDescriptionConsumer> getDescriptions()
      Localized descriptions describing inventory.
      Returns:
      descriptions
    • setDescriptions

      public void setDescriptions(List<SimpleDescriptionConsumer> descriptions)
    • multimedias

      public RestaurantConsumer multimedias(List<SimpleMultimediaConsumer> multimedias)
    • addMultimediasItem

      public RestaurantConsumer addMultimediasItem(SimpleMultimediaConsumer multimediasItem)
    • getMultimedias

      @Nonnull @NotNull @Valid public @NotNull @Valid List<SimpleMultimediaConsumer> getMultimedias()
      List of images / videos of inventory.
      Returns:
      multimedias
    • setMultimedias

      public void setMultimedias(List<SimpleMultimediaConsumer> multimedias)
    • contact

      public RestaurantConsumer contact(ContactConsumer contact)
    • getContact

      @Nonnull @NotNull @Valid public @NotNull @Valid ContactConsumer getContact()
      Get contact
      Returns:
      contact
    • setContact

      public void setContact(ContactConsumer contact)
    • address

      public RestaurantConsumer address(AddressConsumer address)
    • getAddress

      @Nonnull @NotNull @Valid public @NotNull @Valid AddressConsumer getAddress()
      Get address
      Returns:
      address
    • setAddress

      public void setAddress(AddressConsumer address)
    • commissionable

      public RestaurantConsumer commissionable(Boolean commissionable)
    • getCommissionable

      @Nonnull @NotNull public @NotNull Boolean getCommissionable()
      Indicate whether sales channels receive commission for selling this inventory.
      Returns:
      commissionable
    • setCommissionable

      public void setCommissionable(Boolean commissionable)
    • name

      public RestaurantConsumer name(String name)
    • getName

      @Nonnull @NotNull public @NotNull String getName()
      Internal name of inventory.
      Returns:
      name
    • setName

      public void setName(String name)
    • proximityCode

      public RestaurantConsumer proximityCode(String proximityCode)
    • getProximityCode

      @Nonnull @NotNull public @NotNull String getProximityCode()
      Supported OTA specification `PRX` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      proximityCode
    • setProximityCode

      public void setProximityCode(String proximityCode)
    • sort

      public RestaurantConsumer sort(Integer sort)
    • getSort

      @Nullable public Integer getSort()
      Use this property to sort an inventory in a list of activities.
      Returns:
      sort
    • setSort

      public void setSort(Integer sort)
    • minAgeAppropriateCode

      public RestaurantConsumer minAgeAppropriateCode(String minAgeAppropriateCode)
    • getMinAgeAppropriateCode

      @Nullable public String getMinAgeAppropriateCode()
      Supported OTA specification `AQC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      minAgeAppropriateCode
    • setMinAgeAppropriateCode

      public void setMinAgeAppropriateCode(String minAgeAppropriateCode)
    • bookable

      public RestaurantConsumer bookable(Boolean bookable)
    • getBookable

      @Nonnull @NotNull public @NotNull Boolean getBookable()
      Indicates if this inventory can be added to a booking or if it is read-only marketing material only.
      Returns:
      bookable
    • setBookable

      public void setBookable(Boolean bookable)
    • active

      public RestaurantConsumer active(Boolean active)
    • getActive

      @Nonnull @NotNull public @NotNull Boolean getActive()
      Modify inventory availability with this flag.
      Returns:
      active
    • setActive

      public void setActive(Boolean active)
    • disabilityFeatures

      public RestaurantConsumer disabilityFeatures(List<String> disabilityFeatures)
    • addDisabilityFeaturesItem

      public RestaurantConsumer addDisabilityFeaturesItem(String disabilityFeaturesItem)
    • getDisabilityFeatures

      @Nullable public List<String> getDisabilityFeatures()
      Supported OTA specification `PHY` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      disabilityFeatures
    • setDisabilityFeatures

      public void setDisabilityFeatures(List<String> disabilityFeatures)
    • securityFeatures

      public RestaurantConsumer securityFeatures(List<String> securityFeatures)
    • addSecurityFeaturesItem

      public RestaurantConsumer addSecurityFeaturesItem(String securityFeaturesItem)
    • getSecurityFeatures

      @Nullable public List<String> getSecurityFeatures()
      Supported OTA specification `SEC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      securityFeatures
    • setSecurityFeatures

      public void setSecurityFeatures(List<String> securityFeatures)
    • socials

      public RestaurantConsumer socials(List<SocialConsumer> socials)
    • addSocialsItem

      public RestaurantConsumer addSocialsItem(SocialConsumer socialsItem)
    • getSocials

      @Nullable @Valid public @Valid List<SocialConsumer> getSocials()
      Social network accounts for inventory (if applicable).
      Returns:
      socials
    • setSocials

      public void setSocials(List<SocialConsumer> socials)
    • pricePoint

      public RestaurantConsumer pricePoint(RestaurantConsumer.PricePointEnum pricePoint)
    • getPricePoint

      @Nonnull @NotNull public @NotNull RestaurantConsumer.PricePointEnum getPricePoint()
      Level of expensiveness.
      Returns:
      pricePoint
    • setPricePoint

      public void setPricePoint(RestaurantConsumer.PricePointEnum pricePoint)
    • recognitionList

      public RestaurantConsumer recognitionList(List<TravelInventoryRecognitionConsumer> recognitionList)
    • addRecognitionListItem

      public RestaurantConsumer addRecognitionListItem(TravelInventoryRecognitionConsumer recognitionListItem)
    • getRecognitionList

      @Nullable @Valid public @Valid List<TravelInventoryRecognitionConsumer> getRecognitionList()
      Inventory-level recognition.
      Returns:
      recognitionList
    • setRecognitionList

      public void setRecognitionList(List<TravelInventoryRecognitionConsumer> recognitionList)
    • applicableStart

      public RestaurantConsumer applicableStart(LocalDate applicableStart)
    • getApplicableStart

      @Nullable @Valid public @Valid LocalDate 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

      public void setApplicableStart(LocalDate applicableStart)
    • applicableEnd

      public RestaurantConsumer applicableEnd(LocalDate applicableEnd)
    • getApplicableEnd

      @Nullable @Valid public @Valid LocalDate 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

      public void setApplicableEnd(LocalDate applicableEnd)
    • reservationRequiredInd

      public RestaurantConsumer reservationRequiredInd(Boolean reservationRequiredInd)
    • getReservationRequiredInd

      @Nullable public Boolean getReservationRequiredInd()
      Indicates whether a reservation is required to participate in this inventory.
      Returns:
      reservationRequiredInd
    • setReservationRequiredInd

      public void setReservationRequiredInd(Boolean reservationRequiredInd)
    • opens

      public RestaurantConsumer opens(String opens)
    • getOpens

      @Nullable public String getOpens()
      Opening time of inventory (if applicable). Leave empty if inventory is always available.
      Returns:
      opens
    • setOpens

      public void setOpens(String opens)
    • closes

      public RestaurantConsumer closes(String closes)
    • getCloses

      @Nullable public String getCloses()
      Closing time of inventory (if applicable). Leave empty if inventory is always available.
      Returns:
      closes
    • setCloses

      public void setCloses(String closes)
    • daysOfWeek

      public RestaurantConsumer daysOfWeek(DowPatternGroupConsumer daysOfWeek)
    • getDaysOfWeek

      @Nullable @Valid public @Valid DowPatternGroupConsumer getDaysOfWeek()
      Get daysOfWeek
      Returns:
      daysOfWeek
    • setDaysOfWeek

      public void setDaysOfWeek(DowPatternGroupConsumer daysOfWeek)
    • maxSeatingCapacity

      public RestaurantConsumer maxSeatingCapacity(Integer maxSeatingCapacity)
    • getMaxSeatingCapacity

      @Nonnull @NotNull @Min(1L) public @NotNull @Min(1L) Integer getMaxSeatingCapacity()
      Restaurant supports these many people. minimum: 1
      Returns:
      maxSeatingCapacity
    • setMaxSeatingCapacity

      public void setMaxSeatingCapacity(Integer maxSeatingCapacity)
    • maxSingleParty

      public RestaurantConsumer maxSingleParty(Integer maxSingleParty)
    • getMaxSingleParty

      @Nonnull @NotNull @Min(1L) public @NotNull @Min(1L) Integer getMaxSingleParty()
      Largest table at restaurant. minimum: 1
      Returns:
      maxSingleParty
    • setMaxSingleParty

      public void setMaxSingleParty(Integer maxSingleParty)
    • offerBreakfast

      public RestaurantConsumer offerBreakfast(Boolean offerBreakfast)
    • getOfferBreakfast

      @Nonnull @NotNull public @NotNull Boolean getOfferBreakfast()
      Restaurant offers breakfast.
      Returns:
      offerBreakfast
    • setOfferBreakfast

      public void setOfferBreakfast(Boolean offerBreakfast)
    • offerLunch

      public RestaurantConsumer offerLunch(Boolean offerLunch)
    • getOfferLunch

      @Nonnull @NotNull public @NotNull Boolean getOfferLunch()
      Restaurant offers lunch.
      Returns:
      offerLunch
    • setOfferLunch

      public void setOfferLunch(Boolean offerLunch)
    • offerDinner

      public RestaurantConsumer offerDinner(Boolean offerDinner)
    • getOfferDinner

      @Nonnull @NotNull public @NotNull Boolean getOfferDinner()
      Restaurant offers dinner.
      Returns:
      offerDinner
    • setOfferDinner

      public void setOfferDinner(Boolean offerDinner)
    • offerBrunch

      public RestaurantConsumer offerBrunch(Boolean offerBrunch)
    • getOfferBrunch

      @Nonnull @NotNull public @NotNull Boolean getOfferBrunch()
      Restaurant offers brunch.
      Returns:
      offerBrunch
    • setOfferBrunch

      public void setOfferBrunch(Boolean offerBrunch)
    • amenities

      public RestaurantConsumer amenities(List<String> amenities)
    • addAmenitiesItem

      public RestaurantConsumer addAmenitiesItem(String amenitiesItem)
    • getAmenities

      @Nullable public List<String> getAmenities()
      Supported OTA specification `RSI` code. See [OTA geoname data](#operation/showAvailableCodesForCategory).
      Returns:
      amenities
    • setAmenities

      public void setAmenities(List<String> amenities)
    • infoCodes

      public RestaurantConsumer infoCodes(List<String> infoCodes)
    • addInfoCodesItem

      public RestaurantConsumer addInfoCodesItem(String infoCodesItem)
    • getInfoCodes

      @Nullable public List<String> getInfoCodes()
      Supported OTA specification `RES` code. See [OTA geoname data](#operation/showAvailableCodesForCategory).
      Returns:
      infoCodes
    • setInfoCodes

      public void setInfoCodes(List<String> infoCodes)
    • cuisineCodes

      public RestaurantConsumer cuisineCodes(List<String> cuisineCodes)
    • addCuisineCodesItem

      public RestaurantConsumer addCuisineCodesItem(String cuisineCodesItem)
    • getCuisineCodes

      @Nullable public List<String> getCuisineCodes()
      Supported OTA specification `CUI` code. See [OTA geoname data](#operation/showAvailableCodesForCategory).
      Returns:
      cuisineCodes
    • setCuisineCodes

      public void setCuisineCodes(List<String> cuisineCodes)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object