Class OrderSetReturnShipmentStateActionImpl
java.lang.Object
com.commercetools.api.models.order.OrderSetReturnShipmentStateActionImpl
- All Implemented Interfaces:
OrderSetReturnShipmentStateAction
,OrderUpdateAction
,ResourceUpdateAction<OrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class OrderSetReturnShipmentStateActionImpl
extends Object
implements OrderSetReturnShipmentStateAction, io.vrap.rmf.base.client.ModelBase
To set a ReturnShipmentState
, the Order returnInfo
must have at least one ReturnItem.
Produces the Order Return Shipment State Changed 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.OrderSetReturnShipmentStateAction
SET_RETURN_SHIPMENT_STATE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
id
of the ReturnItem to update.key
of the ReturnItem to update.New shipment state of the ReturnItem.int
hashCode()
void
setReturnItemId
(String returnItemId) id
of the ReturnItem to update.void
setReturnItemKey
(String returnItemKey) key
of the ReturnItem to update.void
setShipmentState
(ReturnShipmentState shipmentState) New shipment state of the ReturnItem.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.OrderSetReturnShipmentStateAction
withOrderSetReturnShipmentStateAction
Methods inherited from interface com.commercetools.api.models.order.OrderUpdateAction
withOrderUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
OrderSetReturnShipmentStateActionImpl
public OrderSetReturnShipmentStateActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceOrderUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<OrderUpdateAction>
- Returns:
- action
-
getReturnItemId
id
of the ReturnItem to update. EitherreturnItemId
orreturnItemKey
is required.- Specified by:
getReturnItemId
in interfaceOrderSetReturnShipmentStateAction
- Returns:
- returnItemId
-
getReturnItemKey
key
of the ReturnItem to update. EitherreturnItemId
orreturnItemKey
is required.- Specified by:
getReturnItemKey
in interfaceOrderSetReturnShipmentStateAction
- Returns:
- returnItemKey
-
getShipmentState
New shipment state of the ReturnItem.
- Specified by:
getShipmentState
in interfaceOrderSetReturnShipmentStateAction
- Returns:
- shipmentState
-
setReturnItemId
Description copied from interface:OrderSetReturnShipmentStateAction
id
of the ReturnItem to update. EitherreturnItemId
orreturnItemKey
is required.- Specified by:
setReturnItemId
in interfaceOrderSetReturnShipmentStateAction
- Parameters:
returnItemId
- value to be set
-
setReturnItemKey
Description copied from interface:OrderSetReturnShipmentStateAction
key
of the ReturnItem to update. EitherreturnItemId
orreturnItemKey
is required.- Specified by:
setReturnItemKey
in interfaceOrderSetReturnShipmentStateAction
- Parameters:
returnItemKey
- value to be set
-
setShipmentState
Description copied from interface:OrderSetReturnShipmentStateAction
New shipment state of the ReturnItem.
- Specified by:
setShipmentState
in interfaceOrderSetReturnShipmentStateAction
- Parameters:
shipmentState
- value to be set
-
equals
-
hashCode
public int hashCode()
-