Package com.xero.models.payrolluk
Class EmployeeStatutorySickLeave
java.lang.Object
com.xero.models.payrolluk.EmployeeStatutorySickLeave
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumGets or Sets entitlementFailureReasons -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEntitlementFailureReasonsItem(EmployeeStatutorySickLeave.EntitlementFailureReasonsEnum entitlementFailureReasonsItem) If the leave requested was considered \"not entitled\", the reasons why are listed here.addWorkPatternItem(String workPatternItem) The days of the work week the employee is scheduled to work at the time the leave is takenemployeeID(UUID employeeID) The unique identifier (guid) of the employeeendDate(org.threeten.bp.LocalDate endDate) The date when the leave endsentitlementFailureReasons(List<EmployeeStatutorySickLeave.EntitlementFailureReasonsEnum> entitlementFailureReasons) If the leave requested was considered \"not entitled\", the reasons why are listed here.entitlementWeeksQualified(Double entitlementWeeksQualified) The amount of statutory sick leave time off (in weeks) that is available to take at the time the leave was requestedentitlementWeeksRemaining(Double entitlementWeeksRemaining) A calculated amount of time (in weeks) that remains for the statutory sick leave periodentitlementWeeksRequested(Double entitlementWeeksRequested) The amount of requested time (in weeks)booleanThe unique identifier (guid) of the employeeorg.threeten.bp.LocalDateThe date when the leave endsIf the leave requested was considered \"not entitled\", the reasons why are listed here.The amount of statutory sick leave time off (in weeks) that is available to take at the time the leave was requestedA calculated amount of time (in weeks) that remains for the statutory sick leave periodThe amount of requested time (in weeks)Whether the leave was entitled to receive paymentWhether the sick leave was pregnancy relatedThe unique identifier (guid) of the \"Statutory Sick Leave (non-pensionable)\" pay itemWhether another leave (Paternity, Shared Parental specifically) occurs during the requested leave's period.org.threeten.bp.LocalDateThe date when the leave startsthe type of statutory leaveThe unique identifier (guid) of a statutory leaveWhether the employee provided sufficient notice and documentation as required by the employer supporting the sick leave requestgetType()the type of statutory leaveThe days of the work week the employee is scheduled to work at the time the leave is takeninthashCode()isEntitled(Boolean isEntitled) Whether the leave was entitled to receive paymentisPregnancyRelated(Boolean isPregnancyRelated) Whether the sick leave was pregnancy relatedleaveTypeID(UUID leaveTypeID) The unique identifier (guid) of the \"Statutory Sick Leave (non-pensionable)\" pay itemoverlapsWithOtherLeave(Boolean overlapsWithOtherLeave) Whether another leave (Paternity, Shared Parental specifically) occurs during the requested leave's period.voidsetEmployeeID(UUID employeeID) The unique identifier (guid) of the employeevoidsetEndDate(org.threeten.bp.LocalDate endDate) The date when the leave endsvoidsetEntitlementFailureReasons(List<EmployeeStatutorySickLeave.EntitlementFailureReasonsEnum> entitlementFailureReasons) If the leave requested was considered \"not entitled\", the reasons why are listed here.voidsetEntitlementWeeksQualified(Double entitlementWeeksQualified) The amount of statutory sick leave time off (in weeks) that is available to take at the time the leave was requestedvoidsetEntitlementWeeksRemaining(Double entitlementWeeksRemaining) A calculated amount of time (in weeks) that remains for the statutory sick leave periodvoidsetEntitlementWeeksRequested(Double entitlementWeeksRequested) The amount of requested time (in weeks)voidsetIsEntitled(Boolean isEntitled) Whether the leave was entitled to receive paymentvoidsetIsPregnancyRelated(Boolean isPregnancyRelated) Whether the sick leave was pregnancy relatedvoidsetLeaveTypeID(UUID leaveTypeID) The unique identifier (guid) of the \"Statutory Sick Leave (non-pensionable)\" pay itemvoidsetOverlapsWithOtherLeave(Boolean overlapsWithOtherLeave) Whether another leave (Paternity, Shared Parental specifically) occurs during the requested leave's period.voidsetStartDate(org.threeten.bp.LocalDate startDate) The date when the leave startsvoidthe type of statutory leavevoidsetStatutoryLeaveID(UUID statutoryLeaveID) The unique identifier (guid) of a statutory leavevoidsetSufficientNotice(Boolean sufficientNotice) Whether the employee provided sufficient notice and documentation as required by the employer supporting the sick leave requestvoidthe type of statutory leavevoidsetWorkPattern(List<String> workPattern) The days of the work week the employee is scheduled to work at the time the leave is takenstartDate(org.threeten.bp.LocalDate startDate) The date when the leave startsthe type of statutory leavestatutoryLeaveID(UUID statutoryLeaveID) The unique identifier (guid) of a statutory leavesufficientNotice(Boolean sufficientNotice) Whether the employee provided sufficient notice and documentation as required by the employer supporting the sick leave requesttoString()the type of statutory leaveworkPattern(List<String> workPattern) The days of the work week the employee is scheduled to work at the time the leave is taken
-
Constructor Details
-
EmployeeStatutorySickLeave
public EmployeeStatutorySickLeave()
-
-
Method Details
-
statutoryLeaveID
The unique identifier (guid) of a statutory leave- Parameters:
statutoryLeaveID- UUID- Returns:
- EmployeeStatutorySickLeave
-
getStatutoryLeaveID
The unique identifier (guid) of a statutory leave- Returns:
- statutoryLeaveID
-
setStatutoryLeaveID
The unique identifier (guid) of a statutory leave- Parameters:
statutoryLeaveID- UUID
-
employeeID
The unique identifier (guid) of the employee- Parameters:
employeeID- UUID- Returns:
- EmployeeStatutorySickLeave
-
getEmployeeID
-
setEmployeeID
The unique identifier (guid) of the employee- Parameters:
employeeID- UUID
-
leaveTypeID
The unique identifier (guid) of the \"Statutory Sick Leave (non-pensionable)\" pay item- Parameters:
leaveTypeID- UUID- Returns:
- EmployeeStatutorySickLeave
-
getLeaveTypeID
The unique identifier (guid) of the \"Statutory Sick Leave (non-pensionable)\" pay item- Returns:
- leaveTypeID
-
setLeaveTypeID
The unique identifier (guid) of the \"Statutory Sick Leave (non-pensionable)\" pay item- Parameters:
leaveTypeID- UUID
-
startDate
The date when the leave starts- Parameters:
startDate- LocalDate- Returns:
- EmployeeStatutorySickLeave
-
getStartDate
public org.threeten.bp.LocalDate getStartDate()The date when the leave starts- Returns:
- startDate
-
setStartDate
public void setStartDate(org.threeten.bp.LocalDate startDate) The date when the leave starts- Parameters:
startDate- LocalDate
-
endDate
The date when the leave ends- Parameters:
endDate- LocalDate- Returns:
- EmployeeStatutorySickLeave
-
getEndDate
public org.threeten.bp.LocalDate getEndDate()The date when the leave ends- Returns:
- endDate
-
setEndDate
public void setEndDate(org.threeten.bp.LocalDate endDate) The date when the leave ends- Parameters:
endDate- LocalDate
-
type
the type of statutory leave- Parameters:
type- String- Returns:
- EmployeeStatutorySickLeave
-
getType
-
setType
-
status
the type of statutory leave- Parameters:
status- String- Returns:
- EmployeeStatutorySickLeave
-
getStatus
-
setStatus
-
workPattern
The days of the work week the employee is scheduled to work at the time the leave is taken- Parameters:
workPattern- List<>- Returns:
- EmployeeStatutorySickLeave
-
addWorkPatternItem
The days of the work week the employee is scheduled to work at the time the leave is taken- Parameters:
workPatternItem- String- Returns:
- EmployeeStatutorySickLeave
-
getWorkPattern
-
setWorkPattern
-
isPregnancyRelated
Whether the sick leave was pregnancy related- Parameters:
isPregnancyRelated- Boolean- Returns:
- EmployeeStatutorySickLeave
-
getIsPregnancyRelated
Whether the sick leave was pregnancy related- Returns:
- isPregnancyRelated
-
setIsPregnancyRelated
Whether the sick leave was pregnancy related- Parameters:
isPregnancyRelated- Boolean
-
sufficientNotice
Whether the employee provided sufficient notice and documentation as required by the employer supporting the sick leave request- Parameters:
sufficientNotice- Boolean- Returns:
- EmployeeStatutorySickLeave
-
getSufficientNotice
Whether the employee provided sufficient notice and documentation as required by the employer supporting the sick leave request- Returns:
- sufficientNotice
-
setSufficientNotice
Whether the employee provided sufficient notice and documentation as required by the employer supporting the sick leave request- Parameters:
sufficientNotice- Boolean
-
isEntitled
Whether the leave was entitled to receive payment- Parameters:
isEntitled- Boolean- Returns:
- EmployeeStatutorySickLeave
-
getIsEntitled
Whether the leave was entitled to receive payment- Returns:
- isEntitled
-
setIsEntitled
Whether the leave was entitled to receive payment- Parameters:
isEntitled- Boolean
-
entitlementWeeksRequested
The amount of requested time (in weeks)- Parameters:
entitlementWeeksRequested- Double- Returns:
- EmployeeStatutorySickLeave
-
getEntitlementWeeksRequested
The amount of requested time (in weeks)- Returns:
- entitlementWeeksRequested
-
setEntitlementWeeksRequested
The amount of requested time (in weeks)- Parameters:
entitlementWeeksRequested- Double
-
entitlementWeeksQualified
The amount of statutory sick leave time off (in weeks) that is available to take at the time the leave was requested- Parameters:
entitlementWeeksQualified- Double- Returns:
- EmployeeStatutorySickLeave
-
getEntitlementWeeksQualified
The amount of statutory sick leave time off (in weeks) that is available to take at the time the leave was requested- Returns:
- entitlementWeeksQualified
-
setEntitlementWeeksQualified
The amount of statutory sick leave time off (in weeks) that is available to take at the time the leave was requested- Parameters:
entitlementWeeksQualified- Double
-
entitlementWeeksRemaining
A calculated amount of time (in weeks) that remains for the statutory sick leave period- Parameters:
entitlementWeeksRemaining- Double- Returns:
- EmployeeStatutorySickLeave
-
getEntitlementWeeksRemaining
A calculated amount of time (in weeks) that remains for the statutory sick leave period- Returns:
- entitlementWeeksRemaining
-
setEntitlementWeeksRemaining
A calculated amount of time (in weeks) that remains for the statutory sick leave period- Parameters:
entitlementWeeksRemaining- Double
-
overlapsWithOtherLeave
Whether another leave (Paternity, Shared Parental specifically) occurs during the requested leave's period. While this is allowed it could affect payment amounts- Parameters:
overlapsWithOtherLeave- Boolean- Returns:
- EmployeeStatutorySickLeave
-
getOverlapsWithOtherLeave
Whether another leave (Paternity, Shared Parental specifically) occurs during the requested leave's period. While this is allowed it could affect payment amounts- Returns:
- overlapsWithOtherLeave
-
setOverlapsWithOtherLeave
Whether another leave (Paternity, Shared Parental specifically) occurs during the requested leave's period. While this is allowed it could affect payment amounts- Parameters:
overlapsWithOtherLeave- Boolean
-
entitlementFailureReasons
public EmployeeStatutorySickLeave entitlementFailureReasons(List<EmployeeStatutorySickLeave.EntitlementFailureReasonsEnum> entitlementFailureReasons) If the leave requested was considered \"not entitled\", the reasons why are listed here.- Parameters:
entitlementFailureReasons- List<>- Returns:
- EmployeeStatutorySickLeave
-
addEntitlementFailureReasonsItem
public EmployeeStatutorySickLeave addEntitlementFailureReasonsItem(EmployeeStatutorySickLeave.EntitlementFailureReasonsEnum entitlementFailureReasonsItem) If the leave requested was considered \"not entitled\", the reasons why are listed here.- Parameters:
entitlementFailureReasonsItem- EntitlementFailureReasonsEnum- Returns:
- EmployeeStatutorySickLeave
-
getEntitlementFailureReasons
public List<EmployeeStatutorySickLeave.EntitlementFailureReasonsEnum> getEntitlementFailureReasons()If the leave requested was considered \"not entitled\", the reasons why are listed here.- Returns:
- entitlementFailureReasons
-
setEntitlementFailureReasons
public void setEntitlementFailureReasons(List<EmployeeStatutorySickLeave.EntitlementFailureReasonsEnum> entitlementFailureReasons) If the leave requested was considered \"not entitled\", the reasons why are listed here.- Parameters:
entitlementFailureReasons- List<>
-
equals
-
hashCode
-
toString
-