Package com.xero.models.payrolluk
Class Employee
java.lang.Object
com.xero.models.payrolluk.Employee
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddresscreatedDateUTC(org.threeten.bp.LocalDateTime createdDateUTC) UTC timestamp when the employee was created in XerodateOfBirth(org.threeten.bp.LocalDate dateOfBirth) Date of birth of the employee (YYYY-MM-DD)The email address for the employeeemployeeID(UUID employeeID) Xero unique identifier for the employeeendDate(org.threeten.bp.LocalDate endDate) Employment end date of the employee at the time it was requestedbooleanFirst name of employeegender(Employee.GenderEnum gender) The employee’s genderGet addressorg.threeten.bp.LocalDateTimeUTC timestamp when the employee was created in Xeroorg.threeten.bp.LocalDateDate of birth of the employee (YYYY-MM-DD)getEmail()The email address for the employeeXero unique identifier for the employeeorg.threeten.bp.LocalDateEmployment end date of the employee at the time it was requestedFirst name of employeeThe employee’s genderWhether the employee is an off payroll workerLast name of employeeNational insurance number of the employeeXero unique identifier for the payroll calendar of the employeeEmployee phone numberorg.threeten.bp.LocalDateEmployment start date of the employee at the time it was requestedgetTitle()Title of the employeeorg.threeten.bp.LocalDateTimeUTC timestamp of last update to the employeeinthashCode()isOffPayrollWorker(Boolean isOffPayrollWorker) Whether the employee is an off payroll workerLast name of employeenationalInsuranceNumber(String nationalInsuranceNumber) National insurance number of the employeepayrollCalendarID(UUID payrollCalendarID) Xero unique identifier for the payroll calendar of the employeephoneNumber(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)voidThe 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 gendervoidsetIsOffPayrollWorker(Boolean isOffPayrollWorker) Whether the employee is an off payroll workervoidsetLastName(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 requestedvoidTitle of the employeevoidsetUpdatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC) UTC timestamp of last update to the employeestartDate(org.threeten.bp.LocalDate startDate) Employment start date of the employee at the time it was requestedTitle of the employeetoString()updatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC) UTC timestamp of last update to the employee
-
Constructor Details
-
Employee
public Employee()
-
-
Method Details
-
employeeID
-
getEmployeeID
-
setEmployeeID
Xero unique identifier for the employee- Parameters:
employeeID- UUID
-
title
-
getTitle
-
setTitle
-
firstName
-
getFirstName
-
setFirstName
-
lastName
-
getLastName
-
setLastName
-
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
-
getAddress
-
setAddress
-
email
-
getEmail
-
setEmail
-
gender
The employee’s gender- Parameters:
gender- GenderEnum- Returns:
- Employee
-
getGender
-
setGender
The employee’s gender- Parameters:
gender- GenderEnum
-
phoneNumber
-
getPhoneNumber
-
setPhoneNumber
Employee phone number- Parameters:
phoneNumber- String
-
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
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
-
getPayrollCalendarID
Xero unique identifier for the payroll calendar of the employee- Returns:
- payrollCalendarID
-
setPayrollCalendarID
Xero unique identifier for the payroll calendar of the employee- Parameters:
payrollCalendarID- UUID
-
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
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
-
getNationalInsuranceNumber
National insurance number of the employee- Returns:
- nationalInsuranceNumber
-
setNationalInsuranceNumber
National insurance number of the employee- Parameters:
nationalInsuranceNumber- String
-
isOffPayrollWorker
-
getIsOffPayrollWorker
Whether the employee is an off payroll worker- Returns:
- isOffPayrollWorker
-
setIsOffPayrollWorker
Whether the employee is an off payroll worker- Parameters:
isOffPayrollWorker- Boolean
-
equals
-
hashCode
-
toString
-