PreChatSurveyResponse

public interface PreChatSurveyResponse<T extends FieldDefinition, R extends Object>

Definition of possible response formats for questions from PreChatSurvey. Each format is tied to the question represented by the FieldDefinition from PreChatSurvey.fields. Format definitions provide default minimal implementation, but allows also usage of custom implementations.

Inheritors

Types

Link copied to clipboard

Response to FieldDefinition.Hierarchy with response in a format of selected leaf HierarchyNode.

Link copied to clipboard

Response to FieldDefinition.Selector with response in a format of selected Selector.

Link copied to clipboard

Response to FieldDefinition.Text with response in a format of user supplied String.

Functions

Link copied to clipboard
public abstract T getQuestion()

Question which is being answered.

Link copied to clipboard
public abstract R getResponse()

Supplied / selected response from the user.