com.ibm.commerce.inventory.commands

Interface GenericInventoryAdjustCmd

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


    public interface GenericInventoryAdjustCmd
    extends TaskCommand
    The purpose of this command is to adjust (release or increase) inventory for a specified product. This command can be used for both ATP and non-ATP stores.
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        The internal copyright field.
        See Also:
        Constant Field Values
      • NAME

        static final java.lang.String NAME
        The name of this interface is "com.ibm.commerce.inventory.commands.GenericInventoryAdjustCmd".
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation class is "com.ibm.commerce.inventory.commands.GenericInventoryAdjustCmdImpl".
        See Also:
        Constant Field Values
    • Method Detail

      • setCatEntryId

        void setCatEntryId(java.lang.Long param)
        This method sets the catalog entry Id of the product to reserve. Creation date: (9/7/2001 9:24:44 AM)
        Parameters:
        param - java.lang.Long
      • setFulfillmentCenterId

        void setFulfillmentCenterId(java.lang.Integer ffmcid)
        This method sets the Fulfill center id. Creation date: (4/19/2001 11:59:48 AM)
        Parameters:
        ffmcid - java.lang.Integer
      • setQuantity

        void setQuantity(java.lang.Integer argQuantity)
        This method sets the quantity of the product to adjust. Positive number means reserve more inventory. Negative number means release inventory. Creation date: (4/19/2001 11:59:48 AM)
        Parameters:
        argQuantity - java.lang.Long
      • setReservationId

        void setReservationId(java.lang.Long rid)
        This method sets the reservation id. Not required for non-ATP store. Creation date: (9/7/2001 9:29:01 AM)
        Parameters:
        rid - java.lang.Long
      • setStore

        void setStore(StoreAccessBean param)
        This method sets the store object in which this reservation is taking place. Creation date: (9/6/2001 4:05:40 PM)
        Parameters:
        param - com.ibm.commerce.common.objects.StoreAccessBean