Class Employee

java.lang.Object
com.xero.models.payrolluk.Employee

public class Employee
extends Object
Employee
  • Constructor Details

    • Employee

      public Employee()
  • Method Details

    • employeeID

      public Employee employeeID​(UUID employeeID)
    • getEmployeeID

      public UUID getEmployeeID()
      Xero unique identifier for the employee
      Returns:
      employeeID
    • setEmployeeID

      public void setEmployeeID​(UUID employeeID)
    • title

      public Employee title​(String title)
    • getTitle

      public String getTitle()
      Title of the employee
      Returns:
      title
    • setTitle

      public void setTitle​(String title)
    • firstName

      public Employee firstName​(String firstName)
    • getFirstName

      public String getFirstName()
      First name of employee
      Returns:
      firstName
    • setFirstName

      public void setFirstName​(String firstName)
    • lastName

      public Employee lastName​(String lastName)
    • getLastName

      public String getLastName()
      Last name of employee
      Returns:
      lastName
    • setLastName

      public void setLastName​(String lastName)
    • dateOfBirth

      public Employee dateOfBirth​(org.threeten.bp.LocalDate 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

      public Employee address​(Address address)
    • getAddress

      public Address getAddress()
      Get address
      Returns:
      address
    • setAddress

      public void setAddress​(Address address)
    • email

      public Employee email​(String email)
    • getEmail

      public String getEmail()
      The email address for the employee
      Returns:
      email
    • setEmail

      public void setEmail​(String email)
    • gender

      public Employee gender​(Employee.GenderEnum gender)
    • getGender

      public Employee.GenderEnum getGender()
      The employee’s gender
      Returns:
      gender
    • setGender

      public void setGender​(Employee.GenderEnum gender)
    • phoneNumber

      public Employee phoneNumber​(String phoneNumber)
    • getPhoneNumber

      public String getPhoneNumber()
      Employee phone number
      Returns:
      phoneNumber
    • setPhoneNumber

      public void setPhoneNumber​(String phoneNumber)
    • startDate

      public Employee startDate​(org.threeten.bp.LocalDate 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

      public Employee endDate​(org.threeten.bp.LocalDate 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

      public Employee payrollCalendarID​(UUID payrollCalendarID)
    • getPayrollCalendarID

      public UUID getPayrollCalendarID()
      Xero unique identifier for the payroll calendar of the employee
      Returns:
      payrollCalendarID
    • setPayrollCalendarID

      public void setPayrollCalendarID​(UUID payrollCalendarID)
    • updatedDateUTC

      public Employee updatedDateUTC​(org.threeten.bp.LocalDateTime 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

      public Employee createdDateUTC​(org.threeten.bp.LocalDateTime 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)
    • nationalInsuranceNumber

      public Employee nationalInsuranceNumber​(String nationalInsuranceNumber)
    • getNationalInsuranceNumber

      public String getNationalInsuranceNumber()
      National insurance number of the employee
      Returns:
      nationalInsuranceNumber
    • setNationalInsuranceNumber

      public void setNationalInsuranceNumber​(String nationalInsuranceNumber)
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object