Class Deduction


  • public class Deduction
    extends Object
    Deduction
    • Constructor Detail

      • Deduction

        public Deduction()
    • Method Detail

      • deductionId

        public Deduction deductionId​(UUID deductionId)
        The Xero identifier for Deduction
        Parameters:
        deductionId - UUID
        Returns:
        Deduction
      • getDeductionId

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

        public void setDeductionId​(UUID deductionId)
        The Xero identifier for Deduction
        Parameters:
        deductionId - UUID
      • deductionName

        public Deduction deductionName​(String deductionName)
        Name of the deduction
        Parameters:
        deductionName - String
        Returns:
        Deduction
      • getDeductionName

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

        public void setDeductionName​(String deductionName)
        Name of the deduction
        Parameters:
        deductionName - String
      • deductionCategory

        public Deduction deductionCategory​(Deduction.DeductionCategoryEnum deductionCategory)
        Deduction Category type
        Parameters:
        deductionCategory - DeductionCategoryEnum
        Returns:
        Deduction
      • setDeductionCategory

        public void setDeductionCategory​(Deduction.DeductionCategoryEnum deductionCategory)
        Deduction Category type
        Parameters:
        deductionCategory - DeductionCategoryEnum
      • liabilityAccountId

        public Deduction liabilityAccountId​(UUID liabilityAccountId)
        Xero identifier for Liability Account
        Parameters:
        liabilityAccountId - UUID
        Returns:
        Deduction
      • getLiabilityAccountId

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

        public void setLiabilityAccountId​(UUID liabilityAccountId)
        Xero identifier for Liability Account
        Parameters:
        liabilityAccountId - UUID
      • currentRecord

        public Deduction currentRecord​(Boolean currentRecord)
        Identifier of a record is active or not.
        Parameters:
        currentRecord - Boolean
        Returns:
        Deduction
      • getCurrentRecord

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

        public void setCurrentRecord​(Boolean currentRecord)
        Identifier of a record is active or not.
        Parameters:
        currentRecord - Boolean
      • standardAmount

        public Deduction standardAmount​(Double standardAmount)
        Standard amount of the deduction.
        Parameters:
        standardAmount - Double
        Returns:
        Deduction
      • getStandardAmount

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

        public void setStandardAmount​(Double standardAmount)
        Standard amount of the deduction.
        Parameters:
        standardAmount - Double
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object