Package com.xero.models.payrollau
Class LeaveBalance
- java.lang.Object
-
- com.xero.models.payrollau.LeaveBalance
-
public class LeaveBalance extends Object
LeaveBalance
-
-
Constructor Summary
Constructors Constructor Description LeaveBalance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetLeaveName()The name of the leave typeStringgetLeaveTypeID()Identifier of the leave type (see PayItems)DoublegetNumberOfUnits()The balance of the leave availableStringgetTypeOfUnits()The type of units as specified by the LeaveType (see PayItems)inthashCode()LeaveBalanceleaveName(String leaveName)The name of the leave typeLeaveBalanceleaveTypeID(String leaveTypeID)Identifier of the leave type (see PayItems)LeaveBalancenumberOfUnits(Double numberOfUnits)The balance of the leave availablevoidsetLeaveName(String leaveName)The name of the leave typevoidsetLeaveTypeID(String leaveTypeID)Identifier of the leave type (see PayItems)voidsetNumberOfUnits(Double numberOfUnits)The balance of the leave availablevoidsetTypeOfUnits(String typeOfUnits)The type of units as specified by the LeaveType (see PayItems)StringtoString()LeaveBalancetypeOfUnits(String typeOfUnits)The type of units as specified by the LeaveType (see PayItems)
-
-
-
Method Detail
-
leaveName
public LeaveBalance leaveName(String leaveName)
The name of the leave type- Parameters:
leaveName- String- Returns:
- LeaveBalance
-
getLeaveName
public String getLeaveName()
The name of the leave type- Returns:
- leaveName
-
setLeaveName
public void setLeaveName(String leaveName)
The name of the leave type- Parameters:
leaveName- String
-
leaveTypeID
public LeaveBalance leaveTypeID(String leaveTypeID)
Identifier of the leave type (see PayItems)- Parameters:
leaveTypeID- String- Returns:
- LeaveBalance
-
getLeaveTypeID
public String getLeaveTypeID()
Identifier of the leave type (see PayItems)- Returns:
- leaveTypeID
-
setLeaveTypeID
public void setLeaveTypeID(String leaveTypeID)
Identifier of the leave type (see PayItems)- Parameters:
leaveTypeID- String
-
numberOfUnits
public LeaveBalance numberOfUnits(Double numberOfUnits)
The balance of the leave available- Parameters:
numberOfUnits- Double- Returns:
- LeaveBalance
-
getNumberOfUnits
public Double getNumberOfUnits()
The balance of the leave available- Returns:
- numberOfUnits
-
setNumberOfUnits
public void setNumberOfUnits(Double numberOfUnits)
The balance of the leave available- Parameters:
numberOfUnits- Double
-
typeOfUnits
public LeaveBalance typeOfUnits(String typeOfUnits)
The type of units as specified by the LeaveType (see PayItems)- Parameters:
typeOfUnits- String- Returns:
- LeaveBalance
-
getTypeOfUnits
public String getTypeOfUnits()
The type of units as specified by the LeaveType (see PayItems)- Returns:
- typeOfUnits
-
setTypeOfUnits
public void setTypeOfUnits(String typeOfUnits)
The type of units as specified by the LeaveType (see PayItems)- Parameters:
typeOfUnits- String
-
-