Interface StoreSetNameAction
- All Superinterfaces:
ResourceUpdateAction<StoreUpdateAction>
,StoreUpdateAction
This update action produces the StoreNameSet Message.
Example to create an instance using the builder pattern
StoreSetNameAction storeSetNameAction = StoreSetNameAction.builder()
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic StoreSetNameActionBuilder
builder()
builder factory method for StoreSetNameActionstatic StoreSetNameActionBuilder
builder
(StoreSetNameAction template) create builder for StoreSetNameAction instancestatic StoreSetNameAction
deepCopy
(StoreSetNameAction template) factory method to create a deep copy of StoreSetNameAction@Valid LocalizedString
getName()
Value to set.static StoreSetNameAction
of()
factory methodstatic StoreSetNameAction
of
(StoreSetNameAction template) factory method to create a shallow copy StoreSetNameActionvoid
setName
(LocalizedString name) Value to set.static com.fasterxml.jackson.core.type.TypeReference<StoreSetNameAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withStoreSetNameAction
(Function<StoreSetNameAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.store.StoreUpdateAction
getAction, withStoreUpdateAction
-
Field Details
-
SET_NAME
discriminator value for StoreSetNameAction- See Also:
-
-
Method Details
-
getName
Value to set.
- Returns:
- name
-
setName
Value to set.
- Parameters:
name
- value to be set
-
of
factory method- Returns:
- instance of StoreSetNameAction
-
of
factory method to create a shallow copy StoreSetNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of StoreSetNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StoreSetNameAction- Returns:
- builder
-
builder
create builder for StoreSetNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStoreSetNameAction
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
-