Interface OrderEditSetKeyAction
- All Superinterfaces:
OrderEditUpdateAction
,ResourceUpdateAction<OrderEditUpdateAction>
OrderEditSetKeyAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderEditSetKeyAction orderEditSetKeyAction = OrderEditSetKeyAction.builder()
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic OrderEditSetKeyActionBuilder
builder()
builder factory method for OrderEditSetKeyActionstatic OrderEditSetKeyActionBuilder
builder
(OrderEditSetKeyAction template) create builder for OrderEditSetKeyAction instancestatic OrderEditSetKeyAction
deepCopy
(OrderEditSetKeyAction template) factory method to create a deep copy of OrderEditSetKeyActiongetKey()
Value to set.static OrderEditSetKeyAction
of()
factory methodstatic OrderEditSetKeyAction
of
(OrderEditSetKeyAction template) factory method to create a shallow copy OrderEditSetKeyActionstatic OrderEditSetKeyAction
ofUnset()
void
Value to set.static com.fasterxml.jackson.core.type.TypeReference<OrderEditSetKeyAction>
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_KEY
discriminator value for OrderEditSetKeyAction- See Also:
-
-
Method Details
-
getKey
String getKey()Value to set. If empty, any existing value will be removed.
- Returns:
- key
-
setKey
Value to set. If empty, any existing value will be removed.
- Parameters:
key
- value to be set
-
of
factory method- Returns:
- instance of OrderEditSetKeyAction
-
of
factory method to create a shallow copy OrderEditSetKeyAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of OrderEditSetKeyAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderEditSetKeyAction- Returns:
- builder
-
builder
create builder for OrderEditSetKeyAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withOrderEditSetKeyAction
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
ofUnset
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-