Package com.xero.models.payrolluk
Class EmployeeStatutorySickLeave
java.lang.Object
com.xero.models.payrolluk.EmployeeStatutorySickLeave
public class EmployeeStatutorySickLeave extends Object
EmployeeStatutorySickLeave
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEmployeeStatutorySickLeave.EntitlementFailureReasonsEnumGets or Sets entitlementFailureReasons -
Constructor Summary
Constructors Constructor Description EmployeeStatutorySickLeave() -
Method Summary
Modifier and Type Method Description EmployeeStatutorySickLeaveaddEntitlementFailureReasonsItem(EmployeeStatutorySickLeave.EntitlementFailureReasonsEnum entitlementFailureReasonsItem)EmployeeStatutorySickLeaveaddWorkPatternItem(String workPatternItem)EmployeeStatutorySickLeaveemployeeID(UUID employeeID)EmployeeStatutorySickLeaveendDate(org.threeten.bp.LocalDate endDate)EmployeeStatutorySickLeaveentitlementFailureReasons(List<EmployeeStatutorySickLeave.EntitlementFailureReasonsEnum> entitlementFailureReasons)EmployeeStatutorySickLeaveentitlementWeeksQualified(Double entitlementWeeksQualified)EmployeeStatutorySickLeaveentitlementWeeksRemaining(Double entitlementWeeksRemaining)EmployeeStatutorySickLeaveentitlementWeeksRequested(Double entitlementWeeksRequested)booleanequals(Object o)UUIDgetEmployeeID()The unique identifier (guid) of the employeeorg.threeten.bp.LocalDategetEndDate()The date when the leave endsList<EmployeeStatutorySickLeave.EntitlementFailureReasonsEnum>getEntitlementFailureReasons()If the leave requested was considered \"not entitled\", the reasons why are listed here.DoublegetEntitlementWeeksQualified()The amount of statutory sick leave time off (in weeks) that is available to take at the time the leave was requestedDoublegetEntitlementWeeksRemaining()A calculated amount of time (in weeks) that remains for the statutory sick leave periodDoublegetEntitlementWeeksRequested()The amount of requested time (in weeks)BooleangetIsEntitled()Whether the leave was entitled to receive paymentBooleangetIsPregnancyRelated()Whether the sick leave was pregnancy relatedUUIDgetLeaveTypeID()The unique identifier (guid) of the \"Statutory Sick Leave (non-pensionable)\" pay itemBooleangetOverlapsWithOtherLeave()Whether another leave (Paternity, Shared Parental specifically) occurs during the requested leave's period.org.threeten.bp.LocalDategetStartDate()The date when the leave startsStringgetStatus()the type of statutory leaveUUIDgetStatutoryLeaveID()The unique identifier (guid) of a statutory leaveBooleangetSufficientNotice()Whether the employee provided sufficent notice and documentation as required by the employer supporting the sick leave requestStringgetType()the type of statutory leaveList<String>getWorkPattern()The days of the work week the employee is scheduled to work at the time the leave is takeninthashCode()EmployeeStatutorySickLeaveisEntitled(Boolean isEntitled)EmployeeStatutorySickLeaveisPregnancyRelated(Boolean isPregnancyRelated)EmployeeStatutorySickLeaveleaveTypeID(UUID leaveTypeID)EmployeeStatutorySickLeaveoverlapsWithOtherLeave(Boolean overlapsWithOtherLeave)voidsetEmployeeID(UUID employeeID)voidsetEndDate(org.threeten.bp.LocalDate endDate)voidsetEntitlementFailureReasons(List<EmployeeStatutorySickLeave.EntitlementFailureReasonsEnum> entitlementFailureReasons)voidsetEntitlementWeeksQualified(Double entitlementWeeksQualified)voidsetEntitlementWeeksRemaining(Double entitlementWeeksRemaining)voidsetEntitlementWeeksRequested(Double entitlementWeeksRequested)voidsetIsEntitled(Boolean isEntitled)voidsetIsPregnancyRelated(Boolean isPregnancyRelated)voidsetLeaveTypeID(UUID leaveTypeID)voidsetOverlapsWithOtherLeave(Boolean overlapsWithOtherLeave)voidsetStartDate(org.threeten.bp.LocalDate startDate)voidsetStatus(String status)voidsetStatutoryLeaveID(UUID statutoryLeaveID)voidsetSufficientNotice(Boolean sufficientNotice)voidsetType(String type)voidsetWorkPattern(List<String> workPattern)EmployeeStatutorySickLeavestartDate(org.threeten.bp.LocalDate startDate)EmployeeStatutorySickLeavestatus(String status)EmployeeStatutorySickLeavestatutoryLeaveID(UUID statutoryLeaveID)EmployeeStatutorySickLeavesufficientNotice(Boolean sufficientNotice)StringtoString()EmployeeStatutorySickLeavetype(String type)EmployeeStatutorySickLeaveworkPattern(List<String> workPattern)
-
Constructor Details
-
EmployeeStatutorySickLeave
public EmployeeStatutorySickLeave()
-
-
Method Details
-
statutoryLeaveID
-
getStatutoryLeaveID
The unique identifier (guid) of a statutory leave- Returns:
- statutoryLeaveID
-
setStatutoryLeaveID
-
employeeID
-
getEmployeeID
The unique identifier (guid) of the employee- Returns:
- employeeID
-
setEmployeeID
-
leaveTypeID
-
getLeaveTypeID
The unique identifier (guid) of the \"Statutory Sick Leave (non-pensionable)\" pay item- Returns:
- leaveTypeID
-
setLeaveTypeID
-
startDate
-
getStartDate
public org.threeten.bp.LocalDate getStartDate()The date when the leave starts- Returns:
- startDate
-
setStartDate
public void setStartDate(org.threeten.bp.LocalDate startDate) -
endDate
-
getEndDate
public org.threeten.bp.LocalDate getEndDate()The date when the leave ends- Returns:
- endDate
-
setEndDate
public void setEndDate(org.threeten.bp.LocalDate endDate) -
type
-
getType
the type of statutory leave- Returns:
- type
-
setType
-
status
-
getStatus
the type of statutory leave- Returns:
- status
-
setStatus
-
workPattern
-
addWorkPatternItem
-
getWorkPattern
The days of the work week the employee is scheduled to work at the time the leave is taken- Returns:
- workPattern
-
setWorkPattern
-
isPregnancyRelated
-
getIsPregnancyRelated
Whether the sick leave was pregnancy related- Returns:
- isPregnancyRelated
-
setIsPregnancyRelated
-
sufficientNotice
-
getSufficientNotice
Whether the employee provided sufficent notice and documentation as required by the employer supporting the sick leave request- Returns:
- sufficientNotice
-
setSufficientNotice
-
isEntitled
-
getIsEntitled
Whether the leave was entitled to receive payment- Returns:
- isEntitled
-
setIsEntitled
-
entitlementWeeksRequested
-
getEntitlementWeeksRequested
The amount of requested time (in weeks)- Returns:
- entitlementWeeksRequested
-
setEntitlementWeeksRequested
-
entitlementWeeksQualified
-
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
-
entitlementWeeksRemaining
-
getEntitlementWeeksRemaining
A calculated amount of time (in weeks) that remains for the statutory sick leave period- Returns:
- entitlementWeeksRemaining
-
setEntitlementWeeksRemaining
-
overlapsWithOtherLeave
-
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
-
entitlementFailureReasons
public EmployeeStatutorySickLeave entitlementFailureReasons(List<EmployeeStatutorySickLeave.EntitlementFailureReasonsEnum> entitlementFailureReasons) -
addEntitlementFailureReasonsItem
public EmployeeStatutorySickLeave addEntitlementFailureReasonsItem(EmployeeStatutorySickLeave.EntitlementFailureReasonsEnum entitlementFailureReasonsItem) -
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) -
equals
-
hashCode
public int hashCode() -
toString
-