Interface OrderEditSetStagedActionsAction
- All Superinterfaces:
OrderEditUpdateAction
,ResourceUpdateAction<OrderEditUpdateAction>
The stagedActions
field cannot be updated if the Order Edit result
is OrderEdit Applied.
Example to create an instance using the builder pattern
OrderEditSetStagedActionsAction orderEditSetStagedActionsAction = OrderEditSetStagedActionsAction.builder()
.plusStagedActions(stagedActionsBuilder -> stagedActionsBuilder)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
discriminator value for OrderEditSetStagedActionsAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for OrderEditSetStagedActionsActionbuilder
(OrderEditSetStagedActionsAction template) create builder for OrderEditSetStagedActionsAction instancedeepCopy
(OrderEditSetStagedActionsAction template) factory method to create a deep copy of OrderEditSetStagedActionsAction@NotNull @Valid List<StagedOrderUpdateAction>
Value to replace thestagedActions
of the Order Edit.of()
factory methodof
(OrderEditSetStagedActionsAction template) factory method to create a shallow copy OrderEditSetStagedActionsActionvoid
setStagedActions
(StagedOrderUpdateAction... stagedActions) Value to replace thestagedActions
of the Order Edit.void
setStagedActions
(List<StagedOrderUpdateAction> stagedActions) Value to replace thestagedActions
of the Order Edit.static com.fasterxml.jackson.core.type.TypeReference<OrderEditSetStagedActionsAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.order_edit.OrderEditUpdateAction
getAction, withOrderEditUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_STAGED_ACTIONS
discriminator value for OrderEditSetStagedActionsAction- See Also:
-
-
Method Details
-
getStagedActions
Value to replace the
stagedActions
of the Order Edit.- Returns:
- stagedActions
-
setStagedActions
Value to replace the
stagedActions
of the Order Edit.- Parameters:
stagedActions
- values to be set
-
setStagedActions
Value to replace the
stagedActions
of the Order Edit.- Parameters:
stagedActions
- values to be set
-
of
factory method- Returns:
- instance of OrderEditSetStagedActionsAction
-
of
factory method to create a shallow copy OrderEditSetStagedActionsAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static OrderEditSetStagedActionsAction deepCopy(@Nullable OrderEditSetStagedActionsAction template) factory method to create a deep copy of OrderEditSetStagedActionsAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderEditSetStagedActionsAction- Returns:
- builder
-
builder
create builder for OrderEditSetStagedActionsAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withOrderEditSetStagedActionsAction
default <T> T withOrderEditSetStagedActionsAction(Function<OrderEditSetStagedActionsAction, 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<OrderEditSetStagedActionsAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-