Class OrderEditSetCommentActionBuilder
java.lang.Object
com.commercetools.api.models.order_edit.OrderEditSetCommentActionBuilder
- All Implemented Interfaces:
Builder<OrderEditSetCommentAction>
public class OrderEditSetCommentActionBuilder
extends Object
implements Builder<OrderEditSetCommentAction>
OrderEditSetCommentActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderEditSetCommentAction orderEditSetCommentAction = OrderEditSetCommentAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds OrderEditSetCommentAction with checking for non-null required valuesbuilds OrderEditSetCommentAction without checking for non-null required valuesValue to set.Value to set.of()
factory method for an instance of OrderEditSetCommentActionBuilderof
(OrderEditSetCommentAction template) create builder for OrderEditSetCommentAction instance
-
Constructor Details
-
OrderEditSetCommentActionBuilder
public OrderEditSetCommentActionBuilder()
-
-
Method Details
-
comment
Value to set. If empty, any existing value will be removed.
- Parameters:
comment
- value to be set- Returns:
- Builder
-
getComment
Value to set. If empty, any existing value will be removed.
- Returns:
- comment
-
build
builds OrderEditSetCommentAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<OrderEditSetCommentAction>
- Returns:
- OrderEditSetCommentAction
-
buildUnchecked
builds OrderEditSetCommentAction without checking for non-null required values- Returns:
- OrderEditSetCommentAction
-
of
factory method for an instance of OrderEditSetCommentActionBuilder- Returns:
- builder
-
of
create builder for OrderEditSetCommentAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-