com.ibm.commerce.inventory.client.commands

Interface ProcessOrderInventoryCmd

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


    public interface ProcessOrderInventoryCmd
    extends TaskCommand
    This is a task command to invoke inventory outbound service

    Input parameters:

    Name Description
    orderItem the orderItem that need process inventory
    action the action that need perform
    order the order that need process inventory

    Output parameters:

    None.

    Behaviour:

    • compose the ProcessOrderInventory SDO
    • call inventory facade to invoke inventory outbound service
    See Also:
    GetProductAvailabilityCmdImpl
    • Field Detail

      • ACTION_CHECK_INVENTORY

        static final java.lang.String ACTION_CHECK_INVENTORY
        The invocation service action CheckOrderInventory.
        See Also:
        Constant Field Values
      • ACTION_RESERVE_INVENTORY

        static final java.lang.String ACTION_RESERVE_INVENTORY
        The invocation service action ReserveOrderInventory.
        See Also:
        Constant Field Values
      • ACTION_CANCEL_INVENTORY

        static final java.lang.String ACTION_CANCEL_INVENTORY
        The invocation service action CancelOrderInventory.
        See Also:
        Constant Field Values
      • COPYRIGHT

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

        static final java.lang.String NAME
        The full name of this command.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation of this command.
        See Also:
        Constant Field Values
    • Method Detail

      • setAction

        void setAction(java.lang.String astrAction)
        This method sets the action
        Parameters:
        astrAction - The istrAction to set.
      • setOrder

        void setOrder(OrderAccessBean aabOrder)
        This method sets the OrderInventory SDO
        Parameters:
        aabOrder - The orderInventory SDO to set.
      • getAcknowledgeOrderInventory

        com.ibm.commerce.inventory.datatypes.AcknowledgeOrderInventoryType getAcknowledgeOrderInventory()
        This method gets the AcknowledgeOrderInventory SDO
        Returns:
        Returns the iAcknowledgeOrder SDO
      • setOrderItem

        void setOrderItem(OrderItemAccessBean argOrderItemAB)
        This method sets the Order Item
        Parameters:
        argOrderItemAB - order item to set
      • getOrderItem

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