Interface ProductTailoringSetNameAction
- All Superinterfaces:
ProductTailoringUpdateAction
Generates the ProductTailoringNameSet Message.
Example to create an instance using the builder pattern
ProductTailoringSetNameAction productTailoringSetNameAction = ProductTailoringSetNameAction.builder()
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ProductTailoringSetNameActionbuilder(ProductTailoringSetNameAction template) create builder for ProductTailoringSetNameAction instancecopyDeep()deepCopy(ProductTailoringSetNameAction template) factory method to create a deep copy of ProductTailoringSetNameAction@Valid LocalizedStringgetName()Value to set.Iftrue, only the stagednameis updated.of()factory methodof(ProductTailoringSetNameAction template) factory method to create a shallow copy ProductTailoringSetNameActionvoidsetName(LocalizedString name) Value to set.voidIftrue, only the stagednameis updated.static com.fasterxml.jackson.core.type.TypeReference<ProductTailoringSetNameAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.product_tailoring.ProductTailoringUpdateAction
getAction, withProductTailoringUpdateAction
-
Field Details
-
SET_NAME
discriminator value for ProductTailoringSetNameAction- See Also:
-
-
Method Details
-
getName
Value to set. If empty, any existing value will be removed.
- Returns:
- name
-
getStaged
Boolean getStaged()If
true, only the stagednameis updated. Iffalse, both the current and stagednameare updated.- Returns:
- staged
-
setName
Value to set. If empty, any existing value will be removed.
- Parameters:
name- value to be set
-
setStaged
If
true, only the stagednameis updated. Iffalse, both the current and stagednameare updated.- Parameters:
staged- value to be set
-
of
factory method- Returns:
- instance of ProductTailoringSetNameAction
-
of
factory method to create a shallow copy ProductTailoringSetNameAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ProductTailoringSetNameAction copyDeep()- Specified by:
copyDeepin interfaceProductTailoringUpdateAction
-
deepCopy
@Nullable static ProductTailoringSetNameAction deepCopy(@Nullable ProductTailoringSetNameAction template) factory method to create a deep copy of ProductTailoringSetNameAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductTailoringSetNameAction- Returns:
- builder
-
builder
create builder for ProductTailoringSetNameAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withProductTailoringSetNameAction
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
-