Package com.xero.models.payrollnz
Class Employment
- java.lang.Object
-
- com.xero.models.payrollnz.Employment
-
public class Employment extends Object
Employment
-
-
Constructor Summary
Constructors Constructor Description Employment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)UUIDgetPayrollCalendarID()Xero unique identifier for the payroll calendar of the employeeUUIDgetPayRunCalendarID()Xero unique identifier for the payrun calendar for the employee (Deprecated in version 1.1.6)org.threeten.bp.LocalDategetStartDate()Start date of the employment (YYYY-MM-DD)inthashCode()EmploymentpayrollCalendarID(UUID payrollCalendarID)Xero unique identifier for the payroll calendar of the employeeEmploymentpayRunCalendarID(UUID payRunCalendarID)Xero unique identifier for the payrun calendar for the employee (Deprecated in version 1.1.6)voidsetPayrollCalendarID(UUID payrollCalendarID)Xero unique identifier for the payroll calendar of the employeevoidsetPayRunCalendarID(UUID payRunCalendarID)Xero unique identifier for the payrun calendar for the employee (Deprecated in version 1.1.6)voidsetStartDate(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
-
payRunCalendarID
public Employment payRunCalendarID(UUID payRunCalendarID)
Xero unique identifier for the payrun calendar for the employee (Deprecated in version 1.1.6)- Parameters:
payRunCalendarID- UUID- Returns:
- Employment
-
getPayRunCalendarID
public UUID getPayRunCalendarID()
Xero unique identifier for the payrun calendar for the employee (Deprecated in version 1.1.6)- Returns:
- payRunCalendarID
-
setPayRunCalendarID
public void setPayRunCalendarID(UUID payRunCalendarID)
Xero unique identifier for the payrun calendar for the employee (Deprecated in version 1.1.6)- Parameters:
payRunCalendarID- 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
-
-