Package com.xero.models.payrolluk
Class Deduction
- java.lang.Object
-
- com.xero.models.payrolluk.Deduction
-
public class Deduction extends Object
Deduction
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeduction.CalculationTypeEnumdetermine the calculation type whether fixed amount or percentage of grossstatic classDeduction.DeductionCategoryEnumDeduction Category type
-
Constructor Summary
Constructors Constructor Description Deduction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeductionapplyToPensionCalculations(Boolean applyToPensionCalculations)Identifier for apply to pension calculationsDeductioncalculationType(Deduction.CalculationTypeEnum calculationType)determine the calculation type whether fixed amount or percentage of grossDeductioncurrentRecord(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)BooleangetApplyToPensionCalculations()Identifier for apply to pension calculationsDeduction.CalculationTypeEnumgetCalculationType()determine the calculation type whether fixed amount or percentage of grossBooleangetCurrentRecord()Identifier of a record is active or not.Deduction.DeductionCategoryEnumgetDeductionCategory()Deduction Category typeUUIDgetDeductionId()The Xero identifier for DeductionStringgetDeductionName()Name of the deductionBooleangetIsCalculatingOnQualifyingEarnings()Identifier of calculating on qualifying earningsBooleangetIsPension()Identifier of applicable for pension or notBooleangetIsReducedByBasicRate()Identifier of reduced by basic rate applicable or notUUIDgetLiabilityAccountId()Xero identifier for Liability AccountDoublegetPercentage()Percentage of grossBooleangetReducesSuperLiability()Identifier of reduces super liabilityBooleangetReducesTaxLiability()Identifier of reduces tax liabilityDoublegetStandardAmount()Standard amount of the deductionBooleangetSubjectToNIC()Identifier of subject To NICBooleangetSubjectToTax()Identifier of subject To TaxinthashCode()DeductionisCalculatingOnQualifyingEarnings(Boolean isCalculatingOnQualifyingEarnings)Identifier of calculating on qualifying earningsDeductionisPension(Boolean isPension)Identifier of applicable for pension or notDeductionisReducedByBasicRate(Boolean isReducedByBasicRate)Identifier of reduced by basic rate applicable or notDeductionliabilityAccountId(UUID liabilityAccountId)Xero identifier for Liability AccountDeductionpercentage(Double percentage)Percentage of grossDeductionreducesSuperLiability(Boolean reducesSuperLiability)Identifier of reduces super liabilityDeductionreducesTaxLiability(Boolean reducesTaxLiability)Identifier of reduces tax liabilityvoidsetApplyToPensionCalculations(Boolean applyToPensionCalculations)Identifier for apply to pension calculationsvoidsetCalculationType(Deduction.CalculationTypeEnum calculationType)determine the calculation type whether fixed amount or percentage of grossvoidsetCurrentRecord(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 deductionvoidsetIsCalculatingOnQualifyingEarnings(Boolean isCalculatingOnQualifyingEarnings)Identifier of calculating on qualifying earningsvoidsetIsPension(Boolean isPension)Identifier of applicable for pension or notvoidsetIsReducedByBasicRate(Boolean isReducedByBasicRate)Identifier of reduced by basic rate applicable or notvoidsetLiabilityAccountId(UUID liabilityAccountId)Xero identifier for Liability AccountvoidsetPercentage(Double percentage)Percentage of grossvoidsetReducesSuperLiability(Boolean reducesSuperLiability)Identifier of reduces super liabilityvoidsetReducesTaxLiability(Boolean reducesTaxLiability)Identifier of reduces tax liabilityvoidsetStandardAmount(Double standardAmount)Standard amount of the deductionvoidsetSubjectToNIC(Boolean subjectToNIC)Identifier of subject To NICvoidsetSubjectToTax(Boolean subjectToTax)Identifier of subject To TaxDeductionstandardAmount(Double standardAmount)Standard amount of the deductionDeductionsubjectToNIC(Boolean subjectToNIC)Identifier of subject To NICDeductionsubjectToTax(Boolean subjectToTax)Identifier of subject To TaxStringtoString()
-
-
-
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
-
reducesSuperLiability
public Deduction reducesSuperLiability(Boolean reducesSuperLiability)
Identifier of reduces super liability- Parameters:
reducesSuperLiability- Boolean- Returns:
- Deduction
-
getReducesSuperLiability
public Boolean getReducesSuperLiability()
Identifier of reduces super liability- Returns:
- reducesSuperLiability
-
setReducesSuperLiability
public void setReducesSuperLiability(Boolean reducesSuperLiability)
Identifier of reduces super liability- Parameters:
reducesSuperLiability- Boolean
-
reducesTaxLiability
public Deduction reducesTaxLiability(Boolean reducesTaxLiability)
Identifier of reduces tax liability- Parameters:
reducesTaxLiability- Boolean- Returns:
- Deduction
-
getReducesTaxLiability
public Boolean getReducesTaxLiability()
Identifier of reduces tax liability- Returns:
- reducesTaxLiability
-
setReducesTaxLiability
public void setReducesTaxLiability(Boolean reducesTaxLiability)
Identifier of reduces tax liability- Parameters:
reducesTaxLiability- Boolean
-
calculationType
public Deduction calculationType(Deduction.CalculationTypeEnum calculationType)
determine the calculation type whether fixed amount or percentage of gross- Parameters:
calculationType- CalculationTypeEnum- Returns:
- Deduction
-
getCalculationType
public Deduction.CalculationTypeEnum getCalculationType()
determine the calculation type whether fixed amount or percentage of gross- Returns:
- calculationType
-
setCalculationType
public void setCalculationType(Deduction.CalculationTypeEnum calculationType)
determine the calculation type whether fixed amount or percentage of gross- Parameters:
calculationType- CalculationTypeEnum
-
percentage
public Deduction percentage(Double percentage)
Percentage of gross- Parameters:
percentage- Double- Returns:
- Deduction
-
getPercentage
public Double getPercentage()
Percentage of gross- Returns:
- percentage
-
setPercentage
public void setPercentage(Double percentage)
Percentage of gross- Parameters:
percentage- Double
-
subjectToNIC
public Deduction subjectToNIC(Boolean subjectToNIC)
Identifier of subject To NIC- Parameters:
subjectToNIC- Boolean- Returns:
- Deduction
-
getSubjectToNIC
public Boolean getSubjectToNIC()
Identifier of subject To NIC- Returns:
- subjectToNIC
-
setSubjectToNIC
public void setSubjectToNIC(Boolean subjectToNIC)
Identifier of subject To NIC- Parameters:
subjectToNIC- Boolean
-
subjectToTax
public Deduction subjectToTax(Boolean subjectToTax)
Identifier of subject To Tax- Parameters:
subjectToTax- Boolean- Returns:
- Deduction
-
getSubjectToTax
public Boolean getSubjectToTax()
Identifier of subject To Tax- Returns:
- subjectToTax
-
setSubjectToTax
public void setSubjectToTax(Boolean subjectToTax)
Identifier of subject To Tax- Parameters:
subjectToTax- Boolean
-
isReducedByBasicRate
public Deduction isReducedByBasicRate(Boolean isReducedByBasicRate)
Identifier of reduced by basic rate applicable or not- Parameters:
isReducedByBasicRate- Boolean- Returns:
- Deduction
-
getIsReducedByBasicRate
public Boolean getIsReducedByBasicRate()
Identifier of reduced by basic rate applicable or not- Returns:
- isReducedByBasicRate
-
setIsReducedByBasicRate
public void setIsReducedByBasicRate(Boolean isReducedByBasicRate)
Identifier of reduced by basic rate applicable or not- Parameters:
isReducedByBasicRate- Boolean
-
applyToPensionCalculations
public Deduction applyToPensionCalculations(Boolean applyToPensionCalculations)
Identifier for apply to pension calculations- Parameters:
applyToPensionCalculations- Boolean- Returns:
- Deduction
-
getApplyToPensionCalculations
public Boolean getApplyToPensionCalculations()
Identifier for apply to pension calculations- Returns:
- applyToPensionCalculations
-
setApplyToPensionCalculations
public void setApplyToPensionCalculations(Boolean applyToPensionCalculations)
Identifier for apply to pension calculations- Parameters:
applyToPensionCalculations- Boolean
-
isCalculatingOnQualifyingEarnings
public Deduction isCalculatingOnQualifyingEarnings(Boolean isCalculatingOnQualifyingEarnings)
Identifier of calculating on qualifying earnings- Parameters:
isCalculatingOnQualifyingEarnings- Boolean- Returns:
- Deduction
-
getIsCalculatingOnQualifyingEarnings
public Boolean getIsCalculatingOnQualifyingEarnings()
Identifier of calculating on qualifying earnings- Returns:
- isCalculatingOnQualifyingEarnings
-
setIsCalculatingOnQualifyingEarnings
public void setIsCalculatingOnQualifyingEarnings(Boolean isCalculatingOnQualifyingEarnings)
Identifier of calculating on qualifying earnings- Parameters:
isCalculatingOnQualifyingEarnings- Boolean
-
isPension
public Deduction isPension(Boolean isPension)
Identifier of applicable for pension or not- Parameters:
isPension- Boolean- Returns:
- Deduction
-
getIsPension
public Boolean getIsPension()
Identifier of applicable for pension or not- Returns:
- isPension
-
setIsPension
public void setIsPension(Boolean isPension)
Identifier of applicable for pension or not- Parameters:
isPension- Boolean
-
-