Package com.xero.models.payrollnz
Class Employment
java.lang.Object
com.xero.models.payrollnz.Employment
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionengagementType(String engagementType) Engagement type of the employeebooleanfixedTermEndDate(org.threeten.bp.LocalDate fixedTermEndDate) End date for an employee with a fixed-term engagement typeEngagement type of the employeeorg.threeten.bp.LocalDateEnd date for an employee with a fixed-term engagement typeXero unique identifier for the payroll calendar of the employeeXero unique identifier for the payrun calendar for the employee (Deprecated in version 1.1.6)org.threeten.bp.LocalDateStart date of the employment (YYYY-MM-DD)inthashCode()payrollCalendarID(UUID payrollCalendarID) Xero unique identifier for the payroll calendar of the employeepayRunCalendarID(UUID payRunCalendarID) Xero unique identifier for the payrun calendar for the employee (Deprecated in version 1.1.6)voidsetEngagementType(String engagementType) Engagement type of the employeevoidsetFixedTermEndDate(org.threeten.bp.LocalDate fixedTermEndDate) End date for an employee with a fixed-term engagement typevoidsetPayrollCalendarID(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)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
-
payRunCalendarID
Xero unique identifier for the payrun calendar for the employee (Deprecated in version 1.1.6)- Parameters:
payRunCalendarID- UUID- Returns:
- Employment
-
getPayRunCalendarID
Xero unique identifier for the payrun calendar for the employee (Deprecated in version 1.1.6)- Returns:
- payRunCalendarID
-
setPayRunCalendarID
Xero unique identifier for the payrun calendar for the employee (Deprecated in version 1.1.6)- Parameters:
payRunCalendarID- 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
-
engagementType
Engagement type of the employee- Parameters:
engagementType- String- Returns:
- Employment
-
getEngagementType
-
setEngagementType
Engagement type of the employee- Parameters:
engagementType- String
-
fixedTermEndDate
End date for an employee with a fixed-term engagement type- Parameters:
fixedTermEndDate- LocalDate- Returns:
- Employment
-
getFixedTermEndDate
public org.threeten.bp.LocalDate getFixedTermEndDate()End date for an employee with a fixed-term engagement type- Returns:
- fixedTermEndDate
-
setFixedTermEndDate
public void setFixedTermEndDate(org.threeten.bp.LocalDate fixedTermEndDate) End date for an employee with a fixed-term engagement type- Parameters:
fixedTermEndDate- LocalDate
-
equals
-
hashCode
-
toString
-