public class TradeTax extends java.lang.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.
|
java.lang.String |
getExemptionReason()
Gets the tax exemption reason.
|
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)
Set the calculated amount.
|
TradeTax |
setCategory(TaxCategory taxCategory)
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.
|
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()
SpecifiedTax
Sets the calculated amount.
getCalculated
in interface SpecifiedTax
@Comfort public TaxCategory getCategory()
Tax
Gets the tax category.
getCategory
in interface Tax
public java.lang.String getExemptionReason()
SpecifiedTax
Gets the tax exemption reason.
getExemptionReason
in interface SpecifiedTax
@Extended public Amount getLineTotal()
Gets the line total.
@Basic @NotNull public java.math.BigDecimal getPercentage()
Tax
Gets the applicable tax percentage.
getPercentage
in interface Tax
@Basic @NotNull public TaxCode getType()
Tax
Gets 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)
SpecifiedTax
Set the calculated amount.
setCalculated
in interface SpecifiedTax
public TradeTax setCategory(TaxCategory taxCategory)
Tax
Sets the tax category.
setCategory
in interface Tax
taxCategory
- the new tax category codepublic TradeTax setExemptionReason(java.lang.String exemptionReason)
SpecifiedTax
Sets the tax exemption reason.
setExemptionReason
in interface SpecifiedTax
exemptionReason
- the new exemption reasonpublic void setLineTotal(Amount lineTotal)
Sets the line total.
lineTotal
- the new line totalpublic TradeTax setPercentage(java.math.BigDecimal applicablePercentage)
Tax
Sets the applicable tax percentage.
setPercentage
in interface Tax
applicablePercentage
- the new applicable tax percentageCopyright © 2014-2018 Konik.io. All Rights Reserved.