Package com.mypurecloud.sdk.v2.model
Class QueryOpportunityEnrollmentResult
java.lang.Object
com.mypurecloud.sdk.v2.model.QueryOpportunityEnrollmentResult
- All Implemented Interfaces:
Serializable
QueryOpportunityEnrollmentResult
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe denial codestatic enumThe current status of the enrollmentstatic enumThe system-generated message code about enrollment processing results or failures -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagent(UserReference agent) A reference to the agent who created the enrollmentThe denial codebooleangetAgent()getId()inthashCode()metadata(QueryOpportunityEnrollmentMetadata metadata) The metadata for the enrollmentopportunityId(String opportunityId) The ID of the opportunityreviewNote(String reviewNote) Supervisor's note explaining the agent's enrollment status changeschedule(BuScheduleReference schedule) The schedule on which the enrollment was added when this enrollment was approvedvoidsetAgent(UserReference agent) voidvoidvoidsetOpportunityId(String opportunityId) voidsetReviewNote(String reviewNote) voidsetSchedule(BuScheduleReference schedule) voidvoidsetSystemMessageCode(QueryOpportunityEnrollmentResult.SystemMessageCodeEnum systemMessageCode) The current status of the enrollmentsystemMessageCode(QueryOpportunityEnrollmentResult.SystemMessageCodeEnum systemMessageCode) The system-generated message code about enrollment processing results or failurestoString()
-
Constructor Details
-
QueryOpportunityEnrollmentResult
public QueryOpportunityEnrollmentResult() -
QueryOpportunityEnrollmentResult
-
-
Method Details
-
getId
-
opportunityId
The ID of the opportunity -
getOpportunityId
-
setOpportunityId
-
agent
A reference to the agent who created the enrollment -
getAgent
-
setAgent
-
status
The current status of the enrollment -
getStatus
-
setStatus
-
schedule
The schedule on which the enrollment was added when this enrollment was approved -
getSchedule
-
setSchedule
-
systemMessageCode
public QueryOpportunityEnrollmentResult systemMessageCode(QueryOpportunityEnrollmentResult.SystemMessageCodeEnum systemMessageCode) The system-generated message code about enrollment processing results or failures -
getSystemMessageCode
-
setSystemMessageCode
public void setSystemMessageCode(QueryOpportunityEnrollmentResult.SystemMessageCodeEnum systemMessageCode) -
reviewNote
Supervisor's note explaining the agent's enrollment status change -
getReviewNote
-
setReviewNote
-
denialCode
public QueryOpportunityEnrollmentResult denialCode(QueryOpportunityEnrollmentResult.DenialCodeEnum denialCode) The denial code -
getDenialCode
-
setDenialCode
-
metadata
The metadata for the enrollment -
getMetadata
-
setMetadata
-
equals
-
hashCode
public int hashCode() -
toString
-