Class Deduction

java.lang.Object
com.xero.models.payrolluk.Deduction

public class Deduction
extends Object
Deduction
  • Constructor Details

    • Deduction

      public Deduction()
  • Method Details

    • deductionId

      public Deduction deductionId​(UUID deductionId)
    • getDeductionId

      public UUID getDeductionId()
      The Xero identifier for Deduction
      Returns:
      deductionId
    • setDeductionId

      public void setDeductionId​(UUID deductionId)
    • deductionName

      public Deduction deductionName​(String deductionName)
    • getDeductionName

      public String getDeductionName()
      Name of the deduction
      Returns:
      deductionName
    • setDeductionName

      public void setDeductionName​(String deductionName)
    • deductionCategory

      public Deduction deductionCategory​(Deduction.DeductionCategoryEnum deductionCategory)
    • getDeductionCategory

      public Deduction.DeductionCategoryEnum getDeductionCategory()
      Deduction Category type
      Returns:
      deductionCategory
    • setDeductionCategory

      public void setDeductionCategory​(Deduction.DeductionCategoryEnum deductionCategory)
    • liabilityAccountId

      public Deduction liabilityAccountId​(UUID liabilityAccountId)
    • getLiabilityAccountId

      public UUID getLiabilityAccountId()
      Xero identifier for Liability Account
      Returns:
      liabilityAccountId
    • setLiabilityAccountId

      public void setLiabilityAccountId​(UUID liabilityAccountId)
    • currentRecord

      public Deduction currentRecord​(Boolean currentRecord)
    • getCurrentRecord

      public Boolean getCurrentRecord()
      Identifier of a record is active or not.
      Returns:
      currentRecord
    • setCurrentRecord

      public void setCurrentRecord​(Boolean currentRecord)
    • standardAmount

      public Deduction standardAmount​(Double standardAmount)
    • getStandardAmount

      public Double getStandardAmount()
      Standard amount of the deduction
      Returns:
      standardAmount
    • setStandardAmount

      public void setStandardAmount​(Double standardAmount)
    • reducesSuperLiability

      public Deduction reducesSuperLiability​(Boolean reducesSuperLiability)
    • getReducesSuperLiability

      public Boolean getReducesSuperLiability()
      Identifier of reduces super liability
      Returns:
      reducesSuperLiability
    • setReducesSuperLiability

      public void setReducesSuperLiability​(Boolean reducesSuperLiability)
    • reducesTaxLiability

      public Deduction reducesTaxLiability​(Boolean reducesTaxLiability)
    • getReducesTaxLiability

      public Boolean getReducesTaxLiability()
      Identifier of reduces tax liability
      Returns:
      reducesTaxLiability
    • setReducesTaxLiability

      public void setReducesTaxLiability​(Boolean reducesTaxLiability)
    • calculationType

      public Deduction calculationType​(Deduction.CalculationTypeEnum calculationType)
    • 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)
    • percentage

      public Deduction percentage​(Double percentage)
    • getPercentage

      public Double getPercentage()
      Percentage of gross
      Returns:
      percentage
    • setPercentage

      public void setPercentage​(Double percentage)
    • subjectToNIC

      public Deduction subjectToNIC​(Boolean subjectToNIC)
    • getSubjectToNIC

      public Boolean getSubjectToNIC()
      Identifier of subject To NIC
      Returns:
      subjectToNIC
    • setSubjectToNIC

      public void setSubjectToNIC​(Boolean subjectToNIC)
    • subjectToTax

      public Deduction subjectToTax​(Boolean subjectToTax)
    • getSubjectToTax

      public Boolean getSubjectToTax()
      Identifier of subject To Tax
      Returns:
      subjectToTax
    • setSubjectToTax

      public void setSubjectToTax​(Boolean subjectToTax)
    • isReducedByBasicRate

      public Deduction isReducedByBasicRate​(Boolean isReducedByBasicRate)
    • getIsReducedByBasicRate

      public Boolean getIsReducedByBasicRate()
      Identifier of reduced by basic rate applicable or not
      Returns:
      isReducedByBasicRate
    • setIsReducedByBasicRate

      public void setIsReducedByBasicRate​(Boolean isReducedByBasicRate)
    • applyToPensionCalculations

      public Deduction applyToPensionCalculations​(Boolean applyToPensionCalculations)
    • getApplyToPensionCalculations

      public Boolean getApplyToPensionCalculations()
      Identifier for apply to pension calculations
      Returns:
      applyToPensionCalculations
    • setApplyToPensionCalculations

      public void setApplyToPensionCalculations​(Boolean applyToPensionCalculations)
    • isCalculatingOnQualifyingEarnings

      public Deduction isCalculatingOnQualifyingEarnings​(Boolean isCalculatingOnQualifyingEarnings)
    • getIsCalculatingOnQualifyingEarnings

      public Boolean getIsCalculatingOnQualifyingEarnings()
      Identifier of calculating on qualifying earnings
      Returns:
      isCalculatingOnQualifyingEarnings
    • setIsCalculatingOnQualifyingEarnings

      public void setIsCalculatingOnQualifyingEarnings​(Boolean isCalculatingOnQualifyingEarnings)
    • isPension

      public Deduction isPension​(Boolean isPension)
    • getIsPension

      public Boolean getIsPension()
      Identifier of applicable for pension or not
      Returns:
      isPension
    • setIsPension

      public void setIsPension​(Boolean isPension)
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object