Class SellerInventoryItem

java.lang.Object
travel.wink.sdk.booking.engine.model.SellerInventoryItem

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-06-29T13:20:36.800596+07:00[Asia/Bangkok]") public class SellerInventoryItem extends Object
Identifier inventory record
  • Field Details

  • Constructor Details

    • SellerInventoryItem

      public SellerInventoryItem()
  • Method Details

    • identifier

      public SellerInventoryItem identifier(String identifier)
    • getIdentifier

      @Nullable public String getIdentifier()
      Unique identifier
      Returns:
      identifier
    • setIdentifier

      public void setIdentifier(String identifier)
    • sellerIdentifier

      public SellerInventoryItem sellerIdentifier(String sellerIdentifier)
    • getSellerIdentifier

      @Nullable public String getSellerIdentifier()
      Company / Owner identifier
      Returns:
      sellerIdentifier
    • setSellerIdentifier

      public void setSellerIdentifier(String sellerIdentifier)
    • sellerInventoryItemName

      public SellerInventoryItem sellerInventoryItemName(String sellerInventoryItemName)
    • getSellerInventoryItemName

      @Nonnull @NotNull public @NotNull String getSellerInventoryItemName()
      Descriptive name of this item for seller use
      Returns:
      sellerInventoryItemName
    • setSellerInventoryItemName

      public void setSellerInventoryItemName(String sellerInventoryItemName)
    • engineConfigurationIdentifier

      public SellerInventoryItem engineConfigurationIdentifier(String engineConfigurationIdentifier)
    • getEngineConfigurationIdentifier

      @Nonnull @NotNull public @NotNull String getEngineConfigurationIdentifier()
      Which configuration to use with this item
      Returns:
      engineConfigurationIdentifier
    • setEngineConfigurationIdentifier

      public void setEngineConfigurationIdentifier(String engineConfigurationIdentifier)
    • descriptions

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

      public SellerInventoryItem addDescriptionsItem(SimpleDescription descriptionsItem)
    • getDescriptions

      @Nonnull @NotNull @Valid @Size(min=1, max=2147483647) public @NotNull @Valid @Size(min=1,max=2147483647) List<SimpleDescription> getDescriptions()
      Title and description of inventory.
      Returns:
      descriptions
    • setDescriptions

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

      public SellerInventoryItem keywords(List<String> keywords)
    • addKeywordsItem

      public SellerInventoryItem addKeywordsItem(String keywordsItem)
    • getKeywords

      @Nonnull @NotNull @Size(min=1, max=2147483647) public @NotNull @Size(min=1,max=2147483647) List<String> getKeywords()
      Keywords
      Returns:
      keywords
    • setKeywords

      public void setKeywords(List<String> keywords)
    • status

    • getStatus

      @Nonnull @NotNull public @NotNull SellerInventoryItem.StatusEnum getStatus()
      Availability status
      Returns:
      status
    • setStatus

      public void setStatus(SellerInventoryItem.StatusEnum status)
    • inventoryType

      public SellerInventoryItem inventoryType(SellerInventoryItem.InventoryTypeEnum inventoryType)
    • getInventoryType

      @Nonnull @NotNull public @NotNull SellerInventoryItem.InventoryTypeEnum getInventoryType()
      The type of inventory being offer up for sale
      Returns:
      inventoryType
    • setInventoryType

      public void setInventoryType(SellerInventoryItem.InventoryTypeEnum inventoryType)
    • channelInventoryType

      public SellerInventoryItem channelInventoryType(SellerInventoryItem.ChannelInventoryTypeEnum channelInventoryType)
    • getChannelInventoryType

      @Nonnull @NotNull public @NotNull SellerInventoryItem.ChannelInventoryTypeEnum getChannelInventoryType()
      Channel inventory type is a subset of inventory type in that it does not include the `HOTEL` type. THe way it works is, as a seller you might want to sell a guest room but instead of showing the price of that guest room, you would like to display the best room type price for the property.
      Returns:
      channelInventoryType
    • setChannelInventoryType

      public void setChannelInventoryType(SellerInventoryItem.ChannelInventoryTypeEnum channelInventoryType)
    • supplierIdentifier

      public SellerInventoryItem supplierIdentifier(String supplierIdentifier)
    • getSupplierIdentifier

      @Nonnull @NotNull public @NotNull String getSupplierIdentifier()
      Supplier / Hotel identifier that owns this inventory.
      Returns:
      supplierIdentifier
    • setSupplierIdentifier

      public void setSupplierIdentifier(String supplierIdentifier)
    • channelInventoryIdentifier

      public SellerInventoryItem channelInventoryIdentifier(String channelInventoryIdentifier)
    • getChannelInventoryIdentifier

      @Nonnull @NotNull public @NotNull String getChannelInventoryIdentifier()
      The channel inventory record identifier describing the relationship between supplier and seller.
      Returns:
      channelInventoryIdentifier
    • setChannelInventoryIdentifier

      public void setChannelInventoryIdentifier(String channelInventoryIdentifier)
    • multimediaIdentifiers

      public SellerInventoryItem multimediaIdentifiers(List<String> multimediaIdentifiers)
    • addMultimediaIdentifiersItem

      public SellerInventoryItem addMultimediaIdentifiersItem(String multimediaIdentifiersItem)
    • getMultimediaIdentifiers

      @Nonnull @NotNull @Size(min=1, max=2147483647) public @NotNull @Size(min=1,max=2147483647) List<String> getMultimediaIdentifiers()
      Reference identifiers to Cloudinary media assets
      Returns:
      multimediaIdentifiers
    • setMultimediaIdentifiers

      public void setMultimediaIdentifiers(List<String> multimediaIdentifiers)
    • animate

      public SellerInventoryItem animate(Boolean animate)
    • getAnimate

      @Nullable public Boolean getAnimate()
      Create an animated gif instead of a list of images. Feature currently not available. Feel free to enable and it will become available at a later date.
      Returns:
      animate
    • setAnimate

      public void setAnimate(Boolean animate)
    • animateDelay

      public SellerInventoryItem animateDelay(Integer animateDelay)
    • getAnimateDelay

      @Nullable public Integer getAnimateDelay()
      Controls animation delay in milliseconds.
      Returns:
      animateDelay
    • setAnimateDelay

      public void setAnimateDelay(Integer animateDelay)
    • sort

    • getSort

      @Nullable public SellerInventoryItem.SortEnum getSort()
      The specific badge to display over the image on the Web Component.
      Returns:
      sort
    • setSort

      public void setSort(SellerInventoryItem.SortEnum sort)
    • displayType

      public SellerInventoryItem displayType(SellerInventoryItem.DisplayTypeEnum displayType)
    • getDisplayType

      @Nonnull @NotNull public @NotNull SellerInventoryItem.DisplayTypeEnum getDisplayType()
      Indicate which initial values to display first on the front-facing card
      Returns:
      displayType
    • setDisplayType

      public void setDisplayType(SellerInventoryItem.DisplayTypeEnum displayType)
    • 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