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

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
CSROrderCommentsNotifyCmdImpl

public interface CSROrderCommentsNotifyCmd
extends TaskCommand

Sends the order comment to the email address specified.

Behavior

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 Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
static java.lang.String defaultCommandClassName
          The default implementation class.
static java.lang.String MSG_TYPE_NAME
          The name of message type.
static java.lang.String NAME
          The name of this command.
 
Method Summary
 void setComment(java.lang.String newComment)
          Sets the order comment which needs to be sent.
 void setOrderId(java.lang.Long newOrderId)
          Sets the order ID.
 void setOrderId(java.lang.String newOrderId)
          Sets the order ID.
 void setReceiverEmailAddress(java.lang.String newReceiverEmailAddr)
          Sets the email address.
 void setSubject(java.lang.String newSubject)           Sets the email subject.
 

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

NAME

public static final java.lang.String NAME
The name of this command.
See Also:
Constant Field Values

defaultCommandClassName

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

MSG_TYPE_NAME

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

setComment

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

setOrderId

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

setOrderId

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

setReceiverEmailAddress

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

setSubject

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