Class Deduction

java.lang.Object
com.xero.models.payrollnz.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)
    • 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