Class QuoteRenegotiationRequestedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.QuoteRenegotiationRequestedMessagePayloadBuilder
- All Implemented Interfaces:
Builder<QuoteRenegotiationRequestedMessagePayload>
public class QuoteRenegotiationRequestedMessagePayloadBuilder
extends Object
implements Builder<QuoteRenegotiationRequestedMessagePayload>
QuoteRenegotiationRequestedMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
QuoteRenegotiationRequestedMessagePayload quoteRenegotiationRequestedMessagePayload = QuoteRenegotiationRequestedMessagePayload.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds QuoteRenegotiationRequestedMessagePayload with checking for non-null required valuesbuilds QuoteRenegotiationRequestedMessagePayload without checking for non-null required valuesbuyerComment
(String buyerComment) Message from the Buyer regarding the Quote renegotiation request.Message from the Buyer regarding the Quote renegotiation request.of()
factory method for an instance of QuoteRenegotiationRequestedMessagePayloadBuilderof
(QuoteRenegotiationRequestedMessagePayload template) create builder for QuoteRenegotiationRequestedMessagePayload instance
-
Constructor Details
-
QuoteRenegotiationRequestedMessagePayloadBuilder
public QuoteRenegotiationRequestedMessagePayloadBuilder()
-
-
Method Details
-
buyerComment
Message from the Buyer regarding the Quote renegotiation request.
- Parameters:
buyerComment
- value to be set- Returns:
- Builder
-
getBuyerComment
Message from the Buyer regarding the Quote renegotiation request.
- Returns:
- buyerComment
-
build
builds QuoteRenegotiationRequestedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<QuoteRenegotiationRequestedMessagePayload>
- Returns:
- QuoteRenegotiationRequestedMessagePayload
-
buildUnchecked
builds QuoteRenegotiationRequestedMessagePayload without checking for non-null required values- Returns:
- QuoteRenegotiationRequestedMessagePayload
-
of
factory method for an instance of QuoteRenegotiationRequestedMessagePayloadBuilder- Returns:
- builder
-
of
public static QuoteRenegotiationRequestedMessagePayloadBuilder of(QuoteRenegotiationRequestedMessagePayload template) create builder for QuoteRenegotiationRequestedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-