Interface ProductUpdateAction
- All Superinterfaces:
ResourceUpdateAction<ProductUpdateAction>
- All Known Subinterfaces:
ProductAddAssetAction
,ProductAddExternalImageAction
,ProductAddPriceAction
,ProductAddToCategoryAction
,ProductAddVariantAction
,ProductChangeAssetNameAction
,ProductChangeAssetOrderAction
,ProductChangeMasterVariantAction
,ProductChangeNameAction
,ProductChangePriceAction
,ProductChangeSlugAction
,ProductLegacySetSkuAction
,ProductMoveImageToPositionAction
,ProductPublishAction
,ProductRemoveAssetAction
,ProductRemoveFromCategoryAction
,ProductRemoveImageAction
,ProductRemovePriceAction
,ProductRemoveVariantAction
,ProductRevertStagedChangesAction
,ProductRevertStagedVariantChangesAction
,ProductSetAssetCustomFieldAction
,ProductSetAssetCustomTypeAction
,ProductSetAssetDescriptionAction
,ProductSetAssetKeyAction
,ProductSetAssetSourcesAction
,ProductSetAssetTagsAction
,ProductSetAttributeAction
,ProductSetAttributeInAllVariantsAction
,ProductSetCategoryOrderHintAction
,ProductSetDescriptionAction
,ProductSetDiscountedPriceAction
,ProductSetImageLabelAction
,ProductSetKeyAction
,ProductSetMetaDescriptionAction
,ProductSetMetaKeywordsAction
,ProductSetMetaTitleAction
,ProductSetPriceKeyAction
,ProductSetPriceModeAction
,ProductSetPricesAction
,ProductSetProductPriceCustomFieldAction
,ProductSetProductPriceCustomTypeAction
,ProductSetProductVariantKeyAction
,ProductSetSearchKeywordsAction
,ProductSetSkuAction
,ProductSetTaxCategoryAction
,ProductTransitionStateAction
,ProductUnpublishAction
ProductUpdateAction
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
ProductUpdateAction productUpdateAction = ProductUpdateAction.addAssetBuilder()
asset(assetBuilder -> assetBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProductAddAssetActionBuilder
builder for addAsset subtypebuilder for addExternalImage subtypestatic ProductAddPriceActionBuilder
builder for addPrice subtypebuilder for addToCategory subtypebuilder for addVariant subtypebuilder for changeAssetName subtypebuilder for changeAssetOrder subtypebuilder for changeMasterVariant subtypebuilder for changeName subtypebuilder for changePrice subtypebuilder for changeSlug subtypestatic ProductUpdateAction
deepCopy
(ProductUpdateAction template) factory method to create a deep copy of ProductUpdateAction@NotNull String
builder for legacySetSku subtypebuilder for moveImageToPosition subtypestatic ProductPublishActionBuilder
builder for publish subtypebuilder for removeAsset subtypebuilder for removeFromCategory subtypebuilder for removeImage subtypebuilder for removePrice subtypebuilder for removeVariant subtypebuilder for revertStagedChanges subtypebuilder for revertStagedVariantChanges subtypebuilder for setAssetCustomField subtypebuilder for setAssetCustomType subtypebuilder for setAssetDescription subtypebuilder for setAssetKey subtypebuilder for setAssetSources subtypebuilder for setAssetTags subtypebuilder for setAttribute subtypebuilder for setAttributeInAllVariants subtypebuilder for setCategoryOrderHint subtypebuilder for setDescription subtypebuilder for setDiscountedPrice subtypebuilder for setImageLabel subtypestatic ProductSetKeyActionBuilder
builder for setKey subtypebuilder for setMetaDescription subtypebuilder for setMetaKeywords subtypebuilder for setMetaTitle subtypebuilder for setPriceKey subtypebuilder for setPriceMode subtypebuilder for setPrices subtypebuilder for setProductPriceCustomField subtypebuilder for setProductPriceCustomType subtypebuilder for setProductVariantKey subtypebuilder for setSearchKeywords subtypestatic ProductSetSkuActionBuilder
builder for setSku subtypebuilder for setTaxCategory subtypebuilder for transitionState subtypestatic com.fasterxml.jackson.core.type.TypeReference<ProductUpdateAction>
gives a TypeReference for usage with Jackson DataBindbuilder for unpublish subtypedefault <T> T
withProductUpdateAction
(Function<ProductUpdateAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<ProductUpdateAction>
- Returns:
- action
-
deepCopy
factory method to create a deep copy of ProductUpdateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
addAssetBuilder
builder for addAsset subtype- Returns:
- builder
-
addExternalImageBuilder
builder for addExternalImage subtype- Returns:
- builder
-
addPriceBuilder
builder for addPrice subtype- Returns:
- builder
-
addToCategoryBuilder
builder for addToCategory subtype- Returns:
- builder
-
addVariantBuilder
builder for addVariant subtype- Returns:
- builder
-
changeAssetNameBuilder
builder for changeAssetName subtype- Returns:
- builder
-
changeAssetOrderBuilder
builder for changeAssetOrder subtype- Returns:
- builder
-
changeMasterVariantBuilder
builder for changeMasterVariant subtype- Returns:
- builder
-
changeNameBuilder
builder for changeName subtype- Returns:
- builder
-
changePriceBuilder
builder for changePrice subtype- Returns:
- builder
-
changeSlugBuilder
builder for changeSlug subtype- Returns:
- builder
-
legacySetSkuBuilder
builder for legacySetSku subtype- Returns:
- builder
-
moveImageToPositionBuilder
builder for moveImageToPosition subtype- Returns:
- builder
-
publishBuilder
builder for publish subtype- Returns:
- builder
-
removeAssetBuilder
builder for removeAsset subtype- Returns:
- builder
-
removeFromCategoryBuilder
builder for removeFromCategory subtype- Returns:
- builder
-
removeImageBuilder
builder for removeImage subtype- Returns:
- builder
-
removePriceBuilder
builder for removePrice subtype- Returns:
- builder
-
removeVariantBuilder
builder for removeVariant subtype- Returns:
- builder
-
revertStagedChangesBuilder
builder for revertStagedChanges subtype- Returns:
- builder
-
revertStagedVariantChangesBuilder
builder for revertStagedVariantChanges subtype- Returns:
- builder
-
setAssetCustomFieldBuilder
builder for setAssetCustomField subtype- Returns:
- builder
-
setAssetCustomTypeBuilder
builder for setAssetCustomType subtype- Returns:
- builder
-
setAssetDescriptionBuilder
builder for setAssetDescription subtype- Returns:
- builder
-
setAssetKeyBuilder
builder for setAssetKey subtype- Returns:
- builder
-
setAssetSourcesBuilder
builder for setAssetSources subtype- Returns:
- builder
-
setAssetTagsBuilder
builder for setAssetTags subtype- Returns:
- builder
-
setAttributeBuilder
builder for setAttribute subtype- Returns:
- builder
-
setAttributeInAllVariantsBuilder
builder for setAttributeInAllVariants subtype- Returns:
- builder
-
setCategoryOrderHintBuilder
builder for setCategoryOrderHint subtype- Returns:
- builder
-
setDescriptionBuilder
builder for setDescription subtype- Returns:
- builder
-
setDiscountedPriceBuilder
builder for setDiscountedPrice subtype- Returns:
- builder
-
setImageLabelBuilder
builder for setImageLabel subtype- Returns:
- builder
-
setKeyBuilder
builder for setKey subtype- Returns:
- builder
-
setMetaDescriptionBuilder
builder for setMetaDescription subtype- Returns:
- builder
-
setMetaKeywordsBuilder
builder for setMetaKeywords subtype- Returns:
- builder
-
setMetaTitleBuilder
builder for setMetaTitle subtype- Returns:
- builder
-
setPriceKeyBuilder
builder for setPriceKey subtype- Returns:
- builder
-
setPriceModeBuilder
builder for setPriceMode subtype- Returns:
- builder
-
setPricesBuilder
builder for setPrices subtype- Returns:
- builder
-
setProductPriceCustomFieldBuilder
builder for setProductPriceCustomField subtype- Returns:
- builder
-
setProductPriceCustomTypeBuilder
builder for setProductPriceCustomType subtype- Returns:
- builder
-
setProductVariantKeyBuilder
builder for setProductVariantKey subtype- Returns:
- builder
-
setSearchKeywordsBuilder
builder for setSearchKeywords subtype- Returns:
- builder
-
setSkuBuilder
builder for setSku subtype- Returns:
- builder
-
setTaxCategoryBuilder
builder for setTaxCategory subtype- Returns:
- builder
-
transitionStateBuilder
builder for transitionState subtype- Returns:
- builder
-
unpublishBuilder
builder for unpublish subtype- Returns:
- builder
-
withProductUpdateAction
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-