public class ContactEmail extends APIBean
| Constructor and Description |
|---|
ContactEmail()
Default constructor
|
ContactEmail(ContactEmailType type,
boolean primary,
java.lang.String email)
Constructor used by the implementation
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEmail()
Returns the email of the Contact
|
boolean |
getPrimary()
Returns if the email is primary
|
ContactEmailType |
getType()
Returns the type of the email
|
void |
setEmail(java.lang.String email)
Set the email of the Contact
|
void |
setPrimary(boolean primary)
Set if the email
|
void |
setType(ContactEmailType type)
Set the type of the email
|
public ContactEmail()
public ContactEmail(ContactEmailType type, boolean primary, java.lang.String email)
type - Type of the emailprimary - Is email primaryemail - Email of the contactpublic ContactEmailType getType()
public void setType(ContactEmailType type)
type - Type of the emailpublic java.lang.String getEmail()
public void setEmail(java.lang.String email)
email - Email of the contactpublic boolean getPrimary()
public void setPrimary(boolean primary)
primary - true if the email is primary; false otherwise