Package com.xero.models.payrollnz
Class LeaveType
java.lang.Object
com.xero.models.payrollnz.LeaveType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanShows whether the leave type is active or notIndicate that an employee will be paid when taking this type of leaveXero unique identifier for the leave typegetName()Name of the leave typeIndicate that a balance for this leave type to be shown on the employee’s payslipsorg.threeten.bp.LocalDateTimeUTC timestamp of last update to the leave type noteinthashCode()Shows whether the leave type is active or notisPaidLeave(Boolean isPaidLeave) Indicate that an employee will be paid when taking this type of leaveleaveTypeID(UUID leaveTypeID) Xero unique identifier for the leave typeName of the leave typevoidsetIsActive(Boolean isActive) Shows whether the leave type is active or notvoidsetIsPaidLeave(Boolean isPaidLeave) Indicate that an employee will be paid when taking this type of leavevoidsetLeaveTypeID(UUID leaveTypeID) Xero unique identifier for the leave typevoidName of the leave typevoidsetShowOnPayslip(Boolean showOnPayslip) Indicate that a balance for this leave type to be shown on the employee’s payslipsvoidsetUpdatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC) UTC timestamp of last update to the leave type noteshowOnPayslip(Boolean showOnPayslip) Indicate that a balance for this leave type to be shown on the employee’s payslipstoString()updatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC) UTC timestamp of last update to the leave type note
-
Constructor Details
-
LeaveType
public LeaveType()
-
-
Method Details
-
leaveTypeID
-
getLeaveTypeID
-
setLeaveTypeID
Xero unique identifier for the leave type- Parameters:
leaveTypeID- UUID
-
name
-
getName
-
setName
-
isPaidLeave
-
getIsPaidLeave
Indicate that an employee will be paid when taking this type of leave- Returns:
- isPaidLeave
-
setIsPaidLeave
Indicate that an employee will be paid when taking this type of leave- Parameters:
isPaidLeave- Boolean
-
showOnPayslip
-
getShowOnPayslip
Indicate that a balance for this leave type to be shown on the employee’s payslips- Returns:
- showOnPayslip
-
setShowOnPayslip
Indicate that a balance for this leave type to be shown on the employee’s payslips- Parameters:
showOnPayslip- Boolean
-
updatedDateUTC
UTC timestamp of last update to the leave type note- Parameters:
updatedDateUTC- LocalDateTime- Returns:
- LeaveType
-
getUpdatedDateUTC
public org.threeten.bp.LocalDateTime getUpdatedDateUTC()UTC timestamp of last update to the leave type note- Returns:
- updatedDateUTC
-
setUpdatedDateUTC
public void setUpdatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC) UTC timestamp of last update to the leave type note- Parameters:
updatedDateUTC- LocalDateTime
-
isActive
-
getIsActive
-
setIsActive
Shows whether the leave type is active or not- Parameters:
isActive- Boolean
-
equals
-
hashCode
-
toString
-