Package com.xero.models.payrollnz
Class TaxSettings
- java.lang.Object
-
- com.xero.models.payrollnz.TaxSettings
-
public class TaxSettings extends Object
TaxSettings
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTaxSettings.PeriodTypeEnumThe type of period (\"weeks\" or \"months\")
-
Constructor Summary
Constructors Constructor Description TaxSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetLumpSumAmount()The total of the lump sum amountStringgetLumpSumTaxCode()Tax code for a lump sum amountTaxSettings.PeriodTypeEnumgetPeriodType()The type of period (\"weeks\" or \"months\")DoublegetPeriodUnits()The number of units for the period typeStringgetSpecialTaxRate()Tax rate for STC and WTTaxCodegetTaxCode()Get taxCodeinthashCode()TaxSettingslumpSumAmount(String lumpSumAmount)The total of the lump sum amountTaxSettingslumpSumTaxCode(String lumpSumTaxCode)Tax code for a lump sum amountTaxSettingsperiodType(TaxSettings.PeriodTypeEnum periodType)The type of period (\"weeks\" or \"months\")TaxSettingsperiodUnits(Double periodUnits)The number of units for the period typevoidsetLumpSumAmount(String lumpSumAmount)The total of the lump sum amountvoidsetLumpSumTaxCode(String lumpSumTaxCode)Tax code for a lump sum amountvoidsetPeriodType(TaxSettings.PeriodTypeEnum periodType)The type of period (\"weeks\" or \"months\")voidsetPeriodUnits(Double periodUnits)The number of units for the period typevoidsetSpecialTaxRate(String specialTaxRate)Tax rate for STC and WTvoidsetTaxCode(TaxCode taxCode)taxCodeTaxSettingsspecialTaxRate(String specialTaxRate)Tax rate for STC and WTTaxSettingstaxCode(TaxCode taxCode)taxCodeStringtoString()
-
-
-
Method Detail
-
periodUnits
public TaxSettings periodUnits(Double periodUnits)
The number of units for the period type- Parameters:
periodUnits- Double- Returns:
- TaxSettings
-
getPeriodUnits
public Double getPeriodUnits()
The number of units for the period type- Returns:
- periodUnits
-
setPeriodUnits
public void setPeriodUnits(Double periodUnits)
The number of units for the period type- Parameters:
periodUnits- Double
-
periodType
public TaxSettings periodType(TaxSettings.PeriodTypeEnum periodType)
The type of period (\"weeks\" or \"months\")- Parameters:
periodType- PeriodTypeEnum- Returns:
- TaxSettings
-
getPeriodType
public TaxSettings.PeriodTypeEnum getPeriodType()
The type of period (\"weeks\" or \"months\")- Returns:
- periodType
-
setPeriodType
public void setPeriodType(TaxSettings.PeriodTypeEnum periodType)
The type of period (\"weeks\" or \"months\")- Parameters:
periodType- PeriodTypeEnum
-
taxCode
public TaxSettings taxCode(TaxCode taxCode)
taxCode- Parameters:
taxCode- TaxCode- Returns:
- TaxSettings
-
getTaxCode
public TaxCode getTaxCode()
Get taxCode- Returns:
- taxCode
-
setTaxCode
public void setTaxCode(TaxCode taxCode)
taxCode- Parameters:
taxCode- TaxCode
-
specialTaxRate
public TaxSettings specialTaxRate(String specialTaxRate)
Tax rate for STC and WT- Parameters:
specialTaxRate- String- Returns:
- TaxSettings
-
getSpecialTaxRate
public String getSpecialTaxRate()
Tax rate for STC and WT- Returns:
- specialTaxRate
-
setSpecialTaxRate
public void setSpecialTaxRate(String specialTaxRate)
Tax rate for STC and WT- Parameters:
specialTaxRate- String
-
lumpSumTaxCode
public TaxSettings lumpSumTaxCode(String lumpSumTaxCode)
Tax code for a lump sum amount- Parameters:
lumpSumTaxCode- String- Returns:
- TaxSettings
-
getLumpSumTaxCode
public String getLumpSumTaxCode()
Tax code for a lump sum amount- Returns:
- lumpSumTaxCode
-
setLumpSumTaxCode
public void setLumpSumTaxCode(String lumpSumTaxCode)
Tax code for a lump sum amount- Parameters:
lumpSumTaxCode- String
-
lumpSumAmount
public TaxSettings lumpSumAmount(String lumpSumAmount)
The total of the lump sum amount- Parameters:
lumpSumAmount- String- Returns:
- TaxSettings
-
getLumpSumAmount
public String getLumpSumAmount()
The total of the lump sum amount- Returns:
- lumpSumAmount
-
setLumpSumAmount
public void setLumpSumAmount(String lumpSumAmount)
The total of the lump sum amount- Parameters:
lumpSumAmount- String
-
-