Class DeductionLine

java.lang.Object
com.xero.models.payrollnz.DeductionLine

public class DeductionLine
extends Object
DeductionLine
  • Constructor Details

    • DeductionLine

      public DeductionLine()
  • Method Details

    • deductionTypeID

      public DeductionLine deductionTypeID​(UUID deductionTypeID)
    • getDeductionTypeID

      public UUID getDeductionTypeID()
      Xero identifier for payroll deduction
      Returns:
      deductionTypeID
    • setDeductionTypeID

      public void setDeductionTypeID​(UUID deductionTypeID)
    • displayName

      public DeductionLine displayName​(String displayName)
    • getDisplayName

      public String getDisplayName()
      name of earnings rate for display in UI
      Returns:
      displayName
    • setDisplayName

      public void setDisplayName​(String displayName)
    • amount

      public DeductionLine amount​(Double amount)
    • getAmount

      public Double getAmount()
      The amount of the deduction line
      Returns:
      amount
    • setAmount

      public void setAmount​(Double amount)
    • subjectToTax

      public DeductionLine subjectToTax​(Boolean subjectToTax)
    • getSubjectToTax

      public Boolean getSubjectToTax()
      Identifies if the deduction is subject to tax
      Returns:
      subjectToTax
    • setSubjectToTax

      public void setSubjectToTax​(Boolean subjectToTax)
    • percentage

      public DeductionLine percentage​(Double percentage)
    • getPercentage

      public Double getPercentage()
      Deduction rate percentage
      Returns:
      percentage
    • setPercentage

      public void setPercentage​(Double percentage)
    • 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