Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.409.0"
".": "0.410.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 232
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-994727afca8b769c05b3531b0e560cfc71b7d2c45a49b54e09bbf73d0dbcaa1f.yml
openapi_spec_hash: bb1c55d7e08fb038a7383976bba226d1
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-46a90f99726aa861d06ec56fb73592b4dcb4499d5a765d1a10dfc9619446306f.yml
openapi_spec_hash: 8406b96c39c72de064a810c393c00554
config_hash: 27e44ed36b9c5617b580ead7231a594a
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.410.0 (2026-01-30)

Full Changelog: [v0.409.0...v0.410.0](https://github.com/Increase/increase-java/compare/v0.409.0...v0.410.0)

### Features

* **api:** api update ([4e2e2f8](https://github.com/Increase/increase-java/commit/4e2e2f8ebb0cbeb9b2c647f3f121c1250673279c))

## 0.409.0 (2026-01-30)

Full Changelog: [v0.408.0...v0.409.0](https://github.com/Increase/increase-java/compare/v0.408.0...v0.409.0)
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<!-- x-release-please-start-version -->

[![Maven Central](https://img.shields.io/maven-central/v/com.increase.api/increase-java)](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.409.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.409.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.409.0)
[![Maven Central](https://img.shields.io/maven-central/v/com.increase.api/increase-java)](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.410.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.410.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.410.0)

<!-- x-release-please-end -->

Expand All @@ -13,7 +13,7 @@ The Increase Java SDK is similar to the Increase Kotlin SDK but with minor diffe

<!-- x-release-please-start-version -->

The REST API documentation can be found on [increase.com](https://increase.com/documentation). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.increase.api/increase-java/0.409.0).
The REST API documentation can be found on [increase.com](https://increase.com/documentation). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.increase.api/increase-java/0.410.0).

<!-- x-release-please-end -->

Expand All @@ -24,7 +24,7 @@ The REST API documentation can be found on [increase.com](https://increase.com/d
### Gradle

```kotlin
implementation("com.increase.api:increase-java:0.409.0")
implementation("com.increase.api:increase-java:0.410.0")
```

### Maven
Expand All @@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.409.0")
<dependency>
<groupId>com.increase.api</groupId>
<artifactId>increase-java</artifactId>
<version>0.409.0</version>
<version>0.410.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repositories {

allprojects {
group = "com.increase.api"
version = "0.409.0" // x-release-please-version
version = "0.410.0" // x-release-please-version
}

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ private constructor(
/**
* The name of the excluded institution.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
*/
fun bankName(): String = bankName.getRequired("bank_name")
fun bankName(): Optional<String> = bankName.getOptional("bank_name")

/**
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which the exclusion
Expand Down Expand Up @@ -318,7 +318,10 @@ private constructor(
fun id(id: JsonField<String>) = apply { this.id = id }

/** The name of the excluded institution. */
fun bankName(bankName: String) = bankName(JsonField.of(bankName))
fun bankName(bankName: String?) = bankName(JsonField.ofNullable(bankName))

/** Alias for calling [Builder.bankName] with `bankName.orElse(null)`. */
fun bankName(bankName: Optional<String>) = bankName(bankName.getOrNull())

/**
* Sets [Builder.bankName] to an arbitrary JSON value.
Expand Down
Loading
Loading