Class EmployeeStatutorySickLeave

java.lang.Object
com.xero.models.payrolluk.EmployeeStatutorySickLeave

public class EmployeeStatutorySickLeave
extends Object
EmployeeStatutorySickLeave
  • Constructor Details

    • EmployeeStatutorySickLeave

      public EmployeeStatutorySickLeave()
  • Method Details

    • statutoryLeaveID

      public EmployeeStatutorySickLeave statutoryLeaveID​(UUID statutoryLeaveID)
    • getStatutoryLeaveID

      public UUID getStatutoryLeaveID()
      The unique identifier (guid) of a statutory leave
      Returns:
      statutoryLeaveID
    • setStatutoryLeaveID

      public void setStatutoryLeaveID​(UUID statutoryLeaveID)
    • employeeID

      public EmployeeStatutorySickLeave employeeID​(UUID employeeID)
    • getEmployeeID

      public UUID getEmployeeID()
      The unique identifier (guid) of the employee
      Returns:
      employeeID
    • setEmployeeID

      public void setEmployeeID​(UUID employeeID)
    • leaveTypeID

      public EmployeeStatutorySickLeave leaveTypeID​(UUID leaveTypeID)
    • getLeaveTypeID

      public UUID getLeaveTypeID()
      The unique identifier (guid) of the \"Statutory Sick Leave (non-pensionable)\" pay item
      Returns:
      leaveTypeID
    • setLeaveTypeID

      public void setLeaveTypeID​(UUID leaveTypeID)
    • startDate

      public EmployeeStatutorySickLeave startDate​(org.threeten.bp.LocalDate 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

      public EmployeeStatutorySickLeave endDate​(org.threeten.bp.LocalDate 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

      public EmployeeStatutorySickLeave type​(String type)
    • getType

      public String getType()
      the type of statutory leave
      Returns:
      type
    • setType

      public void setType​(String type)
    • status

      public EmployeeStatutorySickLeave status​(String status)
    • getStatus

      public String getStatus()
      the type of statutory leave
      Returns:
      status
    • setStatus

      public void setStatus​(String status)
    • workPattern

      public EmployeeStatutorySickLeave workPattern​(List<String> workPattern)
    • addWorkPatternItem

      public EmployeeStatutorySickLeave addWorkPatternItem​(String workPatternItem)
    • getWorkPattern

      public List<String> getWorkPattern()
      The days of the work week the employee is scheduled to work at the time the leave is taken
      Returns:
      workPattern
    • setWorkPattern

      public void setWorkPattern​(List<String> workPattern)
    • isPregnancyRelated

      public EmployeeStatutorySickLeave isPregnancyRelated​(Boolean isPregnancyRelated)
    • getIsPregnancyRelated

      public Boolean getIsPregnancyRelated()
      Whether the sick leave was pregnancy related
      Returns:
      isPregnancyRelated
    • setIsPregnancyRelated

      public void setIsPregnancyRelated​(Boolean isPregnancyRelated)
    • sufficientNotice

      public EmployeeStatutorySickLeave sufficientNotice​(Boolean sufficientNotice)
    • getSufficientNotice

      public Boolean getSufficientNotice()
      Whether the employee provided sufficent notice and documentation as required by the employer supporting the sick leave request
      Returns:
      sufficientNotice
    • setSufficientNotice

      public void setSufficientNotice​(Boolean sufficientNotice)
    • isEntitled

      public EmployeeStatutorySickLeave isEntitled​(Boolean isEntitled)
    • getIsEntitled

      public Boolean getIsEntitled()
      Whether the leave was entitled to receive payment
      Returns:
      isEntitled
    • setIsEntitled

      public void setIsEntitled​(Boolean isEntitled)
    • entitlementWeeksRequested

      public EmployeeStatutorySickLeave entitlementWeeksRequested​(Double entitlementWeeksRequested)
    • getEntitlementWeeksRequested

      public Double getEntitlementWeeksRequested()
      The amount of requested time (in weeks)
      Returns:
      entitlementWeeksRequested
    • setEntitlementWeeksRequested

      public void setEntitlementWeeksRequested​(Double entitlementWeeksRequested)
    • entitlementWeeksQualified

      public EmployeeStatutorySickLeave entitlementWeeksQualified​(Double entitlementWeeksQualified)
    • getEntitlementWeeksQualified

      public Double 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

      public void setEntitlementWeeksQualified​(Double entitlementWeeksQualified)
    • entitlementWeeksRemaining

      public EmployeeStatutorySickLeave entitlementWeeksRemaining​(Double entitlementWeeksRemaining)
    • getEntitlementWeeksRemaining

      public Double getEntitlementWeeksRemaining()
      A calculated amount of time (in weeks) that remains for the statutory sick leave period
      Returns:
      entitlementWeeksRemaining
    • setEntitlementWeeksRemaining

      public void setEntitlementWeeksRemaining​(Double entitlementWeeksRemaining)
    • overlapsWithOtherLeave

      public EmployeeStatutorySickLeave overlapsWithOtherLeave​(Boolean overlapsWithOtherLeave)
    • getOverlapsWithOtherLeave

      public Boolean 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

      public void setOverlapsWithOtherLeave​(Boolean overlapsWithOtherLeave)
    • 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

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object