com.ibm.commerce.fulfillment.commands

Class CheckInventoryCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, CheckInventoryCmd, ReverseUpdateInventoryCmd, UpdateInventoryCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class CheckInventoryCmdImpl
    extends InventoryBaseCmdImpl
    CheckInventory let you check inventory for items. There are two ways to check inventory.
    • Set one or list of order items by calling setOrderItem method.
    • Set one catalog entry by calling setCatEntryId, setQuantity and setStoreId methods. Method setQuantityMeasure is optional.
    The fulfillmentCenterId is optional.

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

    See Also:
    Serialized Form