Package com.six.timapi
Class CurrencyItem
- java.lang.Object
-
- com.six.timapi.CurrencyItem
-
public class CurrencyItem extends Object
Contains information about a currency supported by a brand. Immutable class.
-
-
Constructor Summary
Constructors Constructor Description CurrencyItem(Currency currency, CurrencyType type)
Create currency item.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Currency
getCurrency()
Supported or used currency.CurrencyType
getType()
Type of currency.String
toString()
String representation for debugging purpose.
-
-
-
Constructor Detail
-
CurrencyItem
public CurrencyItem(Currency currency, CurrencyType type)
Create currency item.
-
-
Method Detail
-
getCurrency
public Currency getCurrency()
Supported or used currency.
-
getType
public CurrencyType getType()
Type of currency.
-
-