com.ibm.commerce.quote.commands

Interface QuotePrepareCmd

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


    public interface QuotePrepareCmd
    extends ControllerCommand

    This Order controller command is used to prepare a quote. The quote is prepared with all its product prices and totals. Shipping and tax charges for the quote are not calculated. The inventory and a fulfillment center are not allocated for the quote items. After the quote is prepared it is locked. (ORDERS.LOCKED = 1 in the DB)

    Parameters

    orderId (mandatory).
    The Id of the quote. This must be a number.
    URL (mandatory)
    The URL to be called when the command completes successfully.
    The default implementation of this command is QuotePrepareCmdImpl. The QuotePrepare URL is mapped to this command by default.
    • 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 this command.
      • defaultCommandClassName

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

      • setUrl

        void setUrl(java.lang.String url)
        Sets the redirection URL after the command completes successfully.
        Parameters:
        url -
      • setQuote

        void setQuote(OrderAccessBean abQuote)
        Sets the quote to prepare.
        Parameters:
        abQuote - Quote access bean