Class EmployeeLeaveBalance


  • public class EmployeeLeaveBalance
    extends Object
    EmployeeLeaveBalance
    • Constructor Detail

      • EmployeeLeaveBalance

        public EmployeeLeaveBalance()
    • Method Detail

      • name

        public EmployeeLeaveBalance name​(String name)
        Name of the leave type.
        Parameters:
        name - String
        Returns:
        EmployeeLeaveBalance
      • 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
      • leaveTypeID

        public EmployeeLeaveBalance leaveTypeID​(UUID leaveTypeID)
        The Xero identifier for leave type
        Parameters:
        leaveTypeID - UUID
        Returns:
        EmployeeLeaveBalance
      • getLeaveTypeID

        public UUID getLeaveTypeID()
        The Xero identifier for leave type
        Returns:
        leaveTypeID
      • setLeaveTypeID

        public void setLeaveTypeID​(UUID leaveTypeID)
        The Xero identifier for leave type
        Parameters:
        leaveTypeID - UUID
      • balance

        public EmployeeLeaveBalance balance​(Double balance)
        The employees current balance for the corresponding leave type.
        Parameters:
        balance - Double
        Returns:
        EmployeeLeaveBalance
      • getBalance

        public Double getBalance()
        The employees current balance for the corresponding leave type.
        Returns:
        balance
      • setBalance

        public void setBalance​(Double balance)
        The employees current balance for the corresponding leave type.
        Parameters:
        balance - Double
      • typeOfUnits

        public EmployeeLeaveBalance typeOfUnits​(String typeOfUnits)
        The type of the units of the leave.
        Parameters:
        typeOfUnits - String
        Returns:
        EmployeeLeaveBalance
      • getTypeOfUnits

        public String getTypeOfUnits()
        The type of the units of the leave.
        Returns:
        typeOfUnits
      • setTypeOfUnits

        public void setTypeOfUnits​(String typeOfUnits)
        The type of the units of the leave.
        Parameters:
        typeOfUnits - String
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object