public class VisitorInfo
extends java.lang.Object
implements java.io.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 |
---|---|
java.lang.String |
getEmail()
Gets visitor email configured for this user
|
java.lang.String |
getName()
Gets visitor name configured for this user
|
java.lang.String |
getNote()
Gets visitor note
|
java.lang.String |
getPhoneNumber()
Gets visitor phone number configured for this user
|
void |
setEmail(java.lang.String email)
Sets visitor email to this configuration model
|
void |
setName(java.lang.String name)
Sets visitor name to this configuration model
|
void |
setNote(java.lang.String note)
Appends a note to the visitor note
|
void |
setPhoneNumber(java.lang.String phoneNumber)
Sets visitor phone number to this configuration model
|
@Nullable public java.lang.String getName()
public void setName(java.lang.String name)
name
- of the visitor@Nullable public java.lang.String getEmail()
public void setEmail(java.lang.String email)
email
- of the visitor@Nullable public java.lang.String getPhoneNumber()
public void setPhoneNumber(java.lang.String phoneNumber)
phoneNumber
- of the visitorpublic void setNote(java.lang.String note)
note
- about the visitorpublic java.lang.String getNote()