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 Stringdiscriminator value for OrderEditSetStagedActionsAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for OrderEditSetStagedActionsActionbuilder(OrderEditSetStagedActionsAction template) create builder for OrderEditSetStagedActionsAction instancecopyDeep()deepCopy(OrderEditSetStagedActionsAction template) factory method to create a deep copy of OrderEditSetStagedActionsAction@NotNull @Valid List<StagedOrderUpdateAction>Value to replace thestagedActionsof the Order Edit.of()factory methodof(OrderEditSetStagedActionsAction template) factory method to create a shallow copy OrderEditSetStagedActionsActionvoidsetStagedActions(StagedOrderUpdateAction... stagedActions) Value to replace thestagedActionsof the Order Edit.voidsetStagedActions(List<StagedOrderUpdateAction> stagedActions) Value to replace thestagedActionsof the Order Edit.static com.fasterxml.jackson.core.type.TypeReference<OrderEditSetStagedActionsAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.order_edit.OrderEditUpdateAction
getAction, withOrderEditUpdateActionMethods 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
stagedActionsof the Order Edit.- Returns:
- stagedActions
-
setStagedActions
Value to replace the
stagedActionsof the Order Edit.- Parameters:
stagedActions- values to be set
-
setStagedActions
Value to replace the
stagedActionsof 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
-
copyDeep
OrderEditSetStagedActionsAction copyDeep()- Specified by:
copyDeepin interfaceOrderEditUpdateAction
-
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
-