Package com.xero.models.payrollnz
Class EmployeeTax
java.lang.Object
com.xero.models.payrollnz.EmployeeTax
public class EmployeeTax extends Object
EmployeeTax
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEmployeeTax.KiwiSaverContributionsEnumContribution Option which can be 'MakeContributions' 'OptOut', 'OnAContributionsHoliday', 'OnASavingsSuspension', 'NotCurrentlyAKiwiSaverMember' for employees without a KiwiSaver membership -
Constructor Summary
Constructors Constructor Description EmployeeTax() -
Method Summary
Modifier and Type Method Description booleanequals(Object o)EmployeeTaxesctRatePercentage(Double esctRatePercentage)DoublegetEsctRatePercentage()Employer superannuation contribution tax rate.BooleangetHasSpecialStudentLoanRate()Does the employee has a special student loan rate?BooleangetHasStudentLoanBalance()Does the employee have a remaining student loan balance? Set a remaining balance if you have received a letter from IR.StringgetIrdNumber()The IRD Number.BooleangetIsEligibleForKiwiSaver()The employee eligibility for KiwiSaver.org.threeten.bp.LocalDategetKiwiSaverContributionHolidayEndDate()Contribution holiday expiry date or end date.EmployeeTax.KiwiSaverContributionsEnumgetKiwiSaverContributions()Contribution Option which can be 'MakeContributions' 'OptOut', 'OnAContributionsHoliday', 'OnASavingsSuspension', 'NotCurrentlyAKiwiSaverMember' for employees without a KiwiSaver membershipDoublegetKiwiSaverEmployeeContributionRatePercentage()Employee Contribution percentage.DoublegetKiwiSaverEmployerContributionRatePercentage()Employer Contribution percentage.DoublegetKiwiSaverEmployerSalarySacrificeContributionRatePercentage()Employer Contribution through Salary Sacrifice percentage.org.threeten.bp.LocalDategetKiwiSaverOptOutDate()Opt Out Date.DoublegetSpecialStudentLoanRatePercentage()The employee student loan rate percentage.DoublegetSpecialTaxRatePercentage()Special tax rate percentage.org.threeten.bp.LocalDategetStudentLoanAsAt()The date of the letter from IR.DoublegetStudentLoanBalance()The employee's student loan balance shown on the letter from IR.TaxCodegetTaxCode()Get taxCodeinthashCode()EmployeeTaxhasSpecialStudentLoanRate(Boolean hasSpecialStudentLoanRate)EmployeeTaxhasStudentLoanBalance(Boolean hasStudentLoanBalance)EmployeeTaxirdNumber(String irdNumber)EmployeeTaxisEligibleForKiwiSaver(Boolean isEligibleForKiwiSaver)EmployeeTaxkiwiSaverContributionHolidayEndDate(org.threeten.bp.LocalDate kiwiSaverContributionHolidayEndDate)EmployeeTaxkiwiSaverContributions(EmployeeTax.KiwiSaverContributionsEnum kiwiSaverContributions)EmployeeTaxkiwiSaverEmployeeContributionRatePercentage(Double kiwiSaverEmployeeContributionRatePercentage)EmployeeTaxkiwiSaverEmployerContributionRatePercentage(Double kiwiSaverEmployerContributionRatePercentage)EmployeeTaxkiwiSaverEmployerSalarySacrificeContributionRatePercentage(Double kiwiSaverEmployerSalarySacrificeContributionRatePercentage)EmployeeTaxkiwiSaverOptOutDate(org.threeten.bp.LocalDate kiwiSaverOptOutDate)voidsetEsctRatePercentage(Double esctRatePercentage)voidsetHasSpecialStudentLoanRate(Boolean hasSpecialStudentLoanRate)voidsetHasStudentLoanBalance(Boolean hasStudentLoanBalance)voidsetIrdNumber(String irdNumber)voidsetIsEligibleForKiwiSaver(Boolean isEligibleForKiwiSaver)voidsetKiwiSaverContributionHolidayEndDate(org.threeten.bp.LocalDate kiwiSaverContributionHolidayEndDate)voidsetKiwiSaverContributions(EmployeeTax.KiwiSaverContributionsEnum kiwiSaverContributions)voidsetKiwiSaverEmployeeContributionRatePercentage(Double kiwiSaverEmployeeContributionRatePercentage)voidsetKiwiSaverEmployerContributionRatePercentage(Double kiwiSaverEmployerContributionRatePercentage)voidsetKiwiSaverEmployerSalarySacrificeContributionRatePercentage(Double kiwiSaverEmployerSalarySacrificeContributionRatePercentage)voidsetKiwiSaverOptOutDate(org.threeten.bp.LocalDate kiwiSaverOptOutDate)voidsetSpecialStudentLoanRatePercentage(Double specialStudentLoanRatePercentage)voidsetSpecialTaxRatePercentage(Double specialTaxRatePercentage)voidsetStudentLoanAsAt(org.threeten.bp.LocalDate studentLoanAsAt)voidsetStudentLoanBalance(Double studentLoanBalance)voidsetTaxCode(TaxCode taxCode)EmployeeTaxspecialStudentLoanRatePercentage(Double specialStudentLoanRatePercentage)EmployeeTaxspecialTaxRatePercentage(Double specialTaxRatePercentage)EmployeeTaxstudentLoanAsAt(org.threeten.bp.LocalDate studentLoanAsAt)EmployeeTaxstudentLoanBalance(Double studentLoanBalance)EmployeeTaxtaxCode(TaxCode taxCode)StringtoString()
-
Constructor Details
-
EmployeeTax
public EmployeeTax()
-
-
Method Details
-
irdNumber
-
getIrdNumber
The IRD Number.- Returns:
- irdNumber
-
setIrdNumber
-
taxCode
-
getTaxCode
Get taxCode- Returns:
- taxCode
-
setTaxCode
-
specialTaxRatePercentage
-
getSpecialTaxRatePercentage
Special tax rate percentage.- Returns:
- specialTaxRatePercentage
-
setSpecialTaxRatePercentage
-
hasSpecialStudentLoanRate
-
getHasSpecialStudentLoanRate
Does the employee has a special student loan rate?- Returns:
- hasSpecialStudentLoanRate
-
setHasSpecialStudentLoanRate
-
specialStudentLoanRatePercentage
-
getSpecialStudentLoanRatePercentage
The employee student loan rate percentage.- Returns:
- specialStudentLoanRatePercentage
-
setSpecialStudentLoanRatePercentage
-
isEligibleForKiwiSaver
-
getIsEligibleForKiwiSaver
The employee eligibility for KiwiSaver.- Returns:
- isEligibleForKiwiSaver
-
setIsEligibleForKiwiSaver
-
esctRatePercentage
-
getEsctRatePercentage
Employer superannuation contribution tax rate.- Returns:
- esctRatePercentage
-
setEsctRatePercentage
-
kiwiSaverContributions
public EmployeeTax kiwiSaverContributions(EmployeeTax.KiwiSaverContributionsEnum kiwiSaverContributions) -
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
Employee Contribution percentage.- Returns:
- kiwiSaverEmployeeContributionRatePercentage
-
setKiwiSaverEmployeeContributionRatePercentage
public void setKiwiSaverEmployeeContributionRatePercentage(Double kiwiSaverEmployeeContributionRatePercentage) -
kiwiSaverEmployerContributionRatePercentage
public EmployeeTax kiwiSaverEmployerContributionRatePercentage(Double kiwiSaverEmployerContributionRatePercentage) -
getKiwiSaverEmployerContributionRatePercentage
Employer Contribution percentage.- Returns:
- kiwiSaverEmployerContributionRatePercentage
-
setKiwiSaverEmployerContributionRatePercentage
public void setKiwiSaverEmployerContributionRatePercentage(Double kiwiSaverEmployerContributionRatePercentage) -
kiwiSaverEmployerSalarySacrificeContributionRatePercentage
public EmployeeTax kiwiSaverEmployerSalarySacrificeContributionRatePercentage(Double kiwiSaverEmployerSalarySacrificeContributionRatePercentage) -
getKiwiSaverEmployerSalarySacrificeContributionRatePercentage
Employer Contribution through Salary Sacrifice percentage.- Returns:
- kiwiSaverEmployerSalarySacrificeContributionRatePercentage
-
setKiwiSaverEmployerSalarySacrificeContributionRatePercentage
public void setKiwiSaverEmployerSalarySacrificeContributionRatePercentage(Double kiwiSaverEmployerSalarySacrificeContributionRatePercentage) -
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
-
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
-
studentLoanBalance
-
getStudentLoanBalance
The employee's student loan balance shown on the letter from IR.- Returns:
- studentLoanBalance
-
setStudentLoanBalance
-
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
-
hashCode
public int hashCode() -
toString
-