Class LeaveType


  • public class LeaveType
    extends Object
    LeaveType
    • Constructor Detail

      • LeaveType

        public LeaveType()
    • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object