Package zendesk.chat.client
Class VisitorInfo
- java.lang.Object
-
- zendesk.chat.client.VisitorInfo
-
public class VisitorInfo extends java.lang.Object
Holds information about the visitor in the Zendesk Chat system.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static class
VisitorInfo.Builder
Constructs instances of VisitorInfo.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static VisitorInfo.Builder
builder()
Returns a builder for constructing [VisitorInfo] object.static VisitorInfo.Builder
builder(VisitorInfo visitorInfo)
Returns a builder for constructing [VisitorInfo] that builds on top of an existing visitor info.boolean
equals(java.lang.Object o)
java.lang.String
getEmail()
Returns the email of this visitor ornull
if none has been set.java.lang.String
getName()
Returns the name of this visitor ornull
if none has been set.java.lang.String
getPhoneNumber()
Returns phone number of this visitor ornull
if none has been set.int
hashCode()
-
-
-
Method Detail
-
builder
public static VisitorInfo.Builder builder()
Returns a builder for constructing [VisitorInfo] object.- See Also:
VisitorInfo.Builder
-
builder
public static VisitorInfo.Builder builder(VisitorInfo visitorInfo)
Returns a builder for constructing [VisitorInfo] that builds on top of an existing visitor info.- See Also:
VisitorInfo.Builder
,VisitorInfo
-
getName
public java.lang.String getName()
Returns the name of this visitor ornull
if none has been set.
-
getEmail
public java.lang.String getEmail()
Returns the email of this visitor ornull
if none has been set.
-
getPhoneNumber
public java.lang.String getPhoneNumber()
Returns phone number of this visitor ornull
if none has been set.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-