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
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 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)Shows whether the leave type is active or notLeaveTypeisPaidLeave(Boolean isPaidLeave)Indicate that an employee will be paid when taking this type of leaveLeaveTypeisStatutoryLeave(Boolean isStatutoryLeave)Shows whether the leave type is a statutory leave type or notLeaveTypeleaveID(UUID leaveID)Xero unique identifier for the 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 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 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
-
leaveID
public LeaveType leaveID(UUID leaveID)
Xero unique identifier for the leave- Parameters:
leaveID- UUID- Returns:
- LeaveType
-
getLeaveID
public UUID getLeaveID()
Xero unique identifier for the leave- Returns:
- leaveID
-
setLeaveID
public void setLeaveID(UUID leaveID)
Xero unique identifier for the leave- Parameters:
leaveID- UUID
-
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
-
isStatutoryLeave
public LeaveType isStatutoryLeave(Boolean isStatutoryLeave)
Shows whether the leave type is a statutory leave type or not- Parameters:
isStatutoryLeave- Boolean- Returns:
- LeaveType
-
getIsStatutoryLeave
public Boolean getIsStatutoryLeave()
Shows whether the leave type is a statutory leave type or not- Returns:
- isStatutoryLeave
-
setIsStatutoryLeave
public void setIsStatutoryLeave(Boolean isStatutoryLeave)
Shows whether the leave type is a statutory leave type or not- Parameters:
isStatutoryLeave- Boolean
-
-