mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 23:06:39 +01:00
Merge pull request #4297 from petrhejna/add-revolut-currencies
Add all available Revolut currencies
This commit is contained in:
commit
284c5c2446
2 changed files with 26 additions and 19 deletions
|
@ -267,32 +267,39 @@ public class CurrencyUtil {
|
||||||
return currencies;
|
return currencies;
|
||||||
}
|
}
|
||||||
|
|
||||||
//https://www.revolut.com/pa/faq#can-i-hold-multiple-currencies
|
// https://www.revolut.com/help/getting-started/exchanging-currencies/what-fiat-currencies-are-supported-for-holding-and-exchange
|
||||||
public static List<TradeCurrency> getAllRevolutCurrencies() {
|
public static List<TradeCurrency> getAllRevolutCurrencies() {
|
||||||
ArrayList<TradeCurrency> currencies = new ArrayList<>(Arrays.asList(
|
ArrayList<TradeCurrency> currencies = new ArrayList<>(Arrays.asList(
|
||||||
new FiatCurrency("USD"),
|
|
||||||
new FiatCurrency("GBP"),
|
|
||||||
new FiatCurrency("EUR"),
|
|
||||||
new FiatCurrency("PLN"),
|
|
||||||
new FiatCurrency("CHF"),
|
|
||||||
new FiatCurrency("DKK"),
|
|
||||||
new FiatCurrency("NOK"),
|
|
||||||
new FiatCurrency("SEK"),
|
|
||||||
new FiatCurrency("RON"),
|
|
||||||
new FiatCurrency("SGD"),
|
|
||||||
new FiatCurrency("HKD"),
|
|
||||||
new FiatCurrency("AUD"),
|
|
||||||
new FiatCurrency("NZD"),
|
|
||||||
new FiatCurrency("TRY"),
|
|
||||||
new FiatCurrency("ILS"),
|
|
||||||
new FiatCurrency("AED"),
|
new FiatCurrency("AED"),
|
||||||
|
new FiatCurrency("AUD"),
|
||||||
|
new FiatCurrency("BGN"),
|
||||||
new FiatCurrency("CAD"),
|
new FiatCurrency("CAD"),
|
||||||
|
new FiatCurrency("CHF"),
|
||||||
|
new FiatCurrency("CZK"),
|
||||||
|
new FiatCurrency("DKK"),
|
||||||
|
new FiatCurrency("EUR"),
|
||||||
|
new FiatCurrency("GBP"),
|
||||||
|
new FiatCurrency("HKD"),
|
||||||
|
new FiatCurrency("HRK"),
|
||||||
new FiatCurrency("HUF"),
|
new FiatCurrency("HUF"),
|
||||||
new FiatCurrency("INR"),
|
new FiatCurrency("ILS"),
|
||||||
|
new FiatCurrency("ISK"),
|
||||||
new FiatCurrency("JPY"),
|
new FiatCurrency("JPY"),
|
||||||
new FiatCurrency("MAD"),
|
new FiatCurrency("MAD"),
|
||||||
|
new FiatCurrency("MXN"),
|
||||||
|
new FiatCurrency("NOK"),
|
||||||
|
new FiatCurrency("NZD"),
|
||||||
|
new FiatCurrency("PLN"),
|
||||||
new FiatCurrency("QAR"),
|
new FiatCurrency("QAR"),
|
||||||
|
new FiatCurrency("RON"),
|
||||||
|
new FiatCurrency("RSD"),
|
||||||
|
new FiatCurrency("RUB"),
|
||||||
|
new FiatCurrency("SAR"),
|
||||||
|
new FiatCurrency("SEK"),
|
||||||
|
new FiatCurrency("SGD"),
|
||||||
new FiatCurrency("THB"),
|
new FiatCurrency("THB"),
|
||||||
|
new FiatCurrency("TRY"),
|
||||||
|
new FiatCurrency("USD"),
|
||||||
new FiatCurrency("ZAR")
|
new FiatCurrency("ZAR")
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
|
@ -147,8 +147,8 @@ public class RevolutForm extends PaymentMethodForm {
|
||||||
|
|
||||||
private void addCurrenciesGrid(boolean isEditable) {
|
private void addCurrenciesGrid(boolean isEditable) {
|
||||||
FlowPane flowPane = addTopLabelFlowPane(gridPane, ++gridRow,
|
FlowPane flowPane = addTopLabelFlowPane(gridPane, ++gridRow,
|
||||||
Res.get("payment.supportedCurrencies"), Layout.FLOATING_LABEL_DISTANCE,
|
Res.get("payment.supportedCurrencies"), Layout.FLOATING_LABEL_DISTANCE * 3,
|
||||||
Layout.FLOATING_LABEL_DISTANCE).second;
|
Layout.FLOATING_LABEL_DISTANCE * 3).second;
|
||||||
|
|
||||||
if (isEditable)
|
if (isEditable)
|
||||||
flowPane.setId("flow-pane-checkboxes-bg");
|
flowPane.setId("flow-pane-checkboxes-bg");
|
||||||
|
|
Loading…
Add table
Reference in a new issue