Package com.xero.models.payrolluk
Class LeaveType
java.lang.Object
com.xero.models.payrolluk.LeaveType
public class LeaveType extends Object
LeaveType
-
Constructor Summary
Constructors Constructor Description LeaveType() -
Method Summary
Modifier and Type Method Description booleanequals(Object o)BooleangetIsActive()Shows whether the leave type is active or notBooleangetIsPaidLeave()Indicate that an employee will be paid when taking this type of leaveBooleangetIsStatutoryLeave()Shows whether the leave type is a statutory leave type or notUUIDgetLeaveID()Xero unique identifier for the leaveUUIDgetLeaveTypeID()Xero unique identifier for the leave typeStringgetName()Name of the leave typeBooleangetShowOnPayslip()Indicate that a balance for this leave type to be shown on the employee’s payslipsorg.threeten.bp.LocalDateTimegetUpdatedDateUTC()UTC timestamp of last update to the leave type noteinthashCode()LeaveTypeisActive(Boolean isActive)LeaveTypeisPaidLeave(Boolean isPaidLeave)LeaveTypeisStatutoryLeave(Boolean isStatutoryLeave)LeaveTypeleaveID(UUID leaveID)LeaveTypeleaveTypeID(UUID leaveTypeID)LeaveTypename(String name)voidsetIsActive(Boolean isActive)voidsetIsPaidLeave(Boolean isPaidLeave)voidsetIsStatutoryLeave(Boolean isStatutoryLeave)voidsetLeaveID(UUID leaveID)voidsetLeaveTypeID(UUID leaveTypeID)voidsetName(String name)voidsetShowOnPayslip(Boolean showOnPayslip)voidsetUpdatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC)LeaveTypeshowOnPayslip(Boolean showOnPayslip)StringtoString()LeaveTypeupdatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC)
-
Constructor Details
-
LeaveType
public LeaveType()
-
-
Method Details
-
leaveID
-
getLeaveID
Xero unique identifier for the leave- Returns:
- leaveID
-
setLeaveID
-
leaveTypeID
-
getLeaveTypeID
Xero unique identifier for the leave type- Returns:
- leaveTypeID
-
setLeaveTypeID
-
name
-
getName
Name of the leave type- Returns:
- name
-
setName
-
isPaidLeave
-
getIsPaidLeave
Indicate that an employee will be paid when taking this type of leave- Returns:
- isPaidLeave
-
setIsPaidLeave
-
showOnPayslip
-
getShowOnPayslip
Indicate that a balance for this leave type to be shown on the employee’s payslips- Returns:
- showOnPayslip
-
setShowOnPayslip
-
updatedDateUTC
-
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) -
isActive
-
getIsActive
Shows whether the leave type is active or not- Returns:
- isActive
-
setIsActive
-
isStatutoryLeave
-
getIsStatutoryLeave
Shows whether the leave type is a statutory leave type or not- Returns:
- isStatutoryLeave
-
setIsStatutoryLeave
-
equals
-
hashCode
public int hashCode() -
toString
-