public class ExchangeRate extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ExchangeRate.Type |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
| Modifier | Constructor and Description |
|---|---|
|
ExchangeRate(Currency source,
Currency target,
double rate) |
protected |
ExchangeRate(long cPtr,
boolean cMemoryOwn) |
| Modifier and Type | Method and Description |
|---|---|
static ExchangeRate |
chain(ExchangeRate r1,
ExchangeRate r2) |
void |
delete() |
Money |
exchange(Money amount) |
protected void |
finalize() |
protected static long |
getCPtr(ExchangeRate obj) |
double |
rate() |
Currency |
source() |
Currency |
target() |
ExchangeRate.Type |
type() |
protected static long getCPtr(ExchangeRate obj)
public void delete()
public Currency source()
public Currency target()
public ExchangeRate.Type type()
public double rate()
public static ExchangeRate chain(ExchangeRate r1, ExchangeRate r2)
Copyright © 2017. All rights reserved.