-
- All Implemented Interfaces:
-
com.glia.androidsdk.visitor.VisitorInfoUpdateRequest
public class VisitorInfoUpdateRequestInternal implements VisitorInfoUpdateRequest
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Stringemailprivate final Stringphoneprivate final Stringnoteprivate VisitorInfoUpdateRequest.NoteUpdateMethodnoteUpdateMethodprivate final LinkedTreeMap<String, String>customAttributesprivate VisitorInfoUpdateRequest.CustomAttributesUpdateMethodcustomAttrsUpdateMethod
-
Constructor Summary
Constructors Constructor Description VisitorInfoUpdateRequestInternal(String name, String email, String phone, String note, VisitorInfoUpdateRequest.NoteUpdateMethod noteUpdateMethod, LinkedTreeMap<String, String> customAttributes, VisitorInfoUpdateRequest.CustomAttributesUpdateMethod customAttrsUpdateMethod)
-
Method Summary
Modifier and Type Method Description StringgetName()The visitor's name. StringgetEmail()The visitor's email. StringgetPhone()The visitor's phone number. StringgetNote()The notes associated with the visitor. VisitorInfoUpdateRequest.NoteUpdateMethodgetNoteUpdateMethod()Specifies a method for updating the visitor's note. LinkedTreeMap<String, String>getCustomAttributes()An object with custom key-value pairs to be assigned to the visitor. VisitorInfoUpdateRequest.CustomAttributesUpdateMethodgetCustomAttrsUpdateMethod()Specifies the method for updating custom attributes. StringgetExternalId()External ID to be used in third-party integrations. booleanequals(Object o)inthashCode()-
-
Constructor Detail
-
VisitorInfoUpdateRequestInternal
VisitorInfoUpdateRequestInternal(String name, String email, String phone, String note, VisitorInfoUpdateRequest.NoteUpdateMethod noteUpdateMethod, LinkedTreeMap<String, String> customAttributes, VisitorInfoUpdateRequest.CustomAttributesUpdateMethod customAttrsUpdateMethod)
-
-
Method Detail
-
getNote
String getNote()
The notes associated with the visitor.
See also getNoteUpdateMethod
-
getNoteUpdateMethod
VisitorInfoUpdateRequest.NoteUpdateMethod getNoteUpdateMethod()
Specifies a method for updating the visitor's note.
See NoteUpdateMethod for detailsDefault value is APPEND
-
getCustomAttributes
LinkedTreeMap<String, String> getCustomAttributes()
An object with custom key-value pairs to be assigned to the visitor.
See also getCustomAttrsUpdateMethod
-
getCustomAttrsUpdateMethod
VisitorInfoUpdateRequest.CustomAttributesUpdateMethod getCustomAttrsUpdateMethod()
Specifies the method for updating custom attributes.
See CustomAttributesUpdateMethod for detailsDefault value is MERGE
-
getExternalId
@Nullable() String getExternalId()
External ID to be used in third-party integrations.
-
hashCode
int hashCode()
-
-
-
-