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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmploymentemployeeNumber(String employeeNumber)The employment number of the employeebooleanequals(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)The NI Category of the employeeEmploymentpayrollCalendarID(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)EmploymentstartDate(org.threeten.bp.LocalDate startDate)Start date of the employment (YYYY-MM-DD)StringtoString()
-
-
-
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
-
getNiCategory
public Employment.NiCategoryEnum getNiCategory()
The NI Category of the employee- Returns:
- niCategory
-
setNiCategory
public void setNiCategory(Employment.NiCategoryEnum niCategory)
The NI Category of the employee- Parameters:
niCategory- NiCategoryEnum
-
-