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()
Gets the allowance charge.
|
Amount |
getBasis()
Gets the basis amount for tax calculation.
|
Amount |
getCalculated()
Gets the calculated amount.
|
TaxCategory |
getCategory()
Gets the tax category.
|
Amount |
getLineTotal()
Gets the line total.
|
java.math.BigDecimal |
getPercentage()
Gets the applicable tax percentage.
|
TaxCode |
getType()
Gets the UNCL 5153 tax type code.
|
void |
setAllowanceCharge(Amount allowanceCharge)
Sets the allowance charge.
|
TradeTax |
setBasis(Amount basisAmount)
Sets the basis amount for tax calculation.
|
TradeTax |
setCalculated(Amount calculatedAmount)
Sets the calculated amount.
|
TradeTax |
setCategory(TaxCategory value)
Sets the tax category.
|
TradeTax |
setExemptionReason(java.lang.String exemptionReason)
Sets the tax exemption reason.
|
void |
setLineTotal(Amount lineTotal)
Sets the line total.
|
TradeTax |
setPercentage(java.math.BigDecimal applicablePercentage)
Sets the applicable tax percentage.
|
TradeTax |
setType(TaxCode taxTypeCode)
Sets the UNCL 5153 tax type code.
|
getExemptionReasonpublic TradeTax()
@Extended public Amount getAllowanceCharge()
Gets the allowance charge.
@Basic @NotNull public Amount getBasis()
Gets the basis amount for tax calculation.
@Basic @NotNull public Amount getCalculated()
SpecifiedTaxGets the calculated amount.
getCalculated in class SpecifiedTax@Comfort public TaxCategory getCategory()
CommonTaxGets the tax category.
getCategory in class SpecifiedTax@Extended public Amount getLineTotal()
Gets the line total.
@Basic @NotNull public java.math.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.
basisAmount - the new basis amountpublic TradeTax setCalculated(Amount calculatedAmount)
SpecifiedTaxSets the calculated amount.
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(java.lang.String exemptionReason)
SpecifiedTaxSets the tax exemption reason.
setExemptionReason in class SpecifiedTaxexemptionReason - the new exemption reasonpublic void setLineTotal(Amount lineTotal)
Sets the line total.
lineTotal - the new line totalpublic TradeTax setPercentage(java.math.BigDecimal applicablePercentage)
CommonTaxSets the applicable tax percentage.
setPercentage in class SpecifiedTaxapplicablePercentage - the new applicable tax percentagepublic 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-2015 Konik.io. All Rights Reserved.