Interface RatingReceivedEvent
-
- All Superinterfaces:
Event
,IssueProvider
- All Known Subinterfaces:
ChatRatingReceivedEvent
,TicketRatingReceivedEvent
public interface RatingReceivedEvent extends Event, IssueProvider
This event is triggered when a rating was received.
- Since:
- 12.12
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<User>
getLastAssignedAgent()
This method returns the optionalUser
which represents the agent that is currently or was last assigned to the related issue.java.util.Map<RatingData.Index,RatingData>
getRatingData()
This method returns theRatingData
for allRatingData.Index
es sent by the customer.-
Methods inherited from interface com.novomind.ecom.api.iagent.common.event.Event
getEventDate
-
Methods inherited from interface com.novomind.ecom.api.iagent.provider.IssueProvider
getIssue
-
-
-
-
Method Detail
-
getLastAssignedAgent
java.util.Optional<User> getLastAssignedAgent()
This method returns the optionalUser
which represents the agent that is currently or was last assigned to the related issue.- Returns:
- the optional
User
or an empty optional if noUser
was assigned to the issue - Since:
- 12.12
-
getRatingData
java.util.Map<RatingData.Index,RatingData> getRatingData()
This method returns theRatingData
for allRatingData.Index
es sent by the customer.- Returns:
- the mapping of
RatingData.Index
toRatingData
- Since:
- 12.12
-
-