Class StagedQuoteStateChangedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.StagedQuoteStateChangedMessagePayloadBuilder
- All Implemented Interfaces:
- Builder<StagedQuoteStateChangedMessagePayload>
public class StagedQuoteStateChangedMessagePayloadBuilder
extends Object
implements Builder<StagedQuoteStateChangedMessagePayload>
StagedQuoteStateChangedMessagePayloadBuilder
 
Example to create an instance using the builder pattern
 
Example to create an instance using the builder pattern
     StagedQuoteStateChangedMessagePayload stagedQuoteStateChangedMessagePayload = StagedQuoteStateChangedMessagePayload.builder()
             .stagedQuoteState(StagedQuoteState.IN_PROGRESS)
             .oldStagedQuoteState(StagedQuoteState.IN_PROGRESS)
             .build()
 - 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()builds StagedQuoteStateChangedMessagePayload with checking for non-null required valuesbuilds StagedQuoteStateChangedMessagePayload without checking for non-null required valuesState of the Staged Quote before the Change Staged Quote State update action.State of the Staged Quote after the Change Staged Quote State update action.of()factory method for an instance of StagedQuoteStateChangedMessagePayloadBuilderof(StagedQuoteStateChangedMessagePayload template) create builder for StagedQuoteStateChangedMessagePayload instanceoldStagedQuoteState(StagedQuoteState oldStagedQuoteState) State of the Staged Quote before the Change Staged Quote State update action.stagedQuoteState(StagedQuoteState stagedQuoteState) State of the Staged Quote after the Change Staged Quote State update action.
- 
Constructor Details- 
StagedQuoteStateChangedMessagePayloadBuilderpublic StagedQuoteStateChangedMessagePayloadBuilder()
 
- 
- 
Method Details- 
stagedQuoteStatepublic StagedQuoteStateChangedMessagePayloadBuilder stagedQuoteState(StagedQuoteState stagedQuoteState) State of the Staged Quote after the Change Staged Quote State update action. - Parameters:
- stagedQuoteState- value to be set
- Returns:
- Builder
 
- 
oldStagedQuoteStatepublic StagedQuoteStateChangedMessagePayloadBuilder oldStagedQuoteState(StagedQuoteState oldStagedQuoteState) State of the Staged Quote before the Change Staged Quote State update action. - Parameters:
- oldStagedQuoteState- value to be set
- Returns:
- Builder
 
- 
getStagedQuoteStateState of the Staged Quote after the Change Staged Quote State update action. - Returns:
- stagedQuoteState
 
- 
getOldStagedQuoteStateState of the Staged Quote before the Change Staged Quote State update action. - Returns:
- oldStagedQuoteState
 
- 
buildbuilds StagedQuoteStateChangedMessagePayload with checking for non-null required values- Specified by:
- buildin interface- Builder<StagedQuoteStateChangedMessagePayload>
- Returns:
- StagedQuoteStateChangedMessagePayload
 
- 
buildUncheckedbuilds StagedQuoteStateChangedMessagePayload without checking for non-null required values- Returns:
- StagedQuoteStateChangedMessagePayload
 
- 
offactory method for an instance of StagedQuoteStateChangedMessagePayloadBuilder- Returns:
- builder
 
- 
ofpublic static StagedQuoteStateChangedMessagePayloadBuilder of(StagedQuoteStateChangedMessagePayload template) create builder for StagedQuoteStateChangedMessagePayload instance- Parameters:
- template- instance with prefilled values for the builder
- Returns:
- builder
 
 
-