Interface StoreNameSetMessage
- All Superinterfaces:
BaseResource
,DomainResource<Message>
,Identifiable<Message>
,Message
,Versioned<Message>
Generated after a successful Set Name update action.
Example to create an instance using the builder pattern
StoreNameSetMessage storeNameSetMessage = StoreNameSetMessage.builder()
.id("{id}")
.version(0.3)
.createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.sequenceNumber(0.3)
.resource(resourceBuilder -> resourceBuilder)
.resourceVersion(0.3)
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StoreNameSetMessageBuilder
builder()
builder factory method for StoreNameSetMessagestatic StoreNameSetMessageBuilder
builder
(StoreNameSetMessage template) create builder for StoreNameSetMessage instancecopyDeep()
static StoreNameSetMessage
deepCopy
(StoreNameSetMessage template) factory method to create a deep copy of StoreNameSetMessage@Valid LocalizedString
getName()
@Valid List<LocalizedString>
Names set for the Store in different locales.static StoreNameSetMessage
of()
factory methodstatic StoreNameSetMessage
of
(StoreNameSetMessage template) factory method to create a shallow copy StoreNameSetMessagevoid
setName
(LocalizedString name) 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<StoreNameSetMessage>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withStoreNameSetMessage
(Function<StoreNameSetMessage, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.common.BaseResource
withBaseResource
Methods inherited from interface com.commercetools.api.models.DomainResource
get
Methods inherited from interface com.commercetools.api.models.message.Message
getCreatedAt, getCreatedBy, getId, getLastModifiedAt, getLastModifiedBy, getResource, getResourceUserProvidedIdentifiers, getResourceVersion, getSequenceNumber, getType, getVersion, setCreatedAt, setCreatedBy, setId, setLastModifiedAt, setLastModifiedBy, setResource, setResourceUserProvidedIdentifiers, setResourceVersion, setSequenceNumber, setVersion, withMessage
-
Field Details
-
STORE_NAME_SET
discriminator value for StoreNameSetMessage- See Also:
-
-
Method Details
-
getName
- Returns:
- name
-
getNameAllLocales
Names set for the Store in different locales.
- Returns:
- nameAllLocales
-
setName
- 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 StoreNameSetMessage
-
of
factory method to create a shallow copy StoreNameSetMessage- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
copyDeep
StoreNameSetMessage copyDeep()- Specified by:
copyDeep
in interfaceBaseResource
- Specified by:
copyDeep
in interfaceMessage
-
deepCopy
factory method to create a deep copy of StoreNameSetMessage- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StoreNameSetMessage- Returns:
- builder
-
builder
create builder for StoreNameSetMessage instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStoreNameSetMessage
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
-