Class UpsertActivityRequest

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-04T14:49:52.963414389+07:00[Asia/Bangkok]") public class UpsertActivityRequest extends Object
UpsertActivityRequest
  • Field Details

  • Constructor Details

    • UpsertActivityRequest

      public UpsertActivityRequest()
  • Method Details

    • featuredInd

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

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

      public void setLifestyleType(UpsertActivityRequest.LifestyleTypeEnum lifestyleType)
    • location

      public UpsertActivityRequest location(GeoJsonPoint location)
    • getLocation

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

      public void setLocation(GeoJsonPoint location)
    • descriptions

      public UpsertActivityRequest descriptions(List<SimpleDescription> descriptions)
    • addDescriptionsItem

      public UpsertActivityRequest addDescriptionsItem(SimpleDescription descriptionsItem)
    • getDescriptions

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

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

      public UpsertActivityRequest multimedias(List<SimpleMultimedia> multimedias)
    • addMultimediasItem

      public UpsertActivityRequest addMultimediasItem(SimpleMultimedia multimediasItem)
    • getMultimedias

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

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

      public UpsertActivityRequest contact(Contact contact)
    • getContact

      @Nullable @Valid public @Valid Contact getContact()
      Get contact
      Returns:
      contact
    • setContact

      public void setContact(Contact contact)
    • address

      public UpsertActivityRequest address(UpsertAddressRequest address)
    • getAddress

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

      public void setAddress(UpsertAddressRequest address)
    • commissionable

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

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

      public void setName(String name)
    • proximityCode

      public UpsertActivityRequest proximityCode(String proximityCode)
    • getProximityCode

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

      public void setProximityCode(String proximityCode)
    • sort

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

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

      public UpsertActivityRequest 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 UpsertActivityRequest socials(List<Social> socials)
    • addSocialsItem

      public UpsertActivityRequest addSocialsItem(Social socialsItem)
    • getSocials

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

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

    • getPricePoint

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

      public void setPricePoint(UpsertActivityRequest.PricePointEnum pricePoint)
    • recognitionList

      public UpsertActivityRequest recognitionList(List<TravelInventoryRecognition> recognitionList)
    • addRecognitionListItem

      public UpsertActivityRequest addRecognitionListItem(TravelInventoryRecognition recognitionListItem)
    • getRecognitionList

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

      public void setRecognitionList(List<TravelInventoryRecognition> recognitionList)
    • transactionInventoryList

      public UpsertActivityRequest transactionInventoryList(List<TransactionalTravelInventory> transactionInventoryList)
    • addTransactionInventoryListItem

      public UpsertActivityRequest addTransactionInventoryListItem(TransactionalTravelInventory transactionInventoryListItem)
    • getTransactionInventoryList

      @Nullable @Valid public @Valid List<TransactionalTravelInventory> getTransactionInventoryList()
      Get transactionInventoryList
      Returns:
      transactionInventoryList
    • setTransactionInventoryList

      public void setTransactionInventoryList(List<TransactionalTravelInventory> transactionInventoryList)
    • applicableStart

      public UpsertActivityRequest 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 UpsertActivityRequest 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 UpsertActivityRequest 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 UpsertActivityRequest 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 UpsertActivityRequest 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 UpsertActivityRequest daysOfWeek(DowPatternGroup daysOfWeek)
    • getDaysOfWeek

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

      public void setDaysOfWeek(DowPatternGroup daysOfWeek)
    • recreationCategoryCode

      public UpsertActivityRequest recreationCategoryCode(String recreationCategoryCode)
    • getRecreationCategoryCode

      @Nonnull @NotNull public @NotNull String getRecreationCategoryCode()
      Supported OTA specification `RST` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      recreationCategoryCode
    • setRecreationCategoryCode

      public void setRecreationCategoryCode(String recreationCategoryCode)
    • amenities

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

      public UpsertActivityRequest addAmenitiesItem(String amenitiesItem)
    • getAmenities

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

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

      public UpsertActivityRequest transactionalInventoryList(List<TransactionalTravelInventory> transactionalInventoryList)
    • addTransactionalInventoryListItem

      public UpsertActivityRequest addTransactionalInventoryListItem(TransactionalTravelInventory transactionalInventoryListItem)
    • getTransactionalInventoryList

      @Nullable @Valid public @Valid List<TransactionalTravelInventory> getTransactionalInventoryList()
      Purchasable items for this inventory.
      Returns:
      transactionalInventoryList
    • setTransactionalInventoryList

      public void setTransactionalInventoryList(List<TransactionalTravelInventory> transactionalInventoryList)
    • 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