public class LeaveType extends Object
| Constructor and Description |
|---|
LeaveType() |
| Modifier and Type | Method and Description |
|---|---|
LeaveType |
currentRecord(Boolean currentRecord) |
boolean |
equals(Object o) |
Boolean |
getCurrentRecord()
Is the current record
|
Boolean |
getIsPaidLeave()
Set this to indicate that an employee will be paid when taking this type of leave
|
Integer |
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)
|
Integer |
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
|
org.threeten.bp.OffsetDateTime |
getUpdatedDateUTCAsDate() |
int |
hashCode() |
LeaveType |
isPaidLeave(Boolean isPaidLeave) |
LeaveType |
leaveLoadingRate(Integer leaveLoadingRate) |
LeaveType |
leaveTypeID(UUID leaveTypeID) |
LeaveType |
name(String name) |
LeaveType |
normalEntitlement(Integer normalEntitlement) |
void |
setCurrentRecord(Boolean currentRecord) |
void |
setIsPaidLeave(Boolean isPaidLeave) |
void |
setLeaveLoadingRate(Integer leaveLoadingRate) |
void |
setLeaveTypeID(UUID leaveTypeID) |
void |
setName(String name) |
void |
setNormalEntitlement(Integer 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 UUID getLeaveTypeID()
public void setLeaveTypeID(UUID leaveTypeID)
public Integer getNormalEntitlement()
public void setNormalEntitlement(Integer normalEntitlement)
public Integer getLeaveLoadingRate()
public void setLeaveLoadingRate(Integer leaveLoadingRate)
public String getUpdatedDateUTC()
public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate()
public Boolean getIsPaidLeave()
public void setIsPaidLeave(Boolean isPaidLeave)
public Boolean getShowOnPayslip()
public void setShowOnPayslip(Boolean showOnPayslip)
public Boolean getCurrentRecord()
public void setCurrentRecord(Boolean currentRecord)
Copyright © 2020. All rights reserved.