Package com.commercetools.api.models.me
Class MyQuoteChangeMyQuoteStateActionBuilder
java.lang.Object
com.commercetools.api.models.me.MyQuoteChangeMyQuoteStateActionBuilder
- All Implemented Interfaces:
Builder<MyQuoteChangeMyQuoteStateAction>
public class MyQuoteChangeMyQuoteStateActionBuilder
extends Object
implements Builder<MyQuoteChangeMyQuoteStateAction>
MyQuoteChangeMyQuoteStateActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyQuoteChangeMyQuoteStateAction myQuoteChangeMyQuoteStateAction = MyQuoteChangeMyQuoteStateAction.builder()
.quoteState(MyQuoteState.DECLINED)
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds MyQuoteChangeMyQuoteStateAction with checking for non-null required valuesbuilds MyQuoteChangeMyQuoteStateAction without checking for non-null required valuesNew state to be set for the Quote.of()factory method for an instance of MyQuoteChangeMyQuoteStateActionBuilderof(MyQuoteChangeMyQuoteStateAction template) create builder for MyQuoteChangeMyQuoteStateAction instancequoteState(MyQuoteState quoteState) New state to be set for the Quote.
-
Constructor Details
-
MyQuoteChangeMyQuoteStateActionBuilder
public MyQuoteChangeMyQuoteStateActionBuilder()
-
-
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 MyQuoteChangeMyQuoteStateAction with checking for non-null required values- Specified by:
buildin interfaceBuilder<MyQuoteChangeMyQuoteStateAction>- Returns:
- MyQuoteChangeMyQuoteStateAction
-
buildUnchecked
builds MyQuoteChangeMyQuoteStateAction without checking for non-null required values- Returns:
- MyQuoteChangeMyQuoteStateAction
-
of
factory method for an instance of MyQuoteChangeMyQuoteStateActionBuilder- Returns:
- builder
-
of
create builder for MyQuoteChangeMyQuoteStateAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-