Package com.xero.models.payrolluk
Class Employee
- java.lang.Object
-
- com.xero.models.payrolluk.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Employeeaddress(Address address)addressEmployeecreatedDateUTC(org.threeten.bp.LocalDateTime createdDateUTC)UTC timestamp when the employee was created in XeroEmployeedateOfBirth(org.threeten.bp.LocalDate dateOfBirth)Date of birth of the employee (YYYY-MM-DD)Employeeemail(String email)The email address for the employeeEmployeeemployeeID(UUID employeeID)Xero unique identifier for the employeeEmployeeendDate(org.threeten.bp.LocalDate endDate)Employment end date of the employee at the time it was requestedbooleanequals(Object o)EmployeefirstName(String firstName)First name of employeeEmployeegender(Employee.GenderEnum gender)The employee’s genderAddressgetAddress()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 employeeStringgetNationalInsuranceNumber()National insurance number of the 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)Last name of employeeEmployeenationalInsuranceNumber(String nationalInsuranceNumber)National insurance number of the employeeEmployeepayrollCalendarID(UUID payrollCalendarID)Xero unique identifier for the payroll calendar of the employeeEmployeephoneNumber(String phoneNumber)Employee phone numbervoidsetAddress(Address address)addressvoidsetCreatedDateUTC(org.threeten.bp.LocalDateTime createdDateUTC)UTC timestamp when the employee was created in XerovoidsetDateOfBirth(org.threeten.bp.LocalDate dateOfBirth)Date of birth of the employee (YYYY-MM-DD)voidsetEmail(String email)The email address for the employeevoidsetEmployeeID(UUID employeeID)Xero unique identifier for the employeevoidsetEndDate(org.threeten.bp.LocalDate endDate)Employment end date of the employee at the time it was requestedvoidsetFirstName(String firstName)First name of employeevoidsetGender(Employee.GenderEnum gender)The employee’s gendervoidsetLastName(String lastName)Last name of employeevoidsetNationalInsuranceNumber(String nationalInsuranceNumber)National insurance number of the employeevoidsetPayrollCalendarID(UUID payrollCalendarID)Xero unique identifier for the payroll calendar of the employeevoidsetPhoneNumber(String phoneNumber)Employee phone numbervoidsetStartDate(org.threeten.bp.LocalDate startDate)Employment start date of the employee at the time it was requestedvoidsetTitle(String title)Title of the employeevoidsetUpdatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC)UTC timestamp of last update to the employeeEmployeestartDate(org.threeten.bp.LocalDate startDate)Employment start date of the employee at the time it was requestedEmployeetitle(String title)Title of the employeeStringtoString()EmployeeupdatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC)UTC timestamp of last update to the employee
-
-
-
Method Detail
-
employeeID
public Employee employeeID(UUID employeeID)
Xero unique identifier for the employee- Parameters:
employeeID- UUID- Returns:
- Employee
-
getEmployeeID
public UUID getEmployeeID()
Xero unique identifier for the employee- Returns:
- employeeID
-
setEmployeeID
public void setEmployeeID(UUID employeeID)
Xero unique identifier for the employee- Parameters:
employeeID- UUID
-
title
public Employee title(String title)
Title of the employee- Parameters:
title- String- Returns:
- Employee
-
getTitle
public String getTitle()
Title of the employee- Returns:
- title
-
setTitle
public void setTitle(String title)
Title of the employee- Parameters:
title- String
-
firstName
public Employee firstName(String firstName)
First name of employee- Parameters:
firstName- String- Returns:
- Employee
-
getFirstName
public String getFirstName()
First name of employee- Returns:
- firstName
-
setFirstName
public void setFirstName(String firstName)
First name of employee- Parameters:
firstName- String
-
lastName
public Employee lastName(String lastName)
Last name of employee- Parameters:
lastName- String- Returns:
- Employee
-
getLastName
public String getLastName()
Last name of employee- Returns:
- lastName
-
setLastName
public void setLastName(String lastName)
Last name of employee- Parameters:
lastName- String
-
dateOfBirth
public Employee dateOfBirth(org.threeten.bp.LocalDate dateOfBirth)
Date of birth of the employee (YYYY-MM-DD)- Parameters:
dateOfBirth- LocalDate- Returns:
- Employee
-
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)
Date of birth of the employee (YYYY-MM-DD)- Parameters:
dateOfBirth- LocalDate
-
address
public Employee address(Address address)
address- Parameters:
address- Address- Returns:
- Employee
-
getAddress
public Address getAddress()
Get address- Returns:
- address
-
setAddress
public void setAddress(Address address)
address- Parameters:
address- Address
-
email
public Employee email(String email)
The email address for the employee- Parameters:
email- String- Returns:
- Employee
-
getEmail
public String getEmail()
The email address for the employee- Returns:
-
setEmail
public void setEmail(String email)
The email address for the employee- Parameters:
email- String
-
gender
public Employee gender(Employee.GenderEnum gender)
The employee’s gender- Parameters:
gender- GenderEnum- Returns:
- Employee
-
getGender
public Employee.GenderEnum getGender()
The employee’s gender- Returns:
- gender
-
setGender
public void setGender(Employee.GenderEnum gender)
The employee’s gender- Parameters:
gender- GenderEnum
-
phoneNumber
public Employee phoneNumber(String phoneNumber)
Employee phone number- Parameters:
phoneNumber- String- Returns:
- Employee
-
getPhoneNumber
public String getPhoneNumber()
Employee phone number- Returns:
- phoneNumber
-
setPhoneNumber
public void setPhoneNumber(String phoneNumber)
Employee phone number- Parameters:
phoneNumber- String
-
startDate
public Employee startDate(org.threeten.bp.LocalDate startDate)
Employment start date of the employee at the time it was requested- Parameters:
startDate- LocalDate- Returns:
- Employee
-
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)
Employment start date of the employee at the time it was requested- Parameters:
startDate- LocalDate
-
endDate
public Employee endDate(org.threeten.bp.LocalDate endDate)
Employment end date of the employee at the time it was requested- Parameters:
endDate- LocalDate- Returns:
- Employee
-
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)
Employment end date of the employee at the time it was requested- Parameters:
endDate- LocalDate
-
payrollCalendarID
public Employee payrollCalendarID(UUID payrollCalendarID)
Xero unique identifier for the payroll calendar of the employee- Parameters:
payrollCalendarID- UUID- Returns:
- Employee
-
getPayrollCalendarID
public UUID getPayrollCalendarID()
Xero unique identifier for the payroll calendar of the employee- Returns:
- payrollCalendarID
-
setPayrollCalendarID
public void setPayrollCalendarID(UUID payrollCalendarID)
Xero unique identifier for the payroll calendar of the employee- Parameters:
payrollCalendarID- UUID
-
updatedDateUTC
public Employee updatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC)
UTC timestamp of last update to the employee- Parameters:
updatedDateUTC- LocalDateTime- Returns:
- Employee
-
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)
UTC timestamp of last update to the employee- Parameters:
updatedDateUTC- LocalDateTime
-
createdDateUTC
public Employee createdDateUTC(org.threeten.bp.LocalDateTime createdDateUTC)
UTC timestamp when the employee was created in Xero- Parameters:
createdDateUTC- LocalDateTime- Returns:
- Employee
-
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)
UTC timestamp when the employee was created in Xero- Parameters:
createdDateUTC- LocalDateTime
-
nationalInsuranceNumber
public Employee nationalInsuranceNumber(String nationalInsuranceNumber)
National insurance number of the employee- Parameters:
nationalInsuranceNumber- String- Returns:
- Employee
-
getNationalInsuranceNumber
public String getNationalInsuranceNumber()
National insurance number of the employee- Returns:
- nationalInsuranceNumber
-
setNationalInsuranceNumber
public void setNationalInsuranceNumber(String nationalInsuranceNumber)
National insurance number of the employee- Parameters:
nationalInsuranceNumber- String
-
-