Interface StoreNameSetMessage

All Superinterfaces:
BaseResource, DomainResource<Message>, Identifiable<Message>, Message, Versioned<Message>

public interface StoreNameSetMessage extends 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 Details

  • Method Details

    • getName

      @Valid @Valid LocalizedString getName()

      Name of the Store set during the Set Name update action.

      Returns:
      name
    • getNameAllLocales

      @Valid @Valid List<LocalizedString> getNameAllLocales()

      Names set for the Store in different locales.

      Returns:
      nameAllLocales
    • setName

      void setName(LocalizedString name)

      Name of the Store set during the Set Name update action.

      Parameters:
      name - value to be set
    • setNameAllLocales

      void setNameAllLocales(LocalizedString... nameAllLocales)

      Names set for the Store in different locales.

      Parameters:
      nameAllLocales - values to be set
    • setNameAllLocales

      void setNameAllLocales(List<LocalizedString> nameAllLocales)

      Names set for the Store in different locales.

      Parameters:
      nameAllLocales - values to be set
    • of

      static StoreNameSetMessage 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
    • deepCopy

      factory method to create a deep copy of StoreNameSetMessage
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static StoreNameSetMessageBuilder 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

      default <T> T withStoreNameSetMessage(Function<StoreNameSetMessage,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<StoreNameSetMessage> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference