Package com.xero.models.payrollau
Class Timesheet
java.lang.Object
com.xero.models.payrollau.Timesheet
public class Timesheet extends Object
Timesheet
-
Constructor Summary
Constructors Constructor Description Timesheet() -
Method Summary
Modifier and Type Method Description TimesheetaddTimesheetLinesItem(TimesheetLine timesheetLinesItem)TimesheetaddValidationErrorsItem(ValidationError validationErrorsItem)TimesheetemployeeID(UUID employeeID)TimesheetendDate(String endDate)booleanequals(Object o)UUIDgetEmployeeID()The Xero identifier for an employeeStringgetEndDate()Period end date (YYYY-MM-DD)org.threeten.bp.LocalDategetEndDateAsDate()DoublegetHours()Timesheet total hoursStringgetStartDate()Period start date (YYYY-MM-DD)org.threeten.bp.LocalDategetStartDateAsDate()TimesheetStatusgetStatus()Get statusUUIDgetTimesheetID()The Xero identifier for a Payroll TimesheetList<TimesheetLine>getTimesheetLines()Get timesheetLinesStringgetUpdatedDateUTC()Last modified timestamporg.threeten.bp.OffsetDateTimegetUpdatedDateUTCAsDate()List<ValidationError>getValidationErrors()Displays array of validation error messages from the APIinthashCode()Timesheethours(Double hours)voidsetEmployeeID(UUID employeeID)voidsetEndDate(String endDate)voidsetEndDate(org.threeten.bp.LocalDate endDate)voidsetHours(Double hours)voidsetStartDate(String startDate)voidsetStartDate(org.threeten.bp.LocalDate startDate)voidsetStatus(TimesheetStatus status)voidsetTimesheetID(UUID timesheetID)voidsetTimesheetLines(List<TimesheetLine> timesheetLines)voidsetValidationErrors(List<ValidationError> validationErrors)TimesheetstartDate(String startDate)Timesheetstatus(TimesheetStatus status)TimesheettimesheetID(UUID timesheetID)TimesheettimesheetLines(List<TimesheetLine> timesheetLines)StringtoString()TimesheetvalidationErrors(List<ValidationError> validationErrors)
-
Constructor Details
-
Timesheet
public Timesheet()
-
-
Method Details
-
employeeID
-
getEmployeeID
The Xero identifier for an employee- Returns:
- employeeID
-
setEmployeeID
-
startDate
-
getStartDate
Period start date (YYYY-MM-DD)- Returns:
- startDate
-
getStartDateAsDate
public org.threeten.bp.LocalDate getStartDateAsDate() -
setStartDate
-
setStartDate
public void setStartDate(org.threeten.bp.LocalDate startDate) -
endDate
-
getEndDate
Period end date (YYYY-MM-DD)- Returns:
- endDate
-
getEndDateAsDate
public org.threeten.bp.LocalDate getEndDateAsDate() -
setEndDate
-
setEndDate
public void setEndDate(org.threeten.bp.LocalDate endDate) -
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
hours
-
getHours
Timesheet total hours- Returns:
- hours
-
setHours
-
timesheetID
-
getTimesheetID
The Xero identifier for a Payroll Timesheet- Returns:
- timesheetID
-
setTimesheetID
-
timesheetLines
-
addTimesheetLinesItem
-
getTimesheetLines
Get timesheetLines- Returns:
- timesheetLines
-
setTimesheetLines
-
getUpdatedDateUTC
Last modified timestamp- Returns:
- updatedDateUTC
-
getUpdatedDateUTCAsDate
public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate() -
validationErrors
-
addValidationErrorsItem
-
getValidationErrors
Displays array of validation error messages from the API- Returns:
- validationErrors
-
setValidationErrors
-
equals
-
hashCode
public int hashCode() -
toString
-