@Comfort public class AppliedTax extends Object implements Tax
| Constructor and Description |
|---|
AppliedTax() |
| Modifier and Type | Method and Description |
|---|---|
TaxCategory |
getCategory()
Gets the tax category.
|
BigDecimal |
getPercentage()
Gets the applicable tax percentage.
|
TaxCode |
getType()
Gets the UNCL 5153 tax type code.
|
AppliedTax |
setCategory(TaxCategory taxCategory)
Sets the tax category.
|
AppliedTax |
setPercentage(BigDecimal applicablePercentage)
Sets the applicable tax percentage.
|
AppliedTax |
setType(TaxCode taxTypeCode)
Sets the UNCL 5153 tax type code.
|
public AppliedTax()
@NotNull(groups=Comfort.class) public TaxCategory getCategory()
Gets the tax category.
getCategory in interface Tax@NotNull(groups=Comfort.class) public BigDecimal getPercentage()
Gets the applicable tax percentage.
getPercentage in interface Tax@NotNull(groups=Comfort.class) public TaxCode getType()
Gets the UNCL 5153 tax type code.
public AppliedTax setCategory(TaxCategory taxCategory)
Sets the tax category.
setCategory in interface TaxtaxCategory - the new category codepublic AppliedTax setPercentage(BigDecimal applicablePercentage)
Sets the applicable tax percentage.
setPercentage in interface TaxapplicablePercentage - the new applicable tax percentagepublic AppliedTax setType(TaxCode taxTypeCode)
Sets the UNCL 5153 tax type code.
Copyright © 2014-2016 Konik.io. All Rights Reserved.