Package travel.wink.sdk.affiliate.model
Class UpsertSellerInventoryItemAffiliate
java.lang.Object
travel.wink.sdk.affiliate.model.UpsertSellerInventoryItemAffiliate
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-03-10T10:47:30.893146041+07:00[Asia/Bangkok]")
public class UpsertSellerInventoryItemAffiliate
extends Object
UpsertSellerInventoryItemAffiliate
-
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDescriptionsItem(SimpleDescriptionAffiliate descriptionsItem) addKeywordsItem(String keywordsItem) addMultimediaIdentifiersItem(String multimediaIdentifiersItem) animateDelay(Integer animateDelay) channelInventoryIdentifier(UUID channelInventoryIdentifier) channelInventoryType(UpsertSellerInventoryItemAffiliate.ChannelInventoryTypeEnum channelInventoryType) descriptions(List<SimpleDescriptionAffiliate> descriptions) engineConfigurationIdentifier(UUID engineConfigurationIdentifier) booleanCreate an animated gif instead of a list of images.Controls animation delay in milliseconds.@NotNull @Valid UUIDThe 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<SimpleDescriptionAffiliate>Title and description of inventory.Indicate which initial values to display first on the front-facing card@NotNull @Valid UUIDWhich configuration to use with this itemThe type of inventory being offer up for saleGet keywordsReference identifiers to Cloudinary media assets@NotNull StringDescriptive name of this item for seller usegetSort()The specific badge to display over the image on the Web Component.Availability status@NotNull @Valid UUIDSupplier / Hotel identifier that owns this inventory.inthashCode()multimediaIdentifiers(List<String> multimediaIdentifiers) sellerInventoryItemName(String sellerInventoryItemName) voidsetAnimate(Boolean animate) voidsetAnimateDelay(Integer animateDelay) voidsetChannelInventoryIdentifier(UUID channelInventoryIdentifier) voidsetChannelInventoryType(UpsertSellerInventoryItemAffiliate.ChannelInventoryTypeEnum channelInventoryType) voidsetDescriptions(List<SimpleDescriptionAffiliate> descriptions) voidvoidsetEngineConfigurationIdentifier(UUID engineConfigurationIdentifier) voidvoidsetKeywords(List<String> keywords) voidsetMultimediaIdentifiers(List<String> multimediaIdentifiers) voidsetSellerInventoryItemName(String sellerInventoryItemName) voidvoidvoidsetSupplierIdentifier(UUID supplierIdentifier) supplierIdentifier(UUID supplierIdentifier) toString()
-
Field Details
-
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
-
UpsertSellerInventoryItemAffiliate
public UpsertSellerInventoryItemAffiliate()
-
-
Method Details
-
sellerInventoryItemName
-
getSellerInventoryItemName
Descriptive name of this item for seller use- Returns:
- sellerInventoryItemName
-
setSellerInventoryItemName
-
engineConfigurationIdentifier
public UpsertSellerInventoryItemAffiliate engineConfigurationIdentifier(UUID engineConfigurationIdentifier) -
getEngineConfigurationIdentifier
Which configuration to use with this item- Returns:
- engineConfigurationIdentifier
-
setEngineConfigurationIdentifier
-
descriptions
public UpsertSellerInventoryItemAffiliate descriptions(List<SimpleDescriptionAffiliate> descriptions) -
addDescriptionsItem
public UpsertSellerInventoryItemAffiliate addDescriptionsItem(SimpleDescriptionAffiliate descriptionsItem) -
getDescriptions
@Nonnull @NotNull @Valid @Size(min=1, max=2147483647) public @NotNull @Valid @Size(min=1,max=2147483647) List<SimpleDescriptionAffiliate> 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()Get keywords- Returns:
- keywords
-
setKeywords
-
status
public UpsertSellerInventoryItemAffiliate status(UpsertSellerInventoryItemAffiliate.StatusEnum status) -
getStatus
Availability status- Returns:
- status
-
setStatus
-
inventoryType
public UpsertSellerInventoryItemAffiliate inventoryType(UpsertSellerInventoryItemAffiliate.InventoryTypeEnum inventoryType) -
getInventoryType
@Nonnull @NotNull public @NotNull UpsertSellerInventoryItemAffiliate.InventoryTypeEnum getInventoryType()The type of inventory being offer up for sale- Returns:
- inventoryType
-
setInventoryType
-
channelInventoryType
public UpsertSellerInventoryItemAffiliate channelInventoryType(UpsertSellerInventoryItemAffiliate.ChannelInventoryTypeEnum channelInventoryType) -
getChannelInventoryType
@Nonnull @NotNull public @NotNull UpsertSellerInventoryItemAffiliate.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(UpsertSellerInventoryItemAffiliate.ChannelInventoryTypeEnum channelInventoryType) -
supplierIdentifier
-
getSupplierIdentifier
Supplier / Hotel identifier that owns this inventory.- Returns:
- supplierIdentifier
-
setSupplierIdentifier
-
channelInventoryIdentifier
public UpsertSellerInventoryItemAffiliate channelInventoryIdentifier(UUID channelInventoryIdentifier) -
getChannelInventoryIdentifier
The channel inventory record identifier describing the relationship between supplier and seller.- Returns:
- channelInventoryIdentifier
-
setChannelInventoryIdentifier
-
multimediaIdentifiers
-
addMultimediaIdentifiersItem
public UpsertSellerInventoryItemAffiliate 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
-
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
public UpsertSellerInventoryItemAffiliate displayType(UpsertSellerInventoryItemAffiliate.DisplayTypeEnum displayType) -
getDisplayType
@Nonnull @NotNull public @NotNull UpsertSellerInventoryItemAffiliate.DisplayTypeEnum getDisplayType()Indicate which initial values to display first on the front-facing card- Returns:
- displayType
-
setDisplayType
-
equals
-
hashCode
public int hashCode() -
toString
-