Interface OrderEditUpdateAction
- All Superinterfaces:
ResourceUpdateAction<OrderEditUpdateAction>
- All Known Subinterfaces:
OrderEditAddStagedActionAction
,OrderEditSetCommentAction
,OrderEditSetCustomFieldAction
,OrderEditSetCustomTypeAction
,OrderEditSetKeyAction
,OrderEditSetStagedActionsAction
OrderEditUpdateAction
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
OrderEditUpdateAction orderEditUpdateAction = OrderEditUpdateAction.addStagedActionBuilder()
stagedAction(stagedActionBuilder -> stagedActionBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder for addStagedAction subtypestatic OrderEditUpdateAction
deepCopy
(OrderEditUpdateAction template) factory method to create a deep copy of OrderEditUpdateAction@NotNull String
builder for setComment subtypebuilder for setCustomField subtypebuilder for setCustomType subtypestatic OrderEditSetKeyActionBuilder
builder for setKey subtypebuilder for setStagedActions subtypestatic com.fasterxml.jackson.core.type.TypeReference<OrderEditUpdateAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<OrderEditUpdateAction>
- Returns:
- action
-
deepCopy
factory method to create a deep copy of OrderEditUpdateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
addStagedActionBuilder
builder for addStagedAction subtype- Returns:
- builder
-
setCommentBuilder
builder for setComment subtype- Returns:
- builder
-
setCustomFieldBuilder
builder for setCustomField subtype- Returns:
- builder
-
setCustomTypeBuilder
builder for setCustomType subtype- Returns:
- builder
-
setKeyBuilder
builder for setKey subtype- Returns:
- builder
-
setStagedActionsBuilder
builder for setStagedActions subtype- Returns:
- builder
-
withOrderEditUpdateAction
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
-