public class Employee extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Employee.GenderEnum
The employee’s gender
|
| Constructor and Description |
|---|
Employee() |
| Modifier and Type | Method and Description |
|---|---|
Employee |
address(Address address) |
Employee |
createdDateUTC(org.threeten.bp.LocalDateTime createdDateUTC) |
Employee |
dateOfBirth(org.threeten.bp.LocalDate dateOfBirth) |
Employee |
email(String email) |
Employee |
employeeID(UUID employeeID) |
Employee |
endDate(org.threeten.bp.LocalDate endDate) |
boolean |
equals(Object o) |
Employee |
firstName(String firstName) |
Employee |
gender(Employee.GenderEnum gender) |
Address |
getAddress()
Get address
|
org.threeten.bp.LocalDateTime |
getCreatedDateUTC()
UTC timestamp when the employee was created in Xero
|
org.threeten.bp.LocalDate |
getDateOfBirth()
Date of birth of the employee (YYYY-MM-DD)
|
String |
getEmail()
The email address for the employee
|
UUID |
getEmployeeID()
Xero unique identifier for the employee
|
org.threeten.bp.LocalDate |
getEndDate()
Employment end date of the employee at the time it was requested
|
String |
getFirstName()
First name of employee
|
Employee.GenderEnum |
getGender()
The employee’s gender
|
String |
getLastName()
Last name of employee
|
String |
getNationalInsuranceNumber()
National insurance number of the employee
|
UUID |
getPayrollCalendarID()
Xero unique identifier for the payroll calendar of the employee
|
String |
getPhoneNumber()
Employee phone number
|
org.threeten.bp.LocalDate |
getStartDate()
Employment start date of the employee at the time it was requested
|
String |
getTitle()
Title of the employee
|
org.threeten.bp.LocalDateTime |
getUpdatedDateUTC()
UTC timestamp of last update to the employee
|
int |
hashCode() |
Employee |
lastName(String lastName) |
Employee |
nationalInsuranceNumber(String nationalInsuranceNumber) |
Employee |
payrollCalendarID(UUID payrollCalendarID) |
Employee |
phoneNumber(String phoneNumber) |
void |
setAddress(Address address) |
void |
setCreatedDateUTC(org.threeten.bp.LocalDateTime createdDateUTC) |
void |
setDateOfBirth(org.threeten.bp.LocalDate dateOfBirth) |
void |
setEmail(String email) |
void |
setEmployeeID(UUID employeeID) |
void |
setEndDate(org.threeten.bp.LocalDate endDate) |
void |
setFirstName(String firstName) |
void |
setGender(Employee.GenderEnum gender) |
void |
setLastName(String lastName) |
void |
setNationalInsuranceNumber(String nationalInsuranceNumber) |
void |
setPayrollCalendarID(UUID payrollCalendarID) |
void |
setPhoneNumber(String phoneNumber) |
void |
setStartDate(org.threeten.bp.LocalDate startDate) |
void |
setTitle(String title) |
void |
setUpdatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC) |
Employee |
startDate(org.threeten.bp.LocalDate startDate) |
Employee |
title(String title) |
String |
toString() |
Employee |
updatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC) |
public UUID getEmployeeID()
public void setEmployeeID(UUID employeeID)
public String getTitle()
public void setTitle(String title)
public String getFirstName()
public void setFirstName(String firstName)
public String getLastName()
public void setLastName(String lastName)
public Employee dateOfBirth(org.threeten.bp.LocalDate dateOfBirth)
public org.threeten.bp.LocalDate getDateOfBirth()
public void setDateOfBirth(org.threeten.bp.LocalDate dateOfBirth)
public Address getAddress()
public void setAddress(Address address)
public String getEmail()
public void setEmail(String email)
public Employee gender(Employee.GenderEnum gender)
public Employee.GenderEnum getGender()
public void setGender(Employee.GenderEnum gender)
public String getPhoneNumber()
public void setPhoneNumber(String phoneNumber)
public Employee startDate(org.threeten.bp.LocalDate startDate)
public org.threeten.bp.LocalDate getStartDate()
public void setStartDate(org.threeten.bp.LocalDate startDate)
public Employee endDate(org.threeten.bp.LocalDate endDate)
public org.threeten.bp.LocalDate getEndDate()
public void setEndDate(org.threeten.bp.LocalDate endDate)
public UUID getPayrollCalendarID()
public void setPayrollCalendarID(UUID payrollCalendarID)
public Employee updatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC)
public org.threeten.bp.LocalDateTime getUpdatedDateUTC()
public void setUpdatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC)
public Employee createdDateUTC(org.threeten.bp.LocalDateTime createdDateUTC)
public org.threeten.bp.LocalDateTime getCreatedDateUTC()
public void setCreatedDateUTC(org.threeten.bp.LocalDateTime createdDateUTC)
public String getNationalInsuranceNumber()
public void setNationalInsuranceNumber(String nationalInsuranceNumber)
Copyright © 2020. All rights reserved.