Package com.xero.models.payrolluk
Class LeaveType
java.lang.Object
com.xero.models.payrolluk.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 leaveShows whether the leave type is a statutory leave type or notXero unique identifier for the 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 leaveisStatutoryLeave(Boolean isStatutoryLeave) Shows whether the leave type is a statutory leave type or notXero unique identifier for the 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 leavevoidsetIsStatutoryLeave(Boolean isStatutoryLeave) Shows whether the leave type is a statutory leave type or notvoidsetLeaveID(UUID leaveID) Xero unique identifier for the 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
-
leaveID
-
getLeaveID
-
setLeaveID
Xero unique identifier for the leave- Parameters:
leaveID- UUID
-
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
-
isStatutoryLeave
-
getIsStatutoryLeave
Shows whether the leave type is a statutory leave type or not- Returns:
- isStatutoryLeave
-
setIsStatutoryLeave
Shows whether the leave type is a statutory leave type or not- Parameters:
isStatutoryLeave- Boolean
-
equals
-
hashCode
-
toString
-