Class Employee


  • public class Employee
    extends Object
    Employee
    • Constructor Detail

      • Employee

        public 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:
        email
      • 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
      • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object