Interface OrderPrepareCmd

  • All Superinterfaces:
    AccCommand,,,, ControllerCommand, ECCommand, Protectable,,
    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


        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.
        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.
        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
        ibCommit - The ibCommit to set