Interface OrderCustomTypeRemovedMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin,OrderMessagePayload
Generated after a successful Set Custom Type with empty parameters.
Example to create an instance using the builder pattern
OrderCustomTypeRemovedMessagePayload orderCustomTypeRemovedMessagePayload = OrderCustomTypeRemovedMessagePayload.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for OrderCustomTypeRemovedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for OrderCustomTypeRemovedMessagePayloadbuilder(OrderCustomTypeRemovedMessagePayload template) create builder for OrderCustomTypeRemovedMessagePayload instancecopyDeep()deepCopy(OrderCustomTypeRemovedMessagePayload template) factory method to create a deep copy of OrderCustomTypeRemovedMessagePayloadidof the Custom Type that was removed.of()factory methodof(OrderCustomTypeRemovedMessagePayload template) factory method to create a shallow copy OrderCustomTypeRemovedMessagePayloadvoidsetPreviousTypeId(String previousTypeId) idof the Custom Type that was removed.static com.fasterxml.jackson.core.type.TypeReference<OrderCustomTypeRemovedMessagePayload>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
asMethods inherited from interface com.commercetools.api.models.message.OrderMessagePayload
withOrderMessagePayload
-
Field Details
-
ORDER_CUSTOM_TYPE_REMOVED
discriminator value for OrderCustomTypeRemovedMessagePayload- See Also:
-
-
Method Details
-
getPreviousTypeId
String getPreviousTypeId()idof the Custom Type that was removed. Absent if there was no previous Custom Type present.- Returns:
- previousTypeId
-
setPreviousTypeId
idof the Custom Type that was removed. Absent if there was no previous Custom Type present.- Parameters:
previousTypeId- value to be set
-
of
factory method- Returns:
- instance of OrderCustomTypeRemovedMessagePayload
-
of
factory method to create a shallow copy OrderCustomTypeRemovedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
OrderCustomTypeRemovedMessagePayload copyDeep()- Specified by:
copyDeepin interfaceMessagePayload- Specified by:
copyDeepin interfaceOrderMessagePayload
-
deepCopy
@Nullable static OrderCustomTypeRemovedMessagePayload deepCopy(@Nullable OrderCustomTypeRemovedMessagePayload template) factory method to create a deep copy of OrderCustomTypeRemovedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderCustomTypeRemovedMessagePayload- Returns:
- builder
-
builder
static OrderCustomTypeRemovedMessagePayloadBuilder builder(OrderCustomTypeRemovedMessagePayload template) create builder for OrderCustomTypeRemovedMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withOrderCustomTypeRemovedMessagePayload
default <T> T withOrderCustomTypeRemovedMessagePayload(Function<OrderCustomTypeRemovedMessagePayload, 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<OrderCustomTypeRemovedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-