Package com.xero.models.payrolluk
Class Benefit
java.lang.Object
com.xero.models.payrolluk.Benefit
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumCalculation Type of the employer pension (FixedAmount or PercentageOfGross).static enumCategory type of the employer pension -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalculationType(Benefit.CalculationTypeEnum calculationType) Calculation Type of the employer pension (FixedAmount or PercentageOfGross).category(Benefit.CategoryEnum category) Category type of the employer pensioncurrentRecord(Boolean currentRecord) Identifier of a record is active or not.booleanexpenseAccountId(UUID expenseAccountId) Xero identifier for Expense AccountCalculation Type of the employer pension (FixedAmount or PercentageOfGross).Category type of the employer pensionIdentifier of a record is active or not.Xero identifier for Expense AccountgetId()unique identifier in XeroIdentifier of calculating on qualifying earningsXero identifier for Liability AccountgetName()Name of the employer pensionPercentage of gross of the employer pensiondisplay the balance to employeeStandard amount of the employer pensionIdentifier of subject To NICIdentifier of subject To pensionIdentifier of subject To TaxinthashCode()unique identifier in XeroisCalculatingOnQualifyingEarnings(Boolean isCalculatingOnQualifyingEarnings) Identifier of calculating on qualifying earningsliabilityAccountId(UUID liabilityAccountId) Xero identifier for Liability AccountName of the employer pensionpercentage(Double percentage) Percentage of gross of the employer pensionvoidsetCalculationType(Benefit.CalculationTypeEnum calculationType) Calculation Type of the employer pension (FixedAmount or PercentageOfGross).voidsetCategory(Benefit.CategoryEnum category) Category type of the employer pensionvoidsetCurrentRecord(Boolean currentRecord) Identifier of a record is active or not.voidsetExpenseAccountId(UUID expenseAccountId) Xero identifier for Expense Accountvoidunique identifier in XerovoidsetIsCalculatingOnQualifyingEarnings(Boolean isCalculatingOnQualifyingEarnings) Identifier of calculating on qualifying earningsvoidsetLiabilityAccountId(UUID liabilityAccountId) Xero identifier for Liability AccountvoidName of the employer pensionvoidsetPercentage(Double percentage) Percentage of gross of the employer pensionvoidsetShowBalanceToEmployee(Boolean showBalanceToEmployee) display the balance to employeevoidsetStandardAmount(Double standardAmount) Standard amount of the employer pensionvoidsetSubjectToNIC(Boolean subjectToNIC) Identifier of subject To NICvoidsetSubjectToPension(Boolean subjectToPension) Identifier of subject To pensionvoidsetSubjectToTax(Boolean subjectToTax) Identifier of subject To TaxshowBalanceToEmployee(Boolean showBalanceToEmployee) display the balance to employeestandardAmount(Double standardAmount) Standard amount of the employer pensionsubjectToNIC(Boolean subjectToNIC) Identifier of subject To NICsubjectToPension(Boolean subjectToPension) Identifier of subject To pensionsubjectToTax(Boolean subjectToTax) Identifier of subject To TaxtoString()
-
Constructor Details
-
Benefit
public Benefit()
-
-
Method Details
-
id
-
getId
-
setId
-
name
-
getName
-
setName
-
category
Category type of the employer pension- Parameters:
category- CategoryEnum- Returns:
- Benefit
-
getCategory
-
setCategory
Category type of the employer pension- 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
-
standardAmount
-
getStandardAmount
-
setStandardAmount
Standard amount of the employer pension- Parameters:
standardAmount- Double
-
percentage
-
getPercentage
-
setPercentage
Percentage of gross of the employer pension- Parameters:
percentage- Double
-
calculationType
Calculation Type of the employer pension (FixedAmount or PercentageOfGross).- Parameters:
calculationType- CalculationTypeEnum- Returns:
- Benefit
-
getCalculationType
Calculation Type of the employer pension (FixedAmount or PercentageOfGross).- Returns:
- calculationType
-
setCalculationType
Calculation Type of the employer pension (FixedAmount or PercentageOfGross).- Parameters:
calculationType- CalculationTypeEnum
-
currentRecord
-
getCurrentRecord
-
setCurrentRecord
Identifier of a record is active or not.- Parameters:
currentRecord- Boolean
-
subjectToNIC
-
getSubjectToNIC
-
setSubjectToNIC
Identifier of subject To NIC- Parameters:
subjectToNIC- Boolean
-
subjectToPension
-
getSubjectToPension
-
setSubjectToPension
Identifier of subject To pension- Parameters:
subjectToPension- Boolean
-
subjectToTax
-
getSubjectToTax
-
setSubjectToTax
Identifier of subject To Tax- Parameters:
subjectToTax- Boolean
-
isCalculatingOnQualifyingEarnings
-
getIsCalculatingOnQualifyingEarnings
Identifier of calculating on qualifying earnings- Returns:
- isCalculatingOnQualifyingEarnings
-
setIsCalculatingOnQualifyingEarnings
Identifier of calculating on qualifying earnings- Parameters:
isCalculatingOnQualifyingEarnings- Boolean
-
showBalanceToEmployee
-
getShowBalanceToEmployee
display the balance to employee- Returns:
- showBalanceToEmployee
-
setShowBalanceToEmployee
display the balance to employee- Parameters:
showBalanceToEmployee- Boolean
-
equals
-
hashCode
-
toString
-