Package com.xero.models.accounting
Class ContactPerson
- java.lang.Object
-
- com.xero.models.accounting.ContactPerson
-
public class ContactPerson extends Object
ContactPerson
-
-
Constructor Summary
Constructors Constructor Description ContactPerson()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContactPersonemailAddress(String emailAddress)Email address of personbooleanequals(Object o)ContactPersonfirstName(String firstName)First name of personStringgetEmailAddress()Email address of personStringgetFirstName()First name of personBooleangetIncludeInEmails()boolean to indicate whether contact should be included on emails with invoices etc.StringgetLastName()Last name of personinthashCode()ContactPersonincludeInEmails(Boolean includeInEmails)boolean to indicate whether contact should be included on emails with invoices etc.ContactPersonlastName(String lastName)Last name of personvoidsetEmailAddress(String emailAddress)Email address of personvoidsetFirstName(String firstName)First name of personvoidsetIncludeInEmails(Boolean includeInEmails)boolean to indicate whether contact should be included on emails with invoices etc.voidsetLastName(String lastName)Last name of personStringtoString()
-
-
-
Method Detail
-
firstName
public ContactPerson firstName(String firstName)
First name of person- Parameters:
firstName- String- Returns:
- ContactPerson
-
getFirstName
public String getFirstName()
First name of person- Returns:
- firstName
-
setFirstName
public void setFirstName(String firstName)
First name of person- Parameters:
firstName- String
-
lastName
public ContactPerson lastName(String lastName)
Last name of person- Parameters:
lastName- String- Returns:
- ContactPerson
-
getLastName
public String getLastName()
Last name of person- Returns:
- lastName
-
setLastName
public void setLastName(String lastName)
Last name of person- Parameters:
lastName- String
-
emailAddress
public ContactPerson emailAddress(String emailAddress)
Email address of person- Parameters:
emailAddress- String- Returns:
- ContactPerson
-
getEmailAddress
public String getEmailAddress()
Email address of person- Returns:
- emailAddress
-
setEmailAddress
public void setEmailAddress(String emailAddress)
Email address of person- Parameters:
emailAddress- String
-
includeInEmails
public ContactPerson includeInEmails(Boolean includeInEmails)
boolean to indicate whether contact should be included on emails with invoices etc.- Parameters:
includeInEmails- Boolean- Returns:
- ContactPerson
-
getIncludeInEmails
public Boolean getIncludeInEmails()
boolean to indicate whether contact should be included on emails with invoices etc.- Returns:
- includeInEmails
-
setIncludeInEmails
public void setIncludeInEmails(Boolean includeInEmails)
boolean to indicate whether contact should be included on emails with invoices etc.- Parameters:
includeInEmails- Boolean
-
-