Interface OrderEditSetStagedActionsAction
- All Superinterfaces:
OrderEditUpdateAction
,ResourceUpdateAction<OrderEditUpdateAction>
- All Known Implementing Classes:
OrderEditSetStagedActionsActionImpl
OrderEditSetStagedActionsAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderEditSetStagedActionsAction orderEditSetStagedActionsAction = OrderEditSetStagedActionsAction.builder()
.plusStagedActions(stagedActionsBuilder -> stagedActionsBuilder)
.build()
-
Field Summary
Modifier 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>
The actions to edit theresource
.of()
factory methodof
(OrderEditSetStagedActionsAction template) factory method to create a shallow copy OrderEditSetStagedActionsActionvoid
setStagedActions
(StagedOrderUpdateAction... stagedActions) The actions to edit theresource
.void
setStagedActions
(List<StagedOrderUpdateAction> stagedActions) The actions to edit theresource
.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
The actions to edit the
resource
.- Returns:
- stagedActions
-
setStagedActions
The actions to edit the
resource
.- Parameters:
stagedActions
- values to be set
-
setStagedActions
The actions to edit the
resource
.- 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
-