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.422.0"
".": "0.423.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-a466a501f72055942acea051bd2b1c735b70d65f3dd2710c5484e6125c8b640d.yml
openapi_spec_hash: d68789006ab658b380a02da2f03599b4
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-b85fc3d079fefa2ba0b1601db0bac8ca23c0ddb9c5ffe03e6727d666080d7585.yml
openapi_spec_hash: e1cf9b81380c14c64dfe9d74be4fff97
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.423.0 (2026-02-06)

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

### Features

* **api:** api update ([12d210b](https://github.com/Increase/increase-java/commit/12d210b61a66732a2cf8bf2021851ccb3e1100f2))

## 0.422.0 (2026-02-05)

Full Changelog: [v0.421.0...v0.422.0](https://github.com/Increase/increase-java/compare/v0.421.0...v0.422.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.422.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.422.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.422.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.423.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.423.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.423.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.422.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.423.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.422.0")
implementation("com.increase.api:increase-java:0.423.0")
```

### Maven
Expand All @@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.422.0")
<dependency>
<groupId>com.increase.api</groupId>
<artifactId>increase-java</artifactId>
<version>0.422.0</version>
<version>0.423.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.422.0" // x-release-please-version
version = "0.423.0" // x-release-please-version
}

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -650,18 +650,12 @@ private constructor(

companion object {

/** Blue Ridge Bank, N.A. */
@JvmField val BLUE_RIDGE_BANK = of("blue_ridge_bank")

/** Core Bank */
@JvmField val CORE_BANK = of("core_bank")

/** First Internet Bank of Indiana */
@JvmField val FIRST_INTERNET_BANK = of("first_internet_bank")

/** Global Innovations Bank */
@JvmField val GLOBAL_INNOVATIONS_BANK = of("global_innovations_bank")

/** Grasshopper Bank */
@JvmField val GRASSHOPPER_BANK = of("grasshopper_bank")

Expand All @@ -673,14 +667,10 @@ private constructor(

/** An enum containing [Bank]'s known values. */
enum class Known {
/** Blue Ridge Bank, N.A. */
BLUE_RIDGE_BANK,
/** Core Bank */
CORE_BANK,
/** First Internet Bank of Indiana */
FIRST_INTERNET_BANK,
/** Global Innovations Bank */
GLOBAL_INNOVATIONS_BANK,
/** Grasshopper Bank */
GRASSHOPPER_BANK,
/** Twin City Bank */
Expand All @@ -697,14 +687,10 @@ private constructor(
* - It was constructed with an arbitrary value using the [of] method.
*/
enum class Value {
/** Blue Ridge Bank, N.A. */
BLUE_RIDGE_BANK,
/** Core Bank */
CORE_BANK,
/** First Internet Bank of Indiana */
FIRST_INTERNET_BANK,
/** Global Innovations Bank */
GLOBAL_INNOVATIONS_BANK,
/** Grasshopper Bank */
GRASSHOPPER_BANK,
/** Twin City Bank */
Expand All @@ -722,10 +708,8 @@ private constructor(
*/
fun value(): Value =
when (this) {
BLUE_RIDGE_BANK -> Value.BLUE_RIDGE_BANK
CORE_BANK -> Value.CORE_BANK
FIRST_INTERNET_BANK -> Value.FIRST_INTERNET_BANK
GLOBAL_INNOVATIONS_BANK -> Value.GLOBAL_INNOVATIONS_BANK
GRASSHOPPER_BANK -> Value.GRASSHOPPER_BANK
TWIN_CITY_BANK -> Value.TWIN_CITY_BANK
else -> Value._UNKNOWN
Expand All @@ -742,10 +726,8 @@ private constructor(
*/
fun known(): Known =
when (this) {
BLUE_RIDGE_BANK -> Known.BLUE_RIDGE_BANK
CORE_BANK -> Known.CORE_BANK
FIRST_INTERNET_BANK -> Known.FIRST_INTERNET_BANK
GLOBAL_INNOVATIONS_BANK -> Known.GLOBAL_INNOVATIONS_BANK
GRASSHOPPER_BANK -> Known.GRASSHOPPER_BANK
TWIN_CITY_BANK -> Known.TWIN_CITY_BANK
else -> throw IncreaseInvalidDataException("Unknown Bank: $value")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ internal class ProgramCreateParamsTest {
fun create() {
ProgramCreateParams.builder()
.name("For Benefit Of")
.bank(ProgramCreateParams.Bank.BLUE_RIDGE_BANK)
.bank(ProgramCreateParams.Bank.CORE_BANK)
.lendingMaximumExtendableCredit(0L)
.reserveAccountId("reserve_account_id")
.build()
Expand All @@ -22,15 +22,15 @@ internal class ProgramCreateParamsTest {
val params =
ProgramCreateParams.builder()
.name("For Benefit Of")
.bank(ProgramCreateParams.Bank.BLUE_RIDGE_BANK)
.bank(ProgramCreateParams.Bank.CORE_BANK)
.lendingMaximumExtendableCredit(0L)
.reserveAccountId("reserve_account_id")
.build()

val body = params._body()

assertThat(body.name()).isEqualTo("For Benefit Of")
assertThat(body.bank()).contains(ProgramCreateParams.Bank.BLUE_RIDGE_BANK)
assertThat(body.bank()).contains(ProgramCreateParams.Bank.CORE_BANK)
assertThat(body.lendingMaximumExtendableCredit()).contains(0L)
assertThat(body.reserveAccountId()).contains("reserve_account_id")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ internal class ProgramServiceAsyncTest {
programServiceAsync.create(
ProgramCreateParams.builder()
.name("For Benefit Of")
.bank(ProgramCreateParams.Bank.BLUE_RIDGE_BANK)
.bank(ProgramCreateParams.Bank.CORE_BANK)
.lendingMaximumExtendableCredit(0L)
.reserveAccountId("reserve_account_id")
.build()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ internal class ProgramServiceTest {
programService.create(
ProgramCreateParams.builder()
.name("For Benefit Of")
.bank(ProgramCreateParams.Bank.BLUE_RIDGE_BANK)
.bank(ProgramCreateParams.Bank.CORE_BANK)
.lendingMaximumExtendableCredit(0L)
.reserveAccountId("reserve_account_id")
.build()
Expand Down
Loading