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
Modifier and Type Method Description DeductionapplyToPensionCalculations(Boolean applyToPensionCalculations)DeductioncalculationType(Deduction.CalculationTypeEnum calculationType)DeductioncurrentRecord(Boolean currentRecord)DeductiondeductionCategory(Deduction.DeductionCategoryEnum deductionCategory)DeductiondeductionId(UUID deductionId)DeductiondeductionName(String deductionName)booleanequals(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)DeductionisPension(Boolean isPension)DeductionisReducedByBasicRate(Boolean isReducedByBasicRate)DeductionliabilityAccountId(UUID liabilityAccountId)Deductionpercentage(Double percentage)DeductionreducesSuperLiability(Boolean reducesSuperLiability)DeductionreducesTaxLiability(Boolean reducesTaxLiability)voidsetApplyToPensionCalculations(Boolean applyToPensionCalculations)voidsetCalculationType(Deduction.CalculationTypeEnum calculationType)voidsetCurrentRecord(Boolean currentRecord)voidsetDeductionCategory(Deduction.DeductionCategoryEnum deductionCategory)voidsetDeductionId(UUID deductionId)voidsetDeductionName(String deductionName)voidsetIsCalculatingOnQualifyingEarnings(Boolean isCalculatingOnQualifyingEarnings)voidsetIsPension(Boolean isPension)voidsetIsReducedByBasicRate(Boolean isReducedByBasicRate)voidsetLiabilityAccountId(UUID liabilityAccountId)voidsetPercentage(Double percentage)voidsetReducesSuperLiability(Boolean reducesSuperLiability)voidsetReducesTaxLiability(Boolean reducesTaxLiability)voidsetStandardAmount(Double standardAmount)voidsetSubjectToNIC(Boolean subjectToNIC)voidsetSubjectToTax(Boolean subjectToTax)DeductionstandardAmount(Double standardAmount)DeductionsubjectToNIC(Boolean subjectToNIC)DeductionsubjectToTax(Boolean subjectToTax)StringtoString()
-
Constructor Details
-
Deduction
public Deduction()
-
-
Method Details
-
deductionId
-
getDeductionId
The Xero identifier for Deduction- Returns:
- deductionId
-
setDeductionId
-
deductionName
-
getDeductionName
Name of the deduction- Returns:
- deductionName
-
setDeductionName
-
deductionCategory
-
getDeductionCategory
Deduction Category type- Returns:
- deductionCategory
-
setDeductionCategory
-
liabilityAccountId
-
getLiabilityAccountId
Xero identifier for Liability Account- Returns:
- liabilityAccountId
-
setLiabilityAccountId
-
currentRecord
-
getCurrentRecord
Identifier of a record is active or not.- Returns:
- currentRecord
-
setCurrentRecord
-
standardAmount
-
getStandardAmount
Standard amount of the deduction- Returns:
- standardAmount
-
setStandardAmount
-
reducesSuperLiability
-
getReducesSuperLiability
Identifier of reduces super liability- Returns:
- reducesSuperLiability
-
setReducesSuperLiability
-
reducesTaxLiability
-
getReducesTaxLiability
Identifier of reduces tax liability- Returns:
- reducesTaxLiability
-
setReducesTaxLiability
-
calculationType
-
getCalculationType
determine the calculation type whether fixed amount or percentage of gross- Returns:
- calculationType
-
setCalculationType
-
percentage
-
getPercentage
Percentage of gross- Returns:
- percentage
-
setPercentage
-
subjectToNIC
-
getSubjectToNIC
Identifier of subject To NIC- Returns:
- subjectToNIC
-
setSubjectToNIC
-
subjectToTax
-
getSubjectToTax
Identifier of subject To Tax- Returns:
- subjectToTax
-
setSubjectToTax
-
isReducedByBasicRate
-
getIsReducedByBasicRate
Identifier of reduced by basic rate applicable or not- Returns:
- isReducedByBasicRate
-
setIsReducedByBasicRate
-
applyToPensionCalculations
-
getApplyToPensionCalculations
Identifier for apply to pension calculations- Returns:
- applyToPensionCalculations
-
setApplyToPensionCalculations
-
isCalculatingOnQualifyingEarnings
-
getIsCalculatingOnQualifyingEarnings
Identifier of calculating on qualifying earnings- Returns:
- isCalculatingOnQualifyingEarnings
-
setIsCalculatingOnQualifyingEarnings
-
isPension
-
getIsPension
Identifier of applicable for pension or not- Returns:
- isPension
-
setIsPension
-
equals
-
hashCode
public int hashCode() -
toString
-