Class OrderUpdateImpl
java.lang.Object
com.commercetools.api.models.order.OrderUpdateImpl
- All Implemented Interfaces:
OrderUpdate
,ResourceUpdate<OrderUpdate,
,OrderUpdateAction, OrderUpdateBuilder> io.vrap.rmf.base.client.ModelBase
public class OrderUpdateImpl
extends Object
implements OrderUpdate, io.vrap.rmf.base.client.ModelBase
OrderUpdate
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Update actions to be performed on the Order.Expected version of the Order on which the changes should be applied.int
hashCode()
void
setActions
(OrderUpdateAction... actions) Update actions to be performed on the Order.void
setActions
(List<OrderUpdateAction> actions) Update actions to be performed on the Order.void
setVersion
(Long version) Expected version of the Order on which the changes should be applied.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.order.OrderUpdate
withOrderUpdate
Methods inherited from interface com.commercetools.api.models.ResourceUpdate
get
-
Constructor Details
-
OrderUpdateImpl
public OrderUpdateImpl()create empty instance
-
-
Method Details
-
getVersion
Expected version of the Order on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.
- Specified by:
getVersion
in interfaceOrderUpdate
- Specified by:
getVersion
in interfaceResourceUpdate<OrderUpdate,
OrderUpdateAction, OrderUpdateBuilder> - Returns:
- version
-
getActions
Update actions to be performed on the Order.
- Specified by:
getActions
in interfaceOrderUpdate
- Specified by:
getActions
in interfaceResourceUpdate<OrderUpdate,
OrderUpdateAction, OrderUpdateBuilder> - Returns:
- actions
-
setVersion
Description copied from interface:OrderUpdate
Expected version of the Order on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.
- Specified by:
setVersion
in interfaceOrderUpdate
- Specified by:
setVersion
in interfaceResourceUpdate<OrderUpdate,
OrderUpdateAction, OrderUpdateBuilder> - Parameters:
version
- value to be set
-
setActions
Description copied from interface:OrderUpdate
Update actions to be performed on the Order.
- Specified by:
setActions
in interfaceOrderUpdate
- Parameters:
actions
- values to be set
-
setActions
Description copied from interface:OrderUpdate
Update actions to be performed on the Order.
- Specified by:
setActions
in interfaceOrderUpdate
- Specified by:
setActions
in interfaceResourceUpdate<OrderUpdate,
OrderUpdateAction, OrderUpdateBuilder> - Parameters:
actions
- values to be set
-
equals
-
hashCode
-