Interface StoreProductSelectionsChangedMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
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 Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for StoreProductSelectionsChangedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for StoreProductSelectionsChangedMessagePayloadcreate builder for StoreProductSelectionsChangedMessagePayload instancefactory method to create a deep copy of StoreProductSelectionsChangedMessagePayload@Valid List<ProductSelectionSetting>
ProductSelectionSettings that were added to the Store.@Valid List<ProductSelectionSetting>
ProductSelectionSettings that were removed from the Store.@Valid List<ProductSelectionSetting>
ProductSelectionSettings that were updated in the Store.of()
factory methodfactory method to create a shallow copy StoreProductSelectionsChangedMessagePayloadvoid
setAddedProductSelections
(ProductSelectionSetting... addedProductSelections) ProductSelectionSettings that were added to the Store.void
setAddedProductSelections
(List<ProductSelectionSetting> addedProductSelections) ProductSelectionSettings that were added to the Store.void
setRemovedProductSelections
(ProductSelectionSetting... removedProductSelections) ProductSelectionSettings that were removed from the Store.void
setRemovedProductSelections
(List<ProductSelectionSetting> removedProductSelections) ProductSelectionSettings that were removed from the Store.void
setUpdatedProductSelections
(ProductSelectionSetting... updatedProductSelections) ProductSelectionSettings that were updated in the Store.void
setUpdatedProductSelections
(List<ProductSelectionSetting> updatedProductSelections) ProductSelectionSettings that were updated in the Store.static com.fasterxml.jackson.core.type.TypeReference<StoreProductSelectionsChangedMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withStoreProductSelectionsChangedMessagePayload
(Function<StoreProductSelectionsChangedMessagePayload, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Field Details
-
STORE_PRODUCT_SELECTIONS_CHANGED
discriminator value for StoreProductSelectionsChangedMessagePayload- See Also:
-
-
Method Details
-
getAddedProductSelections
ProductSelectionSettings that were added to the Store.
- Returns:
- addedProductSelections
-
getRemovedProductSelections
ProductSelectionSettings that were removed from the Store.
- Returns:
- removedProductSelections
-
getUpdatedProductSelections
ProductSelectionSettings that were updated in the Store.
- Returns:
- updatedProductSelections
-
setAddedProductSelections
ProductSelectionSettings that were added to the Store.
- Parameters:
addedProductSelections
- values to be set
-
setAddedProductSelections
ProductSelectionSettings that were added to the Store.
- Parameters:
addedProductSelections
- values to be set
-
setRemovedProductSelections
ProductSelectionSettings that were removed from the Store.
- Parameters:
removedProductSelections
- values to be set
-
setRemovedProductSelections
ProductSelectionSettings that were removed from the Store.
- Parameters:
removedProductSelections
- values to be set
-
setUpdatedProductSelections
ProductSelectionSettings that were updated in the Store.
- Parameters:
updatedProductSelections
- values to be set
-
setUpdatedProductSelections
ProductSelectionSettings that were updated in the Store.
- Parameters:
updatedProductSelections
- values to be set
-
of
factory method- Returns:
- instance of StoreProductSelectionsChangedMessagePayload
-
of
static StoreProductSelectionsChangedMessagePayload of(StoreProductSelectionsChangedMessagePayload template) factory method to create a shallow copy StoreProductSelectionsChangedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static StoreProductSelectionsChangedMessagePayload deepCopy(@Nullable StoreProductSelectionsChangedMessagePayload template) 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
static StoreProductSelectionsChangedMessagePayloadBuilder builder(StoreProductSelectionsChangedMessagePayload template) 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
-