Interface StoreProductSelectionsChangedMessagePayload

All Superinterfaces:
MessagePayload, MessagePayloadMixin

public interface StoreProductSelectionsChangedMessagePayload extends MessagePayload

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

     StoreProductSelectionsChangedMessagePayload storeProductSelectionsChangedMessagePayload = StoreProductSelectionsChangedMessagePayload.builder()
             .build()
 
  • Field Details

    • STORE_PRODUCT_SELECTIONS_CHANGED

      static final String STORE_PRODUCT_SELECTIONS_CHANGED
      discriminator value for StoreProductSelectionsChangedMessagePayload
      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 StoreProductSelectionsChangedMessagePayload
    • of

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

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

      builder factory method for StoreProductSelectionsChangedMessagePayload
      Returns:
      builder
    • builder

      create builder for StoreProductSelectionsChangedMessagePayload instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withStoreProductSelectionsChangedMessagePayload

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