Interface QuoteGenerateOrderCmd

  • All Superinterfaces:
    AccCommand,,,, ControllerCommand, ECCommand, Protectable,,
    All Known Implementing Classes:

    public interface QuoteGenerateOrderCmd
    extends ControllerCommand

    The interface to generate an order from a quote. The quote and its items are copied to a new order using the CopyQuoteCmd along with the payment information if the sensitiveInfoCopy flag is set to "Y" in the request. If the quote has not expired, then the SKIP_REPRICING PrepareFlags in all the OrderItems are turned on. It is to ensure the quoted prices in the generated order. Finally, the order is prepared using the PrepareOrderCmd.


    orderId (mandatory)
    The Id of the quote. This must be a number.
    URL (mandatory)
    The URL to be called when the command completes successfully.
    sensitiveInfoCopy (optional)
    This flag indicates if sensitive information such as payment information needs to be copied. The default value is "N". Change the default value to Y to copy the sensitive information.
    blockInfoCopy (optional)
    This flag indicates if block information needs to be copied. The default is "Y". Change the default value to N if you do not want to copy the block information.
    description (optional)
    The description of the order being generated.


    The Id of the order being generated.
    • 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 this interface. "".
        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.
        url -
      • setQuote

        void setQuote(OrderAccessBean abQuote)
        Sets the quote to generateOrderFrom.
        abQuote - Quote access bean
      • setSensitiveInfoCopyFlag

        void setSensitiveInfoCopyFlag(java.lang.String sensitiveInfoCopyFlag)
        Sets the SensitiveInfoCopy flag.
        sensitiveInfoCopyFlag - Sensitive Info copy flag
      • setBlockInfoCopyFlag

        void setBlockInfoCopyFlag(java.lang.String blockInfoCopyFlag)
        Sets the blockInfoCopy flag.
        blockInfoCopyFlag - Block Info copy flag
      • setDescription

        void setDescription(java.lang.String description)
        Sets the description of the order to be generated from the quote.
        description -
      • getGenOrderId

        java.lang.String getGenOrderId()
        Gets the orderId of the generated order.
        orderId of the generated Order