public class ItemTax extends java.lang.Object implements SpecifiedTax
Constructor and Description |
---|
ItemTax() |
Modifier and Type | Method and Description |
---|---|
Amount |
getCalculated()
Sets the calculated amount.
|
TaxCategory |
getCategory()
Gets the tax category.
|
java.lang.String |
getExemptionReason()
Gets the tax exemption reason.
|
java.math.BigDecimal |
getPercentage()
Gets the applicable tax percentage.
|
TaxCode |
getType()
Gets the UNCL 5153 tax type code.
|
SpecifiedTax |
setCalculated(Amount calculatedAmount)
Set the calculated amount.
|
SpecifiedTax |
setCategory(TaxCategory value)
Sets the tax category.
|
SpecifiedTax |
setExemptionReason(java.lang.String exemptionReason)
Sets the tax exemption reason.
|
SpecifiedTax |
setPercentage(java.math.BigDecimal applicablePercentage)
Sets the applicable tax percentage.
|
ItemTax |
setType(TaxCode taxTypeCode)
Sets the UNCL 5153 tax type code.
|
public ItemTax()
@Extended 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
@Comfort public java.lang.String getExemptionReason()
SpecifiedTax
Gets the tax exemption reason.
getExemptionReason
in interface SpecifiedTax
public java.math.BigDecimal getPercentage()
Tax
Gets the applicable tax percentage.
getPercentage
in interface Tax
@Comfort public TaxCode getType()
Tax
Gets the UNCL 5153 tax type code.
public SpecifiedTax setCalculated(Amount calculatedAmount)
SpecifiedTax
Set the calculated amount.
setCalculated
in interface SpecifiedTax
public SpecifiedTax setCategory(TaxCategory value)
Tax
Sets the tax category.
setCategory
in interface Tax
value
- the new tax category codepublic SpecifiedTax setExemptionReason(java.lang.String exemptionReason)
SpecifiedTax
Sets the tax exemption reason.
setExemptionReason
in interface SpecifiedTax
exemptionReason
- the new exemption reasonpublic SpecifiedTax 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.