Package com.xero.models.payrolluk
Class EmployeeLeaveBalance
- java.lang.Object
-
- com.xero.models.payrolluk.EmployeeLeaveBalance
-
public class EmployeeLeaveBalance extends Object
EmployeeLeaveBalance
-
-
Constructor Summary
Constructors Constructor Description EmployeeLeaveBalance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmployeeLeaveBalancebalance(Double balance)The employees current balance for the corresponding leave type.booleanequals(Object o)DoublegetBalance()The employees current balance for the corresponding leave type.UUIDgetLeaveTypeID()The Xero identifier for leave typeStringgetName()Name of the leave type.StringgetTypeOfUnits()The type of the units of the leave.inthashCode()EmployeeLeaveBalanceleaveTypeID(UUID leaveTypeID)The Xero identifier for leave typeEmployeeLeaveBalancename(String name)Name of the leave type.voidsetBalance(Double balance)The employees current balance for the corresponding leave type.voidsetLeaveTypeID(UUID leaveTypeID)The Xero identifier for leave typevoidsetName(String name)Name of the leave type.voidsetTypeOfUnits(String typeOfUnits)The type of the units of the leave.StringtoString()EmployeeLeaveBalancetypeOfUnits(String typeOfUnits)The type of the units of the leave.
-
-
-
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
-
-