Interface CloseOperationBuilder.WithChat
-
- Enclosing interface:
- CloseOperationBuilder
public static interface CloseOperationBuilder.WithChat
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
CloseOperationBuilder.WithChat.AsAgent
static interface
CloseOperationBuilder.WithChat.AsSupervisor
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CloseOperationBuilder.WithChat.AsAgent
agent(User user)
CloseOperationBuilder.WithChat.AsSupervisor
supervisor(User user)
CloseOperationBuilder.WithChat
transactionCode(TransactionCode transactionCode)
-
-
-
Method Detail
-
transactionCode
CloseOperationBuilder.WithChat transactionCode(TransactionCode transactionCode) throws ValidationException
- Parameters:
transactionCode
- the transaction code for the close operation.- Returns:
- the CloseOperationBuilder.WithChat
- Throws:
ValidationException
- e.g. if the transaction code is invalid * or the transaction code is not assigned * to the category of the chat.- Since:
- 12.23
-
supervisor
CloseOperationBuilder.WithChat.AsSupervisor supervisor(User user) throws ValidationException
- Parameters:
user
- the user executing the operation- Returns:
- the CloseOperationBuilder.WithChat.AsSupervisor
- Throws:
ValidationException
- e.g. if the specified user is invalid, deleted or not a supervisor for the category of the chat or the chat is in a state which disallows being closed by a supervisor.- Since:
- 12.23
-
agent
CloseOperationBuilder.WithChat.AsAgent agent(User user) throws ValidationException
- Parameters:
user
- the user executing the operation- Returns:
- the CloseOperationBuilder.WithChat.AsAgent
- Throws:
ValidationException
- e.g. if the specified user is invalid, deleted, not logged in, not an agent or the user is not currently assigned to the chat.- Since:
- 12.23
-
-