Interface StoreProductSelectionsChangedMessage

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

public interface StoreProductSelectionsChangedMessage extends Message

Generated by a successful Add Product Selection, Remove Product Selection, Set Product Selections, or Change Product Selections Active update action.


Example to create an instance using the builder pattern

     StoreProductSelectionsChangedMessage storeProductSelectionsChangedMessage = StoreProductSelectionsChangedMessage.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

    • STORE_PRODUCT_SELECTIONS_CHANGED

      static final String STORE_PRODUCT_SELECTIONS_CHANGED
      discriminator value for StoreProductSelectionsChangedMessage
      See Also:
  • Method Details

    • getAddedProductSelections

      @Valid @Valid List<ProductSelectionSetting> getAddedProductSelections()

      ProductSelectionSettings that were added to the Store.

      Returns:
      addedProductSelections
    • getRemovedProductSelections

      @Valid @Valid List<ProductSelectionSetting> getRemovedProductSelections()

      ProductSelectionSettings that were removed from the Store.

      Returns:
      removedProductSelections
    • getUpdatedProductSelections

      @Valid @Valid List<ProductSelectionSetting> getUpdatedProductSelections()

      ProductSelectionSettings that were updated in the Store.

      Returns:
      updatedProductSelections
    • setAddedProductSelections

      void setAddedProductSelections(ProductSelectionSetting... addedProductSelections)

      ProductSelectionSettings that were added to the Store.

      Parameters:
      addedProductSelections - values to be set
    • setAddedProductSelections

      void setAddedProductSelections(List<ProductSelectionSetting> addedProductSelections)

      ProductSelectionSettings that were added to the Store.

      Parameters:
      addedProductSelections - values to be set
    • setRemovedProductSelections

      void setRemovedProductSelections(ProductSelectionSetting... removedProductSelections)

      ProductSelectionSettings that were removed from the Store.

      Parameters:
      removedProductSelections - values to be set
    • setRemovedProductSelections

      void setRemovedProductSelections(List<ProductSelectionSetting> removedProductSelections)

      ProductSelectionSettings that were removed from the Store.

      Parameters:
      removedProductSelections - values to be set
    • setUpdatedProductSelections

      void setUpdatedProductSelections(ProductSelectionSetting... updatedProductSelections)

      ProductSelectionSettings that were updated in the Store.

      Parameters:
      updatedProductSelections - values to be set
    • setUpdatedProductSelections

      void setUpdatedProductSelections(List<ProductSelectionSetting> updatedProductSelections)

      ProductSelectionSettings that were updated in the Store.

      Parameters:
      updatedProductSelections - values to be set
    • of

      factory method
      Returns:
      instance of StoreProductSelectionsChangedMessage
    • of

      factory method to create a shallow copy StoreProductSelectionsChangedMessage
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

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

      builder factory method for StoreProductSelectionsChangedMessage
      Returns:
      builder
    • builder

      create builder for StoreProductSelectionsChangedMessage instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withStoreProductSelectionsChangedMessage

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