We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d8dc3c commit bca3402Copy full SHA for bca3402
1 file changed
src/main/java/zadudoder/spmhelper/utils/types/Card.java
@@ -11,9 +11,10 @@
11
public class Card {
12
public String id;
13
public String token;
14
- public int number;
+ public String number;
15
16
- public Card() {}
+ public Card() {
17
+ }
18
19
public Card(String id, String token) {
20
this.id = id;
@@ -27,7 +28,7 @@ public Card(String id, String token) {
27
28
} else {
29
for (JsonElement card : cards) {
30
if (card.getAsJsonObject().get("id").getAsString().equals(id)) {
- this.number = card.getAsJsonObject().get("number").getAsInt();
31
+ this.number = card.getAsJsonObject().get("number").getAsString();
32
}
33
34
0 commit comments