Package com.xero.models.payrollau
Class DeductionLine
- java.lang.Object
-
- com.xero.models.payrollau.DeductionLine
-
public class DeductionLine extends Object
DeductionLine
-
-
Constructor Summary
Constructors Constructor Description DeductionLine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeductionLineamount(Double amount)Deduction type amountDeductionLinecalculationType(DeductionTypeCalculationType calculationType)calculationTypeDeductionLinedeductionTypeID(UUID deductionTypeID)Xero deduction type identifierbooleanequals(Object o)DoublegetAmount()Deduction type amountDeductionTypeCalculationTypegetCalculationType()Get calculationTypeUUIDgetDeductionTypeID()Xero deduction type identifierDoublegetNumberOfUnits()Deduction number of unitsDoublegetPercentage()The Percentage of the DeductioninthashCode()DeductionLinenumberOfUnits(Double numberOfUnits)Deduction number of unitsDeductionLinepercentage(Double percentage)The Percentage of the DeductionvoidsetAmount(Double amount)Deduction type amountvoidsetCalculationType(DeductionTypeCalculationType calculationType)calculationTypevoidsetDeductionTypeID(UUID deductionTypeID)Xero deduction type identifiervoidsetNumberOfUnits(Double numberOfUnits)Deduction number of unitsvoidsetPercentage(Double percentage)The Percentage of the DeductionStringtoString()
-
-
-
Method Detail
-
deductionTypeID
public DeductionLine deductionTypeID(UUID deductionTypeID)
Xero deduction type identifier- Parameters:
deductionTypeID- UUID- Returns:
- DeductionLine
-
getDeductionTypeID
public UUID getDeductionTypeID()
Xero deduction type identifier- Returns:
- deductionTypeID
-
setDeductionTypeID
public void setDeductionTypeID(UUID deductionTypeID)
Xero deduction type identifier- Parameters:
deductionTypeID- UUID
-
calculationType
public DeductionLine calculationType(DeductionTypeCalculationType calculationType)
calculationType- Parameters:
calculationType- DeductionTypeCalculationType- Returns:
- DeductionLine
-
getCalculationType
public DeductionTypeCalculationType getCalculationType()
Get calculationType- Returns:
- calculationType
-
setCalculationType
public void setCalculationType(DeductionTypeCalculationType calculationType)
calculationType- Parameters:
calculationType- DeductionTypeCalculationType
-
amount
public DeductionLine amount(Double amount)
Deduction type amount- Parameters:
amount- Double- Returns:
- DeductionLine
-
getAmount
public Double getAmount()
Deduction type amount- Returns:
- amount
-
setAmount
public void setAmount(Double amount)
Deduction type amount- Parameters:
amount- Double
-
percentage
public DeductionLine percentage(Double percentage)
The Percentage of the Deduction- Parameters:
percentage- Double- Returns:
- DeductionLine
-
getPercentage
public Double getPercentage()
The Percentage of the Deduction- Returns:
- percentage
-
setPercentage
public void setPercentage(Double percentage)
The Percentage of the Deduction- Parameters:
percentage- Double
-
numberOfUnits
public DeductionLine numberOfUnits(Double numberOfUnits)
Deduction number of units- Parameters:
numberOfUnits- Double- Returns:
- DeductionLine
-
getNumberOfUnits
public Double getNumberOfUnits()
Deduction number of units- Returns:
- numberOfUnits
-
setNumberOfUnits
public void setNumberOfUnits(Double numberOfUnits)
Deduction number of units- Parameters:
numberOfUnits- Double
-
-