Interface OrderEditAddStagedActionAction
- 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
OrderEditAddStagedActionAction orderEditAddStagedActionAction = OrderEditAddStagedActionAction.builder()
.stagedAction(stagedActionBuilder -> stagedActionBuilder)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
discriminator value for OrderEditAddStagedActionAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for OrderEditAddStagedActionActionbuilder
(OrderEditAddStagedActionAction template) create builder for OrderEditAddStagedActionAction instancedeepCopy
(OrderEditAddStagedActionAction template) factory method to create a deep copy of OrderEditAddStagedActionAction@NotNull @Valid StagedOrderUpdateAction
Order update action to append to thestagedActions
array.of()
factory methodof
(OrderEditAddStagedActionAction template) factory method to create a shallow copy OrderEditAddStagedActionActionvoid
setStagedAction
(StagedOrderUpdateAction stagedAction) Order update action to append to thestagedActions
array.static com.fasterxml.jackson.core.type.TypeReference<OrderEditAddStagedActionAction>
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
-
ADD_STAGED_ACTION
discriminator value for OrderEditAddStagedActionAction- See Also:
-
-
Method Details
-
getStagedAction
Order update action to append to the
stagedActions
array.- Returns:
- stagedAction
-
setStagedAction
Order update action to append to the
stagedActions
array.- Parameters:
stagedAction
- value to be set
-
of
factory method- Returns:
- instance of OrderEditAddStagedActionAction
-
of
factory method to create a shallow copy OrderEditAddStagedActionAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static OrderEditAddStagedActionAction deepCopy(@Nullable OrderEditAddStagedActionAction template) factory method to create a deep copy of OrderEditAddStagedActionAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderEditAddStagedActionAction- Returns:
- builder
-
builder
create builder for OrderEditAddStagedActionAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withOrderEditAddStagedActionAction
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<OrderEditAddStagedActionAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-