com.ibm.commerce.order.commands

Interface OrderPrepareCmd

  • All Superinterfaces:
    AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, Protectable, java.io.Serializable, com.ibm.websphere.command.TargetableCommand
    All Known Implementing Classes:
    GiftRegistryOrderPrepareCmdImpl, OrderPrepareCmdImpl


    public interface OrderPrepareCmd
    extends ControllerCommand
    This command prepares an order by determining prices, discounts, shipping charges, shipping adjustment, and taxes for an order. If an order reference number is not specified, all current pending orders will be prepared for the current customer at the given store. The default implementation of this command is OrderPrepareCmdImpl. The OrderPrepareCmd URL is mapped to this controller command.
    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String NAME
        The name of the Command Interface class.
        See Also:
        Constant Field Values
      • defaultCommandClassName

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

      • setOrderId

        void setOrderId(java.util.Vector avOrderId)
        Sets ids of the orders to be prepared.
        Parameters:
        avOrderId - java.util.Vector order identifiers
      • setOutOrderIds

        void setOutOrderIds(java.lang.String[] aarrstrOutOrderIds)
        Sets the names of the name-value pairs to be passed to a JSP. The value of each added name-value pair is the identifier of the order to be prepared.
        Parameters:
        aarrstrOutOrderIds - String - the names of the name-value pairs
      • setCommit

        void setCommit(boolean ibCommit)
        Sets the commit flag to control whether each order is processed in a separate database transaction
        Parameters:
        ibCommit - The ibCommit to set