Package com.xero.models.payrollnz
Class LeaveType
java.lang.Object
com.xero.models.payrollnz.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 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)LeaveTypeleaveTypeID(UUID leaveTypeID)LeaveTypename(String name)voidsetIsActive(Boolean isActive)voidsetIsPaidLeave(Boolean isPaidLeave)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
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-