Package com.xero.models.payrollau
Class EarningsLine
java.lang.Object
com.xero.models.payrollau.EarningsLine
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEarnings rate amountannualSalary(Double annualSalary) Annual salary for earnings linecalculationType(EarningsRateCalculationType calculationType) calculationTypeearningsRateID(UUID earningsRateID) Xero unique id for earnings ratebooleanfixedAmount(Double fixedAmount) Earnings rate amount.Earnings rate amountAnnual salary for earnings lineGet calculationTypeXero unique id for earnings rateEarnings rate amount.Normal number of units for EarningsLine.Earnings rate number of units.number of units for earning lineRate per unit of the EarningsLine.inthashCode()normalNumberOfUnits(Double normalNumberOfUnits) Normal number of units for EarningsLine.numberOfUnits(Double numberOfUnits) Earnings rate number of units.numberOfUnitsPerWeek(Double numberOfUnitsPerWeek) number of units for earning lineratePerUnit(Double ratePerUnit) Rate per unit of the EarningsLine.voidEarnings rate amountvoidsetAnnualSalary(Double annualSalary) Annual salary for earnings linevoidsetCalculationType(EarningsRateCalculationType calculationType) calculationTypevoidsetEarningsRateID(UUID earningsRateID) Xero unique id for earnings ratevoidsetFixedAmount(Double fixedAmount) Earnings rate amount.voidsetNormalNumberOfUnits(Double normalNumberOfUnits) Normal number of units for EarningsLine.voidsetNumberOfUnits(Double numberOfUnits) Earnings rate number of units.voidsetNumberOfUnitsPerWeek(Double numberOfUnitsPerWeek) number of units for earning linevoidsetRatePerUnit(Double ratePerUnit) Rate per unit of the EarningsLine.toString()
-
Constructor Details
-
EarningsLine
public EarningsLine()
-
-
Method Details
-
earningsRateID
Xero unique id for earnings rate- Parameters:
earningsRateID- UUID- Returns:
- EarningsLine
-
getEarningsRateID
-
setEarningsRateID
Xero unique id for earnings rate- Parameters:
earningsRateID- UUID
-
calculationType
calculationType- Parameters:
calculationType- EarningsRateCalculationType- Returns:
- EarningsLine
-
getCalculationType
Get calculationType- Returns:
- calculationType
-
setCalculationType
calculationType- Parameters:
calculationType- EarningsRateCalculationType
-
annualSalary
Annual salary for earnings line- Parameters:
annualSalary- Double- Returns:
- EarningsLine
-
getAnnualSalary
-
setAnnualSalary
Annual salary for earnings line- Parameters:
annualSalary- Double
-
numberOfUnitsPerWeek
number of units for earning line- Parameters:
numberOfUnitsPerWeek- Double- Returns:
- EarningsLine
-
getNumberOfUnitsPerWeek
number of units for earning line- Returns:
- numberOfUnitsPerWeek
-
setNumberOfUnitsPerWeek
number of units for earning line- Parameters:
numberOfUnitsPerWeek- Double
-
ratePerUnit
Rate per unit of the EarningsLine.- Parameters:
ratePerUnit- Double- Returns:
- EarningsLine
-
getRatePerUnit
-
setRatePerUnit
Rate per unit of the EarningsLine.- Parameters:
ratePerUnit- Double
-
normalNumberOfUnits
Normal number of units for EarningsLine. Applicable when RateType is \"MULTIPLE\"- Parameters:
normalNumberOfUnits- Double- Returns:
- EarningsLine
-
getNormalNumberOfUnits
Normal number of units for EarningsLine. Applicable when RateType is \"MULTIPLE\"- Returns:
- normalNumberOfUnits
-
setNormalNumberOfUnits
Normal number of units for EarningsLine. Applicable when RateType is \"MULTIPLE\"- Parameters:
normalNumberOfUnits- Double
-
amount
Earnings rate amount- Parameters:
amount- Double- Returns:
- EarningsLine
-
getAmount
-
setAmount
-
numberOfUnits
Earnings rate number of units.- Parameters:
numberOfUnits- Double- Returns:
- EarningsLine
-
getNumberOfUnits
-
setNumberOfUnits
Earnings rate number of units.- Parameters:
numberOfUnits- Double
-
fixedAmount
Earnings rate amount. Only applicable if the EarningsRate RateType is Fixed- Parameters:
fixedAmount- Double- Returns:
- EarningsLine
-
getFixedAmount
Earnings rate amount. Only applicable if the EarningsRate RateType is Fixed- Returns:
- fixedAmount
-
setFixedAmount
Earnings rate amount. Only applicable if the EarningsRate RateType is Fixed- Parameters:
fixedAmount- Double
-
equals
-
hashCode
-
toString
-