Interface StoreNameSetMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Set Name update action.
Example to create an instance using the builder pattern
StoreNameSetMessagePayload storeNameSetMessagePayload = StoreNameSetMessagePayload.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for StoreNameSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for StoreNameSetMessagePayloadbuilder
(StoreNameSetMessagePayload template) create builder for StoreNameSetMessagePayload instancestatic StoreNameSetMessagePayload
deepCopy
(StoreNameSetMessagePayload template) factory method to create a deep copy of StoreNameSetMessagePayload@Valid LocalizedString
getName()
Name of the Store set during the Set Name update action.@Valid List<LocalizedString>
Names set for the Store in different locales.static StoreNameSetMessagePayload
of()
factory methodstatic StoreNameSetMessagePayload
of
(StoreNameSetMessagePayload template) factory method to create a shallow copy StoreNameSetMessagePayloadvoid
setName
(LocalizedString name) Name of the Store set during the Set Name update action.void
setNameAllLocales
(LocalizedString... nameAllLocales) Names set for the Store in different locales.void
setNameAllLocales
(List<LocalizedString> nameAllLocales) Names set for the Store in different locales.static com.fasterxml.jackson.core.type.TypeReference<StoreNameSetMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Field Details
-
STORE_NAME_SET
discriminator value for StoreNameSetMessagePayload- See Also:
-
-
Method Details
-
getName
Name of the Store set during the Set Name update action.
- Returns:
- name
-
getNameAllLocales
Names set for the Store in different locales.
- Returns:
- nameAllLocales
-
setName
Name of the Store set during the Set Name update action.
- Parameters:
name
- value to be set
-
setNameAllLocales
Names set for the Store in different locales.
- Parameters:
nameAllLocales
- values to be set
-
setNameAllLocales
Names set for the Store in different locales.
- Parameters:
nameAllLocales
- values to be set
-
of
factory method- Returns:
- instance of StoreNameSetMessagePayload
-
of
factory method to create a shallow copy StoreNameSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of StoreNameSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StoreNameSetMessagePayload- Returns:
- builder
-
builder
create builder for StoreNameSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStoreNameSetMessagePayload
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
-