Package com.xero.models.payrollnz
Class Deduction
- java.lang.Object
-
- com.xero.models.payrollnz.Deduction
-
public class Deduction extends Object
Deduction
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeduction.DeductionCategoryEnumDeduction Category type
-
Constructor Summary
Constructors Constructor Description Deduction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeductioncurrentRecord(Boolean currentRecord)Identifier of a record is active or not.DeductiondeductionCategory(Deduction.DeductionCategoryEnum deductionCategory)Deduction Category typeDeductiondeductionId(UUID deductionId)The Xero identifier for DeductionDeductiondeductionName(String deductionName)Name of the deductionbooleanequals(Object o)BooleangetCurrentRecord()Identifier of a record is active or not.Deduction.DeductionCategoryEnumgetDeductionCategory()Deduction Category typeUUIDgetDeductionId()The Xero identifier for DeductionStringgetDeductionName()Name of the deductionUUIDgetLiabilityAccountId()Xero identifier for Liability AccountDoublegetStandardAmount()Standard amount of the deduction.inthashCode()DeductionliabilityAccountId(UUID liabilityAccountId)Xero identifier for Liability AccountvoidsetCurrentRecord(Boolean currentRecord)Identifier of a record is active or not.voidsetDeductionCategory(Deduction.DeductionCategoryEnum deductionCategory)Deduction Category typevoidsetDeductionId(UUID deductionId)The Xero identifier for DeductionvoidsetDeductionName(String deductionName)Name of the deductionvoidsetLiabilityAccountId(UUID liabilityAccountId)Xero identifier for Liability AccountvoidsetStandardAmount(Double standardAmount)Standard amount of the deduction.DeductionstandardAmount(Double standardAmount)Standard amount of the deduction.StringtoString()
-
-
-
Method Detail
-
deductionId
public Deduction deductionId(UUID deductionId)
The Xero identifier for Deduction- Parameters:
deductionId- UUID- Returns:
- Deduction
-
getDeductionId
public UUID getDeductionId()
The Xero identifier for Deduction- Returns:
- deductionId
-
setDeductionId
public void setDeductionId(UUID deductionId)
The Xero identifier for Deduction- Parameters:
deductionId- UUID
-
deductionName
public Deduction deductionName(String deductionName)
Name of the deduction- Parameters:
deductionName- String- Returns:
- Deduction
-
getDeductionName
public String getDeductionName()
Name of the deduction- Returns:
- deductionName
-
setDeductionName
public void setDeductionName(String deductionName)
Name of the deduction- Parameters:
deductionName- String
-
deductionCategory
public Deduction deductionCategory(Deduction.DeductionCategoryEnum deductionCategory)
Deduction Category type- Parameters:
deductionCategory- DeductionCategoryEnum- Returns:
- Deduction
-
getDeductionCategory
public Deduction.DeductionCategoryEnum getDeductionCategory()
Deduction Category type- Returns:
- deductionCategory
-
setDeductionCategory
public void setDeductionCategory(Deduction.DeductionCategoryEnum deductionCategory)
Deduction Category type- Parameters:
deductionCategory- DeductionCategoryEnum
-
liabilityAccountId
public Deduction liabilityAccountId(UUID liabilityAccountId)
Xero identifier for Liability Account- Parameters:
liabilityAccountId- UUID- Returns:
- Deduction
-
getLiabilityAccountId
public UUID getLiabilityAccountId()
Xero identifier for Liability Account- Returns:
- liabilityAccountId
-
setLiabilityAccountId
public void setLiabilityAccountId(UUID liabilityAccountId)
Xero identifier for Liability Account- Parameters:
liabilityAccountId- UUID
-
currentRecord
public Deduction currentRecord(Boolean currentRecord)
Identifier of a record is active or not.- Parameters:
currentRecord- Boolean- Returns:
- Deduction
-
getCurrentRecord
public Boolean getCurrentRecord()
Identifier of a record is active or not.- Returns:
- currentRecord
-
setCurrentRecord
public void setCurrentRecord(Boolean currentRecord)
Identifier of a record is active or not.- Parameters:
currentRecord- Boolean
-
standardAmount
public Deduction standardAmount(Double standardAmount)
Standard amount of the deduction.- Parameters:
standardAmount- Double- Returns:
- Deduction
-
getStandardAmount
public Double getStandardAmount()
Standard amount of the deduction.- Returns:
- standardAmount
-
setStandardAmount
public void setStandardAmount(Double standardAmount)
Standard amount of the deduction.- Parameters:
standardAmount- Double
-
-