com.ibm.commerce.returns.commands

Interface ReturnItemToInventoryCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, 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 specified)
    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 Detail

      • defaultCommandClassName

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

        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

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

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

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

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

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

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