Package com.xero.models.payrolluk
Class TimesheetEarningsLine
java.lang.Object
com.xero.models.payrolluk.TimesheetEarningsLine
public class TimesheetEarningsLine extends Object
TimesheetEarningsLine
-
Constructor Summary
Constructors Constructor Description TimesheetEarningsLine() -
Method Summary
Modifier and Type Method Description TimesheetEarningsLineamount(Double amount)TimesheetEarningsLineearningsRateID(UUID earningsRateID)booleanequals(Object o)TimesheetEarningsLinefixedAmount(Double fixedAmount)DoublegetAmount()The amount of the timesheet earnings line.UUIDgetEarningsRateID()Xero identifier for payroll timesheet earnings rateDoublegetFixedAmount()Timesheet earnings fixed amount.BooleangetIsLinkedToTimesheet()Identifies if the timesheet earnings is taken from the timesheet.DoublegetNumberOfUnits()Timesheet earnings number of unitsDoublegetRatePerUnit()Rate per unit for timesheet earnings lineinthashCode()TimesheetEarningsLineisLinkedToTimesheet(Boolean isLinkedToTimesheet)TimesheetEarningsLinenumberOfUnits(Double numberOfUnits)TimesheetEarningsLineratePerUnit(Double ratePerUnit)voidsetAmount(Double amount)voidsetEarningsRateID(UUID earningsRateID)voidsetFixedAmount(Double fixedAmount)voidsetIsLinkedToTimesheet(Boolean isLinkedToTimesheet)voidsetNumberOfUnits(Double numberOfUnits)voidsetRatePerUnit(Double ratePerUnit)StringtoString()
-
Constructor Details
-
TimesheetEarningsLine
public TimesheetEarningsLine()
-
-
Method Details
-
earningsRateID
-
getEarningsRateID
Xero identifier for payroll timesheet earnings rate- Returns:
- earningsRateID
-
setEarningsRateID
-
ratePerUnit
-
getRatePerUnit
Rate per unit for timesheet earnings line- Returns:
- ratePerUnit
-
setRatePerUnit
-
numberOfUnits
-
getNumberOfUnits
Timesheet earnings number of units- Returns:
- numberOfUnits
-
setNumberOfUnits
-
fixedAmount
-
getFixedAmount
Timesheet earnings fixed amount. Only applicable if the EarningsRate RateType is Fixed- Returns:
- fixedAmount
-
setFixedAmount
-
amount
-
getAmount
The amount of the timesheet earnings line.- Returns:
- amount
-
setAmount
-
isLinkedToTimesheet
-
getIsLinkedToTimesheet
Identifies if the timesheet earnings is taken from the timesheet. False for leave earnings line- Returns:
- isLinkedToTimesheet
-
setIsLinkedToTimesheet
-
equals
-
hashCode
public int hashCode() -
toString
-