Package com.xero.models.payrollnz
Class EarningsLine
java.lang.Object
com.xero.models.payrollnz.EarningsLine
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe amount of the earnings line.displayName(String displayName) name of earnings rate for display in UIearningsLineID(UUID earningsLineID) Xero identifier for payroll earnings lineearningsRateID(UUID earningsRateID) Xero identifier for payroll earnings ratebooleanfixedAmount(Double fixedAmount) Earnings fixed amount.The amount of the earnings line.name of earnings rate for display in UIXero identifier for payroll earnings lineXero identifier for payroll earnings rateEarnings fixed amount.Identifies if the earnings is using an average daily pay rateIdentifies if the earnings is taken from the timesheet.Flag to identify whether the earnings line is system generated or not.Earnings number of unitsRate per unit for earnings lineinthashCode()isAverageDailyPayRate(Boolean isAverageDailyPayRate) Identifies if the earnings is using an average daily pay rateisLinkedToTimesheet(Boolean isLinkedToTimesheet) Identifies if the earnings is taken from the timesheet.isSystemGenerated(Boolean isSystemGenerated) Flag to identify whether the earnings line is system generated or not.numberOfUnits(Double numberOfUnits) Earnings number of unitsratePerUnit(Double ratePerUnit) Rate per unit for earnings linevoidThe amount of the earnings line.voidsetDisplayName(String displayName) name of earnings rate for display in UIvoidsetEarningsLineID(UUID earningsLineID) Xero identifier for payroll earnings linevoidsetEarningsRateID(UUID earningsRateID) Xero identifier for payroll earnings ratevoidsetFixedAmount(Double fixedAmount) Earnings fixed amount.voidsetIsAverageDailyPayRate(Boolean isAverageDailyPayRate) Identifies if the earnings is using an average daily pay ratevoidsetIsLinkedToTimesheet(Boolean isLinkedToTimesheet) Identifies if the earnings is taken from the timesheet.voidsetIsSystemGenerated(Boolean isSystemGenerated) Flag to identify whether the earnings line is system generated or not.voidsetNumberOfUnits(Double numberOfUnits) Earnings number of unitsvoidsetRatePerUnit(Double ratePerUnit) Rate per unit for earnings linetoString()
-
Constructor Details
-
EarningsLine
public EarningsLine()
-
-
Method Details
-
earningsLineID
Xero identifier for payroll earnings line- Parameters:
earningsLineID- UUID- Returns:
- EarningsLine
-
getEarningsLineID
-
setEarningsLineID
Xero identifier for payroll earnings line- Parameters:
earningsLineID- UUID
-
earningsRateID
Xero identifier for payroll earnings rate- Parameters:
earningsRateID- UUID- Returns:
- EarningsLine
-
getEarningsRateID
-
setEarningsRateID
Xero identifier for payroll earnings rate- Parameters:
earningsRateID- UUID
-
displayName
name of earnings rate for display in UI- Parameters:
displayName- String- Returns:
- EarningsLine
-
getDisplayName
-
setDisplayName
name of earnings rate for display in UI- Parameters:
displayName- String
-
ratePerUnit
Rate per unit for earnings line- Parameters:
ratePerUnit- Double- Returns:
- EarningsLine
-
getRatePerUnit
-
setRatePerUnit
Rate per unit for earnings line- Parameters:
ratePerUnit- Double
-
numberOfUnits
Earnings number of units- Parameters:
numberOfUnits- Double- Returns:
- EarningsLine
-
getNumberOfUnits
-
setNumberOfUnits
Earnings number of units- Parameters:
numberOfUnits- Double
-
fixedAmount
Earnings fixed amount. Only applicable if the EarningsRate RateType is Fixed- Parameters:
fixedAmount- Double- Returns:
- EarningsLine
-
getFixedAmount
Earnings fixed amount. Only applicable if the EarningsRate RateType is Fixed- Returns:
- fixedAmount
-
setFixedAmount
Earnings fixed amount. Only applicable if the EarningsRate RateType is Fixed- Parameters:
fixedAmount- Double
-
amount
The amount of the earnings line.- Parameters:
amount- Double- Returns:
- EarningsLine
-
getAmount
-
setAmount
-
isLinkedToTimesheet
Identifies if the earnings is taken from the timesheet. False for earnings line- Parameters:
isLinkedToTimesheet- Boolean- Returns:
- EarningsLine
-
getIsLinkedToTimesheet
Identifies if the earnings is taken from the timesheet. False for earnings line- Returns:
- isLinkedToTimesheet
-
setIsLinkedToTimesheet
Identifies if the earnings is taken from the timesheet. False for earnings line- Parameters:
isLinkedToTimesheet- Boolean
-
isAverageDailyPayRate
Identifies if the earnings is using an average daily pay rate- Parameters:
isAverageDailyPayRate- Boolean- Returns:
- EarningsLine
-
getIsAverageDailyPayRate
Identifies if the earnings is using an average daily pay rate- Returns:
- isAverageDailyPayRate
-
setIsAverageDailyPayRate
Identifies if the earnings is using an average daily pay rate- Parameters:
isAverageDailyPayRate- Boolean
-
isSystemGenerated
Flag to identify whether the earnings line is system generated or not.- Parameters:
isSystemGenerated- Boolean- Returns:
- EarningsLine
-
getIsSystemGenerated
Flag to identify whether the earnings line is system generated or not.- Returns:
- isSystemGenerated
-
setIsSystemGenerated
Flag to identify whether the earnings line is system generated or not.- Parameters:
isSystemGenerated- Boolean
-
equals
-
hashCode
-
toString
-