Class StagedOrderSetReturnShipmentStateActionImpl
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderSetReturnShipmentStateActionImpl
- All Implemented Interfaces:
StagedOrderSetReturnShipmentStateAction
,StagedOrderUpdateAction
,ResourceUpdateAction<StagedOrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class StagedOrderSetReturnShipmentStateActionImpl
extends Object
implements StagedOrderSetReturnShipmentStateAction, 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_edit.StagedOrderSetReturnShipmentStateAction
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.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.order_edit.StagedOrderSetReturnShipmentStateAction
withStagedOrderSetReturnShipmentStateAction
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
withStagedOrderUpdateAction
-
Constructor Details
-
StagedOrderSetReturnShipmentStateActionImpl
public StagedOrderSetReturnShipmentStateActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StagedOrderUpdateAction>
- Specified by:
getAction
in interfaceStagedOrderUpdateAction
- Returns:
- action
-
getReturnItemId
id
of the ReturnItem to update. EitherreturnItemId
orreturnItemKey
is required.- Specified by:
getReturnItemId
in interfaceStagedOrderSetReturnShipmentStateAction
- Returns:
- returnItemId
-
getReturnItemKey
key
of the ReturnItem to update. EitherreturnItemId
orreturnItemKey
is required.- Specified by:
getReturnItemKey
in interfaceStagedOrderSetReturnShipmentStateAction
- Returns:
- returnItemKey
-
getShipmentState
New shipment state of the ReturnItem.
- Specified by:
getShipmentState
in interfaceStagedOrderSetReturnShipmentStateAction
- Returns:
- shipmentState
-
setReturnItemId
Description copied from interface:StagedOrderSetReturnShipmentStateAction
id
of the ReturnItem to update. EitherreturnItemId
orreturnItemKey
is required.- Specified by:
setReturnItemId
in interfaceStagedOrderSetReturnShipmentStateAction
- Parameters:
returnItemId
- value to be set
-
setReturnItemKey
Description copied from interface:StagedOrderSetReturnShipmentStateAction
key
of the ReturnItem to update. EitherreturnItemId
orreturnItemKey
is required.- Specified by:
setReturnItemKey
in interfaceStagedOrderSetReturnShipmentStateAction
- Parameters:
returnItemKey
- value to be set
-
setShipmentState
Description copied from interface:StagedOrderSetReturnShipmentStateAction
New shipment state of the ReturnItem.
- Specified by:
setShipmentState
in interfaceStagedOrderSetReturnShipmentStateAction
- Parameters:
shipmentState
- value to be set
-
equals
-
hashCode
public int hashCode()
-