public static final class SegmentCustomerListDataBean.Customer
extends java.lang.Object
Constructor and Description |
---|
Customer()
Constructor for Customer.
|
Customer(java.lang.String shopper)
This constructor takes an instance of ShopperData.
|
Customer(UserAccessBean user)
This constructor takes an instance of UserAccessBean.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCity()
Gets the city of the customer.
|
java.lang.String |
getEmail()
Gets the e-mail address of the customer.
|
java.lang.String |
getFirstName()
Gets the first name of the customer.
|
java.lang.String |
getId()
Gets the user ID of the customer.
|
java.lang.String |
getLastName()
Gets the last name of the customer.
|
java.lang.String |
getLogonId()
Gets the logon ID of the customer.
|
java.lang.String |
getPhone()
Gets the phone number of the customer.
|
java.lang.String |
getZipCode()
Gets the ZIP code of the customer.
|
boolean |
hasRoleInOrg(java.lang.Integer roleId,
java.lang.Long orgEntityId,
boolean includeParentOrg)
Check if this customer has a role in an organization
|
void |
setCity(java.lang.String city)
Sets the city of the customer.
|
void |
setEmail(java.lang.String email)
Sets the e-mail address of the customer.
|
void |
setFirstName(java.lang.String firstName)
Sets the first name of the customer.
|
void |
setId(java.lang.String id)
Sets the user ID of the customer.
|
void |
setLastName(java.lang.String lastName)
Sets the last name of the customer.
|
void |
setLogonId(java.lang.String logonId)
Sets the logon ID of the customer.
|
void |
setPhone(java.lang.String phone)
Sets the phone number of the customer.
|
void |
setZipCode(java.lang.String zipCode)
Sets the ZIP code of the customer.
|
public Customer(UserAccessBean user)
public Customer(java.lang.String shopper)
public Customer()
public java.lang.String getId()
public java.lang.String getLogonId()
public java.lang.String getFirstName()
public java.lang.String getLastName()
public java.lang.String getPhone()
public java.lang.String getEmail()
public java.lang.String getCity()
public java.lang.String getZipCode()
public void setId(java.lang.String id)
id
- The user ID of the customer.public void setLogonId(java.lang.String logonId)
logonId
- The logon ID of the customer.public void setFirstName(java.lang.String firstName)
firstName
- The first name of the customer.public void setLastName(java.lang.String lastName)
lastName
- The last name of the customer.public void setPhone(java.lang.String phone)
phone
- The phone number of the customer.public void setEmail(java.lang.String email)
email
- The e-mail address of the customer.public void setCity(java.lang.String city)
city
- The city of the customer.public void setZipCode(java.lang.String zipCode)
zipCode
- The ZIP code of the customer.public boolean hasRoleInOrg(java.lang.Integer roleId, java.lang.Long orgEntityId, boolean includeParentOrg) throws java.lang.Exception
roleId
- The role IDorgEntityId
- The organization IDincludeParentOrg
- Indicates whether parent organization should be included or notjava.lang.Exception