Class QuoteRequestChangeQuoteRequestStateActionBuilder
java.lang.Object
com.commercetools.api.models.quote_request.QuoteRequestChangeQuoteRequestStateActionBuilder
- All Implemented Interfaces:
Builder<QuoteRequestChangeQuoteRequestStateAction>
public class QuoteRequestChangeQuoteRequestStateActionBuilder
extends Object
implements Builder<QuoteRequestChangeQuoteRequestStateAction>
QuoteRequestChangeQuoteRequestStateActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
QuoteRequestChangeQuoteRequestStateAction quoteRequestChangeQuoteRequestStateAction = QuoteRequestChangeQuoteRequestStateAction.builder()
.quoteRequestState(QuoteRequestState.SUBMITTED)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds QuoteRequestChangeQuoteRequestStateAction with checking for non-null required valuesbuilds QuoteRequestChangeQuoteRequestStateAction without checking for non-null required valuesNew state to be set for the Quote Request.of()
factory method for an instance of QuoteRequestChangeQuoteRequestStateActionBuilderof
(QuoteRequestChangeQuoteRequestStateAction template) create builder for QuoteRequestChangeQuoteRequestStateAction instancequoteRequestState
(QuoteRequestState quoteRequestState) New state to be set for the Quote Request.
-
Constructor Details
-
QuoteRequestChangeQuoteRequestStateActionBuilder
public QuoteRequestChangeQuoteRequestStateActionBuilder()
-
-
Method Details
-
quoteRequestState
public QuoteRequestChangeQuoteRequestStateActionBuilder quoteRequestState(QuoteRequestState quoteRequestState) New state to be set for the Quote Request.
- Parameters:
quoteRequestState
- value to be set- Returns:
- Builder
-
getQuoteRequestState
New state to be set for the Quote Request.
- Returns:
- quoteRequestState
-
build
builds QuoteRequestChangeQuoteRequestStateAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<QuoteRequestChangeQuoteRequestStateAction>
- Returns:
- QuoteRequestChangeQuoteRequestStateAction
-
buildUnchecked
builds QuoteRequestChangeQuoteRequestStateAction without checking for non-null required values- Returns:
- QuoteRequestChangeQuoteRequestStateAction
-
of
factory method for an instance of QuoteRequestChangeQuoteRequestStateActionBuilder- Returns:
- builder
-
of
public static QuoteRequestChangeQuoteRequestStateActionBuilder of(QuoteRequestChangeQuoteRequestStateAction template) create builder for QuoteRequestChangeQuoteRequestStateAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-