com.ibm.commerce.quote.commands

Interface QuoteCreateCmd

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


    public interface QuoteCreateCmd
    extends ControllerCommand

    This Order controller command is used to create a quote container with no items.

    The new quote is stored in the ORDERS table and is associated with the OrderAccessBean. It has TYPE = QOT and STATUS = NEW. The EDP-Payments container is also initialized.

    Parameters

    URL (optional)
    The URL to be called when the command completes successfully.
    outQuoteName (optional)
    The name of the quote to be created (to be returned in the response). Default: Id of new quote.
    description (optional)
    The description of the quote to be created.
    orderId (response output)
    The Id of the quote created - returned in the response.
    The default implementation of this command is QuoteCreateCmdImpl. The QuoteCreate 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 interface name.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation class name.
        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 -
      • setOutputQuoteName

        void setOutputQuoteName(java.lang.String quoteName)
        Sets the quote name as the output.
        Parameters:
        quoteName -
      • setDescription

        void setDescription(java.lang.String description)
        Sets the description of the quote.
        Parameters:
        description -
      • getOrderId

        java.lang.String getOrderId()
        Returns the orderId of the quote.
        Returns:
        quote orderId.