Package com.xero.models.payrollnz
Class EmployeeStatutoryLeaveBalance
- java.lang.Object
-
- com.xero.models.payrollnz.EmployeeStatutoryLeaveBalance
-
public class EmployeeStatutoryLeaveBalance extends Object
EmployeeStatutoryLeaveBalance
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEmployeeStatutoryLeaveBalance.LeaveTypeEnumThe type of statutory leavestatic classEmployeeStatutoryLeaveBalance.UnitsEnumThe units will be \"Hours\"
-
Constructor Summary
Constructors Constructor Description EmployeeStatutoryLeaveBalance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmployeeStatutoryLeaveBalancebalanceRemaining(Double balanceRemaining)The balance remaining for the corresponding leave type as of specified date.booleanequals(Object o)DoublegetBalanceRemaining()The balance remaining for the corresponding leave type as of specified date.EmployeeStatutoryLeaveBalance.LeaveTypeEnumgetLeaveType()The type of statutory leaveEmployeeStatutoryLeaveBalance.UnitsEnumgetUnits()The units will be \"Hours\"inthashCode()EmployeeStatutoryLeaveBalanceleaveType(EmployeeStatutoryLeaveBalance.LeaveTypeEnum leaveType)The type of statutory leavevoidsetBalanceRemaining(Double balanceRemaining)The balance remaining for the corresponding leave type as of specified date.voidsetLeaveType(EmployeeStatutoryLeaveBalance.LeaveTypeEnum leaveType)The type of statutory leavevoidsetUnits(EmployeeStatutoryLeaveBalance.UnitsEnum units)The units will be \"Hours\"StringtoString()EmployeeStatutoryLeaveBalanceunits(EmployeeStatutoryLeaveBalance.UnitsEnum units)The units will be \"Hours\"
-
-
-
Method Detail
-
leaveType
public EmployeeStatutoryLeaveBalance leaveType(EmployeeStatutoryLeaveBalance.LeaveTypeEnum leaveType)
The type of statutory leave- Parameters:
leaveType- LeaveTypeEnum- Returns:
- EmployeeStatutoryLeaveBalance
-
getLeaveType
public EmployeeStatutoryLeaveBalance.LeaveTypeEnum getLeaveType()
The type of statutory leave- Returns:
- leaveType
-
setLeaveType
public void setLeaveType(EmployeeStatutoryLeaveBalance.LeaveTypeEnum leaveType)
The type of statutory leave- Parameters:
leaveType- LeaveTypeEnum
-
balanceRemaining
public EmployeeStatutoryLeaveBalance balanceRemaining(Double balanceRemaining)
The balance remaining for the corresponding leave type as of specified date.- Parameters:
balanceRemaining- Double- Returns:
- EmployeeStatutoryLeaveBalance
-
getBalanceRemaining
public Double getBalanceRemaining()
The balance remaining for the corresponding leave type as of specified date.- Returns:
- balanceRemaining
-
setBalanceRemaining
public void setBalanceRemaining(Double balanceRemaining)
The balance remaining for the corresponding leave type as of specified date.- Parameters:
balanceRemaining- Double
-
units
public EmployeeStatutoryLeaveBalance units(EmployeeStatutoryLeaveBalance.UnitsEnum units)
The units will be \"Hours\"- Parameters:
units- UnitsEnum- Returns:
- EmployeeStatutoryLeaveBalance
-
getUnits
public EmployeeStatutoryLeaveBalance.UnitsEnum getUnits()
The units will be \"Hours\"- Returns:
- units
-
setUnits
public void setUnits(EmployeeStatutoryLeaveBalance.UnitsEnum units)
The units will be \"Hours\"- Parameters:
units- UnitsEnum
-
-