Class TimesheetEarningsLine


  • public class TimesheetEarningsLine
    extends Object
    TimesheetEarningsLine
    • Constructor Detail

      • TimesheetEarningsLine

        public TimesheetEarningsLine()
    • Method Detail

      • earningsRateID

        public TimesheetEarningsLine earningsRateID​(UUID earningsRateID)
        Xero identifier for payroll timesheet earnings rate
        Parameters:
        earningsRateID - UUID
        Returns:
        TimesheetEarningsLine
      • getEarningsRateID

        public UUID getEarningsRateID()
        Xero identifier for payroll timesheet earnings rate
        Returns:
        earningsRateID
      • setEarningsRateID

        public void setEarningsRateID​(UUID earningsRateID)
        Xero identifier for payroll timesheet earnings rate
        Parameters:
        earningsRateID - UUID
      • ratePerUnit

        public TimesheetEarningsLine ratePerUnit​(Double ratePerUnit)
        Rate per unit for timesheet earnings line
        Parameters:
        ratePerUnit - Double
        Returns:
        TimesheetEarningsLine
      • getRatePerUnit

        public Double getRatePerUnit()
        Rate per unit for timesheet earnings line
        Returns:
        ratePerUnit
      • setRatePerUnit

        public void setRatePerUnit​(Double ratePerUnit)
        Rate per unit for timesheet earnings line
        Parameters:
        ratePerUnit - Double
      • numberOfUnits

        public TimesheetEarningsLine numberOfUnits​(Double numberOfUnits)
        Timesheet earnings number of units
        Parameters:
        numberOfUnits - Double
        Returns:
        TimesheetEarningsLine
      • getNumberOfUnits

        public Double getNumberOfUnits()
        Timesheet earnings number of units
        Returns:
        numberOfUnits
      • setNumberOfUnits

        public void setNumberOfUnits​(Double numberOfUnits)
        Timesheet earnings number of units
        Parameters:
        numberOfUnits - Double
      • fixedAmount

        public TimesheetEarningsLine fixedAmount​(Double fixedAmount)
        Timesheet earnings fixed amount. Only applicable if the EarningsRate RateType is Fixed
        Parameters:
        fixedAmount - Double
        Returns:
        TimesheetEarningsLine
      • getFixedAmount

        public Double getFixedAmount()
        Timesheet earnings fixed amount. Only applicable if the EarningsRate RateType is Fixed
        Returns:
        fixedAmount
      • setFixedAmount

        public void setFixedAmount​(Double fixedAmount)
        Timesheet earnings fixed amount. Only applicable if the EarningsRate RateType is Fixed
        Parameters:
        fixedAmount - Double
      • amount

        public TimesheetEarningsLine amount​(Double amount)
        The amount of the timesheet earnings line.
        Parameters:
        amount - Double
        Returns:
        TimesheetEarningsLine
      • getAmount

        public Double getAmount()
        The amount of the timesheet earnings line.
        Returns:
        amount
      • setAmount

        public void setAmount​(Double amount)
        The amount of the timesheet earnings line.
        Parameters:
        amount - Double
      • isLinkedToTimesheet

        public TimesheetEarningsLine isLinkedToTimesheet​(Boolean isLinkedToTimesheet)
        Identifies if the timesheet earnings is taken from the timesheet. False for leave earnings line
        Parameters:
        isLinkedToTimesheet - Boolean
        Returns:
        TimesheetEarningsLine
      • getIsLinkedToTimesheet

        public Boolean getIsLinkedToTimesheet()
        Identifies if the timesheet earnings is taken from the timesheet. False for leave earnings line
        Returns:
        isLinkedToTimesheet
      • setIsLinkedToTimesheet

        public void setIsLinkedToTimesheet​(Boolean isLinkedToTimesheet)
        Identifies if the timesheet earnings is taken from the timesheet. False for leave earnings line
        Parameters:
        isLinkedToTimesheet - Boolean
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object