Interface ProductPublishAction
- All Superinterfaces:
ProductUpdateAction
,ResourceUpdateAction<ProductUpdateAction>
Publishes product data from the Product's staged projection to its current projection. Produces the ProductPublished Message.
Example to create an instance using the builder pattern
ProductPublishAction productPublishAction = ProductPublishAction.builder()
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProductPublishActionBuilder
builder()
builder factory method for ProductPublishActionstatic ProductPublishActionBuilder
builder
(ProductPublishAction template) create builder for ProductPublishAction instancestatic ProductPublishAction
deepCopy
(ProductPublishAction template) factory method to create a deep copy of ProductPublishActiongetScope()
All
orPrices
static ProductPublishAction
of()
factory methodstatic ProductPublishAction
of
(ProductPublishAction template) factory method to create a shallow copy ProductPublishActionvoid
setScope
(ProductPublishScope scope) All
orPrices
static com.fasterxml.jackson.core.type.TypeReference<ProductPublishAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withProductPublishAction
(Function<ProductPublishAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.product.ProductUpdateAction
getAction, withProductUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
PUBLISH
discriminator value for ProductPublishAction- See Also:
-
-
Method Details
-
getScope
ProductPublishScope getScope()All
orPrices
- Returns:
- scope
-
setScope
All
orPrices
- Parameters:
scope
- value to be set
-
of
factory method- Returns:
- instance of ProductPublishAction
-
of
factory method to create a shallow copy ProductPublishAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ProductPublishAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductPublishAction- Returns:
- builder
-
builder
create builder for ProductPublishAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProductPublishAction
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-