com.ibm.commerce.order.commands

Interface OrderCreateQuoteCmd

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

    Parameters

    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

      • COPYRIGHT

        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.
        Parameters:
        url -
      • setOrder

        void setOrder(OrderAccessBean abOrder)
        Sets the order to create a quote.
        Parameters:
        abOrder - Order access bean
      • setSensitiveInfoCopyFlag

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

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

        void setDescription(java.lang.String description)
        Sets the description of the quote to be created from the order.
        Parameters:
        description -
      • getQuoteOrderId

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