Class QuoteTransitionStateActionImpl
java.lang.Object
com.commercetools.api.models.quote.QuoteTransitionStateActionImpl
- All Implemented Interfaces:
QuoteTransitionStateAction
,QuoteUpdateAction
,ResourceUpdateAction<QuoteUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class QuoteTransitionStateActionImpl
extends Object
implements QuoteTransitionStateAction, 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 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.quote.QuoteTransitionStateAction
TRANSITION_STATE
-
Constructor Summary
-
Method Summary
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.quote.QuoteTransitionStateAction
withQuoteTransitionStateAction
Methods inherited from interface com.commercetools.api.models.quote.QuoteUpdateAction
withQuoteUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
QuoteTransitionStateActionImpl
public QuoteTransitionStateActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceQuoteUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<QuoteUpdateAction>
- Returns:
- action
-
getState
Value to set. If there is no State yet, this must be an initial State.
- Specified by:
getState
in interfaceQuoteTransitionStateAction
- Returns:
- state
-
getForce
Switch validations on or off.
- Specified by:
getForce
in interfaceQuoteTransitionStateAction
- Returns:
- force
-
setState
Description copied from interface:QuoteTransitionStateAction
Value to set. If there is no State yet, this must be an initial State.
- Specified by:
setState
in interfaceQuoteTransitionStateAction
- Parameters:
state
- value to be set
-
setForce
Description copied from interface:QuoteTransitionStateAction
Switch validations on or off.
- Specified by:
setForce
in interfaceQuoteTransitionStateAction
- Parameters:
force
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-