Class TimesheetLine


  • public class TimesheetLine
    extends Object
    TimesheetLine
    • Constructor Detail

      • TimesheetLine

        public TimesheetLine()
    • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object