Interface ProductTailoringPublishAction
- All Superinterfaces:
ProductTailoringUpdateAction
Publishes the staged
data of the ProductTailoring to current
. Sets hasStagedChanges
to false
. Generates the ProductTailoringPublished Message.
Example to create an instance using the builder pattern
ProductTailoringPublishAction productTailoringPublishAction = ProductTailoringPublishAction.builder()
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProductTailoringPublishActionbuilder
(ProductTailoringPublishAction template) create builder for ProductTailoringPublishAction instancedeepCopy
(ProductTailoringPublishAction template) factory method to create a deep copy of ProductTailoringPublishActionof()
factory methodof
(ProductTailoringPublishAction template) factory method to create a shallow copy ProductTailoringPublishActionstatic com.fasterxml.jackson.core.type.TypeReference<ProductTailoringPublishAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.product_tailoring.ProductTailoringUpdateAction
getAction, withProductTailoringUpdateAction
-
Field Details
-
PUBLISH
discriminator value for ProductTailoringPublishAction- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of ProductTailoringPublishAction
-
of
factory method to create a shallow copy ProductTailoringPublishAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProductTailoringPublishAction deepCopy(@Nullable ProductTailoringPublishAction template) factory method to create a deep copy of ProductTailoringPublishAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductTailoringPublishAction- Returns:
- builder
-
builder
create builder for ProductTailoringPublishAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProductTailoringPublishAction
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
-