Class DeductionType

java.lang.Object
com.xero.models.payrollau.DeductionType

public class DeductionType
extends Object
DeductionType
  • Constructor Details

    • DeductionType

      public DeductionType()
  • Method Details

    • name

      public DeductionType name​(String name)
    • getName

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

      public void setName​(String name)
    • accountCode

      public DeductionType accountCode​(String accountCode)
    • getAccountCode

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

      public void setAccountCode​(String accountCode)
    • reducesTax

      public DeductionType reducesTax​(Boolean reducesTax)
    • 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)
    • reducesSuper

      public DeductionType reducesSuper​(Boolean reducesSuper)
    • 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)
    • isExemptFromW1

      public DeductionType isExemptFromW1​(Boolean isExemptFromW1)
    • 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)
    • deductionTypeID

      public DeductionType deductionTypeID​(UUID deductionTypeID)
    • getDeductionTypeID

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

      public void setDeductionTypeID​(UUID deductionTypeID)
    • getUpdatedDateUTC

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

      public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate()
    • deductionCategory

      public DeductionType deductionCategory​(DeductionType.DeductionCategoryEnum deductionCategory)
    • getDeductionCategory

      public DeductionType.DeductionCategoryEnum getDeductionCategory()
      Get deductionCategory
      Returns:
      deductionCategory
    • setDeductionCategory

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

      public DeductionType currentRecord​(Boolean currentRecord)
    • getCurrentRecord

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

      public void setCurrentRecord​(Boolean currentRecord)
    • 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