public class TIKHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.math.BigDecimal | BIG_DECIMAL_ZERO
The big decimal zero field
|
static java.lang.Double | DOUBLE_ZERO
The double zero field
|
static java.lang.Integer | INTEGER_ZERO
The zero field of integer
|
static java.lang.Long | LONG_ZERO
The long zero field
|
static java.lang.Object | NULL
The null field
|
static int | SALES_TAX
The Sales Tax field 0
|
static int | SHIPPING_AND_SALES_TAX
The Old style tax - Shipping and Sales Tax field 2
|
static int | SHIPPING_TAX
The Shipping Tax field 1
|
Constructor and Description |
---|
TIKHelper()
PriceCalculationHelper constructor comment.
|
Modifier and Type | Method and Description |
---|---|
static TIKHelper | getInstance()
Get the instance of the helper class.
|
java.util.Hashtable | resolveCountryCode(java.lang.String aCountry, java.util.Enumeration aCountryEnum)
Resolves the country code.
|
java.util.Hashtable | resolveStateCode(java.lang.String aState, java.util.Enumeration aStateEnum)
Resolves the state code.
|
java.util.Enumeration | retrieveCountryEntry(CommandContext aCommandContext, java.lang.String aCountry)
Retrieves the country entry based on the input.
|
java.util.Enumeration | retrieveCountryInfo(CommandContext aCommandContext)
Resolves the country code information.
|
java.util.Enumeration | retrieveStateEntry(CommandContext aCommandContext, java.lang.String aState)
Retrieves the state entry based on the input.
|
java.util.Enumeration | retrieveStateInfo(CommandContext aCommandContext, java.lang.String aCountry)
Resolves the state code information.
|
public static final java.lang.Object NULL
public static final java.math.BigDecimal BIG_DECIMAL_ZERO
public static final java.lang.Double DOUBLE_ZERO
public static final java.lang.Integer INTEGER_ZERO
public static final java.lang.Long LONG_ZERO
public static final int SALES_TAX
public static final int SHIPPING_TAX
public static final int SHIPPING_AND_SALES_TAX
public static TIKHelper getInstance()
public java.util.Hashtable resolveCountryCode(java.lang.String aCountry, java.util.Enumeration aCountryEnum) throws ECException
JNDIname occured Raised with message _ERR_ADM_CREATEEXCEPTION whenever a failure to create the EJB occured
public java.util.Hashtable resolveStateCode(java.lang.String aState, java.util.Enumeration aStateEnum) throws ECException
JNDIname occured Raised with message _ERR_ADM_CREATEEXCEPTION whenever a failure to create the EJB occured
public java.util.Enumeration retrieveCountryInfo(CommandContext aCommandContext) throws ECException
JNDIname occured Raised with message _ERR_ADM_CREATEEXCEPTION whenever a failure to create the EJB occured
public java.util.Enumeration retrieveStateInfo(CommandContext aCommandContext, java.lang.String aCountry) throws ECException
JNDIname occured Raised with message _ERR_ADM_CREATEEXCEPTION whenever a failure to create the EJB occured
public java.util.Enumeration retrieveCountryEntry(CommandContext aCommandContext, java.lang.String aCountry) throws ECException
JNDIname occured Raised with message _ERR_ADM_CREATEEXCEPTION whenever a failure to create the EJB occured
public java.util.Enumeration retrieveStateEntry(CommandContext aCommandContext, java.lang.String aState) throws ECException
JNDIname occured Raised with message _ERR_ADM_CREATEEXCEPTION whenever a failure to create the EJB occured