Class BundleDescriptive

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-08-16T13:27:39.414751+07:00[Asia/Bangkok]") public class BundleDescriptive extends Object
The original package record created by the property.
  • Field Details

  • Constructor Details

    • BundleDescriptive

      public BundleDescriptive()
  • Method Details

    • identifier

      public BundleDescriptive identifier(UUID identifier)
    • getIdentifier

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

      public void setIdentifier(UUID identifier)
    • hotelIdentifier

      public BundleDescriptive hotelIdentifier(UUID hotelIdentifier)
    • getHotelIdentifier

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

      public void setHotelIdentifier(UUID hotelIdentifier)
    • featuredInd

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

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

      public void setLifestyleType(BundleDescriptive.LifestyleTypeEnum lifestyleType)
    • location

      public BundleDescriptive location(GeoJsonPointDescriptive location)
    • getLocation

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

      public void setLocation(GeoJsonPointDescriptive location)
    • descriptions

      public BundleDescriptive descriptions(List<SimpleDescriptionDescriptive> descriptions)
    • addDescriptionsItem

      public BundleDescriptive addDescriptionsItem(SimpleDescriptionDescriptive descriptionsItem)
    • getDescriptions

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

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

      public BundleDescriptive multimedias(List<MultimediaDescriptive> multimedias)
    • addMultimediasItem

      public BundleDescriptive addMultimediasItem(MultimediaDescriptive multimediasItem)
    • getMultimedias

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

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

      public BundleDescriptive contact(ContactDescriptive contact)
    • getContact

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

      public void setContact(ContactDescriptive contact)
    • address

      public BundleDescriptive address(AddressDescriptive address)
    • getAddress

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

      public void setAddress(AddressDescriptive address)
    • commissionable

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

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

      public void setName(String name)
    • proximityCode

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

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

      public BundleDescriptive 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 BundleDescriptive socials(List<SocialDescriptive> socials)
    • addSocialsItem

      public BundleDescriptive addSocialsItem(SocialDescriptive socialsItem)
    • getSocials

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

      public void setSocials(List<SocialDescriptive> socials)
    • applicableStart

      public BundleDescriptive 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 BundleDescriptive 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 BundleDescriptive 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 BundleDescriptive 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 BundleDescriptive 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)
    • fee

    • getFee

      @Nullable @Valid public @Valid MoneysDescriptive getFee()
      Get fee
      Returns:
      fee
    • setFee

      public void setFee(MoneysDescriptive fee)
    • percentDiscount

      public BundleDescriptive percentDiscount(Double percentDiscount)
    • getPercentDiscount

      @Nonnull @NotNull @DecimalMin("0.0") @DecimalMax("1.0") public @NotNull @DecimalMin("0.0") @DecimalMax("1.0") Double getPercentDiscount()
      Expected savings. Indicate how much the traveler is [usually] saving by booking it through this payment. Example: 20% discount. minimum: 0.0 maximum: 1.0
      Returns:
      percentDiscount
    • setPercentDiscount

      public void setPercentDiscount(Double percentDiscount)
    • daysOfWeek

      public BundleDescriptive daysOfWeek(DowPatternGroupDescriptive daysOfWeek)
    • getDaysOfWeek

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

      public void setDaysOfWeek(DowPatternGroupDescriptive daysOfWeek)
    • itemDescriptions

      public BundleDescriptive itemDescriptions(List<SimpleDescriptionDescriptive> itemDescriptions)
    • addItemDescriptionsItem

      public BundleDescriptive addItemDescriptionsItem(SimpleDescriptionDescriptive itemDescriptionsItem)
    • getItemDescriptions

      @Nullable @Valid public @Valid List<SimpleDescriptionDescriptive> getItemDescriptions()
      Localized description of items contained in package.
      Returns:
      itemDescriptions
    • setItemDescriptions

      public void setItemDescriptions(List<SimpleDescriptionDescriptive> itemDescriptions)
    • numberOfUnits

      public BundleDescriptive numberOfUnits(Integer numberOfUnits)
    • getNumberOfUnits

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

      public void setNumberOfUnits(Integer numberOfUnits)
    • pricingType

      public BundleDescriptive pricingType(BundleDescriptive.PricingTypeEnum pricingType)
    • getPricingType

      @Nullable public BundleDescriptive.PricingTypeEnum getPricingType()
      Specifies how the package is priced.
      Returns:
      pricingType
    • setPricingType

      public void setPricingType(BundleDescriptive.PricingTypeEnum pricingType)
    • ratePlanIdentifier

      public BundleDescriptive 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 package. Example: You want the package to only be available when a specific room is available.
      Returns:
      ratePlanIdentifier
    • setRatePlanIdentifier

      public void setRatePlanIdentifier(UUID ratePlanIdentifier)
    • ratePlan

      public BundleDescriptive ratePlan(RatePlanDescriptive ratePlan)
    • getRatePlan

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

      public void setRatePlan(RatePlanDescriptive ratePlan)
    • 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