Package zendesk.chat.client
Class OfflineForm.Builder
- java.lang.Object
-
- zendesk.chat.client.OfflineForm.Builder
-
- Enclosing class:
- OfflineForm
public static class OfflineForm.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description OfflineForm
build()
Builds the offline formOfflineForm.Builder
withDepartment(java.lang.String departmentId)
Selects a department to receive the offline form.OfflineForm.Builder
withVisitorInfo(VisitorInfo visitorInfo)
Provides information about the visitor.
-
-
-
Method Detail
-
withVisitorInfo
public OfflineForm.Builder withVisitorInfo(VisitorInfo visitorInfo)
Provides information about the visitor.- Parameters:
visitorInfo
- Visitor information- Returns:
- The builder with custom visitor information
-
withDepartment
public OfflineForm.Builder withDepartment(java.lang.String departmentId)
Selects a department to receive the offline form.- Parameters:
departmentId
- The identifier of the department to receive the offline form- Returns:
- The builder with a custom department configuration
-
build
public OfflineForm build()
Builds the offline form- Returns:
- The offline form
-
-