Interface ReturnInfoAddedMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
,OrderMessagePayload
Generated after a successful Add ReturnInfo update action.
Example to create an instance using the builder pattern
ReturnInfoAddedMessagePayload returnInfoAddedMessagePayload = ReturnInfoAddedMessagePayload.builder()
.returnInfo(returnInfoBuilder -> returnInfoBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ReturnInfoAddedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ReturnInfoAddedMessagePayloadbuilder
(ReturnInfoAddedMessagePayload template) create builder for ReturnInfoAddedMessagePayload instancedeepCopy
(ReturnInfoAddedMessagePayload template) factory method to create a deep copy of ReturnInfoAddedMessagePayload@NotNull @Valid ReturnInfo
The ReturnInfo that was added to the Order.of()
factory methodof
(ReturnInfoAddedMessagePayload template) factory method to create a shallow copy ReturnInfoAddedMessagePayloadvoid
setReturnInfo
(ReturnInfo returnInfo) The ReturnInfo that was added to the Order.static com.fasterxml.jackson.core.type.TypeReference<ReturnInfoAddedMessagePayload>
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
Methods inherited from interface com.commercetools.api.models.message.OrderMessagePayload
withOrderMessagePayload
-
Field Details
-
RETURN_INFO_ADDED
discriminator value for ReturnInfoAddedMessagePayload- See Also:
-
-
Method Details
-
getReturnInfo
The ReturnInfo that was added to the Order.
- Returns:
- returnInfo
-
setReturnInfo
The ReturnInfo that was added to the Order.
- Parameters:
returnInfo
- value to be set
-
of
factory method- Returns:
- instance of ReturnInfoAddedMessagePayload
-
of
factory method to create a shallow copy ReturnInfoAddedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ReturnInfoAddedMessagePayload deepCopy(@Nullable ReturnInfoAddedMessagePayload template) factory method to create a deep copy of ReturnInfoAddedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ReturnInfoAddedMessagePayload- Returns:
- builder
-
builder
create builder for ReturnInfoAddedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withReturnInfoAddedMessagePayload
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
-