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