Interface CartLockedMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin
Generated after a successful Lock Cart update action.
Example to create an instance using the builder pattern
CartLockedMessagePayload cartLockedMessagePayload = CartLockedMessagePayload.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for CartLockedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for CartLockedMessagePayloadbuilder(CartLockedMessagePayload template) create builder for CartLockedMessagePayload instancecopyDeep()static CartLockedMessagePayloaddeepCopy(CartLockedMessagePayload template) factory method to create a deep copy of CartLockedMessagePayloadstatic CartLockedMessagePayloadof()factory methodstatic CartLockedMessagePayloadof(CartLockedMessagePayload template) factory method to create a shallow copy CartLockedMessagePayloadstatic tools.jackson.core.type.TypeReference<CartLockedMessagePayload>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
-
CART_LOCKED
discriminator value for CartLockedMessagePayload- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of CartLockedMessagePayload
-
of
factory method to create a shallow copy CartLockedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
CartLockedMessagePayload copyDeep()- Specified by:
copyDeepin interfaceMessagePayload
-
deepCopy
factory method to create a deep copy of CartLockedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CartLockedMessagePayload- Returns:
- builder
-
builder
create builder for CartLockedMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withCartLockedMessagePayload
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
-