Interface ProductTypeChangeDescriptionAction
- All Superinterfaces:
ProductTypeUpdateAction
,ResourceUpdateAction<ProductTypeUpdateAction>
- All Known Implementing Classes:
ProductTypeChangeDescriptionActionImpl
ProductTypeChangeDescriptionAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductTypeChangeDescriptionAction productTypeChangeDescriptionAction = ProductTypeChangeDescriptionAction.builder()
.description("{description}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ProductTypeChangeDescriptionAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProductTypeChangeDescriptionActionbuilder
(ProductTypeChangeDescriptionAction template) create builder for ProductTypeChangeDescriptionAction instancedeepCopy
(ProductTypeChangeDescriptionAction template) factory method to create a deep copy of ProductTypeChangeDescriptionAction@NotNull String
New value to set.of()
factory methodof
(ProductTypeChangeDescriptionAction template) factory method to create a shallow copy ProductTypeChangeDescriptionActionvoid
setDescription
(String description) New value to set.static com.fasterxml.jackson.core.type.TypeReference<ProductTypeChangeDescriptionAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.product_type.ProductTypeUpdateAction
getAction, withProductTypeUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_DESCRIPTION
discriminator value for ProductTypeChangeDescriptionAction- See Also:
-
-
Method Details
-
getDescription
New value to set.
- Returns:
- description
-
setDescription
New value to set.
- Parameters:
description
- value to be set
-
of
factory method- Returns:
- instance of ProductTypeChangeDescriptionAction
-
of
factory method to create a shallow copy ProductTypeChangeDescriptionAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProductTypeChangeDescriptionAction deepCopy(@Nullable ProductTypeChangeDescriptionAction template) factory method to create a deep copy of ProductTypeChangeDescriptionAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductTypeChangeDescriptionAction- Returns:
- builder
-
builder
static ProductTypeChangeDescriptionActionBuilder builder(ProductTypeChangeDescriptionAction template) create builder for ProductTypeChangeDescriptionAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProductTypeChangeDescriptionAction
default <T> T withProductTypeChangeDescriptionAction(Function<ProductTypeChangeDescriptionAction, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<ProductTypeChangeDescriptionAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-