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 StoreNameSetMessageBuilderbuilder()builder factory method for StoreNameSetMessagestatic StoreNameSetMessageBuilderbuilder(StoreNameSetMessage template) create builder for StoreNameSetMessage instancecopyDeep()static StoreNameSetMessagedeepCopy(StoreNameSetMessage template) factory method to create a deep copy of StoreNameSetMessage@Valid LocalizedStringgetName()@Valid List<LocalizedString>Names set for the Store in different locales.static StoreNameSetMessageof()factory methodstatic StoreNameSetMessageof(StoreNameSetMessage template) factory method to create a shallow copy StoreNameSetMessagevoidsetName(LocalizedString name) voidsetNameAllLocales(LocalizedString... nameAllLocales) Names set for the Store in different locales.voidsetNameAllLocales(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> TwithStoreNameSetMessage(Function<StoreNameSetMessage, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.common.BaseResource
withBaseResourceMethods inherited from interface com.commercetools.api.models.DomainResource
getMethods 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:
copyDeepin interfaceBaseResource- Specified by:
copyDeepin 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
-