Class OrderTransitionStateActionImpl
java.lang.Object
com.commercetools.api.models.order.OrderTransitionStateActionImpl
- All Implemented Interfaces:
OrderTransitionStateAction
,OrderUpdateAction
,ResourceUpdateAction<OrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class OrderTransitionStateActionImpl
extends Object
implements OrderTransitionStateAction, 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 Order 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.order.OrderTransitionStateAction
TRANSITION_STATE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.order.OrderTransitionStateAction
withOrderTransitionStateAction
Methods inherited from interface com.commercetools.api.models.order.OrderUpdateAction
withOrderUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
OrderTransitionStateActionImpl
public OrderTransitionStateActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceOrderUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<OrderUpdateAction>
- Returns:
- action
-
getState
Value to set. If there is no State yet, the new State must be an initial State.
- Specified by:
getState
in interfaceOrderTransitionStateAction
- Returns:
- state
-
getForce
Set to
true
to turn off validation.- Specified by:
getForce
in interfaceOrderTransitionStateAction
- Returns:
- force
-
setState
Description copied from interface:OrderTransitionStateAction
Value to set. If there is no State yet, the new State must be an initial State.
- Specified by:
setState
in interfaceOrderTransitionStateAction
- Parameters:
state
- value to be set
-
setForce
Description copied from interface:OrderTransitionStateAction
Set to
true
to turn off validation.- Specified by:
setForce
in interfaceOrderTransitionStateAction
- Parameters:
force
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-