com.konakart.appif
Interface CurrencyIf


public interface CurrencyIf

Describes a currency for use within KonaKart.


Method Summary
 java.lang.String getCode()
          e.g.
 java.lang.String getDecimalPlaces()
           
 java.lang.String getDecimalPoint()
          The character use to represent a decimal point.
 int getId()
           
 java.lang.String getSymbolLeft()
          The symbol on the left hand side of the value.
 java.lang.String getSymbolRight()
          The symbol on the right hand side of the value.
 java.lang.String getThousandsPoint()
          The character used for separating thousands.
 java.lang.String getTitle()
           
 double getValue()
          Can be used to store an exchange rate.
 void setCode(java.lang.String code)
          e.g.
 void setDecimalPlaces(java.lang.String decimalPlaces)
           
 void setDecimalPoint(java.lang.String decimalPoint)
          The character use to represent a decimal point.
 void setId(int id)
           
 void setSymbolLeft(java.lang.String symbolLeft)
          The symbol on the left hand side of the value.
 void setSymbolRight(java.lang.String symbolRight)
          The symbol on the right hand side of the value.
 void setThousandsPoint(java.lang.String thousandsPoint)
          The character used for separating thousands.
 void setTitle(java.lang.String title)
           
 void setValue(double value)
          Can be used to store an exchange rate.
 

Method Detail

getCode

java.lang.String getCode()
e.g. EUR or USD

Returns:
Returns the currency code.

setCode

void setCode(java.lang.String code)
e.g. EUR or USD

Parameters:
code - The code to set.

getDecimalPlaces

java.lang.String getDecimalPlaces()
Returns:
Returns the decimalPlaces.

setDecimalPlaces

void setDecimalPlaces(java.lang.String decimalPlaces)
Parameters:
decimalPlaces - The decimalPlaces to set.

getDecimalPoint

java.lang.String getDecimalPoint()
The character use to represent a decimal point. e.g. "." or ","

Returns:
Returns the decimalPoint.

setDecimalPoint

void setDecimalPoint(java.lang.String decimalPoint)
The character use to represent a decimal point. e.g. "." or ","

Parameters:
decimalPoint - The decimalPoint to set.

getId

int getId()
Returns:
Returns the id.

setId

void setId(int id)
Parameters:
id - The id to set.

getSymbolLeft

java.lang.String getSymbolLeft()
The symbol on the left hand side of the value. e.g. $ or £

Returns:
Returns the symbolLeft.

setSymbolLeft

void setSymbolLeft(java.lang.String symbolLeft)
The symbol on the left hand side of the value. e.g. $ or £

Parameters:
symbolLeft - The symbolLeft to set.

getSymbolRight

java.lang.String getSymbolRight()
The symbol on the right hand side of the value. e.g. EUR

Returns:
Returns the symbolRight.

setSymbolRight

void setSymbolRight(java.lang.String symbolRight)
The symbol on the right hand side of the value. e.g. EUR

Parameters:
symbolRight - The symbolRight to set.

getThousandsPoint

java.lang.String getThousandsPoint()
The character used for separating thousands. e.g. "," or "."

Returns:
Returns the thousandsPoint.

setThousandsPoint

void setThousandsPoint(java.lang.String thousandsPoint)
The character used for separating thousands. e.g. "," or "."

Parameters:
thousandsPoint - The thousandsPoint to set.

getTitle

java.lang.String getTitle()
Returns:
Returns the title.

setTitle

void setTitle(java.lang.String title)
Parameters:
title - The title to set.

getValue

double getValue()
Can be used to store an exchange rate.

Returns:
Returns the value.

setValue

void setValue(double value)
Can be used to store an exchange rate.

Parameters:
value - The value to set.


Copyright © 2006 DS Data Systems UK Ltd.