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