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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimesheetaddTimesheetLinesItem(TimesheetLine timesheetLinesItem)timesheetLinesTimesheetemployeeID(UUID employeeID)The Xero identifier for the Employee that the Timesheet is forTimesheetendDate(org.threeten.bp.LocalDate endDate)The End Date of the Timesheet period (YYYY-MM-DD)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 Calendar 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)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 updatedTimesheetstartDate(org.threeten.bp.LocalDate startDate)The Start Date of the Timesheet period (YYYY-MM-DD)Timesheetstatus(Timesheet.StatusEnum status)Status of the timesheetTimesheettimesheetID(UUID timesheetID)The Xero identifier for a TimesheetTimesheettimesheetLines(List<TimesheetLine> timesheetLines)timesheetLinesStringtoString()TimesheettotalHours(Double totalHours)The Total Hours of the TimesheetTimesheetupdatedDateUTC(org.threeten.bp.LocalDateTime updatedDateUTC)The UTC date time that the Timesheet was last updated
-
-
-
Method Detail
-
timesheetID
public Timesheet timesheetID(UUID timesheetID)
The Xero identifier for a Timesheet- Parameters:
timesheetID- UUID- Returns:
- Timesheet
-
getTimesheetID
public UUID getTimesheetID()
The Xero identifier for a Timesheet- Returns:
- timesheetID
-
setTimesheetID
public void setTimesheetID(UUID timesheetID)
The Xero identifier for a Timesheet- Parameters:
timesheetID- UUID
-
payrollCalendarID
public Timesheet payrollCalendarID(UUID payrollCalendarID)
The Xero identifier for the Payroll Calendar that the Timesheet applies to- Parameters:
payrollCalendarID- UUID- Returns:
- Timesheet
-
getPayrollCalendarID
public UUID getPayrollCalendarID()
The Xero identifier for the Payroll Calendar that the Timesheet applies to- Returns:
- payrollCalendarID
-
setPayrollCalendarID
public void setPayrollCalendarID(UUID payrollCalendarID)
The Xero identifier for the Payroll Calendar that the Timesheet applies to- Parameters:
payrollCalendarID- UUID
-
employeeID
public Timesheet employeeID(UUID employeeID)
The Xero identifier for the Employee that the Timesheet is for- Parameters:
employeeID- UUID- Returns:
- Timesheet
-
getEmployeeID
public UUID getEmployeeID()
The Xero identifier for the Employee that the Timesheet is for- Returns:
- employeeID
-
setEmployeeID
public void setEmployeeID(UUID employeeID)
The Xero identifier for the Employee that the Timesheet is for- Parameters:
employeeID- UUID
-
startDate
public Timesheet startDate(org.threeten.bp.LocalDate 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
public Timesheet endDate(org.threeten.bp.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
public Timesheet status(Timesheet.StatusEnum status)
Status of the timesheet- Parameters:
status- StatusEnum- Returns:
- Timesheet
-
getStatus
public Timesheet.StatusEnum getStatus()
Status of the timesheet- Returns:
- status
-
setStatus
public void setStatus(Timesheet.StatusEnum status)
Status of the timesheet- Parameters:
status- StatusEnum
-
totalHours
public Timesheet totalHours(Double totalHours)
The Total Hours of the Timesheet- Parameters:
totalHours- Double- Returns:
- Timesheet
-
getTotalHours
public Double getTotalHours()
The Total Hours of the Timesheet- Returns:
- totalHours
-
setTotalHours
public void setTotalHours(Double totalHours)
The Total Hours of the Timesheet- Parameters:
totalHours- Double
-
updatedDateUTC
public Timesheet updatedDateUTC(org.threeten.bp.LocalDateTime 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
public Timesheet timesheetLines(List<TimesheetLine> timesheetLines)
timesheetLines- Parameters:
timesheetLines- List<TimesheetLine>- Returns:
- Timesheet
-
addTimesheetLinesItem
public Timesheet addTimesheetLinesItem(TimesheetLine timesheetLinesItem)
timesheetLines- Parameters:
timesheetLinesItem- TimesheetLine- Returns:
- Timesheet
-
getTimesheetLines
public List<TimesheetLine> getTimesheetLines()
Get timesheetLines- Returns:
- timesheetLines
-
setTimesheetLines
public void setTimesheetLines(List<TimesheetLine> timesheetLines)
timesheetLines- Parameters:
timesheetLines- List<TimesheetLine>
-
-