Interface OrderCreateQuoteCmd

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

    public interface OrderCreateQuoteCmd
    extends ControllerCommand
    This Order controller command is to create a quote from an existing Order. The contents of the order are copied into the new quote. The payment information is copied only if the request specifies sensitiveInfoCopy = Y.


    orderId (mandatory)
    The Id of the order. This should be a number.
    sensitiveInfoCopy (optional)
    This flag indicates whether sensitive information such as payments information needs to be copied. ("Y/N")
    blockInfoCopy (optional)
    This flag indicates whether block information needs to be copied. ("Y/N")
    description (optional)
    Description of the quote to be created.
    URL (mandatory)
    The URL to be called when the command completes successfully.
    The default implementation of this command is OrderCreateQuoteCmdImpl. The OrderCreateQuote URL is mapped to this command by default.
    • 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 full 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.
        url -
      • setOrder

        void setOrder(OrderAccessBean abOrder)
        Sets the order to create a quote.
        abOrder - Order 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 quote to be created from the order.
        description -
      • getQuoteOrderId

        java.lang.String getQuoteOrderId()
        Returns the Id of the quote created.
        Id of Quote