Class DeductionLine


  • public class DeductionLine
    extends Object
    DeductionLine
    • Constructor Detail

      • DeductionLine

        public DeductionLine()
    • Method Detail

      • deductionTypeID

        public DeductionLine deductionTypeID​(UUID deductionTypeID)
        Xero identifier for payroll deduction
        Parameters:
        deductionTypeID - UUID
        Returns:
        DeductionLine
      • getDeductionTypeID

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

        public void setDeductionTypeID​(UUID deductionTypeID)
        Xero identifier for payroll deduction
        Parameters:
        deductionTypeID - UUID
      • displayName

        public DeductionLine displayName​(String displayName)
        name of earnings rate for display in UI
        Parameters:
        displayName - String
        Returns:
        DeductionLine
      • getDisplayName

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

        public void setDisplayName​(String displayName)
        name of earnings rate for display in UI
        Parameters:
        displayName - String
      • amount

        public DeductionLine amount​(Double amount)
        The amount of the deduction line
        Parameters:
        amount - Double
        Returns:
        DeductionLine
      • getAmount

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

        public void setAmount​(Double amount)
        The amount of the deduction line
        Parameters:
        amount - Double
      • subjectToTax

        public DeductionLine subjectToTax​(Boolean subjectToTax)
        Identifies if the deduction is subject to tax
        Parameters:
        subjectToTax - Boolean
        Returns:
        DeductionLine
      • getSubjectToTax

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

        public void setSubjectToTax​(Boolean subjectToTax)
        Identifies if the deduction is subject to tax
        Parameters:
        subjectToTax - Boolean
      • percentage

        public DeductionLine percentage​(Double percentage)
        Deduction rate percentage
        Parameters:
        percentage - Double
        Returns:
        DeductionLine
      • getPercentage

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

        public void setPercentage​(Double percentage)
        Deduction rate percentage
        Parameters:
        percentage - Double
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object