com.ibm.commerce.inventory.commands

Interface CancelExternalInventoryTaskCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, ExternalInventoryBaseTaskCmd, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    CancelExternalInventoryTaskCmdImpl


    public interface CancelExternalInventoryTaskCmd
    extends ExternalInventoryBaseTaskCmd
    This is a task command used to cancel the inventory of external system

    Input parameters:

    Name Description
    CallerCommandName the command that invokes the DoInventoryAction
    action the action that indicates canceling inventory
    orderIds the Ids of the order that need cancel inventory
    OrderItem the order items that need cancel inventory, if this parameter is provided, the orderIds will be ignored

    Output parameters:

    None.

    Behaviour:

    • this task command will call ProcessOrderInventoryCmd w/action "CancelOrderInventory" to cancel inventory reservations
    • this task command will call ProcessOrderInventoryresponseTaskCmd to set the order items' status

    Task commands called:

    See Also:
    ExternalInventoryBaseTaskCmdImpl, ReserveExternalInventoryTaskCmdImpl, CheckExternalInventoryTaskCmdImpl
    • Field Detail

      • defaultCommandClassName

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

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

      • setOrderItem

        void setOrderItem(OrderItemAccessBean argOrderItemAB)
        This method sets the Order Item when canceling the inventory reservation of a single order item.
        Parameters:
        argOrderItemAB -
      • getOrderItem

        OrderItemAccessBean getOrderItem()
        This method gets the Order Item
        Parameters:
        argOrderItemAB -
        Returns:
        OrderItemAccessBean