Interface QuoteCopyCmd

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

    public interface QuoteCopyCmd
    extends ControllerCommand

    The interface to copy a quote. This command creates a new quote container and copies the contents of the quote specified in the request into the new quote. If you indicate that the sensitive information should be copied to the new quote, then the payment information is copied.

    You may specify multiple orderIds for the quotes in the request. In this case, the quote-level and payment information from only the first quote are copied into the new quote. However, the items from all the quotes specified in the request are copied into the new quote.


    quoteId (required)
    The Id of the quote that needs to be copied. This must be a number. Multiple orderIds for the quotes may be specified in the request.
    URL (required)
    The URL to be called when the command completes successfully.
    sensitiveInfoCopy (optional) default is "N"
    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) default is "Y"
    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 quote created after copying.


    The Id of the quote after it is copied.
    • 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 be copied.
        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 -
      • setDescription

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

        OrderAccessBean getToQuote()
        Gets the quote access bean that was copied.
        Quote access bean that has been copied to