com.ibm.commerce.fulfillment.commands

Interface UpdateInventoryForOrderItemsCmd

  • 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:
    UpdateInventoryForOrderItemsCmdImpl


    public interface UpdateInventoryForOrderItemsCmd
    extends TaskCommand
    Update Inventory for order items.

    Calling Command: OrderProcess

    Expected Behavior: Reduce the amount of inventory in stock for a list of catalog entries. /p>

    If the update inventory fails, it throws ECApplicationException with the message key _API_BAD_INV and the error view of UpdateInventoryForOrderItemsErrorView.

    • Method Detail

      • setOrderItem

        void setOrderItem(OrderItemAccessBean[] anOrderItem)
        Set a list of OrderItems to update the inventory.
      • setOrderItem

        void setOrderItem(OrderItemAccessBean anOrderItem)
        Set an OrderItem to update the inventory.
      • setOrderItem

        void setOrderItem(java.util.Vector anOrderItemList)
        Set a list of OrderItems to update the inventory.