com.ibm.commerce.isv.kit.tax
Class TIKHelper
java.lang.Object
|
+--com.ibm.commerce.isv.kit.tax.TIKHelper
- public class TIKHelper
- extends java.lang.Object
This TIKHelper
Class provides utility methods for
setting up the required information for tax calculation.
Constructor Summary |
TIKHelper()
PriceCalculationHelper constructor comment. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BIG_DECIMAL_ZERO
public static final java.math.BigDecimal BIG_DECIMAL_ZERO
DOUBLE_ZERO
public static final java.lang.Double DOUBLE_ZERO
INTEGER_ZERO
public static final java.lang.Integer INTEGER_ZERO
LONG_ZERO
public static final java.lang.Long LONG_ZERO
NULL
public static final java.lang.Object NULL
TIKHelper
public TIKHelper()
- PriceCalculationHelper constructor comment.
getInstance
public static TIKHelper getInstance()
resolveCountryCode
public java.util.Hashtable resolveCountryCode(java.lang.String aCountry,
java.util.Enumeration aCountryEnum)
throws ECException
- Resolve the country code.
- Parameters:
aCountry
- the country name or abbreviation.aCountryEnum
- the enumeration of a list of country information.
- Returns:
- the country code and country name.
resolveStateCode
public java.util.Hashtable resolveStateCode(java.lang.String aState,
java.util.Enumeration aStateEnum)
throws ECException
- Resolve the state code.
- Parameters:
aState
- the state name of abbreviation.aStateEnum
- the enumeration of a list of state information.
- Returns:
- the state code and state name.
retrieveCountryInfo
public java.util.Enumeration retrieveCountryInfo(CommandContext aCommandContext)
throws ECException
- Resolve the country code information.
- Parameters:
aCommandContext
- the command context for the language id.
- Returns:
- The enumeration of a list of country code and country name.
retrieveStateInfo
public java.util.Enumeration retrieveStateInfo(CommandContext aCommandContext,
java.lang.String aCountry)
throws ECException
- Resolve the state code.
- Parameters:
aCommandContext
- the command context for the language id.aCountry
- the country name which the state is part of.
- Returns:
- The enumeration of a list of state code and state name.