Package com.xero.models.payrollnz
Class Timesheet
java.lang.Object
com.xero.models.payrollnz.Timesheet
public class Timesheet extends Object
Timesheet
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTimesheet.StatusEnumStatus of the timesheet -
Constructor Summary
Constructors Constructor Description Timesheet() -
Method Summary
Modifier and Type Method Description TimesheetaddTimesheetLinesItem(TimesheetLine timesheetLinesItem)TimesheetemployeeID(UUID employeeID)TimesheetendDate(org.threeten.bp.LocalDate endDate)booleanequals(Object o)UUIDgetEmployeeID()The Xero identifier for the Employee that the Timesheet is fororg.threeten.bp.LocalDategetEndDate()The End Date of the Timesheet period (YYYY-MM-DD)UUIDgetPayrollCalendarID()The Xero identifier for the Payroll Calandar that the Timesheet applies toorg.threeten.bp.LocalDategetStartDate()The Start Date of the Timesheet period (YYYY-MM-DD)Timesheet.StatusEnumgetStatus()Status of the timesheetUUIDgetTimesheetID()The Xero identifier for a TimesheetList<TimesheetLine>getTimesheetLines()Get timesheetLinesDoublegetTotalHours()The Total Hours of the Timesheetorg.threeten.bp.LocalDateTimegetUpdatedDateUTC()The UTC date time that the Timesheet was last updatedinthashCode()TimesheetpayrollCalendarID(UUID payrollCalendarID)voidsetEmployeeID(UUID employeeID)voidsetEndDate(org.threeten.bp.LocalDate endDate)voidsetPayrollCalendarID(UUID payrollCalendarID)voidsetStartDate(org.threeten.bp.LocalDate startDate)voidsetStatus(Timesheet.StatusEnum status)voidsetTimesheetID(UUID timesheetID)voidsetTimesheetLines(List<TimesheetLine> timesheetLines)voidsetTotalHours(Double totalHours)voidsetUpdatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC)TimesheetstartDate(org.threeten.bp.LocalDate startDate)Timesheetstatus(Timesheet.StatusEnum status)TimesheettimesheetID(UUID timesheetID)TimesheettimesheetLines(List<TimesheetLine> timesheetLines)StringtoString()TimesheettotalHours(Double totalHours)TimesheetupdatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC)
-
Constructor Details
-
Timesheet
public Timesheet()
-
-
Method Details
-
timesheetID
-
getTimesheetID
The Xero identifier for a Timesheet- Returns:
- timesheetID
-
setTimesheetID
-
payrollCalendarID
-
getPayrollCalendarID
The Xero identifier for the Payroll Calandar that the Timesheet applies to- Returns:
- payrollCalendarID
-
setPayrollCalendarID
-
employeeID
-
getEmployeeID
The Xero identifier for the Employee that the Timesheet is for- Returns:
- employeeID
-
setEmployeeID
-
startDate
-
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) -
endDate
-
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) -
status
-
getStatus
Status of the timesheet- Returns:
- status
-
setStatus
-
totalHours
-
getTotalHours
The Total Hours of the Timesheet- Returns:
- totalHours
-
setTotalHours
-
updatedDateUTC
-
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) -
timesheetLines
-
addTimesheetLinesItem
-
getTimesheetLines
Get timesheetLines- Returns:
- timesheetLines
-
setTimesheetLines
-
equals
-
hashCode
public int hashCode() -
toString
-