com.ibm.commerce.tools.optools.order.commands

Class CSROrderCopyCmdImpl

    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The IBM Copyright statement.
        See Also:
        Constant Field Values
      • ERRTASK_NAME

        public static java.lang.String ERRTASK_NAME
        The error view name.
    • Constructor Detail

      • CSROrderCopyCmdImpl

        public CSROrderCopyCmdImpl()
    • Method Detail

      • getBackupOrderId

        public java.lang.String getBackupOrderId()
        Returns the backupOrderId.
        Specified by:
        getBackupOrderId in interface CSROrderCopyCmd
        Returns:
        Backup order id.
      • getNLS

        public java.util.Hashtable getNLS()
        Returns NLS properties.
        Returns:
        The NLS properties.
      • getOrderId

        public java.lang.String getOrderId()
        Gets the order ID for which the items are to be updated.
        Returns:
        The copied order id.
      • getOrgCmdContext

        public CommandContext getOrgCmdContext()
        Gets the original command context.
        Returns:
        The original command context.
      • getOrgReqProperties

        public TypedProperty getOrgReqProperties()
        Gets the original request properties.
        Returns:
        The original request properties.
      • getRedirectURL

        public java.lang.String getRedirectURL()
        Gets the redirect URL.
        Returns:
        The redirect URL.
      • getShopperId

        public java.lang.String getShopperId()
        Gets the shopper ID for which the order is to be added.
        Returns:
        The shopper ID
      • setBackupOrderId

        public void setBackupOrderId(java.lang.String backupOrderId)
        Sets the order id of the new order.
        Parameters:
        backupOrderId - The copied order id.
      • setOrderId

        public void setOrderId(java.lang.String newOrderId)
        Sets the order ID to copy
        Parameters:
        newOrderId - The order ID.
      • setOrgCmdContext

        public void setOrgCmdContext(CommandContext newOrgCmdContext)
        Sets the original command context.
        Parameters:
        newOrgCmdContext - The original command context.
      • setOrgReqProperties

        public void setOrgReqProperties(TypedProperty newOrgReqProperties)
        Sets the original request properties.
        Parameters:
        newOrgReqProperties - The original request properties.
      • setRedirectURL

        public void setRedirectURL(java.lang.String newRedirectURL)
        Sets the redirect URL.
        Parameters:
        newRedirectURL - The redirect URL.
      • setShopperId

        public void setShopperId(java.lang.String newShopperId)
        Sets the shopper ID that owns the order.
        Parameters:
        newShopperId - The shopper ID.