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
All Methods Instance Methods Concrete Methods 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)Shows whether the leave type is active or notLeaveTypeisPaidLeave(Boolean isPaidLeave)Indicate that an employee will be paid when taking this type of leaveLeaveTypeleaveTypeID(UUID leaveTypeID)Xero unique identifier for the leave typeLeaveTypename(String name)Name 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 typevoidsetName(String name)Name 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 noteLeaveTypeshowOnPayslip(Boolean showOnPayslip)Indicate that a balance for this leave type to be shown on the employee’s payslipsStringtoString()LeaveTypeupdatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC)UTC timestamp of last update to the leave type note
-
-
-
Method Detail
-
leaveTypeID
public LeaveType leaveTypeID(UUID leaveTypeID)
Xero unique identifier for the leave type- Parameters:
leaveTypeID- UUID- Returns:
- LeaveType
-
getLeaveTypeID
public UUID getLeaveTypeID()
Xero unique identifier for the leave type- Returns:
- leaveTypeID
-
setLeaveTypeID
public void setLeaveTypeID(UUID leaveTypeID)
Xero unique identifier for the leave type- Parameters:
leaveTypeID- UUID
-
name
public LeaveType name(String name)
Name of the leave type- Parameters:
name- String- Returns:
- LeaveType
-
getName
public String getName()
Name of the leave type- Returns:
- name
-
setName
public void setName(String name)
Name of the leave type- Parameters:
name- String
-
isPaidLeave
public LeaveType isPaidLeave(Boolean isPaidLeave)
Indicate that an employee will be paid when taking this type of leave- Parameters:
isPaidLeave- Boolean- Returns:
- LeaveType
-
getIsPaidLeave
public Boolean getIsPaidLeave()
Indicate that an employee will be paid when taking this type of leave- Returns:
- isPaidLeave
-
setIsPaidLeave
public void setIsPaidLeave(Boolean isPaidLeave)
Indicate that an employee will be paid when taking this type of leave- Parameters:
isPaidLeave- Boolean
-
showOnPayslip
public LeaveType showOnPayslip(Boolean showOnPayslip)
Indicate that a balance for this leave type to be shown on the employee’s payslips- Parameters:
showOnPayslip- Boolean- Returns:
- LeaveType
-
getShowOnPayslip
public Boolean getShowOnPayslip()
Indicate that a balance for this leave type to be shown on the employee’s payslips- Returns:
- showOnPayslip
-
setShowOnPayslip
public void setShowOnPayslip(Boolean showOnPayslip)
Indicate that a balance for this leave type to be shown on the employee’s payslips- Parameters:
showOnPayslip- Boolean
-
updatedDateUTC
public LeaveType updatedDateUTC(org.threeten.bp.LocalDateTime 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
public LeaveType isActive(Boolean isActive)
Shows whether the leave type is active or not- Parameters:
isActive- Boolean- Returns:
- LeaveType
-
getIsActive
public Boolean getIsActive()
Shows whether the leave type is active or not- Returns:
- isActive
-
setIsActive
public void setIsActive(Boolean isActive)
Shows whether the leave type is active or not- Parameters:
isActive- Boolean
-
-