com.logicboxes.util
Class Currency

java.lang.Object
  extended by com.logicboxes.util.Currency

public class Currency
extends java.lang.Object


Constructor Summary
Currency()
           
 
Method Summary
static java.util.HashMap getAllCurrencyList(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID)
          Gets the currencyList attribute of the Currency object
static java.util.HashMap getCurrencyDetails(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, java.lang.String currencySymbol)
          Returns hashtable containing currency name and currency unit for a given currency symbol.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Currency

public Currency()
Method Detail

getAllCurrencyList

public static java.util.HashMap getAllCurrencyList(java.lang.String SERVICE_USERNAME,
                                                   java.lang.String SERVICE_PASSWORD,
                                                   java.lang.String SERVICE_ROLE,
                                                   java.lang.String SERVICE_LANGPREF,
                                                   int SERVICE_PARENTID)
Gets the currencyList attribute of the Currency object

Returns:
The currencyList value

getCurrencyDetails

public static java.util.HashMap getCurrencyDetails(java.lang.String SERVICE_USERNAME,
                                                   java.lang.String SERVICE_PASSWORD,
                                                   java.lang.String SERVICE_ROLE,
                                                   java.lang.String SERVICE_LANGPREF,
                                                   int SERVICE_PARENTID,
                                                   java.lang.String currencySymbol)
Returns hashtable containing currency name and currency unit for a given currency symbol.

Parameters:
currencySymbol - - The currency symbol which you want to fetch the detals of.
Returns:
currencyDetail - Hashtable with key as 'currency name' and value as 'currency unit'