Package com.zopim.android.sdk.model
Class VisitorInfo.Builder
- java.lang.Object
-
- com.zopim.android.sdk.model.VisitorInfo.Builder
-
- Enclosing class:
- VisitorInfo
public static class VisitorInfo.Builder extends java.lang.Object
Visitor info builder class
-
-
Constructor Summary
Constructors Constructor and Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description VisitorInfo
build()
Builds an instance ofVisitorInfo
VisitorInfo.Builder
email(java.lang.String email)
Configures emailVisitorInfo.Builder
name(java.lang.String name)
Configures nameVisitorInfo.Builder
note(java.lang.String note)
Configures noteVisitorInfo.Builder
phoneNumber(java.lang.String number)
Configures phone number
-
-
-
Method Detail
-
name
public VisitorInfo.Builder name(java.lang.String name)
Configures name- Parameters:
name
- of the visitor- Returns:
- builder
-
email
public VisitorInfo.Builder email(java.lang.String email)
Configures email- Parameters:
email
- of the visitor- Returns:
-
phoneNumber
public VisitorInfo.Builder phoneNumber(java.lang.String number)
Configures phone number- Parameters:
number
- of the visitor- Returns:
- builder
-
note
public VisitorInfo.Builder note(java.lang.String note)
Configures note- Parameters:
note
- about the visitor- Returns:
- builder
-
build
public VisitorInfo build()
Builds an instance ofVisitorInfo
- Returns:
- visitor info instance with configuration specified during build process
-
-