Package com.xero.models.payrollnz
Class Benefit
java.lang.Object
com.xero.models.payrollnz.Benefit
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumCalculation Type of the superannuation either FixedAmount or PercentageOfTaxableEarningsstatic enumSuperannuations Category type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalculationTypeNZ(Benefit.CalculationTypeNZEnum calculationTypeNZ) Calculation Type of the superannuation either FixedAmount or PercentageOfTaxableEarningscategory(Benefit.CategoryEnum category) Superannuations Category typecompanyMax(Double companyMax) Company Maximum amount of the superannuationcurrentRecord(Boolean currentRecord) Identifier of a record is active or not.booleanexpenseAccountId(UUID expenseAccountId) Xero identifier for Expense AccountCalculation Type of the superannuation either FixedAmount or PercentageOfTaxableEarningsSuperannuations Category typeCompany Maximum amount of the superannuationIdentifier of a record is active or not.Xero identifier for Expense AccountgetId()The Xero identifier for superannuationXero identifier for Liability AccountgetName()Name of the superannuationsPercentage of Taxable Earnings of the superannuationStandard amount of the superannuationinthashCode()The Xero identifier for superannuationliabilityAccountId(UUID liabilityAccountId) Xero identifier for Liability AccountName of the superannuationspercentage(Double percentage) Percentage of Taxable Earnings of the superannuationvoidsetCalculationTypeNZ(Benefit.CalculationTypeNZEnum calculationTypeNZ) Calculation Type of the superannuation either FixedAmount or PercentageOfTaxableEarningsvoidsetCategory(Benefit.CategoryEnum category) Superannuations Category typevoidsetCompanyMax(Double companyMax) Company Maximum amount of the superannuationvoidsetCurrentRecord(Boolean currentRecord) Identifier of a record is active or not.voidsetExpenseAccountId(UUID expenseAccountId) Xero identifier for Expense AccountvoidThe Xero identifier for superannuationvoidsetLiabilityAccountId(UUID liabilityAccountId) Xero identifier for Liability AccountvoidName of the superannuationsvoidsetPercentage(Double percentage) Percentage of Taxable Earnings of the superannuationvoidsetStandardAmount(Double standardAmount) Standard amount of the superannuationstandardAmount(Double standardAmount) Standard amount of the superannuationtoString()
-
Constructor Details
-
Benefit
public Benefit()
-
-
Method Details
-
id
-
getId
-
setId
-
name
-
getName
-
setName
-
category
Superannuations Category type- Parameters:
category- CategoryEnum- Returns:
- Benefit
-
getCategory
-
setCategory
Superannuations Category type- Parameters:
category- CategoryEnum
-
liabilityAccountId
-
getLiabilityAccountId
Xero identifier for Liability Account- Returns:
- liabilityAccountId
-
setLiabilityAccountId
Xero identifier for Liability Account- Parameters:
liabilityAccountId- UUID
-
expenseAccountId
-
getExpenseAccountId
-
setExpenseAccountId
Xero identifier for Expense Account- Parameters:
expenseAccountId- UUID
-
calculationTypeNZ
Calculation Type of the superannuation either FixedAmount or PercentageOfTaxableEarnings- Parameters:
calculationTypeNZ- CalculationTypeNZEnum- Returns:
- Benefit
-
getCalculationTypeNZ
Calculation Type of the superannuation either FixedAmount or PercentageOfTaxableEarnings- Returns:
- calculationTypeNZ
-
setCalculationTypeNZ
Calculation Type of the superannuation either FixedAmount or PercentageOfTaxableEarnings- Parameters:
calculationTypeNZ- CalculationTypeNZEnum
-
standardAmount
-
getStandardAmount
-
setStandardAmount
Standard amount of the superannuation- Parameters:
standardAmount- Double
-
percentage
-
getPercentage
Percentage of Taxable Earnings of the superannuation- Returns:
- percentage
-
setPercentage
Percentage of Taxable Earnings of the superannuation- Parameters:
percentage- Double
-
companyMax
-
getCompanyMax
-
setCompanyMax
Company Maximum amount of the superannuation- Parameters:
companyMax- Double
-
currentRecord
-
getCurrentRecord
-
setCurrentRecord
Identifier of a record is active or not.- Parameters:
currentRecord- Boolean
-
equals
-
hashCode
-
toString
-