Class DeductionLine

java.lang.Object
com.xero.models.payrollau.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 deduction type identifier
      Returns:
      deductionTypeID
    • setDeductionTypeID

      public void setDeductionTypeID​(UUID deductionTypeID)
    • calculationType

      public DeductionLine calculationType​(DeductionTypeCalculationType calculationType)
    • getCalculationType

      public DeductionTypeCalculationType getCalculationType()
      Get calculationType
      Returns:
      calculationType
    • setCalculationType

      public void setCalculationType​(DeductionTypeCalculationType calculationType)
    • amount

      public DeductionLine amount​(Double amount)
    • getAmount

      public Double getAmount()
      Deduction type amount
      Returns:
      amount
    • setAmount

      public void setAmount​(Double amount)
    • percentage

      public DeductionLine percentage​(Double percentage)
    • getPercentage

      public Double getPercentage()
      The Percentage of the Deduction
      Returns:
      percentage
    • setPercentage

      public void setPercentage​(Double percentage)
    • numberOfUnits

      public DeductionLine numberOfUnits​(Double numberOfUnits)
    • getNumberOfUnits

      public Double getNumberOfUnits()
      Deduction number of units
      Returns:
      numberOfUnits
    • setNumberOfUnits

      public void setNumberOfUnits​(Double numberOfUnits)
    • 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