Package com.xero.models.payrollau
Class EarningsLine
- java.lang.Object
-
- com.xero.models.payrollau.EarningsLine
-
public class EarningsLine extends Object
EarningsLine
-
-
Constructor Summary
Constructors Constructor Description EarningsLine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EarningsLineamount(Double amount)Earnings rate amountEarningsLineannualSalary(Double annualSalary)Annual salary for earnings lineEarningsLinecalculationType(EarningsRateCalculationType calculationType)calculationTypeEarningsLineearningsRateID(UUID earningsRateID)Xero unique id for earnings ratebooleanequals(Object o)EarningsLinefixedAmount(Double fixedAmount)Earnings rate amount.DoublegetAmount()Earnings rate amountDoublegetAnnualSalary()Annual salary for earnings lineEarningsRateCalculationTypegetCalculationType()Get calculationTypeUUIDgetEarningsRateID()Xero unique id for earnings rateDoublegetFixedAmount()Earnings rate amount.DoublegetNormalNumberOfUnits()Normal number of units for EarningsLine.DoublegetNumberOfUnits()Earnings rate number of units.DoublegetNumberOfUnitsPerWeek()number of units for earning lineDoublegetRatePerUnit()Rate per unit of the EarningsLine.inthashCode()EarningsLinenormalNumberOfUnits(Double normalNumberOfUnits)Normal number of units for EarningsLine.EarningsLinenumberOfUnits(Double numberOfUnits)Earnings rate number of units.EarningsLinenumberOfUnitsPerWeek(Double numberOfUnitsPerWeek)number of units for earning lineEarningsLineratePerUnit(Double ratePerUnit)Rate per unit of the EarningsLine.voidsetAmount(Double amount)Earnings 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.StringtoString()
-
-
-
Method Detail
-
earningsRateID
public EarningsLine earningsRateID(UUID earningsRateID)
Xero unique id for earnings rate- Parameters:
earningsRateID- UUID- Returns:
- EarningsLine
-
getEarningsRateID
public UUID getEarningsRateID()
Xero unique id for earnings rate- Returns:
- earningsRateID
-
setEarningsRateID
public void setEarningsRateID(UUID earningsRateID)
Xero unique id for earnings rate- Parameters:
earningsRateID- UUID
-
calculationType
public EarningsLine calculationType(EarningsRateCalculationType calculationType)
calculationType- Parameters:
calculationType- EarningsRateCalculationType- Returns:
- EarningsLine
-
getCalculationType
public EarningsRateCalculationType getCalculationType()
Get calculationType- Returns:
- calculationType
-
setCalculationType
public void setCalculationType(EarningsRateCalculationType calculationType)
calculationType- Parameters:
calculationType- EarningsRateCalculationType
-
annualSalary
public EarningsLine annualSalary(Double annualSalary)
Annual salary for earnings line- Parameters:
annualSalary- Double- Returns:
- EarningsLine
-
getAnnualSalary
public Double getAnnualSalary()
Annual salary for earnings line- Returns:
- annualSalary
-
setAnnualSalary
public void setAnnualSalary(Double annualSalary)
Annual salary for earnings line- Parameters:
annualSalary- Double
-
numberOfUnitsPerWeek
public EarningsLine numberOfUnitsPerWeek(Double numberOfUnitsPerWeek)
number of units for earning line- Parameters:
numberOfUnitsPerWeek- Double- Returns:
- EarningsLine
-
getNumberOfUnitsPerWeek
public Double getNumberOfUnitsPerWeek()
number of units for earning line- Returns:
- numberOfUnitsPerWeek
-
setNumberOfUnitsPerWeek
public void setNumberOfUnitsPerWeek(Double numberOfUnitsPerWeek)
number of units for earning line- Parameters:
numberOfUnitsPerWeek- Double
-
ratePerUnit
public EarningsLine ratePerUnit(Double ratePerUnit)
Rate per unit of the EarningsLine.- Parameters:
ratePerUnit- Double- Returns:
- EarningsLine
-
getRatePerUnit
public Double getRatePerUnit()
Rate per unit of the EarningsLine.- Returns:
- ratePerUnit
-
setRatePerUnit
public void setRatePerUnit(Double ratePerUnit)
Rate per unit of the EarningsLine.- Parameters:
ratePerUnit- Double
-
normalNumberOfUnits
public EarningsLine normalNumberOfUnits(Double normalNumberOfUnits)
Normal number of units for EarningsLine. Applicable when RateType is \"MULTIPLE\"- Parameters:
normalNumberOfUnits- Double- Returns:
- EarningsLine
-
getNormalNumberOfUnits
public Double getNormalNumberOfUnits()
Normal number of units for EarningsLine. Applicable when RateType is \"MULTIPLE\"- Returns:
- normalNumberOfUnits
-
setNormalNumberOfUnits
public void setNormalNumberOfUnits(Double normalNumberOfUnits)
Normal number of units for EarningsLine. Applicable when RateType is \"MULTIPLE\"- Parameters:
normalNumberOfUnits- Double
-
amount
public EarningsLine amount(Double amount)
Earnings rate amount- Parameters:
amount- Double- Returns:
- EarningsLine
-
getAmount
public Double getAmount()
Earnings rate amount- Returns:
- amount
-
setAmount
public void setAmount(Double amount)
Earnings rate amount- Parameters:
amount- Double
-
numberOfUnits
public EarningsLine numberOfUnits(Double numberOfUnits)
Earnings rate number of units.- Parameters:
numberOfUnits- Double- Returns:
- EarningsLine
-
getNumberOfUnits
public Double getNumberOfUnits()
Earnings rate number of units.- Returns:
- numberOfUnits
-
setNumberOfUnits
public void setNumberOfUnits(Double numberOfUnits)
Earnings rate number of units.- Parameters:
numberOfUnits- Double
-
fixedAmount
public EarningsLine fixedAmount(Double fixedAmount)
Earnings rate amount. Only applicable if the EarningsRate RateType is Fixed- Parameters:
fixedAmount- Double- Returns:
- EarningsLine
-
getFixedAmount
public Double getFixedAmount()
Earnings rate amount. Only applicable if the EarningsRate RateType is Fixed- Returns:
- fixedAmount
-
setFixedAmount
public void setFixedAmount(Double fixedAmount)
Earnings rate amount. Only applicable if the EarningsRate RateType is Fixed- Parameters:
fixedAmount- Double
-
-