Interface TaxCategorySetDescriptionAction
- All Superinterfaces:
ResourceUpdateAction<TaxCategoryUpdateAction>
,TaxCategoryUpdateAction
TaxCategorySetDescriptionAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
TaxCategorySetDescriptionAction taxCategorySetDescriptionAction = TaxCategorySetDescriptionAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for TaxCategorySetDescriptionAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for TaxCategorySetDescriptionActionbuilder
(TaxCategorySetDescriptionAction template) create builder for TaxCategorySetDescriptionAction instancedeepCopy
(TaxCategorySetDescriptionAction template) factory method to create a deep copy of TaxCategorySetDescriptionActionValue to set.of()
factory methodof
(TaxCategorySetDescriptionAction template) factory method to create a shallow copy TaxCategorySetDescriptionActionvoid
setDescription
(String description) Value to set.static com.fasterxml.jackson.core.type.TypeReference<TaxCategorySetDescriptionAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.tax_category.TaxCategoryUpdateAction
getAction, withTaxCategoryUpdateAction
-
Field Details
-
SET_DESCRIPTION
discriminator value for TaxCategorySetDescriptionAction- See Also:
-
-
Method Details
-
getDescription
String getDescription()Value to set. If empty, any existing value will be removed.
- Returns:
- description
-
setDescription
Value to set. If empty, any existing value will be removed.
- Parameters:
description
- value to be set
-
of
factory method- Returns:
- instance of TaxCategorySetDescriptionAction
-
of
factory method to create a shallow copy TaxCategorySetDescriptionAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static TaxCategorySetDescriptionAction deepCopy(@Nullable TaxCategorySetDescriptionAction template) factory method to create a deep copy of TaxCategorySetDescriptionAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for TaxCategorySetDescriptionAction- Returns:
- builder
-
builder
create builder for TaxCategorySetDescriptionAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withTaxCategorySetDescriptionAction
default <T> T withTaxCategorySetDescriptionAction(Function<TaxCategorySetDescriptionAction, 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<TaxCategorySetDescriptionAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-