File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed
src/main/java/me/figo/models Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ package me .figo .models ;
2+
3+
4+ import com .google .gson .annotations .Expose ;
5+
6+ public class Category {
7+
8+ @ Expose
9+ private int parent_id ;
10+
11+ @ Expose
12+ private int id ;
13+
14+ @ Expose
15+ private String name ;
16+
17+ public int getParentId () {
18+ return parent_id ;
19+ }
20+
21+ public int getId () {
22+ return id ;
23+ }
24+
25+ public String getName () {
26+ return name ;
27+ }
28+
29+ }
Original file line number Diff line number Diff line change @@ -128,6 +128,9 @@ public class Transaction {
128128 @ Expose (serialize = false )
129129 private AdditionalTransactionInfo additional_info ;
130130
131+ @ Expose
132+ private List <Category > categories ;
133+
131134 public Transaction () {
132135 }
133136
@@ -244,6 +247,10 @@ public AdditionalTransactionInfo getAdditionalInfo() {
244247 return additional_info ;
245248 }
246249
250+ public List <Category > getCategories () {
251+ return categories ;
252+ }
253+
247254 /**
248255 * Helper type to represent the actual answer from the figo API
249256 */
You can’t perform that action at this time.
0 commit comments