Package com.xero.models.payrollau
Class LeaveType
java.lang.Object
com.xero.models.payrollau.LeaveType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncurrentRecord(Boolean currentRecord) Is the current recordbooleanIs the current recordSet this to indicate that an employee will be paid when taking this type of leaveGet leaveCategoryCodeEnter an amount here if your organisation pays an additional percentage on top of ordinary earnings when your employees take leave (typically 17.5%)Xero identifiergetName()Name of the earnings rate (max length = 100)The number of units the employee is entitled to each yearSet this to indicate that the leave type is exempt from superannuation guarantee contributionSet this if you want a balance for this leave type to be shown on your employee’s payslipsThe type of units by which leave entitlements are normally tracked.Last modified timestamporg.threeten.bp.OffsetDateTimeLast modified timestampinthashCode()isPaidLeave(Boolean isPaidLeave) Set this to indicate that an employee will be paid when taking this type of leaveleaveCategoryCode(LeaveCategoryCode leaveCategoryCode) leaveCategoryCodeleaveLoadingRate(Double leaveLoadingRate) Enter an amount here if your organisation pays an additional percentage on top of ordinary earnings when your employees take leave (typically 17.5%)leaveTypeID(UUID leaveTypeID) Xero identifierName of the earnings rate (max length = 100)normalEntitlement(Double normalEntitlement) The number of units the employee is entitled to each yearvoidsetCurrentRecord(Boolean currentRecord) Is the current recordvoidsetIsPaidLeave(Boolean isPaidLeave) Set this to indicate that an employee will be paid when taking this type of leavevoidsetLeaveCategoryCode(LeaveCategoryCode leaveCategoryCode) leaveCategoryCodevoidsetLeaveLoadingRate(Double leaveLoadingRate) Enter an amount here if your organisation pays an additional percentage on top of ordinary earnings when your employees take leave (typically 17.5%)voidsetLeaveTypeID(UUID leaveTypeID) Xero identifiervoidName of the earnings rate (max length = 100)voidsetNormalEntitlement(Double normalEntitlement) The number of units the employee is entitled to each yearvoidsetSgCExempt(Boolean sgCExempt) Set this to indicate that the leave type is exempt from superannuation guarantee contributionvoidsetShowOnPayslip(Boolean showOnPayslip) Set this if you want a balance for this leave type to be shown on your employee’s payslipsvoidsetTypeOfUnits(String typeOfUnits) The type of units by which leave entitlements are normally tracked.Set this to indicate that the leave type is exempt from superannuation guarantee contributionshowOnPayslip(Boolean showOnPayslip) Set this if you want a balance for this leave type to be shown on your employee’s payslipstoString()typeOfUnits(String typeOfUnits) The type of units by which leave entitlements are normally tracked.
-
Constructor Details
-
LeaveType
public LeaveType()
-
-
Method Details
-
name
-
getName
-
setName
Name of the earnings rate (max length = 100)- Parameters:
name- String
-
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
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- Parameters:
typeOfUnits- String
-
leaveTypeID
-
getLeaveTypeID
-
setLeaveTypeID
-
normalEntitlement
-
getNormalEntitlement
The number of units the employee is entitled to each year- Returns:
- normalEntitlement
-
setNormalEntitlement
The number of units the employee is entitled to each year- Parameters:
normalEntitlement- Double
-
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
Enter an amount here if your organisation pays an additional percentage on top of ordinary earnings when your employees take leave (typically 17.5%)- Parameters:
leaveLoadingRate- Double
-
getUpdatedDateUTC
-
getUpdatedDateUTCAsDate
public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate()Last modified timestamp- Returns:
- OffsetDateTime
-
isPaidLeave
-
getIsPaidLeave
Set this to indicate that an employee will be paid when taking this type of leave- Returns:
- isPaidLeave
-
setIsPaidLeave
Set this to indicate that an employee will be paid when taking this type of leave- Parameters:
isPaidLeave- Boolean
-
showOnPayslip
-
getShowOnPayslip
Set this if you want a balance for this leave type to be shown on your employee’s payslips- Returns:
- showOnPayslip
-
setShowOnPayslip
Set this if you want a balance for this leave type to be shown on your employee’s payslips- Parameters:
showOnPayslip- Boolean
-
currentRecord
-
getCurrentRecord
-
setCurrentRecord
Is the current record- Parameters:
currentRecord- Boolean
-
leaveCategoryCode
leaveCategoryCode- Parameters:
leaveCategoryCode- LeaveCategoryCode- Returns:
- LeaveType
-
getLeaveCategoryCode
-
setLeaveCategoryCode
leaveCategoryCode- Parameters:
leaveCategoryCode- LeaveCategoryCode
-
sgCExempt
-
getSgCExempt
Set this to indicate that the leave type is exempt from superannuation guarantee contribution- Returns:
- sgCExempt
-
setSgCExempt
Set this to indicate that the leave type is exempt from superannuation guarantee contribution- Parameters:
sgCExempt- Boolean
-
equals
-
hashCode
-
toString
-