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

Class CSROrderCommentsNotifyCmdImpl

    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CSROrderCommentsNotifyCmdImpl

        public CSROrderCommentsNotifyCmdImpl()
        CSROrderCommentsNotifyCmdImpl constructor.
    • Method Detail

      • getStoreEMailAddress

        public java.lang.String getStoreEMailAddress(java.lang.String newStoreId)
                                              throws java.lang.Exception
        Obtain the email address of the store.
        Parameters:
        newStoreId - The store ID.
        Returns:
        The email address of the store.
        Throws:
        java.lang.Exception - If the email address cannot be retrieved
      • setComment

        public void setComment(java.lang.String newComment)
        Sets the order comment which needs to be sent.
        Specified by:
        setComment in interface CSROrderCommentsNotifyCmd
        Parameters:
        newComment - The order comment.
      • setOrderId

        public void setOrderId(java.lang.Long newOrderId)
        Sets the order ID.
        Specified by:
        setOrderId in interface CSROrderCommentsNotifyCmd
        Parameters:
        newOrderId - The order ID.
      • setOrderId

        public void setOrderId(java.lang.String newOrderId)
        Sets the order ID.
        Specified by:
        setOrderId in interface CSROrderCommentsNotifyCmd
        Parameters:
        newOrderId - The order ID.
      • setReceiverEmailAddress

        public void setReceiverEmailAddress(java.lang.String newReceiverEmailAddr)
        Sets the email address.
        Specified by:
        setReceiverEmailAddress in interface CSROrderCommentsNotifyCmd
        Parameters:
        newReceiverEmailAddr - The email address.
      • setSubject

        public void setSubject(java.lang.String newSubject)
        Ses the email subject.
        Specified by:
        setSubject in interface CSROrderCommentsNotifyCmd
        Parameters:
        newSubject - The email subject.
      • reset

        public void reset()
        Reset
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand