Package com.xero.models.payrolluk
Class Employment
java.lang.Object
com.xero.models.payrolluk.Employment
public class Employment extends Object
Employment
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEmployment.NiCategoryEnumThe NI Category of the employee -
Constructor Summary
Constructors Constructor Description Employment() -
Method Summary
Modifier and Type Method Description EmploymentemployeeNumber(String employeeNumber)booleanequals(Object o)StringgetEmployeeNumber()The employment number of the employeeEmployment.NiCategoryEnumgetNiCategory()The NI Category of the employeeUUIDgetPayrollCalendarID()Xero unique identifier for the payroll calendar of the employeeorg.threeten.bp.LocalDategetStartDate()Start date of the employment (YYYY-MM-DD)inthashCode()EmploymentniCategory(Employment.NiCategoryEnum niCategory)EmploymentpayrollCalendarID(UUID payrollCalendarID)voidsetEmployeeNumber(String employeeNumber)voidsetNiCategory(Employment.NiCategoryEnum niCategory)voidsetPayrollCalendarID(UUID payrollCalendarID)voidsetStartDate(org.threeten.bp.LocalDate startDate)EmploymentstartDate(org.threeten.bp.LocalDate startDate)StringtoString()
-
Constructor Details
-
Employment
public Employment()
-
-
Method Details
-
payrollCalendarID
-
getPayrollCalendarID
Xero unique identifier for the payroll calendar of the employee- Returns:
- payrollCalendarID
-
setPayrollCalendarID
-
startDate
-
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) -
employeeNumber
-
getEmployeeNumber
The employment number of the employee- Returns:
- employeeNumber
-
setEmployeeNumber
-
niCategory
-
getNiCategory
The NI Category of the employee- Returns:
- niCategory
-
setNiCategory
-
equals
-
hashCode
public int hashCode() -
toString
-