Interface Chat
-
- All Superinterfaces:
Issue
,OptionalCategoryProvider
,OptionalTenantProvider
,StorageProvider
public interface Chat extends Issue
Represents a chat- Since:
- 10.0.142
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChatChannel
getChatChannel()
java.util.List<ChatStep>
getChatSteps()
java.util.Optional<java.util.Date>
getEndDate()
java.util.Optional<Ticket>
getReferencedTicket()
java.util.Optional<java.time.Duration>
getReviewDuration()
java.util.Optional<java.time.Duration>
getRoutingDuration()
java.util.Date
getStartDate()
-
Methods inherited from interface com.novomind.ecom.api.iagent.model.Issue
getDateReceived, getId, getLocale, getLocation, getRoutingTags, getTenant
-
Methods inherited from interface com.novomind.ecom.api.iagent.provider.OptionalCategoryProvider
getCategory
-
Methods inherited from interface com.novomind.ecom.api.iagent.provider.StorageProvider
getStorage
-
-
-
-
Method Detail
-
getChatChannel
ChatChannel getChatChannel()
- Returns:
- the channel of this chat
- Since:
- 12.20
-
getChatSteps
java.util.List<ChatStep> getChatSteps()
- Returns:
- all chat steps as an unmodifiable list
- Since:
- 11.3
-
getStartDate
java.util.Date getStartDate()
- Returns:
- the start date of this chat
- Since:
- 11.3
-
getEndDate
java.util.Optional<java.util.Date> getEndDate()
- Returns:
- the end date of this chat. The optional will be empty if this chat is not ended yet.
- Since:
- 11.3
-
getRoutingDuration
java.util.Optional<java.time.Duration> getRoutingDuration()
- Returns:
- the routing duration of this chat as a duration object. The optional will be empty if this chat is not routed to an agent yet.
- Since:
- 11.3
-
getReviewDuration
java.util.Optional<java.time.Duration> getReviewDuration()
- Returns:
- the review duration of this chat as a duration object. The optional will be empty if the review is not finished yet.
- Since:
- 11.3
-
getReferencedTicket
java.util.Optional<Ticket> getReferencedTicket()
- Returns:
- the referenced ticket of this chat if available or an empty optional.
- Since:
- 12.27
-
-