Commit 4d4f9d9
Add custom attribute support to CreateInvoiceRequest (#8)
* Add custom attribute support to CreateInvoiceRequest
Allow passing one or more custom attributes directly in the invoice
object via setExtra(Map<String, String>). Each entry is serialized
as a top-level key-value pair in the JSON request body.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Add test for custom attribute support in CreateInvoiceRequest
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Update InvoiceGatewayTest.java
* Update InvoiceGatewayTest.java
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Koen Serry <482723+koen-serry@users.noreply.github.com>1 parent f9bad72 commit 4d4f9d9
2 files changed
Lines changed: 21 additions & 1 deletion
File tree
- src
- main/java/com/twikey/modal
- test/java/com/twikey
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
141 | 147 | | |
142 | 148 | | |
143 | 149 | | |
| |||
180 | 186 | | |
181 | 187 | | |
182 | 188 | | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
183 | 192 | | |
184 | 193 | | |
185 | 194 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
81 | 92 | | |
82 | 93 | | |
83 | 94 | | |
| |||
0 commit comments