Interface ReturnInfoSetMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
,OrderMessagePayload
Generated after a successful Set ReturnInfo update action on Orders and Order Edits.
Example to create an instance using the builder pattern
ReturnInfoSetMessagePayload returnInfoSetMessagePayload = ReturnInfoSetMessagePayload.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ReturnInfoSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ReturnInfoSetMessagePayloadbuilder
(ReturnInfoSetMessagePayload template) create builder for ReturnInfoSetMessagePayload instancestatic ReturnInfoSetMessagePayload
deepCopy
(ReturnInfoSetMessagePayload template) factory method to create a deep copy of ReturnInfoSetMessagePayload@Valid List<ReturnInfo>
The ReturnInfo that was set on the Order or Order Edit.static ReturnInfoSetMessagePayload
of()
factory methodstatic ReturnInfoSetMessagePayload
of
(ReturnInfoSetMessagePayload template) factory method to create a shallow copy ReturnInfoSetMessagePayloadvoid
setReturnInfo
(ReturnInfo... returnInfo) The ReturnInfo that was set on the Order or Order Edit.void
setReturnInfo
(List<ReturnInfo> returnInfo) The ReturnInfo that was set on the Order or Order Edit.static com.fasterxml.jackson.core.type.TypeReference<ReturnInfoSetMessagePayload>
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_SET
discriminator value for ReturnInfoSetMessagePayload- See Also:
-
-
Method Details
-
getReturnInfo
The ReturnInfo that was set on the Order or Order Edit.
- Returns:
- returnInfo
-
setReturnInfo
The ReturnInfo that was set on the Order or Order Edit.
- Parameters:
returnInfo
- values to be set
-
setReturnInfo
The ReturnInfo that was set on the Order or Order Edit.
- Parameters:
returnInfo
- values to be set
-
of
factory method- Returns:
- instance of ReturnInfoSetMessagePayload
-
of
factory method to create a shallow copy ReturnInfoSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ReturnInfoSetMessagePayload deepCopy(@Nullable ReturnInfoSetMessagePayload template) factory method to create a deep copy of ReturnInfoSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ReturnInfoSetMessagePayload- Returns:
- builder
-
builder
create builder for ReturnInfoSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withReturnInfoSetMessagePayload
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
-