Package com.xero.models.payrollnz
Class EmployeeLeaveType
java.lang.Object
com.xero.models.payrollnz.EmployeeLeaveType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe schedule of accrual -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionannualLeaveTotalAmountPaid(Double annualLeaveTotalAmountPaid) Specific to Annual Leave.booleanSpecific to Annual Leave.The number of hours accrued for the leave annually.Specific to Holiday pay.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 employeeSpecific for scheduleOfAccrual having percentage of gross earnings.The 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.Specific to Annual Leave.inthashCode()hoursAccruedAnnually(Double hoursAccruedAnnually) The number of hours accrued for the leave annually.includeHolidayPayEveryPay(Boolean includeHolidayPayEveryPay) Specific to Holiday pay.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 employeepercentageOfGrossEarnings(Double percentageOfGrossEarnings) Specific for scheduleOfAccrual having percentage of gross earnings.rateAccruedHourly(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.voidsetAnnualLeaveTotalAmountPaid(Double annualLeaveTotalAmountPaid) Specific to Annual Leave.voidsetHoursAccruedAnnually(Double hoursAccruedAnnually) The number of hours accrued for the leave annually.voidsetIncludeHolidayPayEveryPay(Boolean includeHolidayPayEveryPay) Specific to Holiday pay.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 employeevoidsetPercentageOfGrossEarnings(Double percentageOfGrossEarnings) Specific for scheduleOfAccrual having percentage of gross earnings.voidsetRateAccruedHourly(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.voidsetShowAnnualLeaveInAdvance(Boolean showAnnualLeaveInAdvance) Specific to Annual Leave.showAnnualLeaveInAdvance(Boolean showAnnualLeaveInAdvance) Specific to Annual Leave.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
-
percentageOfGrossEarnings
Specific for scheduleOfAccrual having percentage of gross earnings. Identifies how much percentage of gross earnings is accrued per pay period.- Parameters:
percentageOfGrossEarnings- Double- Returns:
- EmployeeLeaveType
-
getPercentageOfGrossEarnings
Specific for scheduleOfAccrual having percentage of gross earnings. Identifies how much percentage of gross earnings is accrued per pay period.- Returns:
- percentageOfGrossEarnings
-
setPercentageOfGrossEarnings
Specific for scheduleOfAccrual having percentage of gross earnings. Identifies how much percentage of gross earnings is accrued per pay period.- Parameters:
percentageOfGrossEarnings- Double
-
includeHolidayPayEveryPay
Specific to Holiday pay. Flag determining if pay for leave type is added on each pay run.- Parameters:
includeHolidayPayEveryPay- Boolean- Returns:
- EmployeeLeaveType
-
getIncludeHolidayPayEveryPay
Specific to Holiday pay. Flag determining if pay for leave type is added on each pay run.- Returns:
- includeHolidayPayEveryPay
-
setIncludeHolidayPayEveryPay
Specific to Holiday pay. Flag determining if pay for leave type is added on each pay run.- Parameters:
includeHolidayPayEveryPay- Boolean
-
showAnnualLeaveInAdvance
Specific to Annual Leave. Flag to include leave available to take in advance in the balance in the payslip- Parameters:
showAnnualLeaveInAdvance- Boolean- Returns:
- EmployeeLeaveType
-
getShowAnnualLeaveInAdvance
Specific to Annual Leave. Flag to include leave available to take in advance in the balance in the payslip- Returns:
- showAnnualLeaveInAdvance
-
setShowAnnualLeaveInAdvance
Specific to Annual Leave. Flag to include leave available to take in advance in the balance in the payslip- Parameters:
showAnnualLeaveInAdvance- Boolean
-
annualLeaveTotalAmountPaid
Specific to Annual Leave. Annual leave balance in dollars- Parameters:
annualLeaveTotalAmountPaid- Double- Returns:
- EmployeeLeaveType
-
getAnnualLeaveTotalAmountPaid
Specific to Annual Leave. Annual leave balance in dollars- Returns:
- annualLeaveTotalAmountPaid
-
setAnnualLeaveTotalAmountPaid
Specific to Annual Leave. Annual leave balance in dollars- Parameters:
annualLeaveTotalAmountPaid- Double
-
scheduleOfAccrualDate
The date when an employee becomes entitled to their accrual.- Parameters:
scheduleOfAccrualDate- LocalDate- Returns:
- EmployeeLeaveType
-
getScheduleOfAccrualDate
public org.threeten.bp.LocalDate getScheduleOfAccrualDate()The date when an employee becomes entitled to their accrual.- Returns:
- scheduleOfAccrualDate
-
setScheduleOfAccrualDate
public void setScheduleOfAccrualDate(org.threeten.bp.LocalDate scheduleOfAccrualDate) The date when an employee becomes entitled to their accrual.- Parameters:
scheduleOfAccrualDate- LocalDate
-
equals
-
hashCode
-
toString
-