Sends the order comment to the email address specified.
Behavior
Parameters
setComment
to set the comment you want
to sent.setOrderId
to set the ID of the order
which you want to sent comment.setReceiverEmailAddress
to set the
receiver's email address.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
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
public static final java.lang.String MSG_TYPE_NAME
Method Detail |
---|
public void setComment(java.lang.String newComment)
newComment
- The order comment.public void setOrderId(java.lang.Long newOrderId)
newOrderId
- The order ID.public void setOrderId(java.lang.String newOrderId)
newOrderId
- The order ID.public void setReceiverEmailAddress(java.lang.String newReceiverEmailAddr)
newReceiverEmailAddr
- The email address.public void setSubject(java.lang.String newSubject)
newSubject
- The email subject.