Print the payment method id (only)

This commit is contained in:
ghubstan 2020-11-18 12:53:36 -03:00
parent 0046b08f9d
commit 7a7d5ba0a7
No known key found for this signature in database
GPG Key ID: E35592D6800A861E

View File

@ -421,7 +421,7 @@ public class CliMain {
case getpaymentmethods: {
var request = GetPaymentMethodsRequest.newBuilder().build();
var reply = paymentAccountsService.getPaymentMethods(request);
reply.getPaymentMethodsList().forEach(out::println);
reply.getPaymentMethodsList().forEach(p -> out.println(p.getId()));
}
case createpaymentacct: {
if (nonOptionArgs.size() < 5)