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
The table of contents is too big for display.
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.162.0"
".": "0.162.1"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 201
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-5ea7ed56030d4b00596b425a2efee0459583f4e0e283daad7ebb63a0cd76d29f.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-9f22ab139c225a56bc829befa825a81eb1f2bc1af4b1a934b6f8888d4e422a58.yml
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Changelog

## 0.162.1 (2025-01-20)

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

### Bug Fixes

* **client:** make service impl constructors internal ([#700](https://github.com/Increase/increase-java/issues/700)) ([fc31e66](https://github.com/Increase/increase-java/commit/fc31e66b986a649e59f08c66ff0b7933cb52ee33))


### Chores

* **internal:** upgrade kotlin compiler and gradle ([#698](https://github.com/Increase/increase-java/issues/698)) ([12b19e8](https://github.com/Increase/increase-java/commit/12b19e8cdfea26d606c242960248824a5dbb4255))
* simplify examples involving lists ([#696](https://github.com/Increase/increase-java/issues/696)) ([efd6ff0](https://github.com/Increase/increase-java/commit/efd6ff0cd56019b1939caafb390065feb0d8ecd3))


### Documentation

* add more documentation ([#699](https://github.com/Increase/increase-java/issues/699)) ([5b09b99](https://github.com/Increase/increase-java/commit/5b09b992cfe86a7ff082d42aa7146d04d99a9824))

## 0.162.0 (2025-01-14)

Full Changelog: [v0.161.0...v0.162.0](https://github.com/Increase/increase-java/compare/v0.161.0...v0.162.0)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<!-- 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.162.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.162.1)

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

Expand All @@ -25,7 +25,7 @@ The REST API documentation can be found on [increase.com](https://increase.com/
<!-- x-release-please-start-version -->

```kotlin
implementation("com.increase.api:increase-java:0.162.0")
implementation("com.increase.api:increase-java:0.162.1")
```

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

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
allprojects {
group = "com.increase.api"
version = "0.162.0" // x-release-please-version
version = "0.162.1" // x-release-please-version
}
2 changes: 1 addition & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
`kotlin-dsl`
kotlin("jvm") version "1.9.22"
kotlin("jvm") version "2.1.0"
id("com.vanniktech.maven.publish") version "0.28.0"
}

Expand Down
8 changes: 6 additions & 2 deletions buildSrc/src/main/kotlin/increase.kotlin.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@ configure<SpotlessExtension> {

tasks.withType<KotlinCompile>().configureEach {
kotlinOptions {
allWarningsAsErrors = true
freeCompilerArgs = listOf("-Xjvm-default=all", "-Xjdk-release=1.8")
freeCompilerArgs = listOf(
"-Xjvm-default=all",
"-Xjdk-release=1.8",
// Suppress deprecation warnings because we may still reference and test deprecated members.
"-Xsuppress-warning=DEPRECATION"
)
jvmTarget = "1.8"
}
}
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
6 changes: 4 additions & 2 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,7 @@ private constructor(
)
}

/** The bank the Account is with. */
class Bank
@JsonCreator
private constructor(
Expand All @@ -545,14 +546,20 @@ private constructor(
}

enum class Known {
/** Blue Ridge Bank, N.A. */
BLUE_RIDGE_BANK,
/** First Internet Bank of Indiana */
FIRST_INTERNET_BANK,
/** Grasshopper Bank */
GRASSHOPPER_BANK,
}

enum class Value {
/** Blue Ridge Bank, N.A. */
BLUE_RIDGE_BANK,
/** First Internet Bank of Indiana */
FIRST_INTERNET_BANK,
/** Grasshopper Bank */
GRASSHOPPER_BANK,
_UNKNOWN,
}
Expand Down Expand Up @@ -588,6 +595,7 @@ private constructor(
override fun toString() = value.toString()
}

/** The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Account currency. */
class Currency
@JsonCreator
private constructor(
Expand All @@ -614,20 +622,32 @@ private constructor(
}

enum class Known {
/** Canadian Dollar (CAD) */
CAD,
/** Swiss Franc (CHF) */
CHF,
/** Euro (EUR) */
EUR,
/** British Pound (GBP) */
GBP,
/** Japanese Yen (JPY) */
JPY,
/** US Dollar (USD) */
USD,
}

enum class Value {
/** Canadian Dollar (CAD) */
CAD,
/** Swiss Franc (CHF) */
CHF,
/** Euro (EUR) */
EUR,
/** British Pound (GBP) */
GBP,
/** Japanese Yen (JPY) */
JPY,
/** US Dollar (USD) */
USD,
_UNKNOWN,
}
Expand Down Expand Up @@ -669,6 +689,7 @@ private constructor(
override fun toString() = value.toString()
}

/** The status of the Account. */
class Status
@JsonCreator
private constructor(
Expand All @@ -687,12 +708,16 @@ private constructor(
}

enum class Known {
/** Closed Accounts on which no new activity can occur. */
CLOSED,
/** Open Accounts that are ready to use. */
OPEN,
}

enum class Value {
/** Closed Accounts on which no new activity can occur. */
CLOSED,
/** Open Accounts that are ready to use. */
OPEN,
_UNKNOWN,
}
Expand Down Expand Up @@ -726,6 +751,7 @@ private constructor(
override fun toString() = value.toString()
}

/** A constant representing the object's type. For this resource it will always be `account`. */
class Type
@JsonCreator
private constructor(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import java.util.Optional
import java.util.stream.Stream
import java.util.stream.StreamSupport

/** List Accounts */
class AccountListPage
private constructor(
private val accountsService: AccountService,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import java.util.concurrent.CompletableFuture
import java.util.concurrent.Executor
import java.util.function.Predicate

/** List Accounts */
class AccountListPageAsync
private constructor(
private val accountsService: AccountServiceAsync,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@ constructor(
"CreatedAt{after=$after, before=$before, onOrAfter=$onOrAfter, onOrBefore=$onOrBefore, additionalProperties=$additionalProperties}"
}

/** Filter Accounts for those with the specified status. */
class Status
@JsonCreator
private constructor(
Expand All @@ -517,12 +518,16 @@ constructor(
}

enum class Known {
/** Closed Accounts on which no new activity can occur. */
CLOSED,
/** Open Accounts that are ready to use. */
OPEN,
}

enum class Value {
/** Closed Accounts on which no new activity can occur. */
CLOSED,
/** Open Accounts that are ready to use. */
OPEN,
_UNKNOWN,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,10 @@ private constructor(
)
}

/**
* Whether ACH debits are allowed against this Account Number. Note that they will still be
* declined if this is `allowed` if the Account Number is not active.
*/
class DebitStatus
@JsonCreator
private constructor(
Expand All @@ -482,12 +486,16 @@ private constructor(
}

enum class Known {
/** ACH Debits are allowed. */
ALLOWED,
/** ACH Debits are blocked. */
BLOCKED,
}

enum class Value {
/** ACH Debits are allowed. */
ALLOWED,
/** ACH Debits are blocked. */
BLOCKED,
_UNKNOWN,
}
Expand Down Expand Up @@ -619,6 +627,7 @@ private constructor(
InboundChecks(checkRequired("status", status), additionalProperties.toImmutable())
}

/** How Increase should process checks with this account number printed on them. */
class Status
@JsonCreator
private constructor(
Expand All @@ -637,12 +646,28 @@ private constructor(
}

enum class Known {
/**
* Checks with this Account Number will be processed even if they are not associated
* with a Check Transfer.
*/
ALLOWED,
/**
* Checks with this Account Number will be processed only if they can be matched to
* an existing Check Transfer.
*/
CHECK_TRANSFERS_ONLY,
}

enum class Value {
/**
* Checks with this Account Number will be processed even if they are not associated
* with a Check Transfer.
*/
ALLOWED,
/**
* Checks with this Account Number will be processed only if they can be matched to
* an existing Check Transfer.
*/
CHECK_TRANSFERS_ONLY,
_UNKNOWN,
}
Expand Down Expand Up @@ -694,6 +719,7 @@ private constructor(
"InboundChecks{status=$status, additionalProperties=$additionalProperties}"
}

/** This indicates if payments can be made to the Account Number. */
class Status
@JsonCreator
private constructor(
Expand All @@ -714,14 +740,20 @@ private constructor(
}

enum class Known {
/** The account number is active. */
ACTIVE,
/** The account number is temporarily disabled. */
DISABLED,
/** The account number is permanently disabled. */
CANCELED,
}

enum class Value {
/** The account number is active. */
ACTIVE,
/** The account number is temporarily disabled. */
DISABLED,
/** The account number is permanently disabled. */
CANCELED,
_UNKNOWN,
}
Expand Down Expand Up @@ -757,6 +789,10 @@ private constructor(
override fun toString() = value.toString()
}

/**
* A constant representing the object's type. For this resource it will always be
* `account_number`.
*/
class Type
@JsonCreator
private constructor(
Expand Down
Loading
Loading