Class TimesheetLine

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

public class TimesheetLine
extends Object
TimesheetLine
  • Constructor Details

    • TimesheetLine

      public TimesheetLine()
  • Method Details

    • timesheetLineID

      public TimesheetLine timesheetLineID​(UUID timesheetLineID)
    • getTimesheetLineID

      public UUID getTimesheetLineID()
      The Xero identifier for a Timesheet Line
      Returns:
      timesheetLineID
    • setTimesheetLineID

      public void setTimesheetLineID​(UUID timesheetLineID)
    • date

      public TimesheetLine date​(org.threeten.bp.LocalDate date)
    • getDate

      public org.threeten.bp.LocalDate getDate()
      The Date that this Timesheet Line is for (YYYY-MM-DD)
      Returns:
      date
    • setDate

      public void setDate​(org.threeten.bp.LocalDate date)
    • earningsRateID

      public TimesheetLine earningsRateID​(UUID earningsRateID)
    • getEarningsRateID

      public UUID getEarningsRateID()
      The Xero identifier for the Earnings Rate that the Timesheet is for
      Returns:
      earningsRateID
    • setEarningsRateID

      public void setEarningsRateID​(UUID earningsRateID)
    • trackingItemID

      public TimesheetLine trackingItemID​(UUID trackingItemID)
    • getTrackingItemID

      public UUID getTrackingItemID()
      The Xero identifier for the Tracking Item that the Timesheet is for
      Returns:
      trackingItemID
    • setTrackingItemID

      public void setTrackingItemID​(UUID trackingItemID)
    • numberOfUnits

      public TimesheetLine numberOfUnits​(Double numberOfUnits)
    • getNumberOfUnits

      public Double getNumberOfUnits()
      The Number of Units of the Timesheet Line
      Returns:
      numberOfUnits
    • setNumberOfUnits

      public void setNumberOfUnits​(Double numberOfUnits)
    • 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