com.ibm.commerce.inventory.commands

Interface ProcessOrderInventoryResponseTaskCmd

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


    public interface ProcessOrderInventoryResponseTaskCmd
    extends TaskCommand
    This is a task command used to process the response of the inventory outbound service.

    Input parameters:

    Name Description
    CallerCommandName the command that invokes the DoInventoryAction
    action the action that indicates how to deal with inventory
    order the order that need perform inventory action
    OrderInventory the OrderInventory SDO

    Output parameters:

    None.

    Behaviour:

    • get inventory status, fulfillment center id and available time from the response
    • set order items' status
    • Field Detail

      • COPYRIGHT

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

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

      • getAction

        int getAction()
        This method gets the action
        Returns:
        action
      • setAction

        void setAction(int argAction)
        This method sets the action
        Parameters:
        argAction -
      • getOrder

        OrderAccessBean getOrder()
        This method gets the order
        Returns:
        the order.
      • setOrder

        void setOrder(OrderAccessBean argIabOrder)
        This method sets the order
        Parameters:
        argIabOrder - The iabOrder to set.
      • getOrderInventory

        com.ibm.commerce.inventory.datatypes.OrderInventoryType getOrderInventory()
        This method gets the orderInventory SDO
        Returns:
        the orderInventory.
      • setOrderInventory

        void setOrderInventory(com.ibm.commerce.inventory.datatypes.OrderInventoryType argOrderInventory)
        This method sets the orderInventory SDO
        Parameters:
        argOrderInventory - The orderInventory to set.