Interface Chat
- All Superinterfaces:
Issue,OptionalCategoryProvider,OptionalTenantProvider,StorageProvider
Represents a chat
- Since:
- 10.0.142
-
Method Summary
Modifier and TypeMethodDescriptionGet the customer chat session associated with this chat.Get an optional containing the messenger account or an empty optional if this chat has no messenger account association.Methods inherited from interface com.novomind.ecom.api.iagent.model.Issue
getDateReceived, getId, getLocale, getLocation, getRoutingTags, getTenantMethods inherited from interface com.novomind.ecom.api.iagent.provider.OptionalCategoryProvider
getCategoryMethods inherited from interface com.novomind.ecom.api.iagent.provider.StorageProvider
getStorage
-
Method Details
-
getChatChannel
ChatChannel getChatChannel()- Returns:
- the channel of this chat
- Since:
- 12.20
-
getMessengerAccount
Optional<MessengerAccount> getMessengerAccount()Get an optional containing the messenger account or an empty optional if this chat has no messenger account association.- Returns:
- an optional containing the messenger account or an empty optional
- Since:
- 13.7
-
getChatSteps
- Returns:
- all chat steps as an unmodifiable list
- Since:
- 11.3
-
getStartDate
Date getStartDate()- Returns:
- the start date of this chat
- Since:
- 11.3
-
getEndDate
- Returns:
- the end date of this chat. The optional will be empty if this chat is not ended yet.
- Since:
- 11.3
-
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
- 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
- Returns:
- the referenced ticket of this chat if available or an empty optional.
- Since:
- 12.27
-
getCustomerChatSession
CustomerChatSession getCustomerChatSession()Get the customer chat session associated with this chat.- Returns:
- the customer chat session associated with this chat
- Since:
- 13.5
-