Package com.xero.models.payrolluk
Class EmployeeLeave
java.lang.Object
com.xero.models.payrolluk.EmployeeLeave
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPeriodsItem(LeavePeriod periodsItem) The leave period information.description(String description) The description of the leave (max length = 50)endDate(org.threeten.bp.LocalDate endDate) End date of the leave (YYYY-MM-DD)booleanThe description of the leave (max length = 50)org.threeten.bp.LocalDateEnd date of the leave (YYYY-MM-DD)The Xero identifier for LeaveTypeThe Xero identifier for LeaveTypeThe leave period information.org.threeten.bp.LocalDateStart date of the leave (YYYY-MM-DD)org.threeten.bp.LocalDateTimeUTC timestamp of last update to the leave type noteinthashCode()The Xero identifier for LeaveTypeleaveTypeID(UUID leaveTypeID) The Xero identifier for LeaveTypeperiods(List<LeavePeriod> periods) The leave period information.voidsetDescription(String description) The description of the leave (max length = 50)voidsetEndDate(org.threeten.bp.LocalDate endDate) End date of the leave (YYYY-MM-DD)voidsetLeaveID(UUID leaveID) The Xero identifier for LeaveTypevoidsetLeaveTypeID(UUID leaveTypeID) The Xero identifier for LeaveTypevoidsetPeriods(List<LeavePeriod> periods) The leave period information.voidsetStartDate(org.threeten.bp.LocalDate startDate) Start date of the leave (YYYY-MM-DD)voidsetUpdatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC) UTC timestamp of last update to the leave type notestartDate(org.threeten.bp.LocalDate startDate) Start date of the leave (YYYY-MM-DD)toString()updatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC) UTC timestamp of last update to the leave type note
-
Constructor Details
-
EmployeeLeave
public EmployeeLeave()
-
-
Method Details
-
leaveID
The Xero identifier for LeaveType- Parameters:
leaveID- UUID- Returns:
- EmployeeLeave
-
getLeaveID
-
setLeaveID
-
leaveTypeID
The Xero identifier for LeaveType- Parameters:
leaveTypeID- UUID- Returns:
- EmployeeLeave
-
getLeaveTypeID
-
setLeaveTypeID
The Xero identifier for LeaveType- Parameters:
leaveTypeID- UUID
-
description
The description of the leave (max length = 50)- Parameters:
description- String- Returns:
- EmployeeLeave
-
getDescription
-
setDescription
The description of the leave (max length = 50)- Parameters:
description- String
-
startDate
Start date of the leave (YYYY-MM-DD)- Parameters:
startDate- LocalDate- Returns:
- EmployeeLeave
-
getStartDate
public org.threeten.bp.LocalDate getStartDate()Start date of the leave (YYYY-MM-DD)- Returns:
- startDate
-
setStartDate
public void setStartDate(org.threeten.bp.LocalDate startDate) Start date of the leave (YYYY-MM-DD)- Parameters:
startDate- LocalDate
-
endDate
End date of the leave (YYYY-MM-DD)- Parameters:
endDate- LocalDate- Returns:
- EmployeeLeave
-
getEndDate
public org.threeten.bp.LocalDate getEndDate()End date of the leave (YYYY-MM-DD)- Returns:
- endDate
-
setEndDate
public void setEndDate(org.threeten.bp.LocalDate endDate) End date of the leave (YYYY-MM-DD)- Parameters:
endDate- LocalDate
-
periods
The leave period information. The StartDate, EndDate and NumberOfUnits needs to be specified when you do not want to calculate NumberOfUnits automatically. Using incorrect period StartDate and EndDate will result in automatic computation of the NumberOfUnits.- Parameters:
periods- List<LeavePeriod>- Returns:
- EmployeeLeave
-
addPeriodsItem
The leave period information. The StartDate, EndDate and NumberOfUnits needs to be specified when you do not want to calculate NumberOfUnits automatically. Using incorrect period StartDate and EndDate will result in automatic computation of the NumberOfUnits.- Parameters:
periodsItem- LeavePeriod- Returns:
- EmployeeLeave
-
getPeriods
The leave period information. The StartDate, EndDate and NumberOfUnits needs to be specified when you do not want to calculate NumberOfUnits automatically. Using incorrect period StartDate and EndDate will result in automatic computation of the NumberOfUnits.- Returns:
- periods
-
setPeriods
The leave period information. The StartDate, EndDate and NumberOfUnits needs to be specified when you do not want to calculate NumberOfUnits automatically. Using incorrect period StartDate and EndDate will result in automatic computation of the NumberOfUnits.- Parameters:
periods- List<LeavePeriod>
-
updatedDateUTC
UTC timestamp of last update to the leave type note- Parameters:
updatedDateUTC- LocalDateTime- Returns:
- EmployeeLeave
-
getUpdatedDateUTC
public org.threeten.bp.LocalDateTime getUpdatedDateUTC()UTC timestamp of last update to the leave type note- Returns:
- updatedDateUTC
-
setUpdatedDateUTC
public void setUpdatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC) UTC timestamp of last update to the leave type note- Parameters:
updatedDateUTC- LocalDateTime
-
equals
-
hashCode
-
toString
-