public class CategorizedTaxAmount
extends java.util.Hashtable
Constructor and Description |
---|
CategorizedTaxAmount(java.math.BigDecimal adValue,
StoreAccessBean aabStore,
java.lang.String astrCurrency) |
CategorizedTaxAmount(java.math.BigDecimal adValue,
StoreAccessBean aabStore,
java.lang.String astrCurrency,
java.lang.String astrCategory) |
CategorizedTaxAmount(StoreAccessBean aabStore,
java.lang.String astrCurrency) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCurrency()
Returns the currency of the tax amount.
|
java.math.BigDecimal |
getValue()
Returns the tax amount.
|
java.math.BigDecimal |
getValue(java.lang.Integer anCategory)
Returns the tax amount for a particular tax category.
|
java.math.BigDecimal |
getValue(java.lang.String astrCategory)
Returns the tax amount for a particular tax category.
|
void |
setCurrency(java.lang.String astrCurrency)
Sets the currency of the tax amount.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, toString, values
public CategorizedTaxAmount(StoreAccessBean aabStore, java.lang.String astrCurrency)
public CategorizedTaxAmount(java.math.BigDecimal adValue, StoreAccessBean aabStore, java.lang.String astrCurrency)
public CategorizedTaxAmount(java.math.BigDecimal adValue, StoreAccessBean aabStore, java.lang.String astrCurrency, java.lang.String astrCategory)
public java.lang.String getCurrency()
public java.math.BigDecimal getValue()
public java.math.BigDecimal getValue(java.lang.Integer anCategory)
anCategory
- the tax category.
public java.math.BigDecimal getValue(java.lang.String astrCategory)
astrCategory
- the tax category.
public void setCurrency(java.lang.String astrCurrency) throws ECException
astrCurrency
- The currency of the tax amount.ECException