mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Don't be so polite
This commit is contained in:
parent
45cfb95245
commit
62a2aa8543
@ -42,7 +42,7 @@ import bisq.apitest.method.MethodTest;
|
||||
public class AbstractPaymentAccountTest extends MethodTest {
|
||||
|
||||
static final String PROPERTY_NAME_COMMENT = "_COMMENT_";
|
||||
static final String PROPERTY_VALUE_COMMENT = "Please do not edit the paymentMethodId field.";
|
||||
static final String PROPERTY_VALUE_COMMENT = "Do not manually edit the paymentMethodId field.";
|
||||
|
||||
static final String PROPERTY_NAME_PAYMENT_METHOD_ID = "paymentMethodId";
|
||||
|
||||
|
@ -71,7 +71,7 @@ import static java.nio.charset.StandardCharsets.UTF_8;
|
||||
* get the json Hal Cash payment account form:
|
||||
* <pre>
|
||||
* {
|
||||
* "_COMMENT_": "Please do not edit the paymentMethodId field.",
|
||||
* "_COMMENT_": "Do not manually edit the paymentMethodId field.",
|
||||
* "paymentMethodId": "HAL_CASH",
|
||||
* "accountName": "Your accountname",
|
||||
* "mobileNr": "Your mobilenr"
|
||||
@ -82,7 +82,7 @@ import static java.nio.charset.StandardCharsets.UTF_8;
|
||||
* (2) Save the Hal Cash payment account form to disk, and edit it:
|
||||
* <pre>
|
||||
* {
|
||||
* "_COMMENT_": "Please do not edit the paymentMethodId field.",
|
||||
* "_COMMENT_": "Do not manually edit the paymentMethodId field.",
|
||||
* "paymentMethodId": "HAL_CASH",
|
||||
* "accountName": "Hal Cash Acct",
|
||||
* "mobileNr": "798 123 456"
|
||||
|
@ -255,7 +255,7 @@ class PaymentAccountTypeAdapter extends TypeAdapter<PaymentAccount> {
|
||||
account, account.getPaymentMethod().getId());
|
||||
|
||||
out.name("_COMMENT_");
|
||||
out.value("Please do not edit the paymentMethodId field.");
|
||||
out.value("Do not manually edit the paymentMethodId field.");
|
||||
|
||||
out.name("paymentMethodId");
|
||||
out.value(account.getPaymentMethod().getId());
|
||||
|
Loading…
Reference in New Issue
Block a user