Package com.xero.models.payrollau
Class TimesheetLine
- java.lang.Object
-
- com.xero.models.payrollau.TimesheetLine
-
public class TimesheetLine extends Object
TimesheetLine
-
-
Constructor Summary
Constructors Constructor Description TimesheetLine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimesheetLineaddNumberOfUnitsItem(Double numberOfUnitsItem)The number of units on a timesheet lineTimesheetLineearningsRateID(UUID earningsRateID)The Xero identifier for an Earnings Ratebooleanequals(Object o)UUIDgetEarningsRateID()The Xero identifier for an Earnings RateList<Double>getNumberOfUnits()The number of units on a timesheet lineUUIDgetTrackingItemID()The Xero identifier for a Tracking Category.StringgetUpdatedDateUTC()Last modified timestamporg.threeten.bp.OffsetDateTimegetUpdatedDateUTCAsDate()Last modified timestampinthashCode()TimesheetLinenumberOfUnits(List<Double> numberOfUnits)The number of units on a timesheet linevoidsetEarningsRateID(UUID earningsRateID)The Xero identifier for an Earnings RatevoidsetNumberOfUnits(List<Double> numberOfUnits)The number of units on a timesheet linevoidsetTrackingItemID(UUID trackingItemID)The Xero identifier for a Tracking Category.StringtoString()TimesheetLinetrackingItemID(UUID trackingItemID)The Xero identifier for a Tracking Category.
-
-
-
Method Detail
-
earningsRateID
public TimesheetLine earningsRateID(UUID earningsRateID)
The Xero identifier for an Earnings Rate- Parameters:
earningsRateID- UUID- Returns:
- TimesheetLine
-
getEarningsRateID
public UUID getEarningsRateID()
The Xero identifier for an Earnings Rate- Returns:
- earningsRateID
-
setEarningsRateID
public void setEarningsRateID(UUID earningsRateID)
The Xero identifier for an Earnings Rate- Parameters:
earningsRateID- UUID
-
trackingItemID
public TimesheetLine trackingItemID(UUID trackingItemID)
The Xero identifier for a Tracking Category. The TrackingOptionID must belong to the TrackingCategory selected as TimesheetCategories under Payroll Settings.- Parameters:
trackingItemID- UUID- Returns:
- TimesheetLine
-
getTrackingItemID
public UUID getTrackingItemID()
The Xero identifier for a Tracking Category. The TrackingOptionID must belong to the TrackingCategory selected as TimesheetCategories under Payroll Settings.- Returns:
- trackingItemID
-
setTrackingItemID
public void setTrackingItemID(UUID trackingItemID)
The Xero identifier for a Tracking Category. The TrackingOptionID must belong to the TrackingCategory selected as TimesheetCategories under Payroll Settings.- Parameters:
trackingItemID- UUID
-
numberOfUnits
public TimesheetLine numberOfUnits(List<Double> numberOfUnits)
The number of units on a timesheet line- Parameters:
numberOfUnits- List<>- Returns:
- TimesheetLine
-
addNumberOfUnitsItem
public TimesheetLine addNumberOfUnitsItem(Double numberOfUnitsItem)
The number of units on a timesheet line- Parameters:
numberOfUnitsItem- Double- Returns:
- TimesheetLine
-
getNumberOfUnits
public List<Double> getNumberOfUnits()
The number of units on a timesheet line- Returns:
- numberOfUnits
-
setNumberOfUnits
public void setNumberOfUnits(List<Double> numberOfUnits)
The number of units on a timesheet line- Parameters:
numberOfUnits- List<>
-
getUpdatedDateUTC
public String getUpdatedDateUTC()
Last modified timestamp- Returns:
- updatedDateUTC
-
getUpdatedDateUTCAsDate
public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate()
Last modified timestamp- Returns:
- OffsetDateTime
-
-