Interface ChatResubmittedEvent
-
- All Superinterfaces:
ChatEvent
,ChatProvider
,ChatStateChangedEvent
,Event
- All Known Subinterfaces:
AgentChatResubmittedEvent
public interface ChatResubmittedEvent extends ChatStateChangedEvent
This event is triggered when a chat has been resubmitted.- Since:
- 12.29
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ChatState
getChatState()
java.util.Date
getDueDate()
This method returns the due date of the resubmitted chat.default java.util.Optional<ChatState>
getPreviousChatState()
-
Methods inherited from interface com.novomind.ecom.api.iagent.provider.ChatProvider
getChat
-
Methods inherited from interface com.novomind.ecom.api.iagent.common.event.Event
getEventDate
-
-
-
-
Method Detail
-
getDueDate
java.util.Date getDueDate()
This method returns the due date of the resubmitted chat.- Returns:
- the due date of the resubmitted chat.
- Since:
- 12.29
-
getPreviousChatState
default java.util.Optional<ChatState> getPreviousChatState()
- Specified by:
getPreviousChatState
in interfaceChatStateChangedEvent
- Returns:
- the
ChatState
of the chat before the state change, if available or an empty optional in case of an initial event e.g.ChatStartedEvent
-
getChatState
default ChatState getChatState()
- Specified by:
getChatState
in interfaceChatStateChangedEvent
- Returns:
- the new
ChatState
of the chat after the state change
-
-