Package com.xero.models.payrolluk
Class EmployeeLeaveType
java.lang.Object
com.xero.models.payrolluk.EmployeeLeaveType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe schedule of accrual -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe number of hours accrued for the leave annually.The Xero identifier for leave typeThe maximum number of hours that can be accrued for the leaveThe initial number of hours assigned when the leave was added to the employeeThe number of hours added to the leave balance for every hour worked by the employee.The schedule of accrualorg.threeten.bp.LocalDateThe date when an employee becomes entitled to their accrual.inthashCode()hoursAccruedAnnually(Double hoursAccruedAnnually) The number of hours accrued for the leave annually.leaveTypeID(UUID leaveTypeID) The Xero identifier for leave typemaximumToAccrue(Double maximumToAccrue) The maximum number of hours that can be accrued for the leaveopeningBalance(Double openingBalance) The initial number of hours assigned when the leave was added to the employeerateAccruedHourly(Double rateAccruedHourly) The number of hours added to the leave balance for every hour worked by the employee.scheduleOfAccrual(EmployeeLeaveType.ScheduleOfAccrualEnum scheduleOfAccrual) The schedule of accrualscheduleOfAccrualDate(org.threeten.bp.LocalDate scheduleOfAccrualDate) The date when an employee becomes entitled to their accrual.voidsetHoursAccruedAnnually(Double hoursAccruedAnnually) The number of hours accrued for the leave annually.voidsetLeaveTypeID(UUID leaveTypeID) The Xero identifier for leave typevoidsetMaximumToAccrue(Double maximumToAccrue) The maximum number of hours that can be accrued for the leavevoidsetOpeningBalance(Double openingBalance) The initial number of hours assigned when the leave was added to the employeevoidsetRateAccruedHourly(Double rateAccruedHourly) The number of hours added to the leave balance for every hour worked by the employee.voidsetScheduleOfAccrual(EmployeeLeaveType.ScheduleOfAccrualEnum scheduleOfAccrual) The schedule of accrualvoidsetScheduleOfAccrualDate(org.threeten.bp.LocalDate scheduleOfAccrualDate) The date when an employee becomes entitled to their accrual.toString()
-
Constructor Details
-
EmployeeLeaveType
public EmployeeLeaveType()
-
-
Method Details
-
leaveTypeID
The Xero identifier for leave type- Parameters:
leaveTypeID- UUID- Returns:
- EmployeeLeaveType
-
getLeaveTypeID
-
setLeaveTypeID
The Xero identifier for leave type- Parameters:
leaveTypeID- UUID
-
scheduleOfAccrual
public EmployeeLeaveType scheduleOfAccrual(EmployeeLeaveType.ScheduleOfAccrualEnum scheduleOfAccrual) The schedule of accrual- Parameters:
scheduleOfAccrual- ScheduleOfAccrualEnum- Returns:
- EmployeeLeaveType
-
getScheduleOfAccrual
The schedule of accrual- Returns:
- scheduleOfAccrual
-
setScheduleOfAccrual
The schedule of accrual- Parameters:
scheduleOfAccrual- ScheduleOfAccrualEnum
-
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
The number of hours accrued for the leave annually. This is 0 when the scheduleOfAccrual chosen is \"OnHourWorked\"- Returns:
- hoursAccruedAnnually
-
setHoursAccruedAnnually
The number of hours accrued for the leave annually. This is 0 when the scheduleOfAccrual chosen is \"OnHourWorked\"- Parameters:
hoursAccruedAnnually- Double
-
maximumToAccrue
The maximum number of hours that can be accrued for the leave- Parameters:
maximumToAccrue- Double- Returns:
- EmployeeLeaveType
-
getMaximumToAccrue
The maximum number of hours that can be accrued for the leave- Returns:
- maximumToAccrue
-
setMaximumToAccrue
The maximum number of hours that can be accrued for the leave- Parameters:
maximumToAccrue- Double
-
openingBalance
The initial number of hours assigned when the leave was added to the employee- Parameters:
openingBalance- Double- Returns:
- EmployeeLeaveType
-
getOpeningBalance
The initial number of hours assigned when the leave was added to the employee- Returns:
- openingBalance
-
setOpeningBalance
The initial number of hours assigned when the leave was added to the employee- Parameters:
openingBalance- 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
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
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
-
scheduleOfAccrualDate
The date when an employee becomes entitled to their accrual. Only applicable when scheduleOfAccrual is \"OnAnniversaryDate\"- Parameters:
scheduleOfAccrualDate- LocalDate- Returns:
- EmployeeLeaveType
-
getScheduleOfAccrualDate
public org.threeten.bp.LocalDate getScheduleOfAccrualDate()The date when an employee becomes entitled to their accrual. Only applicable when scheduleOfAccrual is \"OnAnniversaryDate\"- Returns:
- scheduleOfAccrualDate
-
setScheduleOfAccrualDate
public void setScheduleOfAccrualDate(org.threeten.bp.LocalDate scheduleOfAccrualDate) The date when an employee becomes entitled to their accrual. Only applicable when scheduleOfAccrual is \"OnAnniversaryDate\"- Parameters:
scheduleOfAccrualDate- LocalDate
-
equals
-
hashCode
-
toString
-