Interface OrderEditSetCommentAction
- All Superinterfaces:
OrderEditUpdateAction
,ResourceUpdateAction<OrderEditUpdateAction>
OrderEditSetCommentAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderEditSetCommentAction orderEditSetCommentAction = OrderEditSetCommentAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for OrderEditSetCommentAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for OrderEditSetCommentActionbuilder
(OrderEditSetCommentAction template) create builder for OrderEditSetCommentAction instancestatic OrderEditSetCommentAction
deepCopy
(OrderEditSetCommentAction template) factory method to create a deep copy of OrderEditSetCommentActionValue to set.static OrderEditSetCommentAction
of()
factory methodstatic OrderEditSetCommentAction
of
(OrderEditSetCommentAction template) factory method to create a shallow copy OrderEditSetCommentActionvoid
setComment
(String comment) Value to set.static com.fasterxml.jackson.core.type.TypeReference<OrderEditSetCommentAction>
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_COMMENT
discriminator value for OrderEditSetCommentAction- See Also:
-
-
Method Details
-
getComment
String getComment()Value to set. If empty, any existing value will be removed.
- Returns:
- comment
-
setComment
Value to set. If empty, any existing value will be removed.
- Parameters:
comment
- value to be set
-
of
factory method- Returns:
- instance of OrderEditSetCommentAction
-
of
factory method to create a shallow copy OrderEditSetCommentAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of OrderEditSetCommentAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderEditSetCommentAction- Returns:
- builder
-
builder
create builder for OrderEditSetCommentAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withOrderEditSetCommentAction
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
-