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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for OrderEditSetCommentAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for OrderEditSetCommentActionbuilder(OrderEditSetCommentAction template) create builder for OrderEditSetCommentAction instancecopyDeep()static OrderEditSetCommentActiondeepCopy(OrderEditSetCommentAction template) factory method to create a deep copy of OrderEditSetCommentActionValue to set.static OrderEditSetCommentActionof()factory methodstatic OrderEditSetCommentActionof(OrderEditSetCommentAction template) factory method to create a shallow copy OrderEditSetCommentActionvoidsetComment(String comment) Value to set.static com.fasterxml.jackson.core.type.TypeReference<OrderEditSetCommentAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.order_edit.OrderEditUpdateAction
getAction, withOrderEditUpdateActionMethods 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
-
copyDeep
OrderEditSetCommentAction copyDeep()- Specified by:
copyDeepin interfaceOrderEditUpdateAction
-
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
-