Interface TaxCategoryChangeNameAction
- All Superinterfaces:
ResourceUpdateAction<TaxCategoryUpdateAction>
,TaxCategoryUpdateAction
TaxCategoryChangeNameAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
TaxCategoryChangeNameAction taxCategoryChangeNameAction = TaxCategoryChangeNameAction.builder()
.name("{name}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for TaxCategoryChangeNameAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for TaxCategoryChangeNameActionbuilder
(TaxCategoryChangeNameAction template) create builder for TaxCategoryChangeNameAction instancestatic TaxCategoryChangeNameAction
deepCopy
(TaxCategoryChangeNameAction template) factory method to create a deep copy of TaxCategoryChangeNameAction@NotNull String
getName()
New value to set.static TaxCategoryChangeNameAction
of()
factory methodstatic TaxCategoryChangeNameAction
of
(TaxCategoryChangeNameAction template) factory method to create a shallow copy TaxCategoryChangeNameActionvoid
New value to set.static com.fasterxml.jackson.core.type.TypeReference<TaxCategoryChangeNameAction>
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
-
CHANGE_NAME
discriminator value for TaxCategoryChangeNameAction- See Also:
-
-
Method Details
-
getName
New value to set. Must not be empty.
- Returns:
- name
-
setName
New value to set. Must not be empty.
- Parameters:
name
- value to be set
-
of
factory method- Returns:
- instance of TaxCategoryChangeNameAction
-
of
factory method to create a shallow copy TaxCategoryChangeNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static TaxCategoryChangeNameAction deepCopy(@Nullable TaxCategoryChangeNameAction template) factory method to create a deep copy of TaxCategoryChangeNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for TaxCategoryChangeNameAction- Returns:
- builder
-
builder
create builder for TaxCategoryChangeNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withTaxCategoryChangeNameAction
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
-