Package com.xero.models.payrollnz
Class Employee
java.lang.Object
com.xero.models.payrollnz.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 requestedengagementType(String engagementType) Engagement type of the employeebooleanFirst name of employeefixedTermEndDate(org.threeten.bp.LocalDate fixedTermEndDate) End date for an employee with a fixed-term engagement typegender(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 requestedEngagement type of the employeeFirst name of employeeorg.threeten.bp.LocalDateEnd date for an employee with a fixed-term engagement typeThe employee’s genderEmployee's job titleLast name of 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()Employee's job titleLast name of 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 requestedvoidsetEngagementType(String engagementType) Engagement type of the employeevoidsetFirstName(String firstName) First name of employeevoidsetFixedTermEndDate(org.threeten.bp.LocalDate fixedTermEndDate) End date for an employee with a fixed-term engagement typevoidsetGender(Employee.GenderEnum gender) The employee’s gendervoidsetJobTitle(String jobTitle) Employee's job titlevoidsetLastName(String lastName) Last name of 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
-
jobTitle
-
getJobTitle
-
setJobTitle
-
engagementType
-
getEngagementType
-
setEngagementType
Engagement type of the employee- Parameters:
engagementType- String
-
fixedTermEndDate
End date for an employee with a fixed-term engagement type- Parameters:
fixedTermEndDate- LocalDate- Returns:
- Employee
-
getFixedTermEndDate
public org.threeten.bp.LocalDate getFixedTermEndDate()End date for an employee with a fixed-term engagement type- Returns:
- fixedTermEndDate
-
setFixedTermEndDate
public void setFixedTermEndDate(org.threeten.bp.LocalDate fixedTermEndDate) End date for an employee with a fixed-term engagement type- Parameters:
fixedTermEndDate- LocalDate
-
equals
-
hashCode
-
toString
-