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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BenefitcalculationType(Benefit.CalculationTypeEnum calculationType)Calculation Type of the employer pension (FixedAmount or PercentageOfGross).Benefitcategory(Benefit.CategoryEnum category)Category type of the employer pensionBenefitcurrentRecord(Boolean currentRecord)Identifier of a record is active or not.booleanequals(Object o)BenefitexpenseAccountId(UUID expenseAccountId)Xero identifier for Expense AccountBenefit.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)unique identifier in XeroBenefitisCalculatingOnQualifyingEarnings(Boolean isCalculatingOnQualifyingEarnings)Identifier of calculating on qualifying earningsBenefitliabilityAccountId(UUID liabilityAccountId)Xero identifier for Liability AccountBenefitname(String name)Name of the employer pensionBenefitpercentage(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 AccountvoidsetId(UUID id)unique identifier in XerovoidsetIsCalculatingOnQualifyingEarnings(Boolean isCalculatingOnQualifyingEarnings)Identifier of calculating on qualifying earningsvoidsetLiabilityAccountId(UUID liabilityAccountId)Xero identifier for Liability AccountvoidsetName(String name)Name 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 TaxBenefitshowBalanceToEmployee(Boolean showBalanceToEmployee)display the balance to employeeBenefitstandardAmount(Double standardAmount)Standard amount of the employer pensionBenefitsubjectToNIC(Boolean subjectToNIC)Identifier of subject To NICBenefitsubjectToPension(Boolean subjectToPension)Identifier of subject To pensionBenefitsubjectToTax(Boolean subjectToTax)Identifier of subject To TaxStringtoString()
-
-
-
Method Detail
-
getId
public UUID getId()
unique identifier in Xero- Returns:
- id
-
setId
public void setId(UUID id)
unique identifier in Xero- Parameters:
id- UUID
-
name
public Benefit name(String name)
Name of the employer pension- Parameters:
name- String- Returns:
- Benefit
-
getName
public String getName()
Name of the employer pension- Returns:
- name
-
setName
public void setName(String name)
Name of the employer pension- Parameters:
name- String
-
category
public Benefit category(Benefit.CategoryEnum category)
Category type of the employer pension- Parameters:
category- CategoryEnum- Returns:
- Benefit
-
getCategory
public Benefit.CategoryEnum getCategory()
Category type of the employer pension- Returns:
- category
-
setCategory
public void setCategory(Benefit.CategoryEnum category)
Category type of the employer pension- 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
-
standardAmount
public Benefit standardAmount(Double standardAmount)
Standard amount of the employer pension- Parameters:
standardAmount- Double- Returns:
- Benefit
-
getStandardAmount
public Double getStandardAmount()
Standard amount of the employer pension- Returns:
- standardAmount
-
setStandardAmount
public void setStandardAmount(Double standardAmount)
Standard amount of the employer pension- Parameters:
standardAmount- Double
-
percentage
public Benefit percentage(Double percentage)
Percentage of gross of the employer pension- Parameters:
percentage- Double- Returns:
- Benefit
-
getPercentage
public Double getPercentage()
Percentage of gross of the employer pension- Returns:
- percentage
-
setPercentage
public void setPercentage(Double percentage)
Percentage of gross of the employer pension- Parameters:
percentage- Double
-
calculationType
public Benefit calculationType(Benefit.CalculationTypeEnum calculationType)
Calculation Type of the employer pension (FixedAmount or PercentageOfGross).- Parameters:
calculationType- CalculationTypeEnum- Returns:
- Benefit
-
getCalculationType
public Benefit.CalculationTypeEnum getCalculationType()
Calculation Type of the employer pension (FixedAmount or PercentageOfGross).- Returns:
- calculationType
-
setCalculationType
public void setCalculationType(Benefit.CalculationTypeEnum calculationType)
Calculation Type of the employer pension (FixedAmount or PercentageOfGross).- Parameters:
calculationType- CalculationTypeEnum
-
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
-
subjectToNIC
public Benefit subjectToNIC(Boolean subjectToNIC)
Identifier of subject To NIC- Parameters:
subjectToNIC- Boolean- Returns:
- Benefit
-
getSubjectToNIC
public Boolean getSubjectToNIC()
Identifier of subject To NIC- Returns:
- subjectToNIC
-
setSubjectToNIC
public void setSubjectToNIC(Boolean subjectToNIC)
Identifier of subject To NIC- Parameters:
subjectToNIC- Boolean
-
subjectToPension
public Benefit subjectToPension(Boolean subjectToPension)
Identifier of subject To pension- Parameters:
subjectToPension- Boolean- Returns:
- Benefit
-
getSubjectToPension
public Boolean getSubjectToPension()
Identifier of subject To pension- Returns:
- subjectToPension
-
setSubjectToPension
public void setSubjectToPension(Boolean subjectToPension)
Identifier of subject To pension- Parameters:
subjectToPension- Boolean
-
subjectToTax
public Benefit subjectToTax(Boolean subjectToTax)
Identifier of subject To Tax- Parameters:
subjectToTax- Boolean- Returns:
- Benefit
-
getSubjectToTax
public Boolean getSubjectToTax()
Identifier of subject To Tax- Returns:
- subjectToTax
-
setSubjectToTax
public void setSubjectToTax(Boolean subjectToTax)
Identifier of subject To Tax- Parameters:
subjectToTax- Boolean
-
isCalculatingOnQualifyingEarnings
public Benefit isCalculatingOnQualifyingEarnings(Boolean isCalculatingOnQualifyingEarnings)
Identifier of calculating on qualifying earnings- Parameters:
isCalculatingOnQualifyingEarnings- Boolean- Returns:
- Benefit
-
getIsCalculatingOnQualifyingEarnings
public Boolean getIsCalculatingOnQualifyingEarnings()
Identifier of calculating on qualifying earnings- Returns:
- isCalculatingOnQualifyingEarnings
-
setIsCalculatingOnQualifyingEarnings
public void setIsCalculatingOnQualifyingEarnings(Boolean isCalculatingOnQualifyingEarnings)
Identifier of calculating on qualifying earnings- Parameters:
isCalculatingOnQualifyingEarnings- Boolean
-
showBalanceToEmployee
public Benefit showBalanceToEmployee(Boolean showBalanceToEmployee)
display the balance to employee- Parameters:
showBalanceToEmployee- Boolean- Returns:
- Benefit
-
getShowBalanceToEmployee
public Boolean getShowBalanceToEmployee()
display the balance to employee- Returns:
- showBalanceToEmployee
-
setShowBalanceToEmployee
public void setShowBalanceToEmployee(Boolean showBalanceToEmployee)
display the balance to employee- Parameters:
showBalanceToEmployee- Boolean
-
-