public class TradeTax extends SpecifiedTax
allowanceCharge, basis, calculated, category, exemptionReason, lineTotal, percentage, type| Constructor and Description |
|---|
TradeTax() |
| Modifier and Type | Method and Description |
|---|---|
Amount |
getAllowanceCharge()
|
Amount |
getBasis()
|
Amount |
getCalculated()
|
TaxCategory |
getCategory()
|
Amount |
getLineTotal()
|
BigDecimal |
getPercentage()
|
TaxCode |
getType()
|
void |
setAllowanceCharge(Amount allowanceCharge)
|
TradeTax |
setBasis(Amount basisAmount)
|
TradeTax |
setCalculated(Amount calculatedAmount)
|
TradeTax |
setCategory(TaxCategory value)
|
TradeTax |
setExemptionReason(String exemptionReason)
|
void |
setLineTotal(Amount lineTotal)
|
TradeTax |
setPercentage(BigDecimal applicablePercentage)
|
TradeTax |
setType(TaxCode taxTypeCode)
|
getExemptionReasonpublic TradeTax()
@Extended public Amount getAllowanceCharge()
Gets the allowance charge.
@Basic @NotNull public Amount getBasis()
Gets the basis amount for tax calculation.
BASIC
@Basic @NotNull public Amount getCalculated()
SpecifiedTaxGets the calculated amount.
getCalculated in class SpecifiedTaxpublic TaxCategory getCategory()
CommonTaxGets the tax category.
getCategory in class SpecifiedTax@Extended public Amount getLineTotal()
Gets the line total.
@NotNull @Basic public BigDecimal getPercentage()
CommonTaxGets the applicable tax percentage.
getPercentage in class CommonTax@Basic @NotNull public TaxCode getType()
CommonTaxGets the UNCL 5153 tax type code.
getType in class SpecifiedTaxpublic void setAllowanceCharge(Amount allowanceCharge)
Sets the allowance charge.
allowanceCharge - the new allowance chargepublic TradeTax setBasis(Amount basisAmount)
Sets the basis amount for tax calculation.
BASIC
basisAmount - the new basis amount@Basic public TradeTax setCalculated(Amount calculatedAmount)
SpecifiedTaxSets the calculated amount.
BASIC
setCalculated in class SpecifiedTaxcalculatedAmount - the new calculated amountpublic TradeTax setCategory(TaxCategory value)
CommonTaxSets the tax category.
setCategory in class SpecifiedTaxvalue - the new category codepublic TradeTax setExemptionReason(String exemptionReason)
SpecifiedTaxSets the tax exemption reason.
COMFORT
setExemptionReason in class SpecifiedTaxexemptionReason - the new exemption reasonpublic void setLineTotal(Amount lineTotal)
Sets the line total.
lineTotal - the new line total@Basic public TradeTax setPercentage(BigDecimal applicablePercentage)
CommonTaxSets the applicable tax percentage.
setPercentage in class SpecifiedTaxapplicablePercentage - the new applicable tax percentage@Basic public TradeTax setType(TaxCode taxTypeCode)
CommonTaxSets the UNCL 5153 tax type code.
setType in class SpecifiedTaxtaxTypeCode - the tax type codehref="http://www.unece.org/trade/untdid/d98b/uncl/uncl5153.htm">UNCL 5153</a>Copyright © 2014 Konik.io. All Rights Reserved.