Class DeductionType


  • public class DeductionType
    extends Object
    DeductionType
    • Constructor Detail

      • DeductionType

        public DeductionType()
    • Method Detail

      • name

        public DeductionType name​(String name)
        Name of the earnings rate (max length = 100)
        Parameters:
        name - String
        Returns:
        DeductionType
      • getName

        public String getName()
        Name of the earnings rate (max length = 100)
        Returns:
        name
      • setName

        public void setName​(String name)
        Name of the earnings rate (max length = 100)
        Parameters:
        name - String
      • accountCode

        public DeductionType accountCode​(String accountCode)
        See Accounts
        Parameters:
        accountCode - String
        Returns:
        DeductionType
      • getAccountCode

        public String getAccountCode()
        See Accounts
        Returns:
        accountCode
      • setAccountCode

        public void setAccountCode​(String accountCode)
        See Accounts
        Parameters:
        accountCode - String
      • reducesTax

        public DeductionType reducesTax​(Boolean reducesTax)
        Indicates that this is a pre-tax deduction that will reduce the amount of tax you withhold from an employee.
        Parameters:
        reducesTax - Boolean
        Returns:
        DeductionType
      • getReducesTax

        public Boolean getReducesTax()
        Indicates that this is a pre-tax deduction that will reduce the amount of tax you withhold from an employee.
        Returns:
        reducesTax
      • setReducesTax

        public void setReducesTax​(Boolean reducesTax)
        Indicates that this is a pre-tax deduction that will reduce the amount of tax you withhold from an employee.
        Parameters:
        reducesTax - Boolean
      • reducesSuper

        public DeductionType reducesSuper​(Boolean reducesSuper)
        Most deductions don’t reduce your superannuation guarantee contribution liability, so typically you will not set any value for this.
        Parameters:
        reducesSuper - Boolean
        Returns:
        DeductionType
      • getReducesSuper

        public Boolean getReducesSuper()
        Most deductions don’t reduce your superannuation guarantee contribution liability, so typically you will not set any value for this.
        Returns:
        reducesSuper
      • setReducesSuper

        public void setReducesSuper​(Boolean reducesSuper)
        Most deductions don’t reduce your superannuation guarantee contribution liability, so typically you will not set any value for this.
        Parameters:
        reducesSuper - Boolean
      • isExemptFromW1

        public DeductionType isExemptFromW1​(Boolean isExemptFromW1)
        Boolean to determine if the deduction type is reportable or exempt from W1
        Parameters:
        isExemptFromW1 - Boolean
        Returns:
        DeductionType
      • getIsExemptFromW1

        public Boolean getIsExemptFromW1()
        Boolean to determine if the deduction type is reportable or exempt from W1
        Returns:
        isExemptFromW1
      • setIsExemptFromW1

        public void setIsExemptFromW1​(Boolean isExemptFromW1)
        Boolean to determine if the deduction type is reportable or exempt from W1
        Parameters:
        isExemptFromW1 - Boolean
      • deductionTypeID

        public DeductionType deductionTypeID​(UUID deductionTypeID)
        Xero identifier
        Parameters:
        deductionTypeID - UUID
        Returns:
        DeductionType
      • getDeductionTypeID

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

        public void setDeductionTypeID​(UUID deductionTypeID)
        Xero identifier
        Parameters:
        deductionTypeID - UUID
      • getUpdatedDateUTC

        public String getUpdatedDateUTC()
        Last modified timestamp
        Returns:
        updatedDateUTC
      • getUpdatedDateUTCAsDate

        public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate()
        Last modified timestamp
        Returns:
        OffsetDateTime
      • setDeductionCategory

        public void setDeductionCategory​(DeductionType.DeductionCategoryEnum deductionCategory)
        deductionCategory
        Parameters:
        deductionCategory - DeductionCategoryEnum
      • currentRecord

        public DeductionType currentRecord​(Boolean currentRecord)
        Is the current record
        Parameters:
        currentRecord - Boolean
        Returns:
        DeductionType
      • getCurrentRecord

        public Boolean getCurrentRecord()
        Is the current record
        Returns:
        currentRecord
      • setCurrentRecord

        public void setCurrentRecord​(Boolean currentRecord)
        Is the current record
        Parameters:
        currentRecord - Boolean
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object