public class LocalizedCurrency extends java.lang.Object implements java.lang.Comparable<LocalizedCurrency>
| Modifier and Type | Field and Description |
|---|---|
private AmountedCurrency |
currency |
private java.lang.String |
localizedDisplayName |
| Constructor and Description |
|---|
LocalizedCurrency(AmountedCurrency currency)
Instantiates a new Localized currency.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(LocalizedCurrency o) |
AmountedCurrency |
getCurrency()
Gets currency.
|
java.lang.String |
getLocalizedDisplayName()
Gets localized display name.
|
private AmountedCurrency currency
private java.lang.String localizedDisplayName
public LocalizedCurrency(AmountedCurrency currency)
currency - the currencypublic int compareTo(@NonNull
LocalizedCurrency o)
compareTo in interface java.lang.Comparable<LocalizedCurrency>public AmountedCurrency getCurrency()
public java.lang.String getLocalizedDisplayName()