Class Employment


  • public class Employment
    extends Object
    Employment
    • Constructor Detail

      • Employment

        public Employment()
    • Method Detail

      • payrollCalendarID

        public Employment payrollCalendarID​(UUID payrollCalendarID)
        Xero unique identifier for the payroll calendar of the employee
        Parameters:
        payrollCalendarID - UUID
        Returns:
        Employment
      • 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
      • startDate

        public Employment startDate​(org.threeten.bp.LocalDate startDate)
        Start date of the employment (YYYY-MM-DD)
        Parameters:
        startDate - LocalDate
        Returns:
        Employment
      • getStartDate

        public org.threeten.bp.LocalDate getStartDate()
        Start date of the employment (YYYY-MM-DD)
        Returns:
        startDate
      • setStartDate

        public void setStartDate​(org.threeten.bp.LocalDate startDate)
        Start date of the employment (YYYY-MM-DD)
        Parameters:
        startDate - LocalDate
      • employeeNumber

        public Employment employeeNumber​(String employeeNumber)
        The employment number of the employee
        Parameters:
        employeeNumber - String
        Returns:
        Employment
      • getEmployeeNumber

        public String getEmployeeNumber()
        The employment number of the employee
        Returns:
        employeeNumber
      • setEmployeeNumber

        public void setEmployeeNumber​(String employeeNumber)
        The employment number of the employee
        Parameters:
        employeeNumber - String
      • niCategory

        public Employment niCategory​(Employment.NiCategoryEnum niCategory)
        The NI Category of the employee
        Parameters:
        niCategory - NiCategoryEnum
        Returns:
        Employment
      • setNiCategory

        public void setNiCategory​(Employment.NiCategoryEnum niCategory)
        The NI Category of the employee
        Parameters:
        niCategory - NiCategoryEnum
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object