public abstract class CommonTax extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Amount |
allowanceCharge |
protected Amount |
basis |
protected Amount |
calculated |
protected TaxCategory |
category |
protected String |
exemptionReason |
protected Amount |
lineTotal |
protected BigDecimal |
percentage |
protected TaxCode |
type |
| Constructor and Description |
|---|
CommonTax() |
| Modifier and Type | Method and Description |
|---|---|
TaxCategory |
getCategory()
|
BigDecimal |
getPercentage()
|
TaxCode |
getType()
|
CommonTax |
setCategory(TaxCategory value)
|
CommonTax |
setPercentage(BigDecimal applicablePercentage)
|
CommonTax |
setType(TaxCode taxTypeCode)
|
protected Amount allowanceCharge
protected Amount calculated
protected TaxCategory category
protected String exemptionReason
protected BigDecimal percentage
public CommonTax()
public TaxCategory getCategory()
Gets the tax category.
@NotNull(groups=Comfort.class) public BigDecimal getPercentage()
Gets the applicable tax percentage.
public CommonTax setCategory(TaxCategory value)
Sets the tax category.
value - the new category codepublic CommonTax setPercentage(BigDecimal applicablePercentage)
Sets the applicable tax percentage.
applicablePercentage - the new applicable tax percentageCopyright © 2014 Konik.io. All Rights Reserved.