File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/main/java/de/bigamgamen/java/telegrambots/hertlhendl/domain Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 11package de .bigamgamen .java .telegrambots .hertlhendl .domain ;
22
33import java .math .BigInteger ;
4+ import java .net .URLEncoder ;
5+ import java .nio .charset .StandardCharsets ;
46import java .time .LocalDate ;
57import java .time .format .DateTimeFormatter ;
68import java .util .ArrayList ;
@@ -125,8 +127,10 @@ public void setCommited(Boolean commited)
125127
126128 public String getPayPalDescription ()
127129 {
128- // TODO Auto-generated method stub
129- return null ;
130+ final StringBuilder sb = new StringBuilder ();
131+ this .positionen .forEach (pos -> sb .append (pos .toString ()+"," ));
132+
133+ return URLEncoder .encode (sb .toString (), StandardCharsets .UTF_8 );
130134 }
131135
132136
You can’t perform that action at this time.
0 commit comments