Class StagedQuoteCreatedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.StagedQuoteCreatedMessagePayloadBuilder
- All Implemented Interfaces:
Builder<StagedQuoteCreatedMessagePayload>
public class StagedQuoteCreatedMessagePayloadBuilder
extends Object
implements Builder<StagedQuoteCreatedMessagePayload>
StagedQuoteCreatedMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StagedQuoteCreatedMessagePayload stagedQuoteCreatedMessagePayload = StagedQuoteCreatedMessagePayload.builder()
.stagedQuote(stagedQuoteBuilder -> stagedQuoteBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds StagedQuoteCreatedMessagePayload with checking for non-null required valuesbuilds StagedQuoteCreatedMessagePayload without checking for non-null required valuesStaged Quote that was created.of()
factory method for an instance of StagedQuoteCreatedMessagePayloadBuilderof
(StagedQuoteCreatedMessagePayload template) create builder for StagedQuoteCreatedMessagePayload instancestagedQuote
(StagedQuote stagedQuote) Staged Quote that was created.Staged Quote that was created.withStagedQuote
(Function<StagedQuoteBuilder, StagedQuote> builder) Staged Quote that was created.
-
Constructor Details
-
StagedQuoteCreatedMessagePayloadBuilder
public StagedQuoteCreatedMessagePayloadBuilder()
-
-
Method Details
-
stagedQuote
public StagedQuoteCreatedMessagePayloadBuilder stagedQuote(Function<StagedQuoteBuilder, StagedQuoteBuilder> builder) Staged Quote that was created.
- Parameters:
builder
- function to build the stagedQuote value- Returns:
- Builder
-
withStagedQuote
public StagedQuoteCreatedMessagePayloadBuilder withStagedQuote(Function<StagedQuoteBuilder, StagedQuote> builder) Staged Quote that was created.
- Parameters:
builder
- function to build the stagedQuote value- Returns:
- Builder
-
stagedQuote
Staged Quote that was created.
- Parameters:
stagedQuote
- value to be set- Returns:
- Builder
-
getStagedQuote
Staged Quote that was created.
- Returns:
- stagedQuote
-
build
builds StagedQuoteCreatedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<StagedQuoteCreatedMessagePayload>
- Returns:
- StagedQuoteCreatedMessagePayload
-
buildUnchecked
builds StagedQuoteCreatedMessagePayload without checking for non-null required values- Returns:
- StagedQuoteCreatedMessagePayload
-
of
factory method for an instance of StagedQuoteCreatedMessagePayloadBuilder- Returns:
- builder
-
of
create builder for StagedQuoteCreatedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-