Interface StoreNameSetMessagePayload

All Superinterfaces:
MessagePayload, MessagePayloadMixin

public interface StoreNameSetMessagePayload extends MessagePayload

Generated after a successful Set Name update action.


Example to create an instance using the builder pattern

     StoreNameSetMessagePayload storeNameSetMessagePayload = StoreNameSetMessagePayload.builder()
             .build()
 
  • Field Details

    • STORE_NAME_SET

      static final String STORE_NAME_SET
      discriminator value for StoreNameSetMessagePayload
      See Also:
  • 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

      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

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