Class TimesheetLine

java.lang.Object
com.xero.models.payrollau.TimesheetLine

public class TimesheetLine
extends Object
TimesheetLine
  • Constructor Details

    • TimesheetLine

      public TimesheetLine()
  • Method Details

    • earningsRateID

      public TimesheetLine earningsRateID​(UUID earningsRateID)
    • getEarningsRateID

      public UUID getEarningsRateID()
      The Xero identifier for an Earnings Rate
      Returns:
      earningsRateID
    • setEarningsRateID

      public void setEarningsRateID​(UUID earningsRateID)
    • trackingItemID

      public TimesheetLine trackingItemID​(UUID trackingItemID)
    • 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)
    • numberOfUnits

      public TimesheetLine numberOfUnits​(List<Double> numberOfUnits)
    • addNumberOfUnitsItem

      public TimesheetLine addNumberOfUnitsItem​(Double numberOfUnitsItem)
    • getNumberOfUnits

      public List<Double> getNumberOfUnits()
      The number of units on a timesheet line
      Returns:
      numberOfUnits
    • setNumberOfUnits

      public void setNumberOfUnits​(List<Double> numberOfUnits)
    • getUpdatedDateUTC

      public String getUpdatedDateUTC()
      Last modified timestamp
      Returns:
      updatedDateUTC
    • getUpdatedDateUTCAsDate

      public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate()
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object