Class EmployeeLeaveType


  • public class EmployeeLeaveType
    extends Object
    EmployeeLeaveType
    • Constructor Detail

      • EmployeeLeaveType

        public EmployeeLeaveType()
    • Method Detail

      • leaveTypeID

        public EmployeeLeaveType leaveTypeID​(UUID leaveTypeID)
        The Xero identifier for leave type
        Parameters:
        leaveTypeID - UUID
        Returns:
        EmployeeLeaveType
      • getLeaveTypeID

        public UUID getLeaveTypeID()
        The Xero identifier for leave type
        Returns:
        leaveTypeID
      • setLeaveTypeID

        public void setLeaveTypeID​(UUID leaveTypeID)
        The Xero identifier for leave type
        Parameters:
        leaveTypeID - UUID
      • setScheduleOfAccrual

        public void setScheduleOfAccrual​(EmployeeLeaveType.ScheduleOfAccrualEnum scheduleOfAccrual)
        The schedule of accrual
        Parameters:
        scheduleOfAccrual - ScheduleOfAccrualEnum
      • hoursAccruedAnnually

        public EmployeeLeaveType hoursAccruedAnnually​(Double hoursAccruedAnnually)
        The number of hours accrued for the leave annually. This is 0 when the scheduleOfAccrual chosen is \"OnHourWorked\"
        Parameters:
        hoursAccruedAnnually - Double
        Returns:
        EmployeeLeaveType
      • getHoursAccruedAnnually

        public Double getHoursAccruedAnnually()
        The number of hours accrued for the leave annually. This is 0 when the scheduleOfAccrual chosen is \"OnHourWorked\"
        Returns:
        hoursAccruedAnnually
      • setHoursAccruedAnnually

        public void setHoursAccruedAnnually​(Double hoursAccruedAnnually)
        The number of hours accrued for the leave annually. This is 0 when the scheduleOfAccrual chosen is \"OnHourWorked\"
        Parameters:
        hoursAccruedAnnually - Double
      • maximumToAccrue

        public EmployeeLeaveType maximumToAccrue​(Double maximumToAccrue)
        The maximum number of hours that can be accrued for the leave
        Parameters:
        maximumToAccrue - Double
        Returns:
        EmployeeLeaveType
      • getMaximumToAccrue

        public Double getMaximumToAccrue()
        The maximum number of hours that can be accrued for the leave
        Returns:
        maximumToAccrue
      • setMaximumToAccrue

        public void setMaximumToAccrue​(Double maximumToAccrue)
        The maximum number of hours that can be accrued for the leave
        Parameters:
        maximumToAccrue - Double
      • openingBalance

        public EmployeeLeaveType openingBalance​(Double openingBalance)
        The initial number of hours assigned when the leave was added to the employee
        Parameters:
        openingBalance - Double
        Returns:
        EmployeeLeaveType
      • getOpeningBalance

        public Double getOpeningBalance()
        The initial number of hours assigned when the leave was added to the employee
        Returns:
        openingBalance
      • setOpeningBalance

        public void setOpeningBalance​(Double openingBalance)
        The initial number of hours assigned when the leave was added to the employee
        Parameters:
        openingBalance - Double
      • rateAccruedHourly

        public EmployeeLeaveType rateAccruedHourly​(Double rateAccruedHourly)
        The number of hours added to the leave balance for every hour worked by the employee. This is normally 0, unless the scheduleOfAccrual chosen is \"OnHourWorked\"
        Parameters:
        rateAccruedHourly - Double
        Returns:
        EmployeeLeaveType
      • getRateAccruedHourly

        public Double getRateAccruedHourly()
        The number of hours added to the leave balance for every hour worked by the employee. This is normally 0, unless the scheduleOfAccrual chosen is \"OnHourWorked\"
        Returns:
        rateAccruedHourly
      • setRateAccruedHourly

        public void setRateAccruedHourly​(Double rateAccruedHourly)
        The number of hours added to the leave balance for every hour worked by the employee. This is normally 0, unless the scheduleOfAccrual chosen is \"OnHourWorked\"
        Parameters:
        rateAccruedHourly - Double
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object