| Interface | Description |
|---|---|
| CurrencyConverter |
Interface for component to convert an amount in either fiat or crypto currency
into an amount that is understandable to the related LightningHandler or equivalent.
|
| Class | Description |
|---|---|
| SameCryptoCurrencyConverter |
A very simple implementation of CurrencyConverter that assumes the payment
handler create payment data in same cryptocurrency as supported by used Lightning
handler.
|
| Exception | Description |
|---|---|
| InvalidCurrencyException |
Exception thrown by a CurrencyConverter when receiving an amount
in an by the implementation unsupported currency.
|