Class StagedQuoteSetSellerCommentActionBuilder
java.lang.Object
com.commercetools.api.models.staged_quote.StagedQuoteSetSellerCommentActionBuilder
- All Implemented Interfaces:
Builder<StagedQuoteSetSellerCommentAction>
public class StagedQuoteSetSellerCommentActionBuilder
extends Object
implements Builder<StagedQuoteSetSellerCommentAction>
StagedQuoteSetSellerCommentActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StagedQuoteSetSellerCommentAction stagedQuoteSetSellerCommentAction = StagedQuoteSetSellerCommentAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds StagedQuoteSetSellerCommentAction with checking for non-null required valuesbuilds StagedQuoteSetSellerCommentAction without checking for non-null required valuesIfsellerComment
is absent ornull
, this field will be removed if it exists.of()
factory method for an instance of StagedQuoteSetSellerCommentActionBuilderof
(StagedQuoteSetSellerCommentAction template) create builder for StagedQuoteSetSellerCommentAction instancesellerComment
(String sellerComment) IfsellerComment
is absent ornull
, this field will be removed if it exists.
-
Constructor Details
-
StagedQuoteSetSellerCommentActionBuilder
public StagedQuoteSetSellerCommentActionBuilder()
-
-
Method Details
-
sellerComment
If
sellerComment
is absent ornull
, this field will be removed if it exists.- Parameters:
sellerComment
- value to be set- Returns:
- Builder
-
getSellerComment
If
sellerComment
is absent ornull
, this field will be removed if it exists.- Returns:
- sellerComment
-
build
builds StagedQuoteSetSellerCommentAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<StagedQuoteSetSellerCommentAction>
- Returns:
- StagedQuoteSetSellerCommentAction
-
buildUnchecked
builds StagedQuoteSetSellerCommentAction without checking for non-null required values- Returns:
- StagedQuoteSetSellerCommentAction
-
of
factory method for an instance of StagedQuoteSetSellerCommentActionBuilder- Returns:
- builder
-
of
public static StagedQuoteSetSellerCommentActionBuilder of(StagedQuoteSetSellerCommentAction template) create builder for StagedQuoteSetSellerCommentAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-