public class Benefit extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Benefit.CalculationTypeEnum
Calculation Type of the employer pension (FixedAmount or PercentageOfGross).
|
static class |
Benefit.CategoryEnum
Category type of the employer pension
|
| Constructor and Description |
|---|
Benefit() |
| Modifier and Type | Method and Description |
|---|---|
Benefit |
calculationType(Benefit.CalculationTypeEnum calculationType) |
Benefit |
category(Benefit.CategoryEnum category) |
Benefit |
currentRecord(Boolean currentRecord) |
boolean |
equals(Object o) |
Benefit |
expenseAccountId(UUID expenseAccountId) |
Benefit.CalculationTypeEnum |
getCalculationType()
Calculation Type of the employer pension (FixedAmount or PercentageOfGross).
|
Benefit.CategoryEnum |
getCategory()
Category type of the employer pension
|
Boolean |
getCurrentRecord()
Identifier of a record is active or not.
|
UUID |
getExpenseAccountId()
Xero identifier for Expense Account
|
UUID |
getId()
unique identifier in Xero
|
Boolean |
getIsCalculatingOnQualifyingEarnings()
Identifier of calculating on qualifying earnings
|
UUID |
getLiabilityAccountId()
Xero identifier for Liability Account
|
String |
getName()
Name of the employer pension
|
Double |
getPercentage()
Percentage of gross of the employer pension
|
Boolean |
getShowBalanceToEmployee()
display the balance to employee
|
Double |
getStandardAmount()
Standard amount of the employer pension
|
Boolean |
getSubjectToNIC()
Identifier of subject To NIC
|
Boolean |
getSubjectToPension()
Identifier of subject To pension
|
Boolean |
getSubjectToTax()
Identifier of subject To Tax
|
int |
hashCode() |
Benefit |
id(UUID id) |
Benefit |
isCalculatingOnQualifyingEarnings(Boolean isCalculatingOnQualifyingEarnings) |
Benefit |
liabilityAccountId(UUID liabilityAccountId) |
Benefit |
name(String name) |
Benefit |
percentage(Double percentage) |
void |
setCalculationType(Benefit.CalculationTypeEnum calculationType) |
void |
setCategory(Benefit.CategoryEnum category) |
void |
setCurrentRecord(Boolean currentRecord) |
void |
setExpenseAccountId(UUID expenseAccountId) |
void |
setId(UUID id) |
void |
setIsCalculatingOnQualifyingEarnings(Boolean isCalculatingOnQualifyingEarnings) |
void |
setLiabilityAccountId(UUID liabilityAccountId) |
void |
setName(String name) |
void |
setPercentage(Double percentage) |
void |
setShowBalanceToEmployee(Boolean showBalanceToEmployee) |
void |
setStandardAmount(Double standardAmount) |
void |
setSubjectToNIC(Boolean subjectToNIC) |
void |
setSubjectToPension(Boolean subjectToPension) |
void |
setSubjectToTax(Boolean subjectToTax) |
Benefit |
showBalanceToEmployee(Boolean showBalanceToEmployee) |
Benefit |
standardAmount(Double standardAmount) |
Benefit |
subjectToNIC(Boolean subjectToNIC) |
Benefit |
subjectToPension(Boolean subjectToPension) |
Benefit |
subjectToTax(Boolean subjectToTax) |
String |
toString() |
public UUID getId()
public void setId(UUID id)
public String getName()
public void setName(String name)
public Benefit category(Benefit.CategoryEnum category)
public Benefit.CategoryEnum getCategory()
public void setCategory(Benefit.CategoryEnum category)
public UUID getLiabilityAccountId()
public void setLiabilityAccountId(UUID liabilityAccountId)
public UUID getExpenseAccountId()
public void setExpenseAccountId(UUID expenseAccountId)
public Double getStandardAmount()
public void setStandardAmount(Double standardAmount)
public Double getPercentage()
public void setPercentage(Double percentage)
public Benefit calculationType(Benefit.CalculationTypeEnum calculationType)
public Benefit.CalculationTypeEnum getCalculationType()
public void setCalculationType(Benefit.CalculationTypeEnum calculationType)
public Boolean getCurrentRecord()
public void setCurrentRecord(Boolean currentRecord)
public Boolean getSubjectToNIC()
public void setSubjectToNIC(Boolean subjectToNIC)
public Boolean getSubjectToPension()
public void setSubjectToPension(Boolean subjectToPension)
public Boolean getSubjectToTax()
public void setSubjectToTax(Boolean subjectToTax)
public Benefit isCalculatingOnQualifyingEarnings(Boolean isCalculatingOnQualifyingEarnings)
public Boolean getIsCalculatingOnQualifyingEarnings()
public void setIsCalculatingOnQualifyingEarnings(Boolean isCalculatingOnQualifyingEarnings)
public Boolean getShowBalanceToEmployee()
public void setShowBalanceToEmployee(Boolean showBalanceToEmployee)
Copyright © 2020. All rights reserved.