Package com.xero.models.payrolluk
Class Employment
java.lang.Object
com.xero.models.payrolluk.Employment
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe NI Category of the employee -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionemployeeNumber(String employeeNumber) The employment number of the employeebooleanThe employment number of the employeeThe NI Category of the employeeXero unique identifier for the payroll calendar of the employeeorg.threeten.bp.LocalDateStart date of the employment (YYYY-MM-DD)inthashCode()niCategory(Employment.NiCategoryEnum niCategory) The NI Category of the employeepayrollCalendarID(UUID payrollCalendarID) Xero unique identifier for the payroll calendar of the employeevoidsetEmployeeNumber(String employeeNumber) The employment number of the employeevoidsetNiCategory(Employment.NiCategoryEnum niCategory) The NI Category of the employeevoidsetPayrollCalendarID(UUID payrollCalendarID) Xero unique identifier for the payroll calendar of the employeevoidsetStartDate(org.threeten.bp.LocalDate startDate) Start date of the employment (YYYY-MM-DD)startDate(org.threeten.bp.LocalDate startDate) Start date of the employment (YYYY-MM-DD)toString()
-
Constructor Details
-
Employment
public Employment()
-
-
Method Details
-
payrollCalendarID
Xero unique identifier for the payroll calendar of the employee- Parameters:
payrollCalendarID- UUID- Returns:
- Employment
-
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
-
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
The employment number of the employee- Parameters:
employeeNumber- String- Returns:
- Employment
-
getEmployeeNumber
-
setEmployeeNumber
The employment number of the employee- Parameters:
employeeNumber- String
-
niCategory
The NI Category of the employee- Parameters:
niCategory- NiCategoryEnum- Returns:
- Employment
-
getNiCategory
The NI Category of the employee- Returns:
- niCategory
-
setNiCategory
The NI Category of the employee- Parameters:
niCategory- NiCategoryEnum
-
equals
-
hashCode
-
toString
-