Class AddOnSupplier

java.lang.Object
travel.wink.sdk.extranet.model.AddOnSupplier

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-03-10T10:48:44.479471290+07:00[Asia/Bangkok]") public class AddOnSupplier extends Object
The original add-on record created by the property.
  • Field Details

  • Constructor Details

    • AddOnSupplier

      public AddOnSupplier()
  • Method Details

    • identifier

      public AddOnSupplier 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 AddOnSupplier hotelIdentifier(UUID hotelIdentifier)
    • getHotelIdentifier

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

      public void setHotelIdentifier(UUID hotelIdentifier)
    • featuredInd

      public AddOnSupplier 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 AddOnSupplier lifestyleType(AddOnSupplier.LifestyleTypeEnum lifestyleType)
    • getLifestyleType

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

      public void setLifestyleType(AddOnSupplier.LifestyleTypeEnum lifestyleType)
    • location

      public AddOnSupplier location(GeoJsonPointSupplier location)
    • getLocation

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

      public void setLocation(GeoJsonPointSupplier location)
    • descriptions

      public AddOnSupplier descriptions(List<SimpleDescriptionSupplier> descriptions)
    • addDescriptionsItem

      public AddOnSupplier addDescriptionsItem(SimpleDescriptionSupplier descriptionsItem)
    • getDescriptions

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

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

      public AddOnSupplier multimedias(List<SimpleMultimediaSupplier> multimedias)
    • addMultimediasItem

      public AddOnSupplier addMultimediasItem(SimpleMultimediaSupplier multimediasItem)
    • getMultimedias

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

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

      public AddOnSupplier contact(ContactSupplier contact)
    • getContact

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

      public void setContact(ContactSupplier contact)
    • address

      public AddOnSupplier address(AddressSupplier address)
    • getAddress

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

      public void setAddress(AddressSupplier address)
    • commissionable

      public AddOnSupplier 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 AddOnSupplier name(String name)
    • getName

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

      public void setName(String name)
    • proximityCode

      public AddOnSupplier 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 AddOnSupplier 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 AddOnSupplier 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 AddOnSupplier 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 AddOnSupplier 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 AddOnSupplier disabilityFeatures(List<String> disabilityFeatures)
    • addDisabilityFeaturesItem

      public AddOnSupplier 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 AddOnSupplier securityFeatures(List<String> securityFeatures)
    • addSecurityFeaturesItem

      public AddOnSupplier 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 AddOnSupplier socials(List<SocialSupplier> socials)
    • addSocialsItem

      public AddOnSupplier addSocialsItem(SocialSupplier socialsItem)
    • getSocials

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

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

      public AddOnSupplier pricePoint(AddOnSupplier.PricePointEnum pricePoint)
    • getPricePoint

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

      public void setPricePoint(AddOnSupplier.PricePointEnum pricePoint)
    • recognitionList

      public AddOnSupplier recognitionList(List<TravelInventoryRecognitionSupplier> recognitionList)
    • addRecognitionListItem

      public AddOnSupplier addRecognitionListItem(TravelInventoryRecognitionSupplier recognitionListItem)
    • getRecognitionList

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

      public void setRecognitionList(List<TravelInventoryRecognitionSupplier> recognitionList)
    • transactionalInventoryList

      public AddOnSupplier transactionalInventoryList(List<TransactionalTravelInventorySupplier> transactionalInventoryList)
    • addTransactionalInventoryListItem

      public AddOnSupplier 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)
    • applicableStart

      public AddOnSupplier 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 AddOnSupplier 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 AddOnSupplier 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 AddOnSupplier 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 AddOnSupplier 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 AddOnSupplier daysOfWeek(DowPatternGroupSupplier daysOfWeek)
    • getDaysOfWeek

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

      public void setDaysOfWeek(DowPatternGroupSupplier daysOfWeek)
    • numberOfUnits

      public AddOnSupplier numberOfUnits(Integer numberOfUnits)
    • getNumberOfUnits

      @Nonnull @NotNull @Min(0L) public @NotNull @Min(0L) Integer getNumberOfUnits()
      Total number of add-ons available to purchase. minimum: 0
      Returns:
      numberOfUnits
    • setNumberOfUnits

      public void setNumberOfUnits(Integer numberOfUnits)
    • ratePlanIdentifier

      public AddOnSupplier ratePlanIdentifier(UUID ratePlanIdentifier)
    • getRatePlanIdentifier

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

      public void setRatePlanIdentifier(UUID ratePlanIdentifier)
    • ratePlan

      public AddOnSupplier ratePlan(RatePlanSupplier ratePlan)
    • getRatePlan

      @Nullable @Valid public @Valid RatePlanSupplier getRatePlan()
      Get ratePlan
      Returns:
      ratePlan
    • setRatePlan

      public void setRatePlan(RatePlanSupplier ratePlan)
    • mandatory

      public AddOnSupplier mandatory(Boolean mandatory)
    • getMandatory

      @Nonnull @NotNull public @NotNull Boolean getMandatory()
      Make this add-on mandatory for all guests by enabling this flag.
      Returns:
      mandatory
    • setMandatory

      public void setMandatory(Boolean mandatory)
    • 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