Search in sources :

Example 1 with PaymentAccountList

use of network.bisq.api.model.PaymentAccountList in project bisq-api by mrosseel.

the class BisqProxy method getAccountList.

public PaymentAccountList getAccountList() {
    PaymentAccountList paymentAccountList = new PaymentAccountList();
    paymentAccountList.paymentAccounts = getPaymentAccountList().stream().map(PaymentAccountHelper::toRestModel).collect(Collectors.toList());
    return paymentAccountList;
}
Also used : PaymentAccountList(network.bisq.api.model.PaymentAccountList) PaymentAccountHelper(network.bisq.api.model.payment.PaymentAccountHelper)

Aggregations

PaymentAccountList (network.bisq.api.model.PaymentAccountList)1 PaymentAccountHelper (network.bisq.api.model.payment.PaymentAccountHelper)1