Package com.xero.models.payrollnz
Class Employee
java.lang.Object
com.xero.models.payrollnz.Employee
public class Employee extends Object
Employee
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEmployee.GenderEnumThe employee’s gender -
Constructor Summary
Constructors Constructor Description Employee() -
Method Summary
Modifier and Type Method Description Employeeaddress(Address address)EmployeecreatedDateUTC(org.threeten.bp.LocalDateTime createdDateUTC)EmployeedateOfBirth(org.threeten.bp.LocalDate dateOfBirth)Employeeemail(String email)EmployeeemployeeID(UUID employeeID)EmployeeendDate(org.threeten.bp.LocalDate endDate)booleanequals(Object o)EmployeefirstName(String firstName)Employeegender(Employee.GenderEnum gender)AddressgetAddress()Get addressorg.threeten.bp.LocalDateTimegetCreatedDateUTC()UTC timestamp when the employee was created in Xeroorg.threeten.bp.LocalDategetDateOfBirth()Date of birth of the employee (YYYY-MM-DD)StringgetEmail()The email address for the employeeUUIDgetEmployeeID()Xero unique identifier for the employeeorg.threeten.bp.LocalDategetEndDate()Employment end date of the employee at the time it was requestedStringgetFirstName()First name of employeeEmployee.GenderEnumgetGender()The employee’s genderStringgetLastName()Last name of employeeUUIDgetPayrollCalendarID()Xero unique identifier for the payroll calendar of the employeeStringgetPhoneNumber()Employee phone numberorg.threeten.bp.LocalDategetStartDate()Employment start date of the employee at the time it was requestedStringgetTitle()Title of the employeeorg.threeten.bp.LocalDateTimegetUpdatedDateUTC()UTC timestamp of last update to the employeeinthashCode()EmployeelastName(String lastName)EmployeepayrollCalendarID(UUID payrollCalendarID)EmployeephoneNumber(String phoneNumber)voidsetAddress(Address address)voidsetCreatedDateUTC(org.threeten.bp.LocalDateTime createdDateUTC)voidsetDateOfBirth(org.threeten.bp.LocalDate dateOfBirth)voidsetEmail(String email)voidsetEmployeeID(UUID employeeID)voidsetEndDate(org.threeten.bp.LocalDate endDate)voidsetFirstName(String firstName)voidsetGender(Employee.GenderEnum gender)voidsetLastName(String lastName)voidsetPayrollCalendarID(UUID payrollCalendarID)voidsetPhoneNumber(String phoneNumber)voidsetStartDate(org.threeten.bp.LocalDate startDate)voidsetTitle(String title)voidsetUpdatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC)EmployeestartDate(org.threeten.bp.LocalDate startDate)Employeetitle(String title)StringtoString()EmployeeupdatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC)
-
Constructor Details
-
Employee
public Employee()
-
-
Method Details
-
employeeID
-
getEmployeeID
Xero unique identifier for the employee- Returns:
- employeeID
-
setEmployeeID
-
title
-
getTitle
Title of the employee- Returns:
- title
-
setTitle
-
firstName
-
getFirstName
First name of employee- Returns:
- firstName
-
setFirstName
-
lastName
-
getLastName
Last name of employee- Returns:
- lastName
-
setLastName
-
dateOfBirth
-
getDateOfBirth
public org.threeten.bp.LocalDate getDateOfBirth()Date of birth of the employee (YYYY-MM-DD)- Returns:
- dateOfBirth
-
setDateOfBirth
public void setDateOfBirth(org.threeten.bp.LocalDate dateOfBirth) -
address
-
getAddress
Get address- Returns:
- address
-
setAddress
-
email
-
getEmail
The email address for the employee- Returns:
-
setEmail
-
gender
-
getGender
The employee’s gender- Returns:
- gender
-
setGender
-
phoneNumber
-
getPhoneNumber
Employee phone number- Returns:
- phoneNumber
-
setPhoneNumber
-
startDate
-
getStartDate
public org.threeten.bp.LocalDate getStartDate()Employment start date of the employee at the time it was requested- Returns:
- startDate
-
setStartDate
public void setStartDate(org.threeten.bp.LocalDate startDate) -
endDate
-
getEndDate
public org.threeten.bp.LocalDate getEndDate()Employment end date of the employee at the time it was requested- Returns:
- endDate
-
setEndDate
public void setEndDate(org.threeten.bp.LocalDate endDate) -
payrollCalendarID
-
getPayrollCalendarID
Xero unique identifier for the payroll calendar of the employee- Returns:
- payrollCalendarID
-
setPayrollCalendarID
-
updatedDateUTC
-
getUpdatedDateUTC
public org.threeten.bp.LocalDateTime getUpdatedDateUTC()UTC timestamp of last update to the employee- Returns:
- updatedDateUTC
-
setUpdatedDateUTC
public void setUpdatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC) -
createdDateUTC
-
getCreatedDateUTC
public org.threeten.bp.LocalDateTime getCreatedDateUTC()UTC timestamp when the employee was created in Xero- Returns:
- createdDateUTC
-
setCreatedDateUTC
public void setCreatedDateUTC(org.threeten.bp.LocalDateTime createdDateUTC) -
equals
-
hashCode
public int hashCode() -
toString
-