Class EmployeeTax

java.lang.Object
com.xero.models.payrollnz.EmployeeTax

public class EmployeeTax
extends Object
EmployeeTax
  • Constructor Details

    • EmployeeTax

      public EmployeeTax()
  • Method Details

    • irdNumber

      public EmployeeTax irdNumber​(String irdNumber)
    • getIrdNumber

      public String getIrdNumber()
      The IRD Number.
      Returns:
      irdNumber
    • setIrdNumber

      public void setIrdNumber​(String irdNumber)
    • taxCode

      public EmployeeTax taxCode​(TaxCode taxCode)
    • getTaxCode

      public TaxCode getTaxCode()
      Get taxCode
      Returns:
      taxCode
    • setTaxCode

      public void setTaxCode​(TaxCode taxCode)
    • specialTaxRatePercentage

      public EmployeeTax specialTaxRatePercentage​(Double specialTaxRatePercentage)
    • getSpecialTaxRatePercentage

      public Double getSpecialTaxRatePercentage()
      Special tax rate percentage.
      Returns:
      specialTaxRatePercentage
    • setSpecialTaxRatePercentage

      public void setSpecialTaxRatePercentage​(Double specialTaxRatePercentage)
    • hasSpecialStudentLoanRate

      public EmployeeTax hasSpecialStudentLoanRate​(Boolean hasSpecialStudentLoanRate)
    • getHasSpecialStudentLoanRate

      public Boolean getHasSpecialStudentLoanRate()
      Does the employee has a special student loan rate?
      Returns:
      hasSpecialStudentLoanRate
    • setHasSpecialStudentLoanRate

      public void setHasSpecialStudentLoanRate​(Boolean hasSpecialStudentLoanRate)
    • specialStudentLoanRatePercentage

      public EmployeeTax specialStudentLoanRatePercentage​(Double specialStudentLoanRatePercentage)
    • getSpecialStudentLoanRatePercentage

      public Double getSpecialStudentLoanRatePercentage()
      The employee student loan rate percentage.
      Returns:
      specialStudentLoanRatePercentage
    • setSpecialStudentLoanRatePercentage

      public void setSpecialStudentLoanRatePercentage​(Double specialStudentLoanRatePercentage)
    • isEligibleForKiwiSaver

      public EmployeeTax isEligibleForKiwiSaver​(Boolean isEligibleForKiwiSaver)
    • getIsEligibleForKiwiSaver

      public Boolean getIsEligibleForKiwiSaver()
      The employee eligibility for KiwiSaver.
      Returns:
      isEligibleForKiwiSaver
    • setIsEligibleForKiwiSaver

      public void setIsEligibleForKiwiSaver​(Boolean isEligibleForKiwiSaver)
    • esctRatePercentage

      public EmployeeTax esctRatePercentage​(Double esctRatePercentage)
    • getEsctRatePercentage

      public Double getEsctRatePercentage()
      Employer superannuation contribution tax rate.
      Returns:
      esctRatePercentage
    • setEsctRatePercentage

      public void setEsctRatePercentage​(Double esctRatePercentage)
    • kiwiSaverContributions

      public EmployeeTax kiwiSaverContributions​(EmployeeTax.KiwiSaverContributionsEnum kiwiSaverContributions)
    • getKiwiSaverContributions

      public EmployeeTax.KiwiSaverContributionsEnum getKiwiSaverContributions()
      Contribution Option which can be 'MakeContributions' 'OptOut', 'OnAContributionsHoliday', 'OnASavingsSuspension', 'NotCurrentlyAKiwiSaverMember' for employees without a KiwiSaver membership
      Returns:
      kiwiSaverContributions
    • setKiwiSaverContributions

      public void setKiwiSaverContributions​(EmployeeTax.KiwiSaverContributionsEnum kiwiSaverContributions)
    • kiwiSaverEmployeeContributionRatePercentage

      public EmployeeTax kiwiSaverEmployeeContributionRatePercentage​(Double kiwiSaverEmployeeContributionRatePercentage)
    • getKiwiSaverEmployeeContributionRatePercentage

      public Double getKiwiSaverEmployeeContributionRatePercentage()
      Employee Contribution percentage.
      Returns:
      kiwiSaverEmployeeContributionRatePercentage
    • setKiwiSaverEmployeeContributionRatePercentage

      public void setKiwiSaverEmployeeContributionRatePercentage​(Double kiwiSaverEmployeeContributionRatePercentage)
    • kiwiSaverEmployerContributionRatePercentage

      public EmployeeTax kiwiSaverEmployerContributionRatePercentage​(Double kiwiSaverEmployerContributionRatePercentage)
    • getKiwiSaverEmployerContributionRatePercentage

      public Double getKiwiSaverEmployerContributionRatePercentage()
      Employer Contribution percentage.
      Returns:
      kiwiSaverEmployerContributionRatePercentage
    • setKiwiSaverEmployerContributionRatePercentage

      public void setKiwiSaverEmployerContributionRatePercentage​(Double kiwiSaverEmployerContributionRatePercentage)
    • kiwiSaverEmployerSalarySacrificeContributionRatePercentage

      public EmployeeTax kiwiSaverEmployerSalarySacrificeContributionRatePercentage​(Double kiwiSaverEmployerSalarySacrificeContributionRatePercentage)
    • getKiwiSaverEmployerSalarySacrificeContributionRatePercentage

      public Double getKiwiSaverEmployerSalarySacrificeContributionRatePercentage()
      Employer Contribution through Salary Sacrifice percentage.
      Returns:
      kiwiSaverEmployerSalarySacrificeContributionRatePercentage
    • setKiwiSaverEmployerSalarySacrificeContributionRatePercentage

      public void setKiwiSaverEmployerSalarySacrificeContributionRatePercentage​(Double kiwiSaverEmployerSalarySacrificeContributionRatePercentage)
    • kiwiSaverOptOutDate

      public EmployeeTax kiwiSaverOptOutDate​(org.threeten.bp.LocalDate kiwiSaverOptOutDate)
    • getKiwiSaverOptOutDate

      public org.threeten.bp.LocalDate getKiwiSaverOptOutDate()
      Opt Out Date.
      Returns:
      kiwiSaverOptOutDate
    • setKiwiSaverOptOutDate

      public void setKiwiSaverOptOutDate​(org.threeten.bp.LocalDate kiwiSaverOptOutDate)
    • kiwiSaverContributionHolidayEndDate

      public EmployeeTax kiwiSaverContributionHolidayEndDate​(org.threeten.bp.LocalDate kiwiSaverContributionHolidayEndDate)
    • getKiwiSaverContributionHolidayEndDate

      public org.threeten.bp.LocalDate getKiwiSaverContributionHolidayEndDate()
      Contribution holiday expiry date or end date.
      Returns:
      kiwiSaverContributionHolidayEndDate
    • setKiwiSaverContributionHolidayEndDate

      public void setKiwiSaverContributionHolidayEndDate​(org.threeten.bp.LocalDate kiwiSaverContributionHolidayEndDate)
    • hasStudentLoanBalance

      public EmployeeTax hasStudentLoanBalance​(Boolean hasStudentLoanBalance)
    • getHasStudentLoanBalance

      public Boolean getHasStudentLoanBalance()
      Does the employee have a remaining student loan balance? Set a remaining balance if you have received a letter from IR.
      Returns:
      hasStudentLoanBalance
    • setHasStudentLoanBalance

      public void setHasStudentLoanBalance​(Boolean hasStudentLoanBalance)
    • studentLoanBalance

      public EmployeeTax studentLoanBalance​(Double studentLoanBalance)
    • getStudentLoanBalance

      public Double getStudentLoanBalance()
      The employee's student loan balance shown on the letter from IR.
      Returns:
      studentLoanBalance
    • setStudentLoanBalance

      public void setStudentLoanBalance​(Double studentLoanBalance)
    • studentLoanAsAt

      public EmployeeTax studentLoanAsAt​(org.threeten.bp.LocalDate studentLoanAsAt)
    • getStudentLoanAsAt

      public org.threeten.bp.LocalDate getStudentLoanAsAt()
      The date of the letter from IR.
      Returns:
      studentLoanAsAt
    • setStudentLoanAsAt

      public void setStudentLoanAsAt​(org.threeten.bp.LocalDate studentLoanAsAt)
    • 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