public class ApprovalMessage extends CommerceMessageImpl
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
APPROVAL_FAILED |
static java.lang.String |
APPROVAL_PASSED |
static java.lang.String |
APPROVED |
static java.lang.String |
CLASS_VERSION |
static java.lang.String |
REJECTED |
static java.lang.String |
TYPE
This is the JMS message type for the message that this class represents.
|
| Constructor and Description |
|---|
ApprovalMessage() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getApprovalStatus()
Returns property approvalStatus
|
Order |
getOrder()
Returns property order
|
RepositoryItem |
getOrderOwnerProfile()
Returns the orderOwnerProfile
|
RepositoryItem |
getProfile()
Returns property profile
|
java.lang.String |
getType()
return the JMS message TYPE of the message
|
void |
setApprovalStatus(java.lang.String pApprovalStatus)
Sets property approvalStatus
|
void |
setOrder(Order pOrder)
Sets property order
|
void |
setOrderOwnerProfile(RepositoryItem pOrderOwnerProfile)
Sets the orderOwnerProfile
|
void |
setProfile(RepositoryItem pProfile)
Sets property profile
|
java.lang.String |
toString()
This method returns a readable string representing the contents of this message.
|
appendBaseToString, getId, getOriginalId, getOriginalSource, getOriginalUserId, getParentSessionId, getSessionId, getSiteId, getSource, getUserId, setId, setOriginalId, setOriginalSource, setOriginalUserId, setParentSessionId, setSessionId, setSiteId, setSource, setUserIdpublic static java.lang.String CLASS_VERSION
public static final java.lang.String APPROVED
public static final java.lang.String REJECTED
public static final java.lang.String APPROVAL_PASSED
public static final java.lang.String APPROVAL_FAILED
public static final java.lang.String TYPE
public java.lang.String getApprovalStatus()
public void setApprovalStatus(java.lang.String pApprovalStatus)
pApprovalStatus - the value to set for property approvalStatuspublic Order getOrder()
public void setOrder(Order pOrder)
pOrder - the value to set for property orderpublic RepositoryItem getProfile()
public void setProfile(RepositoryItem pProfile)
pProfile - the value to set for property profilepublic RepositoryItem getOrderOwnerProfile()
public void setOrderOwnerProfile(RepositoryItem pOrderOwnerProfile)
public java.lang.String getType()
getType in interface CommerceMessagegetType in class CommerceMessageImplpublic java.lang.String toString()
toString in class java.lang.Object