public class TradeTax extends Object implements SpecifiedTax
| 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()
Sets the calculated amount.
|
TaxCategory |
getCategory()
Gets the tax category.
|
String |
getExemptionReason()
Gets the tax exemption reason.
|
Amount |
getLineTotal()
Gets the line total.
|
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)
Set the calculated amount.
|
TradeTax |
setCategory(TaxCategory taxCategory)
Sets the tax category.
|
TradeTax |
setExemptionReason(String exemptionReason)
Sets the tax exemption reason.
|
void |
setLineTotal(Amount lineTotal)
Sets the line total.
|
TradeTax |
setPercentage(BigDecimal applicablePercentage)
Sets the applicable tax percentage.
|
TradeTax |
setType(TaxCode taxTypeCode)
Sets the UNCL 5153 tax type code.
|
public 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()
SpecifiedTaxSets the calculated amount.
getCalculated in interface SpecifiedTax@Comfort public TaxCategory getCategory()
TaxGets the tax category.
getCategory in interface Taxpublic String getExemptionReason()
SpecifiedTaxGets the tax exemption reason.
getExemptionReason in interface SpecifiedTax@Extended public Amount getLineTotal()
Gets the line total.
@Basic @NotNull public BigDecimal getPercentage()
TaxGets the applicable tax percentage.
getPercentage in interface Tax@Basic @NotNull public TaxCode getType()
TaxGets the UNCL 5153 tax type code.
public 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)
SpecifiedTaxSet the calculated amount.
setCalculated in interface SpecifiedTaxpublic TradeTax setCategory(TaxCategory taxCategory)
TaxSets the tax category.
setCategory in interface TaxtaxCategory - the new tax category codepublic TradeTax setExemptionReason(String exemptionReason)
SpecifiedTaxSets the tax exemption reason.
setExemptionReason in interface SpecifiedTaxexemptionReason - the new exemption reasonpublic void setLineTotal(Amount lineTotal)
Sets the line total.
lineTotal - the new line totalpublic TradeTax setPercentage(BigDecimal applicablePercentage)
TaxSets the applicable tax percentage.
setPercentage in interface TaxapplicablePercentage - the new applicable tax percentageCopyright © 2014-2016 Konik.io. All Rights Reserved.