@Comfort public class AppliedTax extends java.lang.Object implements Tax
Constructor and Description |
---|
AppliedTax() |
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.
|
AppliedTax |
setCategory(TaxCategory taxCategory)
Sets the tax category.
|
AppliedTax |
setPercentage(java.math.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 java.math.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 Tax
taxCategory
- the new category codepublic AppliedTax setPercentage(java.math.BigDecimal applicablePercentage)
Sets the applicable tax percentage.
setPercentage
in interface Tax
applicablePercentage
- the new applicable tax percentagepublic AppliedTax setType(TaxCode taxTypeCode)
Sets the UNCL 5153 tax type code.
Copyright © 2014-2018 Konik.io. All Rights Reserved.