public interface CommerceMessage
extends java.io.Serializable
This is the base interface for all the messages used in this system. Messages are the primary method of communication between the disparate fulfillment systems that might take part in the fulfillment process. Third party systems that will be sending messages into our fulfillment system need to implement this interface.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId()
This method returns the id of this message in an unspecified format.
|
java.lang.String |
getOriginalId()
Get the original message id as it came from the orignal source described above.
|
java.lang.String |
getOriginalSource()
This is the orignal source of data for this message.
|
java.lang.String |
getOriginalUserId()
This method returns the id of the end user whose action initiated this request.
|
java.lang.String |
getParentSessionId()
Returns the parent session id.
|
java.lang.String |
getSessionId()
Returns the current session id associated with the request when
this message is sent in the context of an HTTP request.
|
java.lang.String |
getSource()
This method returns an arbitrary string that identifies the source of the the message.
|
java.lang.String |
getType()
returns the type of the message.
|
java.lang.String |
getUserId()
This method returns the id of the most recent end user who acted on this message, if there
was one.
|
void |
setId(java.lang.String pId)
Set the id of this message.
|
void |
setParentSessionId(java.lang.String pParentSessionId)
Sets the parent session id.
|
void |
setSessionId(java.lang.String pSessionId) |
void |
setSource(java.lang.String pSource)
Set the source of this message.
|
void |
setUserId(java.lang.String pUserId)
Set the user id.
|
static final java.lang.String CLASS_VERSION
java.lang.String getSource()
void setSource(java.lang.String pSource)
java.lang.String getId()
void setId(java.lang.String pId)
java.lang.String getUserId()
void setUserId(java.lang.String pUserId)
java.lang.String getOriginalSource()
java.lang.String getOriginalId()
java.lang.String getOriginalUserId()
java.lang.String getType()
java.lang.String getSessionId()
void setSessionId(java.lang.String pSessionId)
java.lang.String getParentSessionId()
void setParentSessionId(java.lang.String pParentSessionId)