java.lang.Objectjava.util.Dictionary
java.util.Hashtable
com.ibm.commerce.taxation.commands.CategorizedTaxAmount
This structure is a hashtable to store the tax amounts for each of the tax categories
Constructor Summary | |
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) |
Method Summary | |
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. |
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
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)
Method Detail |
public java.lang.String getCurrency()
public java.math.BigDecimal getValue()
public java.math.BigDecimal getValue(java.lang.Integer anCategory)
public java.math.BigDecimal getValue(java.lang.String astrCategory)
public void setCurrency(java.lang.String astrCurrency) throws ECException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.