Interface TaxCategorySetKeyAction
- All Superinterfaces:
ResourceUpdateAction<TaxCategoryUpdateAction>,TaxCategoryUpdateAction
TaxCategorySetKeyAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
TaxCategorySetKeyAction taxCategorySetKeyAction = TaxCategorySetKeyAction.builder()
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for TaxCategorySetKeyActionbuilder(TaxCategorySetKeyAction template) create builder for TaxCategorySetKeyAction instancecopyDeep()static TaxCategorySetKeyActiondeepCopy(TaxCategorySetKeyAction template) factory method to create a deep copy of TaxCategorySetKeyActiongetKey()Value to set.static TaxCategorySetKeyActionof()factory methodstatic TaxCategorySetKeyActionof(TaxCategorySetKeyAction template) factory method to create a shallow copy TaxCategorySetKeyActionvoidValue to set.static com.fasterxml.jackson.core.type.TypeReference<TaxCategorySetKeyAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
getMethods inherited from interface com.commercetools.api.models.tax_category.TaxCategoryUpdateAction
getAction, withTaxCategoryUpdateAction
-
Field Details
-
SET_KEY
discriminator value for TaxCategorySetKeyAction- See Also:
-
-
Method Details
-
getKey
String getKey()Value to set. If empty, any existing value will be removed.
- Returns:
- key
-
setKey
Value to set. If empty, any existing value will be removed.
- Parameters:
key- value to be set
-
of
factory method- Returns:
- instance of TaxCategorySetKeyAction
-
of
factory method to create a shallow copy TaxCategorySetKeyAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
TaxCategorySetKeyAction copyDeep()- Specified by:
copyDeepin interfaceTaxCategoryUpdateAction
-
deepCopy
factory method to create a deep copy of TaxCategorySetKeyAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for TaxCategorySetKeyAction- Returns:
- builder
-
builder
create builder for TaxCategorySetKeyAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withTaxCategorySetKeyAction
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
-