Package com.xero.models.payrolluk
Class Benefit
java.lang.Object
com.xero.models.payrolluk.Benefit
public class Benefit extends Object
Benefit
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBenefit.CalculationTypeEnumCalculation Type of the employer pension (FixedAmount or PercentageOfGross).static classBenefit.CategoryEnumCategory type of the employer pension -
Constructor Summary
Constructors Constructor Description Benefit() -
Method Summary
Modifier and Type Method Description BenefitcalculationType(Benefit.CalculationTypeEnum calculationType)Benefitcategory(Benefit.CategoryEnum category)BenefitcurrentRecord(Boolean currentRecord)booleanequals(Object o)BenefitexpenseAccountId(UUID expenseAccountId)Benefit.CalculationTypeEnumgetCalculationType()Calculation Type of the employer pension (FixedAmount or PercentageOfGross).Benefit.CategoryEnumgetCategory()Category type of the employer pensionBooleangetCurrentRecord()Identifier of a record is active or not.UUIDgetExpenseAccountId()Xero identifier for Expense AccountUUIDgetId()unique identifier in XeroBooleangetIsCalculatingOnQualifyingEarnings()Identifier of calculating on qualifying earningsUUIDgetLiabilityAccountId()Xero identifier for Liability AccountStringgetName()Name of the employer pensionDoublegetPercentage()Percentage of gross of the employer pensionBooleangetShowBalanceToEmployee()display the balance to employeeDoublegetStandardAmount()Standard amount of the employer pensionBooleangetSubjectToNIC()Identifier of subject To NICBooleangetSubjectToPension()Identifier of subject To pensionBooleangetSubjectToTax()Identifier of subject To TaxinthashCode()Benefitid(UUID id)BenefitisCalculatingOnQualifyingEarnings(Boolean isCalculatingOnQualifyingEarnings)BenefitliabilityAccountId(UUID liabilityAccountId)Benefitname(String name)Benefitpercentage(Double percentage)voidsetCalculationType(Benefit.CalculationTypeEnum calculationType)voidsetCategory(Benefit.CategoryEnum category)voidsetCurrentRecord(Boolean currentRecord)voidsetExpenseAccountId(UUID expenseAccountId)voidsetId(UUID id)voidsetIsCalculatingOnQualifyingEarnings(Boolean isCalculatingOnQualifyingEarnings)voidsetLiabilityAccountId(UUID liabilityAccountId)voidsetName(String name)voidsetPercentage(Double percentage)voidsetShowBalanceToEmployee(Boolean showBalanceToEmployee)voidsetStandardAmount(Double standardAmount)voidsetSubjectToNIC(Boolean subjectToNIC)voidsetSubjectToPension(Boolean subjectToPension)voidsetSubjectToTax(Boolean subjectToTax)BenefitshowBalanceToEmployee(Boolean showBalanceToEmployee)BenefitstandardAmount(Double standardAmount)BenefitsubjectToNIC(Boolean subjectToNIC)BenefitsubjectToPension(Boolean subjectToPension)BenefitsubjectToTax(Boolean subjectToTax)StringtoString()
-
Constructor Details
-
Benefit
public Benefit()
-
-
Method Details
-
id
-
getId
unique identifier in Xero- Returns:
- id
-
setId
-
name
-
getName
Name of the employer pension- Returns:
- name
-
setName
-
category
-
getCategory
Category type of the employer pension- Returns:
- category
-
setCategory
-
liabilityAccountId
-
getLiabilityAccountId
Xero identifier for Liability Account- Returns:
- liabilityAccountId
-
setLiabilityAccountId
-
expenseAccountId
-
getExpenseAccountId
Xero identifier for Expense Account- Returns:
- expenseAccountId
-
setExpenseAccountId
-
standardAmount
-
getStandardAmount
Standard amount of the employer pension- Returns:
- standardAmount
-
setStandardAmount
-
percentage
-
getPercentage
Percentage of gross of the employer pension- Returns:
- percentage
-
setPercentage
-
calculationType
-
getCalculationType
Calculation Type of the employer pension (FixedAmount or PercentageOfGross).- Returns:
- calculationType
-
setCalculationType
-
currentRecord
-
getCurrentRecord
Identifier of a record is active or not.- Returns:
- currentRecord
-
setCurrentRecord
-
subjectToNIC
-
getSubjectToNIC
Identifier of subject To NIC- Returns:
- subjectToNIC
-
setSubjectToNIC
-
subjectToPension
-
getSubjectToPension
Identifier of subject To pension- Returns:
- subjectToPension
-
setSubjectToPension
-
subjectToTax
-
getSubjectToTax
Identifier of subject To Tax- Returns:
- subjectToTax
-
setSubjectToTax
-
isCalculatingOnQualifyingEarnings
-
getIsCalculatingOnQualifyingEarnings
Identifier of calculating on qualifying earnings- Returns:
- isCalculatingOnQualifyingEarnings
-
setIsCalculatingOnQualifyingEarnings
-
showBalanceToEmployee
-
getShowBalanceToEmployee
display the balance to employee- Returns:
- showBalanceToEmployee
-
setShowBalanceToEmployee
-
equals
-
hashCode
public int hashCode() -
toString
-