Class 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 or null if none has been set.
      java.lang.String getName()
      Returns the name of this visitor or null if none has been set.
      java.lang.String getPhoneNumber()
      Returns phone number of this visitor or null if none has been set.
      int hashCode() 
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the name of this visitor or null if none has been set.
      • getEmail

        public java.lang.String getEmail()
        Returns the email of this visitor or null if none has been set.
      • getPhoneNumber

        public java.lang.String getPhoneNumber()
        Returns phone number of this visitor or null if none has been set.
      • equals

        public boolean equals(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object