Class QuoteCreatedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.QuoteCreatedMessagePayloadBuilder
- All Implemented Interfaces:
- Builder<QuoteCreatedMessagePayload>
public class QuoteCreatedMessagePayloadBuilder
extends Object
implements Builder<QuoteCreatedMessagePayload>
QuoteCreatedMessagePayloadBuilder
 
Example to create an instance using the builder pattern
 
Example to create an instance using the builder pattern
     QuoteCreatedMessagePayload quoteCreatedMessagePayload = QuoteCreatedMessagePayload.builder()
             .quote(quoteBuilder -> quoteBuilder)
             .build()
 - 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()builds QuoteCreatedMessagePayload with checking for non-null required valuesbuilds QuoteCreatedMessagePayload without checking for non-null required valuesgetQuote()Quote that was created.of()factory method for an instance of QuoteCreatedMessagePayloadBuilderof(QuoteCreatedMessagePayload template) create builder for QuoteCreatedMessagePayload instanceQuote that was created.quote(Function<QuoteBuilder, QuoteBuilder> builder) Quote that was created.withQuote(Function<QuoteBuilder, Quote> builder) Quote that was created.
- 
Constructor Details- 
QuoteCreatedMessagePayloadBuilderpublic QuoteCreatedMessagePayloadBuilder()
 
- 
- 
Method Details- 
quoteQuote that was created. - Parameters:
- builder- function to build the quote value
- Returns:
- Builder
 
- 
withQuoteQuote that was created. - Parameters:
- builder- function to build the quote value
- Returns:
- Builder
 
- 
quoteQuote that was created. - Parameters:
- quote- value to be set
- Returns:
- Builder
 
- 
getQuoteQuote that was created. - Returns:
- quote
 
- 
buildbuilds QuoteCreatedMessagePayload with checking for non-null required values- Specified by:
- buildin interface- Builder<QuoteCreatedMessagePayload>
- Returns:
- QuoteCreatedMessagePayload
 
- 
buildUncheckedbuilds QuoteCreatedMessagePayload without checking for non-null required values- Returns:
- QuoteCreatedMessagePayload
 
- 
offactory method for an instance of QuoteCreatedMessagePayloadBuilder- Returns:
- builder
 
- 
ofcreate builder for QuoteCreatedMessagePayload instance- Parameters:
- template- instance with prefilled values for the builder
- Returns:
- builder
 
 
-