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

Interface CSROrderCommentsNotifyCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    CSROrderCommentsNotifyCmdImpl


    public interface CSROrderCommentsNotifyCmd
    extends TaskCommand
    Sends the order comment to the email address specified.

    Behavior

    • Send comment to the specified email address

    Parameters

    Order comment
    You need to use method setComment to set the comment you want to sent.
    Order ID
    You need to use method setOrderId to set the ID of the order which you want to sent comment.
    Receiver email address
    You need to use method setReceiverEmailAddress to set the receiver's email address.
    email subject
    You need to use method setSubject to set the subject of the email.

    Exception Conditions

    If comment can not be sent.
    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String defaultCommandClassName
        The default implementation class.
        See Also:
        Constant Field Values
      • MSG_TYPE_NAME

        static final java.lang.String MSG_TYPE_NAME
        The name of message type.
        See Also:
        Constant Field Values
    • Method Detail

      • setComment

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

        void setOrderId(java.lang.Long newOrderId)
        Sets the order ID.
        Parameters:
        newOrderId - The order ID.
      • setOrderId

        void setOrderId(java.lang.String newOrderId)
        Sets the order ID.
        Parameters:
        newOrderId - The order ID.
      • setReceiverEmailAddress

        void setReceiverEmailAddress(java.lang.String newReceiverEmailAddr)
        Sets the email address.
        Parameters:
        newReceiverEmailAddr - The email address.
      • setSubject

        void setSubject(java.lang.String newSubject)
        Sets the email subject.
        Parameters:
        newSubject - The email subject.