Class StagedQuoteTransitionStateActionImpl
java.lang.Object
com.commercetools.api.models.staged_quote.StagedQuoteTransitionStateActionImpl
- All Implemented Interfaces:
ResourceUpdateAction<StagedQuoteUpdateAction>
,StagedQuoteTransitionStateAction
,StagedQuoteUpdateAction
,io.vrap.rmf.base.client.ModelBase
public class StagedQuoteTransitionStateActionImpl
extends Object
implements StagedQuoteTransitionStateAction, io.vrap.rmf.base.client.ModelBase
If the existing State has set transitions
, there must be a direct transition to the new State. If transitions
is not set, no validation is performed. This update action produces the Staged Quote State Transition Message.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.staged_quote.StagedQuoteTransitionStateAction
TRANSITION_STATE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getForce()
Switch validations on or off.getState()
Value to set.int
hashCode()
void
Switch validations on or off.void
setState
(StateResourceIdentifier state) Value to set.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.staged_quote.StagedQuoteTransitionStateAction
withStagedQuoteTransitionStateAction
Methods inherited from interface com.commercetools.api.models.staged_quote.StagedQuoteUpdateAction
withStagedQuoteUpdateAction
-
Constructor Details
-
StagedQuoteTransitionStateActionImpl
public StagedQuoteTransitionStateActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StagedQuoteUpdateAction>
- Specified by:
getAction
in interfaceStagedQuoteUpdateAction
- Returns:
- action
-
getState
Value to set. If there is no State yet, the new State must be an initial State.
- Specified by:
getState
in interfaceStagedQuoteTransitionStateAction
- Returns:
- state
-
getForce
Switch validations on or off.
- Specified by:
getForce
in interfaceStagedQuoteTransitionStateAction
- Returns:
- force
-
setState
Description copied from interface:StagedQuoteTransitionStateAction
Value to set. If there is no State yet, the new State must be an initial State.
- Specified by:
setState
in interfaceStagedQuoteTransitionStateAction
- Parameters:
state
- value to be set
-
setForce
Description copied from interface:StagedQuoteTransitionStateAction
Switch validations on or off.
- Specified by:
setForce
in interfaceStagedQuoteTransitionStateAction
- Parameters:
force
- value to be set
-
equals
-
hashCode
-