support wise usd payment account over grpc api

This commit is contained in:
woodser 2025-06-20 08:01:12 -04:00 committed by woodser
parent 59e509d3e3
commit 3e9a55d784
7 changed files with 40 additions and 17 deletions

View file

@ -57,7 +57,7 @@ public class TransferwiseUsdForm extends PaymentMethodForm {
addCompactTopLabelTextFieldWithCopyIcon(gridPane, ++gridRow, 1, Res.get("payment.email"),
((TransferwiseUsdAccountPayload) paymentAccountPayload).getEmail());
String address = ((TransferwiseUsdAccountPayload) paymentAccountPayload).getBeneficiaryAddress();
String address = ((TransferwiseUsdAccountPayload) paymentAccountPayload).getHolderAddress();
if (address.length() > 0) {
TextArea textAddress = addCompactTopLabelTextArea(gridPane, gridRow, 0, Res.get("payment.account.address"), "").second;
textAddress.setMinHeight(70);
@ -96,7 +96,7 @@ public class TransferwiseUsdForm extends PaymentMethodForm {
updateFromInputs();
});
String addressLabel = Res.get("payment.account.owner.address") + Res.get("payment.transferwiseUsd.address");
String addressLabel = Res.get("payment.account.owner.address") + " " + Res.get("payment.transferwiseUsd.address");
TextArea addressTextArea = addTopLabelTextArea(gridPane, ++gridRow, addressLabel, addressLabel).second;
addressTextArea.setMinHeight(70);
addressTextArea.textProperty().addListener((ov, oldValue, newValue) -> {