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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BenefitcalculationTypeNZ(Benefit.CalculationTypeNZEnum calculationTypeNZ)Calculation Type of the superannuation either FixedAmount or PercentageOfTaxableEarningsBenefitcategory(Benefit.CategoryEnum category)Superannuations Category typeBenefitcompanyMax(Double companyMax)Company Maximum amount of the superannuationBenefitcurrentRecord(Boolean currentRecord)Identifier of a record is active or not.booleanequals(Object o)BenefitexpenseAccountId(UUID expenseAccountId)Xero identifier for Expense AccountBenefit.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)The Xero identifier for superannuationBenefitliabilityAccountId(UUID liabilityAccountId)Xero identifier for Liability AccountBenefitname(String name)Name of the superannuationsBenefitpercentage(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 AccountvoidsetId(UUID id)The Xero identifier for superannuationvoidsetLiabilityAccountId(UUID liabilityAccountId)Xero identifier for Liability AccountvoidsetName(String name)Name of the superannuationsvoidsetPercentage(Double percentage)Percentage of Taxable Earnings of the superannuationvoidsetStandardAmount(Double standardAmount)Standard amount of the superannuationBenefitstandardAmount(Double standardAmount)Standard amount of the superannuationStringtoString()
-
-
-
Method Detail
-
id
public Benefit id(UUID id)
The Xero identifier for superannuation- Parameters:
id- UUID- Returns:
- Benefit
-
getId
public UUID getId()
The Xero identifier for superannuation- Returns:
- id
-
setId
public void setId(UUID id)
The Xero identifier for superannuation- Parameters:
id- UUID
-
name
public Benefit name(String name)
Name of the superannuations- Parameters:
name- String- Returns:
- Benefit
-
getName
public String getName()
Name of the superannuations- Returns:
- name
-
setName
public void setName(String name)
Name of the superannuations- Parameters:
name- String
-
category
public Benefit category(Benefit.CategoryEnum category)
Superannuations Category type- Parameters:
category- CategoryEnum- Returns:
- Benefit
-
getCategory
public Benefit.CategoryEnum getCategory()
Superannuations Category type- Returns:
- category
-
setCategory
public void setCategory(Benefit.CategoryEnum category)
Superannuations Category type- Parameters:
category- CategoryEnum
-
liabilityAccountId
public Benefit liabilityAccountId(UUID liabilityAccountId)
Xero identifier for Liability Account- Parameters:
liabilityAccountId- UUID- Returns:
- Benefit
-
getLiabilityAccountId
public UUID getLiabilityAccountId()
Xero identifier for Liability Account- Returns:
- liabilityAccountId
-
setLiabilityAccountId
public void setLiabilityAccountId(UUID liabilityAccountId)
Xero identifier for Liability Account- Parameters:
liabilityAccountId- UUID
-
expenseAccountId
public Benefit expenseAccountId(UUID expenseAccountId)
Xero identifier for Expense Account- Parameters:
expenseAccountId- UUID- Returns:
- Benefit
-
getExpenseAccountId
public UUID getExpenseAccountId()
Xero identifier for Expense Account- Returns:
- expenseAccountId
-
setExpenseAccountId
public void setExpenseAccountId(UUID expenseAccountId)
Xero identifier for Expense Account- Parameters:
expenseAccountId- UUID
-
calculationTypeNZ
public Benefit calculationTypeNZ(Benefit.CalculationTypeNZEnum calculationTypeNZ)
Calculation Type of the superannuation either FixedAmount or PercentageOfTaxableEarnings- Parameters:
calculationTypeNZ- CalculationTypeNZEnum- Returns:
- Benefit
-
getCalculationTypeNZ
public Benefit.CalculationTypeNZEnum getCalculationTypeNZ()
Calculation Type of the superannuation either FixedAmount or PercentageOfTaxableEarnings- Returns:
- calculationTypeNZ
-
setCalculationTypeNZ
public void setCalculationTypeNZ(Benefit.CalculationTypeNZEnum calculationTypeNZ)
Calculation Type of the superannuation either FixedAmount or PercentageOfTaxableEarnings- Parameters:
calculationTypeNZ- CalculationTypeNZEnum
-
standardAmount
public Benefit standardAmount(Double standardAmount)
Standard amount of the superannuation- Parameters:
standardAmount- Double- Returns:
- Benefit
-
getStandardAmount
public Double getStandardAmount()
Standard amount of the superannuation- Returns:
- standardAmount
-
setStandardAmount
public void setStandardAmount(Double standardAmount)
Standard amount of the superannuation- Parameters:
standardAmount- Double
-
percentage
public Benefit percentage(Double percentage)
Percentage of Taxable Earnings of the superannuation- Parameters:
percentage- Double- Returns:
- Benefit
-
getPercentage
public Double getPercentage()
Percentage of Taxable Earnings of the superannuation- Returns:
- percentage
-
setPercentage
public void setPercentage(Double percentage)
Percentage of Taxable Earnings of the superannuation- Parameters:
percentage- Double
-
companyMax
public Benefit companyMax(Double companyMax)
Company Maximum amount of the superannuation- Parameters:
companyMax- Double- Returns:
- Benefit
-
getCompanyMax
public Double getCompanyMax()
Company Maximum amount of the superannuation- Returns:
- companyMax
-
setCompanyMax
public void setCompanyMax(Double companyMax)
Company Maximum amount of the superannuation- Parameters:
companyMax- Double
-
currentRecord
public Benefit currentRecord(Boolean currentRecord)
Identifier of a record is active or not.- Parameters:
currentRecord- Boolean- Returns:
- Benefit
-
getCurrentRecord
public Boolean getCurrentRecord()
Identifier of a record is active or not.- Returns:
- currentRecord
-
setCurrentRecord
public void setCurrentRecord(Boolean currentRecord)
Identifier of a record is active or not.- Parameters:
currentRecord- Boolean
-
-