public class UserData extends Object
| Constructor and Description |
|---|
UserData()
Default Constructor.
|
UserData(String email,
String phone,
GenderEnum gender,
String dateOfBirth,
String lastName,
String firstName,
String city,
String state,
String zipcode,
String countryCode,
String externalId,
String clientIpAddress,
String clientUserAgent,
String fbc,
String fbp,
String subscriptionId,
String fbLoginId,
String leadId,
String f5first,
String f5last,
String fi,
String dobd,
String dobm,
String doby) |
| Modifier and Type | Method and Description |
|---|---|
UserData |
city(String city)
Set a city in lower-case without spaces or punctuation.
|
UserData |
clientIpAddress(String clientIpAddress)
Set IP address of the browser corresponding to the event.
|
UserData |
clientUserAgent(String clientUserAgent)
Set user agent for the browser corresponding to the event.
|
UserData |
countryCode(String countryCode)
Set a two-letter country code in lowercase.
|
UserData |
dateOfBirth(String dateOfBirth)
Set a date of birth given as year, month, and day.
|
UserData |
dobd(String dobd)
Set dobd for the event.
|
UserData |
dobm(String dobm)
Set dobm for the event.
|
UserData |
doby(String doby)
Set doby for the event.
|
UserData |
email(String email)
Set an email address, in lowercase.
|
boolean |
equals(Object o) |
UserData |
externalId(String externalId)
Set any unique ID from the advertiser, such as loyalty membership IDs, user IDs, and external
cookie IDs.
|
UserData |
f5first(String f5first)
Set f5first for the event.
|
UserData |
f5last(String f5last)
Set f5last for the event.
|
UserData |
fbc(String fbc)
Set Facebook click ID value stored in the _fbc browser cookie under your domain.
|
UserData |
fbLoginId(String fbLoginId)
Set Facebook Login ID for the user in this event.
|
UserData |
fbp(String fbp)
Set Facebook browser ID value stored in the _fbp browser cookie under your domain.
|
UserData |
fi(String fi)
Set fi for the event.
|
UserData |
firstName(String firstName)
Set a first name in lowercase.
|
UserData |
gender(GenderEnum gender)
Gender.
|
String |
getCity()
A city in lower-case without spaces or punctuation.
|
String |
getClientIpAddress()
The IP address of the browser corresponding to the event.
|
String |
getClientUserAgent()
The user agent for the browser corresponding to the event.
|
String |
getCountryCode()
A two-letter country code in lowercase.
|
String |
getDateOfBirth()
Return a date of birth given as year, month, and day.
|
String |
getDobd()
The dobd for the event.
|
String |
getDobm()
The dobm for the event.
|
String |
getDoby()
The doby for the event.
|
String |
getEmail()
An email address, in lowercase.
|
String |
getExternalId()
Any unique ID from the advertiser, such as loyalty membership IDs, user IDs, and external
cookie IDs.
|
String |
getF5first()
The f5first for the event.
|
String |
getF5last()
The f5last for the event.
|
String |
getFbc()
The Facebook click ID value stored in the _fbc browser cookie under your domain.
|
String |
getFbLoginId()
The Facebook Login ID for the user in this event.
|
String |
getFbp()
The Facebook browser ID value stored in the _fbp browser cookie under your domain.
|
String |
getFi()
The fi for the event.
|
String |
getFirstName()
A first name in lowercase.
|
GenderEnum |
getGender()
Gender, Male or Female.
|
String |
getLastName()
A last name in lowercase.
|
String |
getLeadId()
The LeadId for the event.
|
String |
getPhone()
A phone number.
|
String |
getState()
A two-letter state code in lowercase.
|
String |
getSubscriptionId()
The subscription ID for the user in this transaction.
|
String |
getZipcode()
A five-digit zip code.
|
int |
hashCode() |
UserData |
lastName(String lastName)
Set a last name in lowercase.
|
UserData |
leadId(String leadId)
Set LeadId for the event.
|
UserData |
phone(String phone)
Set a phone number.
|
void |
setCity(String city)
Set a city in lower-case without spaces or punctuation.
|
void |
setClientIpAddress(String clientIpAddress)
Set IP address of the browser corresponding to the event.
|
void |
setClientUserAgent(String clientUserAgent)
Set user agent for the browser corresponding to the event.
|
void |
setCountryCode(String countryCode)
Set a two-letter country code in lowercase.
|
void |
setDateOfBirth(String dateOfBirth)
A date of birth given as year, month, and day.
|
void |
setDobd(String dobd)
Set dobd for the event.
|
void |
setDobm(String dobm)
Set dobm for the event.
|
void |
setDoby(String doby)
Set doby for the event.
|
void |
setEmail(String email)
Set an email address, in lowercase.
|
void |
setExternalId(String externalId)
Set any unique ID from the advertiser, such as loyalty membership IDs, user IDs, and external
cookie IDs.
|
void |
setF5first(String f5first)
Set f5first for the event.
|
void |
setF5last(String f5last)
Set f5last for the event.
|
void |
setFbc(String fbc)
Set Facebook click ID value stored in the _fbc browser cookie under your domain.
|
void |
setFbLoginId(String fbLoginId)
Set Facebook Login ID for the user in this event
|
void |
setFbp(String fbp)
Set Facebook browser ID value stored in the _fbp browser cookie under your domain.
|
void |
setFi(String fi)
Set fi for the event.
|
void |
setFirstName(String firstName)
Set a first name in lowercase.
|
void |
setGender(GenderEnum gender)
Gender, Male or Female.
|
void |
setLastName(String lastName)
Set a last name in lowercase.
|
void |
setLeadId(String leadId)
Set LeadId for the event.
|
void |
setPhone(String phone)
Set a phone number.
|
void |
setState(String state)
Set a two-letter state code in lowercase.
|
void |
setSubscriptionId(String subscriptionId)
Set subscription ID for the user in this transaction.
|
void |
setZipcode(String zipcode)
Set a five-digit zip code.
|
UserData |
state(String state)
Set a two-letter state code in lowercase.
|
UserData |
subscriptionId(String subscriptionId)
Set subscription ID for the user in this transaction.
|
String |
toString() |
UserData |
zipcode(String zipcode)
Set a five-digit zip code.
|
public UserData()
public UserData(String email, String phone, GenderEnum gender, String dateOfBirth, String lastName, String firstName, String city, String state, String zipcode, String countryCode, String externalId, String clientIpAddress, String clientUserAgent, String fbc, String fbp, String subscriptionId, String fbLoginId, String leadId, String f5first, String f5last, String fi, String dobd, String dobm, String doby)
email - an email addressphone - a phone numbergender - genderdateOfBirth - date of birthlastName - last namefirstName - first namecity - citystate - statezipcode - zip codecountryCode - country codeexternalId - any unique ID from the advertiser, such as loyalty membership IDs,
user IDs, and external cookie IDs.clientIpAddress - IP address of the browser corresponding to the eventclientUserAgent - user agent for the browser corresponding to the eventfbc - Facebook click ID value stored in the _fbc browser cookie under your domainfbp - Facebook browser ID value stored in the _fbp browser cookie under your domainsubscriptionId - subscription ID for the user in this transactionfbLoginId - ID issued when a person first logs into an instance of the app,
also known as App-Scoped IdleadId - ID associated with a lead generated by Facebook's Lead Ads.f5first - First 5 letters of the first namef5last - First 5 letters of the last namefi - First initialdobd - Date of birth daydobm - Date of birth monthdoby - Date of birth yearpublic UserData email(String email)
Example: joe@eg.com
email - an email addresspublic String getEmail()
public void setEmail(String email)
Example: joe@eg.com
email - an email addresspublic UserData phone(String phone)
Example: 16505551212
phone - a phone numberpublic String getPhone()
public void setPhone(String phone)
Example: 16505551212
phone - a phone numberpublic UserData gender(GenderEnum gender)
gender - Male or Female.public GenderEnum getGender()
public void setGender(GenderEnum gender)
gender - Male or Female.public UserData dateOfBirth(String dateOfBirth)
Example: 19971226 for December 26, 1997.
dateOfBirth - a date of birth given as year, month, and day.public String getDateOfBirth()
public void setDateOfBirth(String dateOfBirth)
Example: 19971226 for December 26, 1997.
dateOfBirth - a date of birth given as year, month, and day.public UserData lastName(String lastName)
Example: smith
lastName - last namepublic String getLastName()
public void setLastName(String lastName)
Example: smith
lastName - last namepublic UserData firstName(String firstName)
Example: joe
firstName - first namepublic String getFirstName()
public void setFirstName(String firstName)
Example: joe
firstName - first namepublic UserData city(String city)
Example: menlopark
city - citypublic String getCity()
public void setCity(String city)
Example: menlopark
city - citypublic UserData state(String state)
Example: ca
state - two-letter state codepublic String getState()
public void setState(String state)
Example: ca
state - two-letter state codepublic UserData zipcode(String zipcode)
Example: 94035
zipcode - five-digit zip codepublic String getZipcode()
public void setZipcode(String zipcode)
Example: 94035
zipcode - five-digit zip codepublic UserData countryCode(String countryCode)
Example: us
countryCode - two-letter country codepublic String getCountryCode()
Example: us
public void setCountryCode(String countryCode)
Example: us
countryCode - two-letter country codepublic UserData externalId(String externalId)
externalId - unique ID from the advertiserpublic String getExternalId()
public void setExternalId(String externalId)
externalId - unique ID from the advertiserpublic UserData clientIpAddress(String clientIpAddress)
clientIpAddress - IP address of the browser corresponding to the eventpublic String getClientIpAddress()
public void setClientIpAddress(String clientIpAddress)
clientIpAddress - IP address of the browser corresponding to the eventpublic UserData clientUserAgent(String clientUserAgent)
clientUserAgent - user agent for the browser corresponding to the eventpublic String getClientUserAgent()
public void setClientUserAgent(String clientUserAgent)
clientUserAgent - user agent for the browser corresponding to the eventpublic UserData fbc(String fbc)
fbc - Facebook click IDpublic String getFbc()
public void setFbc(String fbc)
fbc - Facebook click IDpublic UserData fbp(String fbp)
fbp - Facebook browser IDpublic String getFbp()
public void setFbp(String fbp)
fbp - Facebook browser IDpublic UserData subscriptionId(String subscriptionId)
subscriptionId - subscription ID for the user in this transactionpublic String getSubscriptionId()
public void setSubscriptionId(String subscriptionId)
subscriptionId - subscription ID for the user in this transactionpublic UserData fbLoginId(String fbLoginId)
fbLoginId - Facebook Login ID for the user in this eventpublic String getFbLoginId()
public void setFbLoginId(String fbLoginId)
fbLoginId - Facebook Login ID for the user in this eventpublic UserData leadId(String leadId)
leadId - is the ID associated with a lead generated by Facebook's Lead Ads.public String getLeadId()
public void setLeadId(String leadId)
leadId - is the ID associated with a lead generated by Facebook's Lead Ads.public UserData f5first(String f5first)
f5first - is the first 5 letters of the first name.public String getF5first()
public void setF5first(String f5first)
f5first - is the first 5 letters of the first name.public UserData f5last(String f5last)
f5last - is the first 5 letters of the last name.public String getF5last()
public void setF5last(String f5last)
f5last - is the first 5 letters of the last name.public UserData fi(String fi)
fi - is the first initial.public String getFi()
public void setFi(String fi)
fi - is the first initial.public UserData dobd(String dobd)
dobd - is the date of birth day for the event.public String getDobd()
public void setDobd(String dobd)
dobd - is the date of birth day for the event.public UserData dobm(String dobm)
dobm - is the date of birth month for the event.public String getDobm()
public void setDobm(String dobm)
dobm - is the date of birth month for the event.public UserData doby(String doby)
doby - is the date of birth year for the event.public String getDoby()
public void setDoby(String doby)
doby - is the date of birth year for the event.Copyright © 2020. All rights reserved.