Interface ProductUnpublishedMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Unpublish Product update action.
Example to create an instance using the builder pattern
ProductUnpublishedMessagePayload productUnpublishedMessagePayload = ProductUnpublishedMessagePayload.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ProductUnpublishedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProductUnpublishedMessagePayloadbuilder
(ProductUnpublishedMessagePayload template) create builder for ProductUnpublishedMessagePayload instancedeepCopy
(ProductUnpublishedMessagePayload template) factory method to create a deep copy of ProductUnpublishedMessagePayloadof()
factory methodof
(ProductUnpublishedMessagePayload template) factory method to create a shallow copy ProductUnpublishedMessagePayloadstatic com.fasterxml.jackson.core.type.TypeReference<ProductUnpublishedMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
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
-
PRODUCT_UNPUBLISHED
discriminator value for ProductUnpublishedMessagePayload- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of ProductUnpublishedMessagePayload
-
of
factory method to create a shallow copy ProductUnpublishedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProductUnpublishedMessagePayload deepCopy(@Nullable ProductUnpublishedMessagePayload template) factory method to create a deep copy of ProductUnpublishedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductUnpublishedMessagePayload- Returns:
- builder
-
builder
create builder for ProductUnpublishedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProductUnpublishedMessagePayload
default <T> T withProductUnpublishedMessagePayload(Function<ProductUnpublishedMessagePayload, 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<ProductUnpublishedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-