Interface OrderSetReturnInfoAction
- All Superinterfaces:
OrderUpdateAction
,ResourceUpdateAction<OrderUpdateAction>
Produces the Return Info Set Message.
Example to create an instance using the builder pattern
OrderSetReturnInfoAction orderSetReturnInfoAction = OrderSetReturnInfoAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for OrderSetReturnInfoAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for OrderSetReturnInfoActionbuilder
(OrderSetReturnInfoAction template) create builder for OrderSetReturnInfoAction instancestatic OrderSetReturnInfoAction
deepCopy
(OrderSetReturnInfoAction template) factory method to create a deep copy of OrderSetReturnInfoAction@Valid List<ReturnInfoDraft>
getItems()
Value to set.static OrderSetReturnInfoAction
of()
factory methodstatic OrderSetReturnInfoAction
of
(OrderSetReturnInfoAction template) factory method to create a shallow copy OrderSetReturnInfoActionvoid
setItems
(ReturnInfoDraft... items) Value to set.void
setItems
(List<ReturnInfoDraft> items) Value to set.static com.fasterxml.jackson.core.type.TypeReference<OrderSetReturnInfoAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.order.OrderUpdateAction
getAction, withOrderUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_RETURN_INFO
discriminator value for OrderSetReturnInfoAction- See Also:
-
-
Method Details
-
getItems
Value to set. If empty, any existing value is removed.
- Returns:
- items
-
setItems
Value to set. If empty, any existing value is removed.
- Parameters:
items
- values to be set
-
setItems
Value to set. If empty, any existing value is removed.
- Parameters:
items
- values to be set
-
of
factory method- Returns:
- instance of OrderSetReturnInfoAction
-
of
factory method to create a shallow copy OrderSetReturnInfoAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of OrderSetReturnInfoAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderSetReturnInfoAction- Returns:
- builder
-
builder
create builder for OrderSetReturnInfoAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withOrderSetReturnInfoAction
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
-