Package com.xero.models.payrollnz
Class DeductionLine
- java.lang.Object
-
- com.xero.models.payrollnz.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)The amount of the deduction lineDeductionLinedeductionTypeID(UUID deductionTypeID)Xero identifier for payroll deductionDeductionLinedisplayName(String displayName)name of earnings rate for display in UIbooleanequals(Object o)DoublegetAmount()The amount of the deduction lineUUIDgetDeductionTypeID()Xero identifier for payroll deductionStringgetDisplayName()name of earnings rate for display in UIDoublegetPercentage()Deduction rate percentageBooleangetSubjectToTax()Identifies if the deduction is subject to taxinthashCode()DeductionLinepercentage(Double percentage)Deduction rate percentagevoidsetAmount(Double amount)The amount of the deduction linevoidsetDeductionTypeID(UUID deductionTypeID)Xero identifier for payroll deductionvoidsetDisplayName(String displayName)name of earnings rate for display in UIvoidsetPercentage(Double percentage)Deduction rate percentagevoidsetSubjectToTax(Boolean subjectToTax)Identifies if the deduction is subject to taxDeductionLinesubjectToTax(Boolean subjectToTax)Identifies if the deduction is subject to taxStringtoString()
-
-
-
Method Detail
-
deductionTypeID
public DeductionLine deductionTypeID(UUID deductionTypeID)
Xero identifier for payroll deduction- Parameters:
deductionTypeID- UUID- Returns:
- DeductionLine
-
getDeductionTypeID
public UUID getDeductionTypeID()
Xero identifier for payroll deduction- Returns:
- deductionTypeID
-
setDeductionTypeID
public void setDeductionTypeID(UUID deductionTypeID)
Xero identifier for payroll deduction- Parameters:
deductionTypeID- UUID
-
displayName
public DeductionLine displayName(String displayName)
name of earnings rate for display in UI- Parameters:
displayName- String- Returns:
- DeductionLine
-
getDisplayName
public String getDisplayName()
name of earnings rate for display in UI- Returns:
- displayName
-
setDisplayName
public void setDisplayName(String displayName)
name of earnings rate for display in UI- Parameters:
displayName- String
-
amount
public DeductionLine amount(Double amount)
The amount of the deduction line- Parameters:
amount- Double- Returns:
- DeductionLine
-
getAmount
public Double getAmount()
The amount of the deduction line- Returns:
- amount
-
setAmount
public void setAmount(Double amount)
The amount of the deduction line- Parameters:
amount- Double
-
subjectToTax
public DeductionLine subjectToTax(Boolean subjectToTax)
Identifies if the deduction is subject to tax- Parameters:
subjectToTax- Boolean- Returns:
- DeductionLine
-
getSubjectToTax
public Boolean getSubjectToTax()
Identifies if the deduction is subject to tax- Returns:
- subjectToTax
-
setSubjectToTax
public void setSubjectToTax(Boolean subjectToTax)
Identifies if the deduction is subject to tax- Parameters:
subjectToTax- Boolean
-
percentage
public DeductionLine percentage(Double percentage)
Deduction rate percentage- Parameters:
percentage- Double- Returns:
- DeductionLine
-
getPercentage
public Double getPercentage()
Deduction rate percentage- Returns:
- percentage
-
setPercentage
public void setPercentage(Double percentage)
Deduction rate percentage- Parameters:
percentage- Double
-
-