Package com.xero.models.payrolluk
Class Timesheet
java.lang.Object
com.xero.models.payrolluk.Timesheet
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTimesheetLinesItem(TimesheetLine timesheetLinesItem) timesheetLinesemployeeID(UUID employeeID) The Xero identifier for the Employee that the Timesheet is forendDate(org.threeten.bp.LocalDate endDate) The End Date of the Timesheet period (YYYY-MM-DD)booleanThe Xero identifier for the Employee that the Timesheet is fororg.threeten.bp.LocalDateThe End Date of the Timesheet period (YYYY-MM-DD)The Xero identifier for the Payroll Calendar that the Timesheet applies toorg.threeten.bp.LocalDateThe Start Date of the Timesheet period (YYYY-MM-DD)Status of the timesheetThe Xero identifier for a TimesheetGet timesheetLinesThe Total Hours of the Timesheetorg.threeten.bp.LocalDateTimeThe UTC date time that the Timesheet was last updatedinthashCode()payrollCalendarID(UUID payrollCalendarID) The Xero identifier for the Payroll Calendar that the Timesheet applies tovoidsetEmployeeID(UUID employeeID) The Xero identifier for the Employee that the Timesheet is forvoidsetEndDate(org.threeten.bp.LocalDate endDate) The End Date of the Timesheet period (YYYY-MM-DD)voidsetPayrollCalendarID(UUID payrollCalendarID) The Xero identifier for the Payroll Calendar that the Timesheet applies tovoidsetStartDate(org.threeten.bp.LocalDate startDate) The Start Date of the Timesheet period (YYYY-MM-DD)voidsetStatus(Timesheet.StatusEnum status) Status of the timesheetvoidsetTimesheetID(UUID timesheetID) The Xero identifier for a TimesheetvoidsetTimesheetLines(List<TimesheetLine> timesheetLines) timesheetLinesvoidsetTotalHours(Double totalHours) The Total Hours of the TimesheetvoidsetUpdatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC) The UTC date time that the Timesheet was last updatedstartDate(org.threeten.bp.LocalDate startDate) The Start Date of the Timesheet period (YYYY-MM-DD)status(Timesheet.StatusEnum status) Status of the timesheettimesheetID(UUID timesheetID) The Xero identifier for a TimesheettimesheetLines(List<TimesheetLine> timesheetLines) timesheetLinestoString()totalHours(Double totalHours) The Total Hours of the TimesheetupdatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC) The UTC date time that the Timesheet was last updated
-
Constructor Details
-
Timesheet
public Timesheet()
-
-
Method Details
-
timesheetID
-
getTimesheetID
-
setTimesheetID
The Xero identifier for a Timesheet- Parameters:
timesheetID- UUID
-
payrollCalendarID
-
getPayrollCalendarID
The Xero identifier for the Payroll Calendar that the Timesheet applies to- Returns:
- payrollCalendarID
-
setPayrollCalendarID
The Xero identifier for the Payroll Calendar that the Timesheet applies to- Parameters:
payrollCalendarID- UUID
-
employeeID
-
getEmployeeID
The Xero identifier for the Employee that the Timesheet is for- Returns:
- employeeID
-
setEmployeeID
The Xero identifier for the Employee that the Timesheet is for- Parameters:
employeeID- UUID
-
startDate
The Start Date of the Timesheet period (YYYY-MM-DD)- Parameters:
startDate- LocalDate- Returns:
- Timesheet
-
getStartDate
public org.threeten.bp.LocalDate getStartDate()The Start Date of the Timesheet period (YYYY-MM-DD)- Returns:
- startDate
-
setStartDate
public void setStartDate(org.threeten.bp.LocalDate startDate) The Start Date of the Timesheet period (YYYY-MM-DD)- Parameters:
startDate- LocalDate
-
endDate
The End Date of the Timesheet period (YYYY-MM-DD)- Parameters:
endDate- LocalDate- Returns:
- Timesheet
-
getEndDate
public org.threeten.bp.LocalDate getEndDate()The End Date of the Timesheet period (YYYY-MM-DD)- Returns:
- endDate
-
setEndDate
public void setEndDate(org.threeten.bp.LocalDate endDate) The End Date of the Timesheet period (YYYY-MM-DD)- Parameters:
endDate- LocalDate
-
status
Status of the timesheet- Parameters:
status- StatusEnum- Returns:
- Timesheet
-
getStatus
-
setStatus
Status of the timesheet- Parameters:
status- StatusEnum
-
totalHours
-
getTotalHours
-
setTotalHours
The Total Hours of the Timesheet- Parameters:
totalHours- Double
-
updatedDateUTC
The UTC date time that the Timesheet was last updated- Parameters:
updatedDateUTC- LocalDateTime- Returns:
- Timesheet
-
getUpdatedDateUTC
public org.threeten.bp.LocalDateTime getUpdatedDateUTC()The UTC date time that the Timesheet was last updated- Returns:
- updatedDateUTC
-
setUpdatedDateUTC
public void setUpdatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC) The UTC date time that the Timesheet was last updated- Parameters:
updatedDateUTC- LocalDateTime
-
timesheetLines
timesheetLines- Parameters:
timesheetLines- List<TimesheetLine>- Returns:
- Timesheet
-
addTimesheetLinesItem
timesheetLines- Parameters:
timesheetLinesItem- TimesheetLine- Returns:
- Timesheet
-
getTimesheetLines
-
setTimesheetLines
timesheetLines- Parameters:
timesheetLines- List<TimesheetLine>
-
equals
-
hashCode
-
toString
-