Interface TaxCategoryUpdateAction
- All Superinterfaces:
ResourceUpdateAction<TaxCategoryUpdateAction>
- All Known Subinterfaces:
TaxCategoryAddTaxRateAction
,TaxCategoryChangeNameAction
,TaxCategoryRemoveTaxRateAction
,TaxCategoryReplaceTaxRateAction
,TaxCategorySetDescriptionAction
,TaxCategorySetKeyAction
TaxCategoryUpdateAction
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
TaxCategoryUpdateAction taxCategoryUpdateAction = TaxCategoryUpdateAction.addTaxRateBuilder()
taxRate(taxRateBuilder -> taxRateBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder for addTaxRate subtypebuilder for changeName subtypestatic TaxCategoryUpdateAction
deepCopy
(TaxCategoryUpdateAction template) factory method to create a deep copy of TaxCategoryUpdateAction@NotNull String
builder for removeTaxRate subtypebuilder for replaceTaxRate subtypebuilder for setDescription subtypebuilder for setKey subtypestatic com.fasterxml.jackson.core.type.TypeReference<TaxCategoryUpdateAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<TaxCategoryUpdateAction>
- Returns:
- action
-
deepCopy
factory method to create a deep copy of TaxCategoryUpdateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
addTaxRateBuilder
builder for addTaxRate subtype- Returns:
- builder
-
changeNameBuilder
builder for changeName subtype- Returns:
- builder
-
removeTaxRateBuilder
builder for removeTaxRate subtype- Returns:
- builder
-
replaceTaxRateBuilder
builder for replaceTaxRate subtype- Returns:
- builder
-
setDescriptionBuilder
builder for setDescription subtype- Returns:
- builder
-
setKeyBuilder
builder for setKey subtype- Returns:
- builder
-
withTaxCategoryUpdateAction
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
-