Commit 42796e1
committed
feat(api)!: updates book transfer status, updates to transactions, add currency model (#305)
- Breaking: Removed book transfer status `PENDING`. While technically a breaking change, that was a mistake and should not impact user code, the API never accepted `PENDING` as a status for book transfer.
- Add book transfer status `REVERSED`
- Add `updated` and `amounts` fields to transactions
- Add shared model `Currency`
# Migration
The SDK previously stated that `PENDING` was an accepted value for book transfer status. That was a mistake, `PENDING` has never been accepted by the API for book transfers.
While this is a breaking change we do not expect user code to be impacted.1 parent f52f5c7 commit 42796e1
22 files changed
Lines changed: 3109 additions & 363 deletions
File tree
- lithic-java-core/src
- main/kotlin/com/lithic/api/models
- test/kotlin/com/lithic/api
- models
- services/blocking
Lines changed: 14 additions & 38 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 50 | + | |
54 | 51 | | |
55 | 52 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 53 | + | |
60 | 54 | | |
61 | 55 | | |
62 | 56 | | |
| |||
69 | 63 | | |
70 | 64 | | |
71 | 65 | | |
72 | | - | |
| 66 | + | |
73 | 67 | | |
74 | 68 | | |
75 | 69 | | |
76 | 70 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 71 | + | |
81 | 72 | | |
82 | 73 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 74 | + | |
87 | 75 | | |
88 | 76 | | |
89 | 77 | | |
| |||
189 | 177 | | |
190 | 178 | | |
191 | 179 | | |
192 | | - | |
193 | | - | |
| 180 | + | |
| 181 | + | |
194 | 182 | | |
195 | 183 | | |
196 | 184 | | |
197 | 185 | | |
198 | | - | |
199 | | - | |
| 186 | + | |
| 187 | + | |
200 | 188 | | |
201 | 189 | | |
202 | 190 | | |
203 | 191 | | |
204 | 192 | | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
| 193 | + | |
209 | 194 | | |
210 | 195 | | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
| 196 | + | |
215 | 197 | | |
216 | 198 | | |
217 | 199 | | |
218 | 200 | | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
| 201 | + | |
223 | 202 | | |
224 | 203 | | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
| 204 | + | |
229 | 205 | | |
230 | 206 | | |
231 | 207 | | |
| |||
Lines changed: 13 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
| 83 | + | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | | - | |
| 137 | + | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
364 | | - | |
365 | | - | |
| 364 | + | |
| 365 | + | |
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
370 | | - | |
371 | | - | |
| 370 | + | |
| 371 | + | |
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
| |||
997 | 997 | | |
998 | 998 | | |
999 | 999 | | |
1000 | | - | |
| 1000 | + | |
1001 | 1001 | | |
1002 | 1002 | | |
1003 | 1003 | | |
| |||
1006 | 1006 | | |
1007 | 1007 | | |
1008 | 1008 | | |
1009 | | - | |
| 1009 | + | |
1010 | 1010 | | |
1011 | 1011 | | |
1012 | 1012 | | |
1013 | 1013 | | |
1014 | 1014 | | |
1015 | | - | |
| 1015 | + | |
1016 | 1016 | | |
1017 | 1017 | | |
1018 | 1018 | | |
1019 | 1019 | | |
1020 | 1020 | | |
1021 | 1021 | | |
1022 | 1022 | | |
1023 | | - | |
| 1023 | + | |
1024 | 1024 | | |
1025 | 1025 | | |
1026 | 1026 | | |
1027 | 1027 | | |
1028 | 1028 | | |
1029 | 1029 | | |
1030 | 1030 | | |
1031 | | - | |
| 1031 | + | |
1032 | 1032 | | |
1033 | 1033 | | |
1034 | 1034 | | |
| |||
0 commit comments