diff options
Diffstat (limited to 'ufund-api')
-rw-r--r-- | ufund-api/src/main/java/com/ufund/api/ufundapi/Need.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ufund-api/src/main/java/com/ufund/api/ufundapi/Need.java b/ufund-api/src/main/java/com/ufund/api/ufundapi/Need.java index f8d9d52..198b3a3 100644 --- a/ufund-api/src/main/java/com/ufund/api/ufundapi/Need.java +++ b/ufund-api/src/main/java/com/ufund/api/ufundapi/Need.java @@ -8,12 +8,14 @@ public class Need { } private String name; + private int id; private String[] filterAttributes; private GoalType type; private double maxGoal; private double current; - public Need(String name, double maxGoal, GoalType type) { + public Need(String name, int id, double maxGoal, GoalType type) { + this.id = id; this.name = name; this.maxGoal = maxGoal; this.type = type; @@ -23,6 +25,10 @@ public class Need { return name; } + public int getID() { + return id; + } + public String[] getFilterAttributes() { return filterAttributes; } |