Skip to content

Commit cf4d4bc

Browse files
fix(docs): use correct putAdditionalProperty value (#281)
1 parent 4213f97 commit cf4d4bc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,10 @@ Sometimes, the API may support other properties that are not yet supported in th
158158
you can attach them using the `putAdditionalProperty` method.
159159

160160
```java
161+
import com.lithic.api.models.core.JsonValue;
161162
CardCreateParams params = CardCreateParams.builder()
162163
// ... normal properties
163-
.putAdditionalProperty("secret_param", "4242")
164+
.putAdditionalProperty("secret_param", JsonValue.from("4242"))
164165
.build();
165166
```
166167

0 commit comments

Comments
 (0)