Interface RatingReceivedEvent
- All Superinterfaces:
Event,IssueProvider
- All Known Subinterfaces:
ChatRatingReceivedEvent,TicketRatingReceivedEvent
This event is triggered when a rating was received.
- Since:
- 12.12
-
Method Summary
Modifier and TypeMethodDescriptionThis method returns the optionalUserwhich represents the agent that is currently or was last assigned to the related issue.This method returns theRatingDatafor allRatingData.Indexes sent by the customer.Methods inherited from interface com.novomind.ecom.api.iagent.common.event.Event
getEventDateMethods inherited from interface com.novomind.ecom.api.iagent.provider.IssueProvider
getIssue
-
Method Details
-
getLastAssignedAgent
This method returns the optionalUserwhich represents the agent that is currently or was last assigned to the related issue.- Returns:
- the optional
Useror an empty optional if noUserwas assigned to the issue - Since:
- 12.12
-
getRatingData
Map<RatingData.Index,RatingData> getRatingData()This method returns theRatingDatafor allRatingData.Indexes sent by the customer.- Returns:
- the mapping of
RatingData.IndextoRatingData - Since:
- 12.12
-