Package com.xero.models.payrolluk
Class EarningsLine
java.lang.Object
com.xero.models.payrolluk.EarningsLine
public class EarningsLine extends Object
EarningsLine
-
Constructor Summary
Constructors Constructor Description EarningsLine() -
Method Summary
Modifier and Type Method Description EarningsLineamount(Double amount)EarningsLinedisplayName(String displayName)EarningsLineearningsLineID(UUID earningsLineID)EarningsLineearningsRateID(UUID earningsRateID)booleanequals(Object o)EarningsLinefixedAmount(Double fixedAmount)DoublegetAmount()The amount of the earnings line.StringgetDisplayName()name of earnings rate for display in UIUUIDgetEarningsLineID()Xero identifier for payroll earnings lineUUIDgetEarningsRateID()Xero identifier for payroll earnings rateDoublegetFixedAmount()Earnings fixed amount.BooleangetIsAverageDailyPayRate()Identifies if the earnings is using an average daily pay rateBooleangetIsLinkedToTimesheet()Identifies if the earnings is taken from the timesheet.DoublegetNumberOfUnits()Earnings number of unitsDoublegetRatePerUnit()Rate per unit for earnings lineinthashCode()EarningsLineisAverageDailyPayRate(Boolean isAverageDailyPayRate)EarningsLineisLinkedToTimesheet(Boolean isLinkedToTimesheet)EarningsLinenumberOfUnits(Double numberOfUnits)EarningsLineratePerUnit(Double ratePerUnit)voidsetAmount(Double amount)voidsetDisplayName(String displayName)voidsetEarningsLineID(UUID earningsLineID)voidsetEarningsRateID(UUID earningsRateID)voidsetFixedAmount(Double fixedAmount)voidsetIsAverageDailyPayRate(Boolean isAverageDailyPayRate)voidsetIsLinkedToTimesheet(Boolean isLinkedToTimesheet)voidsetNumberOfUnits(Double numberOfUnits)voidsetRatePerUnit(Double ratePerUnit)StringtoString()
-
Constructor Details
-
EarningsLine
public EarningsLine()
-
-
Method Details
-
earningsLineID
-
getEarningsLineID
Xero identifier for payroll earnings line- Returns:
- earningsLineID
-
setEarningsLineID
-
earningsRateID
-
getEarningsRateID
Xero identifier for payroll earnings rate- Returns:
- earningsRateID
-
setEarningsRateID
-
displayName
-
getDisplayName
name of earnings rate for display in UI- Returns:
- displayName
-
setDisplayName
-
ratePerUnit
-
getRatePerUnit
Rate per unit for earnings line- Returns:
- ratePerUnit
-
setRatePerUnit
-
numberOfUnits
-
getNumberOfUnits
Earnings number of units- Returns:
- numberOfUnits
-
setNumberOfUnits
-
fixedAmount
-
getFixedAmount
Earnings fixed amount. Only applicable if the EarningsRate RateType is Fixed- Returns:
- fixedAmount
-
setFixedAmount
-
amount
-
getAmount
The amount of the earnings line.- Returns:
- amount
-
setAmount
-
isLinkedToTimesheet
-
getIsLinkedToTimesheet
Identifies if the earnings is taken from the timesheet. False for earnings line- Returns:
- isLinkedToTimesheet
-
setIsLinkedToTimesheet
-
isAverageDailyPayRate
-
getIsAverageDailyPayRate
Identifies if the earnings is using an average daily pay rate- Returns:
- isAverageDailyPayRate
-
setIsAverageDailyPayRate
-
equals
-
hashCode
public int hashCode() -
toString
-