[bisq-network/bisq] Add advanced cash payment method (#1957)

Manfred Karrer notifications at github.com
Fri Nov 23 19:10:35 UTC 2018


ManfredKarrer requested changes on this pull request.



> + */
+
+package bisq.core.payment;
+
+import bisq.core.locale.FiatCurrency;
+import bisq.core.payment.payload.AdvancedCashAccountPayload;
+import bisq.core.payment.payload.PaymentAccountPayload;
+import bisq.core.payment.payload.PaymentMethod;
+
+import lombok.EqualsAndHashCode;
+
+ at EqualsAndHashCode(callSuper = true)
+public final class AdvancedCashAccount extends PaymentAccount {
+    public AdvancedCashAccount() {
+        super(PaymentMethod.ADVANCED_CASH);
+        setSingleTradeCurrency(new FiatCurrency("USD"));

`setSingleTradeCurrency` is not correct. Should be like in OKPayAccount: `tradeCurrencies.addAll(CurrencyUtil.getAllOKPayCurrencies());`

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/1957#pullrequestreview-178011901
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20181123/2b01351c/attachment.html>


More information about the bisq-github mailing list