Package com.xero.models.payrollnz
Class Benefit
java.lang.Object
com.xero.models.payrollnz.Benefit
public class Benefit extends Object
Benefit
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBenefit.CalculationTypeNZEnumCalculation Type of the superannuation either FixedAmount or PercentageOfTaxableEarningsstatic classBenefit.CategoryEnumSuperannuations Category type -
Constructor Summary
Constructors Constructor Description Benefit() -
Method Summary
Modifier and Type Method Description BenefitcalculationTypeNZ(Benefit.CalculationTypeNZEnum calculationTypeNZ)Benefitcategory(Benefit.CategoryEnum category)BenefitcompanyMax(Double companyMax)BenefitcurrentRecord(Boolean currentRecord)booleanequals(Object o)BenefitexpenseAccountId(UUID expenseAccountId)Benefit.CalculationTypeNZEnumgetCalculationTypeNZ()Calculation Type of the superannuation either FixedAmount or PercentageOfTaxableEarningsBenefit.CategoryEnumgetCategory()Superannuations Category typeDoublegetCompanyMax()Company Maximum amount of the superannuationBooleangetCurrentRecord()Identifier of a record is active or not.UUIDgetExpenseAccountId()Xero identifier for Expense AccountUUIDgetId()The Xero identifier for superannuationUUIDgetLiabilityAccountId()Xero identifier for Liability AccountStringgetName()Name of the superannuationsDoublegetPercentage()Percentage of Taxable Earnings of the superannuationDoublegetStandardAmount()Standard amount of the superannuationinthashCode()Benefitid(UUID id)BenefitliabilityAccountId(UUID liabilityAccountId)Benefitname(String name)Benefitpercentage(Double percentage)voidsetCalculationTypeNZ(Benefit.CalculationTypeNZEnum calculationTypeNZ)voidsetCategory(Benefit.CategoryEnum category)voidsetCompanyMax(Double companyMax)voidsetCurrentRecord(Boolean currentRecord)voidsetExpenseAccountId(UUID expenseAccountId)voidsetId(UUID id)voidsetLiabilityAccountId(UUID liabilityAccountId)voidsetName(String name)voidsetPercentage(Double percentage)voidsetStandardAmount(Double standardAmount)BenefitstandardAmount(Double standardAmount)StringtoString()
-
Constructor Details
-
Benefit
public Benefit()
-
-
Method Details
-
id
-
getId
The Xero identifier for superannuation- Returns:
- id
-
setId
-
name
-
getName
Name of the superannuations- Returns:
- name
-
setName
-
category
-
getCategory
Superannuations Category type- Returns:
- category
-
setCategory
-
liabilityAccountId
-
getLiabilityAccountId
Xero identifier for Liability Account- Returns:
- liabilityAccountId
-
setLiabilityAccountId
-
expenseAccountId
-
getExpenseAccountId
Xero identifier for Expense Account- Returns:
- expenseAccountId
-
setExpenseAccountId
-
calculationTypeNZ
-
getCalculationTypeNZ
Calculation Type of the superannuation either FixedAmount or PercentageOfTaxableEarnings- Returns:
- calculationTypeNZ
-
setCalculationTypeNZ
-
standardAmount
-
getStandardAmount
Standard amount of the superannuation- Returns:
- standardAmount
-
setStandardAmount
-
percentage
-
getPercentage
Percentage of Taxable Earnings of the superannuation- Returns:
- percentage
-
setPercentage
-
companyMax
-
getCompanyMax
Company Maximum amount of the superannuation- Returns:
- companyMax
-
setCompanyMax
-
currentRecord
-
getCurrentRecord
Identifier of a record is active or not.- Returns:
- currentRecord
-
setCurrentRecord
-
equals
-
hashCode
public int hashCode() -
toString
-