Interface ProductTailoringSetSlugAction
- All Superinterfaces:
ProductTailoringUpdateAction
Generates the ProductTailoringSlugSet Message.
Example to create an instance using the builder pattern
ProductTailoringSetSlugAction productTailoringSetSlugAction = ProductTailoringSetSlugAction.builder()
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ProductTailoringSetSlugActionbuilder(ProductTailoringSetSlugAction template) create builder for ProductTailoringSetSlugAction instancecopyDeep()deepCopy(ProductTailoringSetSlugAction template) factory method to create a deep copy of ProductTailoringSetSlugAction@Valid LocalizedStringgetSlug()Value to set.Iftrue, only the stagedslugis updated.of()factory methodof(ProductTailoringSetSlugAction template) factory method to create a shallow copy ProductTailoringSetSlugActionvoidsetSlug(LocalizedString slug) Value to set.voidIftrue, only the stagedslugis updated.static com.fasterxml.jackson.core.type.TypeReference<ProductTailoringSetSlugAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.product_tailoring.ProductTailoringUpdateAction
getAction, withProductTailoringUpdateAction
-
Field Details
-
SET_SLUG
discriminator value for ProductTailoringSetSlugAction- See Also:
-
-
Method Details
-
getSlug
Value to set. If empty, any existing value will be removed.
- Returns:
- slug
-
getStaged
Boolean getStaged()If
true, only the stagedslugis updated. Iffalse, both the current and stagedslugare updated.- Returns:
- staged
-
setSlug
Value to set. If empty, any existing value will be removed.
- Parameters:
slug- value to be set
-
setStaged
If
true, only the stagedslugis updated. Iffalse, both the current and stagedslugare updated.- Parameters:
staged- value to be set
-
of
factory method- Returns:
- instance of ProductTailoringSetSlugAction
-
of
factory method to create a shallow copy ProductTailoringSetSlugAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ProductTailoringSetSlugAction copyDeep()- Specified by:
copyDeepin interfaceProductTailoringUpdateAction
-
deepCopy
@Nullable static ProductTailoringSetSlugAction deepCopy(@Nullable ProductTailoringSetSlugAction template) factory method to create a deep copy of ProductTailoringSetSlugAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductTailoringSetSlugAction- Returns:
- builder
-
builder
create builder for ProductTailoringSetSlugAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withProductTailoringSetSlugAction
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
-