Package com.xero.models.payrollau
Class LeaveApplication
- java.lang.Object
-
- com.xero.models.payrollau.LeaveApplication
-
public class LeaveApplication extends Object
LeaveApplication
-
-
Constructor Summary
Constructors Constructor Description LeaveApplication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LeaveApplicationaddLeavePeriodsItem(LeavePeriod leavePeriodsItem)leavePeriodsLeaveApplicationaddValidationErrorsItem(ValidationError validationErrorsItem)Displays array of validation error messages from the APILeaveApplicationdescription(String description)The Description of the LeaveLeaveApplicationemployeeID(UUID employeeID)The Xero identifier for Payroll EmployeeLeaveApplicationendDate(String endDate)End date of the leave (YYYY-MM-DD)booleanequals(Object o)StringgetDescription()The Description of the LeaveUUIDgetEmployeeID()The Xero identifier for Payroll EmployeeStringgetEndDate()End date of the leave (YYYY-MM-DD)org.threeten.bp.LocalDategetEndDateAsDate()End date of the leave (YYYY-MM-DD)UUIDgetLeaveApplicationID()The Xero identifier for Payroll EmployeeList<LeavePeriod>getLeavePeriods()Get leavePeriodsUUIDgetLeaveTypeID()The Xero identifier for Leave TypeStringgetStartDate()Start date of the leave (YYYY-MM-DD)org.threeten.bp.LocalDategetStartDateAsDate()Start date of the leave (YYYY-MM-DD)StringgetTitle()The title of the leaveStringgetUpdatedDateUTC()Last modified timestamporg.threeten.bp.OffsetDateTimegetUpdatedDateUTCAsDate()Last modified timestampList<ValidationError>getValidationErrors()Displays array of validation error messages from the APIinthashCode()LeaveApplicationleaveApplicationID(UUID leaveApplicationID)The Xero identifier for Payroll EmployeeLeaveApplicationleavePeriods(List<LeavePeriod> leavePeriods)leavePeriodsLeaveApplicationleaveTypeID(UUID leaveTypeID)The Xero identifier for Leave TypevoidsetDescription(String description)The Description of the LeavevoidsetEmployeeID(UUID employeeID)The Xero identifier for Payroll EmployeevoidsetEndDate(String endDate)End date of the leave (YYYY-MM-DD)voidsetEndDate(org.threeten.bp.LocalDate endDate)End date of the leave (YYYY-MM-DD)voidsetLeaveApplicationID(UUID leaveApplicationID)The Xero identifier for Payroll EmployeevoidsetLeavePeriods(List<LeavePeriod> leavePeriods)leavePeriodsvoidsetLeaveTypeID(UUID leaveTypeID)The Xero identifier for Leave TypevoidsetStartDate(String startDate)Start date of the leave (YYYY-MM-DD)voidsetStartDate(org.threeten.bp.LocalDate startDate)Start date of the leave (YYYY-MM-DD)voidsetTitle(String title)The title of the leavevoidsetValidationErrors(List<ValidationError> validationErrors)Displays array of validation error messages from the APILeaveApplicationstartDate(String startDate)Start date of the leave (YYYY-MM-DD)LeaveApplicationtitle(String title)The title of the leaveStringtoString()LeaveApplicationvalidationErrors(List<ValidationError> validationErrors)Displays array of validation error messages from the API
-
-
-
Method Detail
-
leaveApplicationID
public LeaveApplication leaveApplicationID(UUID leaveApplicationID)
The Xero identifier for Payroll Employee- Parameters:
leaveApplicationID- UUID- Returns:
- LeaveApplication
-
getLeaveApplicationID
public UUID getLeaveApplicationID()
The Xero identifier for Payroll Employee- Returns:
- leaveApplicationID
-
setLeaveApplicationID
public void setLeaveApplicationID(UUID leaveApplicationID)
The Xero identifier for Payroll Employee- Parameters:
leaveApplicationID- UUID
-
employeeID
public LeaveApplication employeeID(UUID employeeID)
The Xero identifier for Payroll Employee- Parameters:
employeeID- UUID- Returns:
- LeaveApplication
-
getEmployeeID
public UUID getEmployeeID()
The Xero identifier for Payroll Employee- Returns:
- employeeID
-
setEmployeeID
public void setEmployeeID(UUID employeeID)
The Xero identifier for Payroll Employee- Parameters:
employeeID- UUID
-
leaveTypeID
public LeaveApplication leaveTypeID(UUID leaveTypeID)
The Xero identifier for Leave Type- Parameters:
leaveTypeID- UUID- Returns:
- LeaveApplication
-
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
-
title
public LeaveApplication title(String title)
The title of the leave- Parameters:
title- String- Returns:
- LeaveApplication
-
getTitle
public String getTitle()
The title of the leave- Returns:
- title
-
setTitle
public void setTitle(String title)
The title of the leave- Parameters:
title- String
-
startDate
public LeaveApplication startDate(String startDate)
Start date of the leave (YYYY-MM-DD)- Parameters:
startDate- String- Returns:
- LeaveApplication
-
getStartDate
public String getStartDate()
Start date of the leave (YYYY-MM-DD)- Returns:
- startDate
-
getStartDateAsDate
public org.threeten.bp.LocalDate getStartDateAsDate()
Start date of the leave (YYYY-MM-DD)- Returns:
- LocalDate
-
setStartDate
public void setStartDate(String startDate)
Start date of the leave (YYYY-MM-DD)- Parameters:
startDate- String
-
setStartDate
public void setStartDate(org.threeten.bp.LocalDate startDate)
Start date of the leave (YYYY-MM-DD)- Parameters:
startDate- LocalDateTime
-
endDate
public LeaveApplication endDate(String endDate)
End date of the leave (YYYY-MM-DD)- Parameters:
endDate- String- Returns:
- LeaveApplication
-
getEndDate
public String getEndDate()
End date of the leave (YYYY-MM-DD)- Returns:
- endDate
-
getEndDateAsDate
public org.threeten.bp.LocalDate getEndDateAsDate()
End date of the leave (YYYY-MM-DD)- Returns:
- LocalDate
-
setEndDate
public void setEndDate(String endDate)
End date of the leave (YYYY-MM-DD)- Parameters:
endDate- String
-
setEndDate
public void setEndDate(org.threeten.bp.LocalDate endDate)
End date of the leave (YYYY-MM-DD)- Parameters:
endDate- LocalDateTime
-
description
public LeaveApplication description(String description)
The Description of the Leave- Parameters:
description- String- Returns:
- LeaveApplication
-
getDescription
public String getDescription()
The Description of the Leave- Returns:
- description
-
setDescription
public void setDescription(String description)
The Description of the Leave- Parameters:
description- String
-
leavePeriods
public LeaveApplication leavePeriods(List<LeavePeriod> leavePeriods)
leavePeriods- Parameters:
leavePeriods- List<LeavePeriod>- Returns:
- LeaveApplication
-
addLeavePeriodsItem
public LeaveApplication addLeavePeriodsItem(LeavePeriod leavePeriodsItem)
leavePeriods- Parameters:
leavePeriodsItem- LeavePeriod- Returns:
- LeaveApplication
-
getLeavePeriods
public List<LeavePeriod> getLeavePeriods()
Get leavePeriods- Returns:
- leavePeriods
-
setLeavePeriods
public void setLeavePeriods(List<LeavePeriod> leavePeriods)
leavePeriods- Parameters:
leavePeriods- List<LeavePeriod>
-
getUpdatedDateUTC
public String getUpdatedDateUTC()
Last modified timestamp- Returns:
- updatedDateUTC
-
getUpdatedDateUTCAsDate
public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate()
Last modified timestamp- Returns:
- OffsetDateTime
-
validationErrors
public LeaveApplication validationErrors(List<ValidationError> validationErrors)
Displays array of validation error messages from the API- Parameters:
validationErrors- List<ValidationError>- Returns:
- LeaveApplication
-
addValidationErrorsItem
public LeaveApplication addValidationErrorsItem(ValidationError validationErrorsItem)
Displays array of validation error messages from the API- Parameters:
validationErrorsItem- ValidationError- Returns:
- LeaveApplication
-
getValidationErrors
public List<ValidationError> getValidationErrors()
Displays array of validation error messages from the API- Returns:
- validationErrors
-
setValidationErrors
public void setValidationErrors(List<ValidationError> validationErrors)
Displays array of validation error messages from the API- Parameters:
validationErrors- List<ValidationError>
-
-