Interface ProductSelectionChangeNameAction
- All Superinterfaces:
ProductSelectionUpdateAction
,ResourceUpdateAction<ProductSelectionUpdateAction>
ProductSelectionChangeNameAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductSelectionChangeNameAction productSelectionChangeNameAction = ProductSelectionChangeNameAction.builder()
.name(nameBuilder -> nameBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ProductSelectionChangeNameAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProductSelectionChangeNameActionbuilder
(ProductSelectionChangeNameAction template) create builder for ProductSelectionChangeNameAction instancedeepCopy
(ProductSelectionChangeNameAction template) factory method to create a deep copy of ProductSelectionChangeNameAction@NotNull @Valid LocalizedString
getName()
The new name to be set for the ProductSelection.of()
factory methodof
(ProductSelectionChangeNameAction template) factory method to create a shallow copy ProductSelectionChangeNameActionvoid
setName
(LocalizedString name) The new name to be set for the ProductSelection.static com.fasterxml.jackson.core.type.TypeReference<ProductSelectionChangeNameAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.product_selection.ProductSelectionUpdateAction
getAction, withProductSelectionUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_NAME
discriminator value for ProductSelectionChangeNameAction- See Also:
-
-
Method Details
-
getName
The new name to be set for the ProductSelection.
- Returns:
- name
-
setName
The new name to be set for the ProductSelection.
- Parameters:
name
- value to be set
-
of
factory method- Returns:
- instance of ProductSelectionChangeNameAction
-
of
factory method to create a shallow copy ProductSelectionChangeNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProductSelectionChangeNameAction deepCopy(@Nullable ProductSelectionChangeNameAction template) factory method to create a deep copy of ProductSelectionChangeNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductSelectionChangeNameAction- Returns:
- builder
-
builder
create builder for ProductSelectionChangeNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProductSelectionChangeNameAction
default <T> T withProductSelectionChangeNameAction(Function<ProductSelectionChangeNameAction, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<ProductSelectionChangeNameAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-