Interface VariantDeletedMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin
Generated after a successful Delete Variant request.
Example to create an instance using the builder pattern
VariantDeletedMessagePayload variantDeletedMessagePayload = VariantDeletedMessagePayload.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for VariantDeletedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for VariantDeletedMessagePayloadbuilder(VariantDeletedMessagePayload template) create builder for VariantDeletedMessagePayload instancecopyDeep()static VariantDeletedMessagePayloaddeepCopy(VariantDeletedMessagePayload template) factory method to create a deep copy of VariantDeletedMessagePayloadstatic VariantDeletedMessagePayloadof()factory methodstatic VariantDeletedMessagePayloadof(VariantDeletedMessagePayload template) factory method to create a shallow copy VariantDeletedMessagePayloadstatic tools.jackson.core.type.TypeReference<VariantDeletedMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayloadMethods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Field Details
-
VARIANT_DELETED
discriminator value for VariantDeletedMessagePayload- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of VariantDeletedMessagePayload
-
of
factory method to create a shallow copy VariantDeletedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
VariantDeletedMessagePayload copyDeep()- Specified by:
copyDeepin interfaceMessagePayload
-
deepCopy
@Nullable static VariantDeletedMessagePayload deepCopy(@Nullable VariantDeletedMessagePayload template) factory method to create a deep copy of VariantDeletedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for VariantDeletedMessagePayload- Returns:
- builder
-
builder
create builder for VariantDeletedMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withVariantDeletedMessagePayload
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
-