Class TaxSettings

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

public class TaxSettings
extends Object
TaxSettings
  • Constructor Details

    • TaxSettings

      public TaxSettings()
  • Method Details

    • periodUnits

      public TaxSettings periodUnits​(Integer periodUnits)
    • getPeriodUnits

      public Integer getPeriodUnits()
      The number of units for the period type
      Returns:
      periodUnits
    • setPeriodUnits

      public void setPeriodUnits​(Integer periodUnits)
    • periodType

      public TaxSettings periodType​(TaxSettings.PeriodTypeEnum periodType)
    • getPeriodType

      public TaxSettings.PeriodTypeEnum getPeriodType()
      The type of period (\"weeks\" or \"months\")
      Returns:
      periodType
    • setPeriodType

      public void setPeriodType​(TaxSettings.PeriodTypeEnum periodType)
    • taxCode

      public TaxSettings taxCode​(TaxCode taxCode)
    • getTaxCode

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

      public void setTaxCode​(TaxCode taxCode)
    • specialTaxRate

      public TaxSettings specialTaxRate​(String specialTaxRate)
    • getSpecialTaxRate

      public String getSpecialTaxRate()
      Tax rate for STC and WT
      Returns:
      specialTaxRate
    • setSpecialTaxRate

      public void setSpecialTaxRate​(String specialTaxRate)
    • lumpSumTaxCode

      public TaxSettings lumpSumTaxCode​(String lumpSumTaxCode)
    • getLumpSumTaxCode

      public String getLumpSumTaxCode()
      Tax code for a lump sum amount
      Returns:
      lumpSumTaxCode
    • setLumpSumTaxCode

      public void setLumpSumTaxCode​(String lumpSumTaxCode)
    • lumpSumAmount

      public TaxSettings lumpSumAmount​(String lumpSumAmount)
    • getLumpSumAmount

      public String getLumpSumAmount()
      The total of the lump sum amount
      Returns:
      lumpSumAmount
    • setLumpSumAmount

      public void setLumpSumAmount​(String lumpSumAmount)
    • 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