Interface DiscountCodeDeletedMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Delete DiscountCode request.
Example to create an instance using the builder pattern
DiscountCodeDeletedMessagePayload discountCodeDeletedMessagePayload = DiscountCodeDeletedMessagePayload.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for DiscountCodeDeletedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for DiscountCodeDeletedMessagePayloadbuilder
(DiscountCodeDeletedMessagePayload template) create builder for DiscountCodeDeletedMessagePayload instancedeepCopy
(DiscountCodeDeletedMessagePayload template) factory method to create a deep copy of DiscountCodeDeletedMessagePayloadof()
factory methodof
(DiscountCodeDeletedMessagePayload template) factory method to create a shallow copy DiscountCodeDeletedMessagePayloadstatic com.fasterxml.jackson.core.type.TypeReference<DiscountCodeDeletedMessagePayload>
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
-
DISCOUNT_CODE_DELETED
discriminator value for DiscountCodeDeletedMessagePayload- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of DiscountCodeDeletedMessagePayload
-
of
factory method to create a shallow copy DiscountCodeDeletedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static DiscountCodeDeletedMessagePayload deepCopy(@Nullable DiscountCodeDeletedMessagePayload template) factory method to create a deep copy of DiscountCodeDeletedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for DiscountCodeDeletedMessagePayload- Returns:
- builder
-
builder
create builder for DiscountCodeDeletedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withDiscountCodeDeletedMessagePayload
default <T> T withDiscountCodeDeletedMessagePayload(Function<DiscountCodeDeletedMessagePayload, 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<DiscountCodeDeletedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-