Interface ProductTailoringUnpublishAction
- All Superinterfaces:
ProductTailoringUpdateAction
Unpublishes the current
data of the ProductTailoring. Sets the published
field to false
. Generates the ProductTailoringUnpublished Message.
Example to create an instance using the builder pattern
ProductTailoringUnpublishAction productTailoringUnpublishAction = ProductTailoringUnpublishAction.builder()
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProductTailoringUnpublishActionbuilder
(ProductTailoringUnpublishAction template) create builder for ProductTailoringUnpublishAction instancedeepCopy
(ProductTailoringUnpublishAction template) factory method to create a deep copy of ProductTailoringUnpublishActionof()
factory methodof
(ProductTailoringUnpublishAction template) factory method to create a shallow copy ProductTailoringUnpublishActionstatic com.fasterxml.jackson.core.type.TypeReference<ProductTailoringUnpublishAction>
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
-
UNPUBLISH
discriminator value for ProductTailoringUnpublishAction- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of ProductTailoringUnpublishAction
-
of
factory method to create a shallow copy ProductTailoringUnpublishAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProductTailoringUnpublishAction deepCopy(@Nullable ProductTailoringUnpublishAction template) factory method to create a deep copy of ProductTailoringUnpublishAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductTailoringUnpublishAction- Returns:
- builder
-
builder
create builder for ProductTailoringUnpublishAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProductTailoringUnpublishAction
default <T> T withProductTailoringUnpublishAction(Function<ProductTailoringUnpublishAction, 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<ProductTailoringUnpublishAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-