Class SellerInventoryItem
java.lang.Object
travel.wink.sdk.booking.engine.model.SellerInventoryItem
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-11T13:45:57.039738+07:00[Asia/Bangkok]")
public class SellerInventoryItem
extends Object
Identifier inventory record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumChannel inventory type is a subset of inventory type in that it does not include the `HOTEL` type.static enumIndicate which initial values to display first on the front-facing cardstatic enumThe type of inventory being offer up for salestatic enumThe specific badge to display over the image on the Web Component.static enumAvailability status -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDescriptionsItem(SimpleDescription descriptionsItem) addKeywordsItem(String keywordsItem) addMultimediaIdentifiersItem(String multimediaIdentifiersItem) animateDelay(Integer animateDelay) channelInventoryIdentifier(String channelInventoryIdentifier) channelInventoryType(SellerInventoryItem.ChannelInventoryTypeEnum channelInventoryType) descriptions(List<SimpleDescription> descriptions) displayType(SellerInventoryItem.DisplayTypeEnum displayType) engineConfigurationIdentifier(String engineConfigurationIdentifier) booleanCreate an animated gif instead of a list of images.Controls animation delay in milliseconds.@NotNull StringThe channel inventory record identifier describing the relationship between supplier and seller.Channel inventory type is a subset of inventory type in that it does not include the `HOTEL` type.@NotNull @Valid @Size(min=1,max=2147483647) List<SimpleDescription>Title and description of inventory.@NotNull SellerInventoryItem.DisplayTypeEnumIndicate which initial values to display first on the front-facing card@NotNull StringWhich configuration to use with this itemUnique identifierThe type of inventory being offer up for saleKeywordsReference identifiers to Cloudinary media assetsCompany / Owner identifier@NotNull StringDescriptive name of this item for seller usegetSort()The specific badge to display over the image on the Web Component.@NotNull SellerInventoryItem.StatusEnumAvailability status@NotNull StringSupplier / Hotel identifier that owns this inventory.inthashCode()identifier(String identifier) inventoryType(SellerInventoryItem.InventoryTypeEnum inventoryType) multimediaIdentifiers(List<String> multimediaIdentifiers) sellerIdentifier(String sellerIdentifier) sellerInventoryItemName(String sellerInventoryItemName) voidsetAnimate(Boolean animate) voidsetAnimateDelay(Integer animateDelay) voidsetChannelInventoryIdentifier(String channelInventoryIdentifier) voidsetChannelInventoryType(SellerInventoryItem.ChannelInventoryTypeEnum channelInventoryType) voidsetDescriptions(List<SimpleDescription> descriptions) voidsetDisplayType(SellerInventoryItem.DisplayTypeEnum displayType) voidsetEngineConfigurationIdentifier(String engineConfigurationIdentifier) voidsetIdentifier(String identifier) voidsetInventoryType(SellerInventoryItem.InventoryTypeEnum inventoryType) voidsetKeywords(List<String> keywords) voidsetMultimediaIdentifiers(List<String> multimediaIdentifiers) voidsetSellerIdentifier(String sellerIdentifier) voidsetSellerInventoryItemName(String sellerInventoryItemName) voidvoidvoidsetSupplierIdentifier(String supplierIdentifier) status(SellerInventoryItem.StatusEnum status) supplierIdentifier(String supplierIdentifier) toString()
-
Field Details
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_SELLER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_SELLER_INVENTORY_ITEM_NAME
- See Also:
-
JSON_PROPERTY_ENGINE_CONFIGURATION_IDENTIFIER
- See Also:
-
JSON_PROPERTY_DESCRIPTIONS
- See Also:
-
JSON_PROPERTY_KEYWORDS
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_INVENTORY_TYPE
- See Also:
-
JSON_PROPERTY_CHANNEL_INVENTORY_TYPE
- See Also:
-
JSON_PROPERTY_SUPPLIER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_CHANNEL_INVENTORY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_MULTIMEDIA_IDENTIFIERS
- See Also:
-
JSON_PROPERTY_ANIMATE
- See Also:
-
JSON_PROPERTY_ANIMATE_DELAY
- See Also:
-
JSON_PROPERTY_SORT
- See Also:
-
JSON_PROPERTY_DISPLAY_TYPE
- See Also:
-
-
Constructor Details
-
SellerInventoryItem
public SellerInventoryItem()
-
-
Method Details
-
identifier
-
getIdentifier
Unique identifier- Returns:
- identifier
-
setIdentifier
-
sellerIdentifier
-
getSellerIdentifier
Company / Owner identifier- Returns:
- sellerIdentifier
-
setSellerIdentifier
-
sellerInventoryItemName
-
getSellerInventoryItemName
Descriptive name of this item for seller use- Returns:
- sellerInventoryItemName
-
setSellerInventoryItemName
-
engineConfigurationIdentifier
-
getEngineConfigurationIdentifier
Which configuration to use with this item- Returns:
- engineConfigurationIdentifier
-
setEngineConfigurationIdentifier
-
descriptions
-
addDescriptionsItem
-
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
-
keywords
-
addKeywordsItem
-
getKeywords
@Nonnull @NotNull @Size(min=1, max=2147483647) public @NotNull @Size(min=1,max=2147483647) List<String> getKeywords()Keywords- Returns:
- keywords
-
setKeywords
-
status
-
getStatus
Availability status- Returns:
- status
-
setStatus
-
inventoryType
-
getInventoryType
The type of inventory being offer up for sale- Returns:
- inventoryType
-
setInventoryType
-
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
-
getSupplierIdentifier
Supplier / Hotel identifier that owns this inventory.- Returns:
- supplierIdentifier
-
setSupplierIdentifier
-
channelInventoryIdentifier
-
getChannelInventoryIdentifier
The channel inventory record identifier describing the relationship between supplier and seller.- Returns:
- channelInventoryIdentifier
-
setChannelInventoryIdentifier
-
multimediaIdentifiers
-
addMultimediaIdentifiersItem
-
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
-
animate
-
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
-
animateDelay
-
getAnimateDelay
Controls animation delay in milliseconds.- Returns:
- animateDelay
-
setAnimateDelay
-
sort
-
getSort
The specific badge to display over the image on the Web Component.- Returns:
- sort
-
setSort
-
displayType
-
getDisplayType
Indicate which initial values to display first on the front-facing card- Returns:
- displayType
-
setDisplayType
-
equals
-
hashCode
public int hashCode() -
toString
-