public class Timesheet extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Timesheet.StatusEnum
Status of the timesheet
|
| Constructor and Description |
|---|
Timesheet() |
| Modifier and Type | Method and Description |
|---|---|
Timesheet |
addTimesheetLinesItem(TimesheetLine timesheetLinesItem) |
Timesheet |
employeeID(UUID employeeID) |
Timesheet |
endDate(org.threeten.bp.LocalDate endDate) |
boolean |
equals(Object o) |
UUID |
getEmployeeID()
The Xero identifier for the Employee that the Timesheet is for
|
org.threeten.bp.LocalDate |
getEndDate()
The End Date of the Timesheet period (YYYY-MM-DD)
|
UUID |
getPayrollCalendarID()
The Xero identifier for the Payroll Calandar that the Timesheet applies to
|
org.threeten.bp.LocalDate |
getStartDate()
The Start Date of the Timesheet period (YYYY-MM-DD)
|
Timesheet.StatusEnum |
getStatus()
Status of the timesheet
|
UUID |
getTimesheetID()
The Xero identifier for a Timesheet
|
List<TimesheetLine> |
getTimesheetLines()
Get timesheetLines
|
Double |
getTotalHours()
The Total Hours of the Timesheet
|
org.threeten.bp.LocalDateTime |
getUpdatedDateUTC()
The UTC date time that the Timesheet was last updated
|
int |
hashCode() |
Timesheet |
payrollCalendarID(UUID payrollCalendarID) |
void |
setEmployeeID(UUID employeeID) |
void |
setEndDate(org.threeten.bp.LocalDate endDate) |
void |
setPayrollCalendarID(UUID payrollCalendarID) |
void |
setStartDate(org.threeten.bp.LocalDate startDate) |
void |
setStatus(Timesheet.StatusEnum status) |
void |
setTimesheetID(UUID timesheetID) |
void |
setTimesheetLines(List<TimesheetLine> timesheetLines) |
void |
setTotalHours(Double totalHours) |
void |
setUpdatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC) |
Timesheet |
startDate(org.threeten.bp.LocalDate startDate) |
Timesheet |
status(Timesheet.StatusEnum status) |
Timesheet |
timesheetID(UUID timesheetID) |
Timesheet |
timesheetLines(List<TimesheetLine> timesheetLines) |
String |
toString() |
Timesheet |
totalHours(Double totalHours) |
Timesheet |
updatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC) |
public UUID getTimesheetID()
public void setTimesheetID(UUID timesheetID)
public UUID getPayrollCalendarID()
public void setPayrollCalendarID(UUID payrollCalendarID)
public UUID getEmployeeID()
public void setEmployeeID(UUID employeeID)
public Timesheet startDate(org.threeten.bp.LocalDate startDate)
public org.threeten.bp.LocalDate getStartDate()
public void setStartDate(org.threeten.bp.LocalDate startDate)
public Timesheet endDate(org.threeten.bp.LocalDate endDate)
public org.threeten.bp.LocalDate getEndDate()
public void setEndDate(org.threeten.bp.LocalDate endDate)
public Timesheet status(Timesheet.StatusEnum status)
public Timesheet.StatusEnum getStatus()
public void setStatus(Timesheet.StatusEnum status)
public Double getTotalHours()
public void setTotalHours(Double totalHours)
public Timesheet updatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC)
public org.threeten.bp.LocalDateTime getUpdatedDateUTC()
public void setUpdatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC)
public Timesheet timesheetLines(List<TimesheetLine> timesheetLines)
public Timesheet addTimesheetLinesItem(TimesheetLine timesheetLinesItem)
public List<TimesheetLine> getTimesheetLines()
public void setTimesheetLines(List<TimesheetLine> timesheetLines)
Copyright © 2020. All rights reserved.