com.ibm.commerce.returns.commands
Interface ReturnItemToInventoryCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
ReturnItemToInventoryCmdImpl

public interface ReturnItemToInventoryCmd
extends TaskCommand

Interface for command used to return merchandise to pool of inventory which can be used for new inventory allocations.

Inputs

orderitemId (required)
order item id
versionsSpcId (required if orderitemid not spcecified)
version specification id
rtnRcptDspID (required)
return Receipt Disposition Id
quantity (required)
inventory quantity
dateDisposed(required)
date disposed in the format YYYY:MM:DD:HH:MM:SS (YYYY:MM:DD is mandatory), defaults to current date/time if not specified

Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
          The default implementation class name is "com.ibm.commerce.returns.commands.ReturnItemToInventoryCmdImpl" .
static java.lang.String NAME
          The name of this interface is "com.ibm.commerce.returns.commands.ReturnItemToInventoryCmd".
 
Method Summary
 void setDispositionDate(java.sql.Timestamp DispositionDate)
          Set the date on which a part of a return receipt was dispositioned
 void setFulfillmentCenter(java.lang.Integer FfmCenterId)
          Set the fulfillment center to which inventory was returned.
 void setOrderItemsId(java.lang.Long OrderItemsId)
          Set the order item from which the merchandise in question came.
 void setQuantity(java.lang.Integer Quantity)
          Set the quantity to return to inventory.
 void setRtnRcptDspId(java.lang.Long RtnRcptDspId)
          Set the identifier of the return receipt disposition
 void setVersionSpecId(java.lang.Long VersionSpecId)           Set the merchandise's version specification identifier.
 

Field Detail
public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class name is "com.ibm.commerce.returns.commands.ReturnItemToInventoryCmdImpl" .
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
The name of this interface is "com.ibm.commerce.returns.commands.ReturnItemToInventoryCmd".
See Also:
Constant Field Values
Method Detail

setDispositionDate

public void setDispositionDate(java.sql.Timestamp DispositionDate)
Set the date on which a part of a return receipt was dispositioned
Parameters:
DispositionDate - Return Receipt Dispostion Date

setFulfillmentCenter

public void setFulfillmentCenter(java.lang.Integer FfmCenterId)
Set the fulfillment center to which inventory was returned.
Parameters:
FfmCenterId - Fulfillment Center identifier

setOrderItemsId

public void setOrderItemsId(java.lang.Long OrderItemsId)
Set the order item from which the merchandise in question came.
Parameters:
OrderItemsId - Order Item identifier

setQuantity

public void setQuantity(java.lang.Integer Quantity)
Set the quantity to return to inventory.
Parameters:
Quantity - Inventory Quantity

setRtnRcptDspId

public void setRtnRcptDspId(java.lang.Long RtnRcptDspId)
Set the identifier of the return receipt disposition
Parameters:
RtnRcptDspId - return receipt disposition id

setVersionSpecId

public void setVersionSpecId(java.lang.Long VersionSpecId)
Set the merchandise's version specification identifier.
Parameters:
VersionSpecId - Version Specification identifier