public class LeaveType extends Object
| Constructor and Description |
|---|
LeaveType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Boolean |
getIsPaidLeave()
Set this to indicate that an employee will be paid when taking this type of leave
|
Float |
getLeaveLoadingRate()
Enter an amount here if your organisation pays an additional percentage on top of ordinary earnings when your employees take leave (typically 17.5%)
|
UUID |
getLeaveTypeID()
Xero identifier
|
String |
getName()
Name of the earnings rate (max length = 100)
|
Float |
getNormalEntitlement()
The number of units the employee is entitled to each year
|
Boolean |
getShowOnPayslip()
Set this if you want a balance for this leave type to be shown on your employee’s payslips
|
String |
getTypeOfUnits()
The type of units by which leave entitlements are normally tracked.
|
String |
getUpdatedDateUTC()
Last modified timestamp
|
int |
hashCode() |
LeaveType |
isPaidLeave(Boolean isPaidLeave) |
LeaveType |
leaveLoadingRate(Float leaveLoadingRate) |
LeaveType |
leaveTypeID(UUID leaveTypeID) |
LeaveType |
name(String name) |
LeaveType |
normalEntitlement(Float normalEntitlement) |
void |
setIsPaidLeave(Boolean isPaidLeave) |
void |
setLeaveLoadingRate(Float leaveLoadingRate) |
void |
setLeaveTypeID(UUID leaveTypeID) |
void |
setName(String name) |
void |
setNormalEntitlement(Float normalEntitlement) |
void |
setShowOnPayslip(Boolean showOnPayslip) |
void |
setTypeOfUnits(String typeOfUnits) |
LeaveType |
showOnPayslip(Boolean showOnPayslip) |
String |
toString() |
LeaveType |
typeOfUnits(String typeOfUnits) |
public String getName()
public void setName(String name)
public String getTypeOfUnits()
public void setTypeOfUnits(String typeOfUnits)
public Boolean getIsPaidLeave()
public void setIsPaidLeave(Boolean isPaidLeave)
public Boolean getShowOnPayslip()
public void setShowOnPayslip(Boolean showOnPayslip)
public UUID getLeaveTypeID()
public void setLeaveTypeID(UUID leaveTypeID)
public Float getNormalEntitlement()
public void setNormalEntitlement(Float normalEntitlement)
public Float getLeaveLoadingRate()
public void setLeaveLoadingRate(Float leaveLoadingRate)
public String getUpdatedDateUTC()
Copyright © 2020. All rights reserved.