Interface OrderSetOrderNumberAction
- All Superinterfaces:
OrderUpdateAction
,ResourceUpdateAction<OrderUpdateAction>
OrderSetOrderNumberAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderSetOrderNumberAction orderSetOrderNumberAction = OrderSetOrderNumberAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for OrderSetOrderNumberAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for OrderSetOrderNumberActionbuilder
(OrderSetOrderNumberAction template) create builder for OrderSetOrderNumberAction instancestatic OrderSetOrderNumberAction
deepCopy
(OrderSetOrderNumberAction template) factory method to create a deep copy of OrderSetOrderNumberActionValue to set.static OrderSetOrderNumberAction
of()
factory methodstatic OrderSetOrderNumberAction
of
(OrderSetOrderNumberAction template) factory method to create a shallow copy OrderSetOrderNumberActionvoid
setOrderNumber
(String orderNumber) Value to set.static com.fasterxml.jackson.core.type.TypeReference<OrderSetOrderNumberAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.order.OrderUpdateAction
getAction, withOrderUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_ORDER_NUMBER
discriminator value for OrderSetOrderNumberAction- See Also:
-
-
Method Details
-
getOrderNumber
String getOrderNumber()Value to set. Must be unique across a Project. Once set, the value cannot be changed.
- Returns:
- orderNumber
-
setOrderNumber
Value to set. Must be unique across a Project. Once set, the value cannot be changed.
- Parameters:
orderNumber
- value to be set
-
of
factory method- Returns:
- instance of OrderSetOrderNumberAction
-
of
factory method to create a shallow copy OrderSetOrderNumberAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of OrderSetOrderNumberAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderSetOrderNumberAction- Returns:
- builder
-
builder
create builder for OrderSetOrderNumberAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withOrderSetOrderNumberAction
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
-