Class EmployeeLeaveBalance

java.lang.Object
com.xero.models.payrollnz.EmployeeLeaveBalance

public class EmployeeLeaveBalance
extends Object
EmployeeLeaveBalance
  • Constructor Details

    • EmployeeLeaveBalance

      public EmployeeLeaveBalance()
  • Method Details

    • name

      public EmployeeLeaveBalance name​(String name)
    • getName

      public String getName()
      Name of the leave type.
      Returns:
      name
    • setName

      public void setName​(String name)
    • leaveTypeID

      public EmployeeLeaveBalance leaveTypeID​(UUID leaveTypeID)
    • getLeaveTypeID

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

      public void setLeaveTypeID​(UUID leaveTypeID)
    • balance

      public EmployeeLeaveBalance balance​(Double balance)
    • getBalance

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

      public void setBalance​(Double balance)
    • typeOfUnits

      public EmployeeLeaveBalance typeOfUnits​(String typeOfUnits)
    • getTypeOfUnits

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

      public void setTypeOfUnits​(String typeOfUnits)
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object