Skip to content

Commit

Permalink
fix(docs): use correct putAdditionalProperty value (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Aug 21, 2024
1 parent 4213f97 commit cf4d4bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,10 @@ Sometimes, the API may support other properties that are not yet supported in th
you can attach them using the `putAdditionalProperty` method.

```java
import com.lithic.api.models.core.JsonValue;
CardCreateParams params = CardCreateParams.builder()
// ... normal properties
.putAdditionalProperty("secret_param", "4242")
.putAdditionalProperty("secret_param", JsonValue.from("4242"))
.build();
```

Expand Down

0 comments on commit cf4d4bc

Please sign in to comment.