Interface Chat
- All Superinterfaces:
Issue,OptionalCategoryProvider,OptionalTenantProvider,StorageProvider
Represents a chat
- Since:
- 10.0.142
-
Method Summary
Modifier and TypeMethodDescriptionReturns the channel of this chat.Returns all chat steps as an unmodifiable list.Get the customer chat session associated with this chat.Returns an Optional containing the end date of this chat, or an empty Optional if this chat is not ended yet.Get an optional containing the messenger account or an empty optional if this chat has no messenger account association.Returns an Optional containing the referenced ticket of this chat if available, or an empty Optional.Returns an Optional containing the review duration of this chat, or an empty Optional if the review is not finished yet.Returns an Optional containing the routing duration of this chat, or an empty Optional if this chat is not yet routed to an agent.Returns the start date of this chat.Methods inherited from interface com.novomind.ecom.api.iagent.model.Issue
getContact, 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.- 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.- Returns:
- all chat steps as an unmodifiable list
- Since:
- 11.3
-
getStartDate
Date getStartDate()Returns the start date of this chat.- Returns:
- the start date of this chat
- Since:
- 11.3
-
getEndDate
Returns an Optional containing the end date of this chat, or an empty Optional if this chat is not ended yet.- Returns:
- an Optional containing the end date of this chat. The Optional will be empty if this chat is not ended yet.
- Since:
- 11.3
-
getRoutingDuration
Returns an Optional containing the routing duration of this chat, or an empty Optional if this chat is not yet routed to an agent.- Returns:
- an Optional containing 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 an Optional containing the review duration of this chat, or an empty Optional if the review is not finished yet.- Returns:
- an Optional containing 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 an Optional containing the referenced ticket of this chat if available, or an empty Optional.- Returns:
- an Optional containing 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
-