Class QuoteChangeQuoteStateActionBuilder
java.lang.Object
com.commercetools.api.models.quote.QuoteChangeQuoteStateActionBuilder
- All Implemented Interfaces:
Builder<QuoteChangeQuoteStateAction>
public class QuoteChangeQuoteStateActionBuilder
extends Object
implements Builder<QuoteChangeQuoteStateAction>
QuoteChangeQuoteStateActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
QuoteChangeQuoteStateAction quoteChangeQuoteStateAction = QuoteChangeQuoteStateAction.builder()
.quoteState(QuoteState.PENDING)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds QuoteChangeQuoteStateAction with checking for non-null required valuesbuilds QuoteChangeQuoteStateAction without checking for non-null required valuesNew state to be set for the Quote.of()
factory method for an instance of QuoteChangeQuoteStateActionBuilderof
(QuoteChangeQuoteStateAction template) create builder for QuoteChangeQuoteStateAction instancequoteState
(QuoteState quoteState) New state to be set for the Quote.
-
Constructor Details
-
QuoteChangeQuoteStateActionBuilder
public QuoteChangeQuoteStateActionBuilder()
-
-
Method Details
-
quoteState
New state to be set for the Quote.
- Parameters:
quoteState
- value to be set- Returns:
- Builder
-
getQuoteState
New state to be set for the Quote.
- Returns:
- quoteState
-
build
builds QuoteChangeQuoteStateAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<QuoteChangeQuoteStateAction>
- Returns:
- QuoteChangeQuoteStateAction
-
buildUnchecked
builds QuoteChangeQuoteStateAction without checking for non-null required values- Returns:
- QuoteChangeQuoteStateAction
-
of
factory method for an instance of QuoteChangeQuoteStateActionBuilder- Returns:
- builder
-
of
create builder for QuoteChangeQuoteStateAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-