Interface ProductTypeSetKeyAction
- All Superinterfaces:
ProductTypeUpdateAction,ResourceUpdateAction<ProductTypeUpdateAction>
ProductTypeSetKeyAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductTypeSetKeyAction productTypeSetKeyAction = ProductTypeSetKeyAction.builder()
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ProductTypeSetKeyActionbuilder(ProductTypeSetKeyAction template) create builder for ProductTypeSetKeyAction instancecopyDeep()static ProductTypeSetKeyActiondeepCopy(ProductTypeSetKeyAction template) factory method to create a deep copy of ProductTypeSetKeyActiongetKey()Value to set.static ProductTypeSetKeyActionof()factory methodstatic ProductTypeSetKeyActionof(ProductTypeSetKeyAction template) factory method to create a shallow copy ProductTypeSetKeyActionstatic ProductTypeSetKeyActionofUnset()voidValue to set.static com.fasterxml.jackson.core.type.TypeReference<ProductTypeSetKeyAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.product_type.ProductTypeUpdateAction
getAction, withProductTypeUpdateActionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_KEY
discriminator value for ProductTypeSetKeyAction- 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 ProductTypeSetKeyAction
-
of
factory method to create a shallow copy ProductTypeSetKeyAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ProductTypeSetKeyAction copyDeep()- Specified by:
copyDeepin interfaceProductTypeUpdateAction
-
deepCopy
factory method to create a deep copy of ProductTypeSetKeyAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductTypeSetKeyAction- Returns:
- builder
-
builder
create builder for ProductTypeSetKeyAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withProductTypeSetKeyAction
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
ofUnset
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-