public class VisitorInfo extends Object implements Serializable
It is used as a configuration parameter in ZopimChatApi
to configure information about the user that is in the chat.
Setting this configuration to ZopimChatApi
will make the information visible in the agent's dashboard.
This class is a model that will be serialised to JSON and deserialised from JSON to this model. As such it does not follow the m naming prefix for fields.
Modifier and Type | Class and Description |
---|---|
static class |
VisitorInfo.Builder
Visitor info builder class
|
Modifier and Type | Method and Description |
---|---|
String |
getEmail()
Gets visitor email configured for this user
|
String |
getName()
Gets visitor name configured for this user
|
String |
getPhoneNumber()
Gets visitor phone number configured for this user
|
void |
setEmail(String email)
Sets visitor email to this configuration model
|
void |
setName(String name)
Sets visitor name to this configuration model
|
void |
setPhoneNumber(String phoneNumber)
Sets visitor phone number to this configuration model
|
public void setName(String name)
name
- of the visitor@Nullable public String getEmail()
public void setEmail(String email)
email
- of the visitor@Nullable public String getPhoneNumber()
public void setPhoneNumber(String phoneNumber)
phoneNumber
- of the visitor