Package com.xero.models.payrollau
Class LeaveType
java.lang.Object
com.xero.models.payrollau.LeaveType
public class LeaveType extends Object
LeaveType
-
Constructor Summary
Constructors Constructor Description LeaveType() -
Method Summary
Modifier and Type Method Description LeaveTypecurrentRecord(Boolean currentRecord)booleanequals(Object o)BooleangetCurrentRecord()Is the current recordBooleangetIsPaidLeave()Set this to indicate that an employee will be paid when taking this type of leaveDoublegetLeaveLoadingRate()Enter an amount here if your organisation pays an additional percentage on top of ordinary earnings when your employees take leave (typically 17.5%)UUIDgetLeaveTypeID()Xero identifierStringgetName()Name of the earnings rate (max length = 100)DoublegetNormalEntitlement()The number of units the employee is entitled to each yearBooleangetShowOnPayslip()Set this if you want a balance for this leave type to be shown on your employee’s payslipsStringgetTypeOfUnits()The type of units by which leave entitlements are normally tracked.StringgetUpdatedDateUTC()Last modified timestamporg.threeten.bp.OffsetDateTimegetUpdatedDateUTCAsDate()inthashCode()LeaveTypeisPaidLeave(Boolean isPaidLeave)LeaveTypeleaveLoadingRate(Double leaveLoadingRate)LeaveTypeleaveTypeID(UUID leaveTypeID)LeaveTypename(String name)LeaveTypenormalEntitlement(Double normalEntitlement)voidsetCurrentRecord(Boolean currentRecord)voidsetIsPaidLeave(Boolean isPaidLeave)voidsetLeaveLoadingRate(Double leaveLoadingRate)voidsetLeaveTypeID(UUID leaveTypeID)voidsetName(String name)voidsetNormalEntitlement(Double normalEntitlement)voidsetShowOnPayslip(Boolean showOnPayslip)voidsetTypeOfUnits(String typeOfUnits)LeaveTypeshowOnPayslip(Boolean showOnPayslip)StringtoString()LeaveTypetypeOfUnits(String typeOfUnits)
-
Constructor Details
-
LeaveType
public LeaveType()
-
-
Method Details
-
name
-
getName
Name of the earnings rate (max length = 100)- Returns:
- name
-
setName
-
typeOfUnits
-
getTypeOfUnits
The type of units by which leave entitlements are normally tracked. These are typically the same as the type of units used for the employee’s ordinary earnings rate- Returns:
- typeOfUnits
-
setTypeOfUnits
-
leaveTypeID
-
getLeaveTypeID
Xero identifier- Returns:
- leaveTypeID
-
setLeaveTypeID
-
normalEntitlement
-
getNormalEntitlement
The number of units the employee is entitled to each year- Returns:
- normalEntitlement
-
setNormalEntitlement
-
leaveLoadingRate
-
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%)- Returns:
- leaveLoadingRate
-
setLeaveLoadingRate
-
getUpdatedDateUTC
Last modified timestamp- Returns:
- updatedDateUTC
-
getUpdatedDateUTCAsDate
public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate() -
isPaidLeave
-
getIsPaidLeave
Set this to indicate that an employee will be paid when taking this type of leave- Returns:
- isPaidLeave
-
setIsPaidLeave
-
showOnPayslip
-
getShowOnPayslip
Set this if you want a balance for this leave type to be shown on your employee’s payslips- Returns:
- showOnPayslip
-
setShowOnPayslip
-
currentRecord
-
getCurrentRecord
Is the current record- Returns:
- currentRecord
-
setCurrentRecord
-
equals
-
hashCode
public int hashCode() -
toString
-