Skip to content
Open
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.109.0"
".": "0.110.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 169
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-6432801dcf017d9234739b9f6153a8cfecd91255af4765f24ba5209f3e320b5c.yml
openapi_spec_hash: c2cfee2f044ba15d15b5bfdbd37280c0
config_hash: 8ac73ccdb428816c89c84802c794a3f8
configured_endpoints: 168
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-c10c01eac94b422808bb16cc1044c67c980791b6d1360b01628d13c5a745dfeb.yml
openapi_spec_hash: 9e6642fdb875a6aa6037c107917ebff4
config_hash: 0b45ea129fca7c4755ef61eb97baa096
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Changelog

## 0.110.0 (2025-11-05)

Full Changelog: [v0.109.0...v0.110.0](https://github.com/lithic-com/lithic-java/compare/v0.109.0...v0.110.0)

### Features

* **api:** deprecate auth rule apply endpoint and fix several schemas ([b21d55c](https://github.com/lithic-com/lithic-java/commit/b21d55ce251d33366456db9f99bb4c4ac2cbc9fc))


### Chores

* **api:** adds support for new ACH_RECEIPT_RELEASED event ([a2bbd13](https://github.com/lithic-com/lithic-java/commit/a2bbd1301f29e85cdec582a799ef91255f35ddfa))


### Documentation

* **client:** update readme timeout snippet ([7757427](https://github.com/lithic-com/lithic-java/commit/77574272ea9690f4822524663854b13be0b4a5f1))

## 0.109.0 (2025-10-23)

Full Changelog: [v0.108.0...v0.109.0](https://github.com/lithic-com/lithic-java/compare/v0.108.0...v0.109.0)
Expand Down
16 changes: 7 additions & 9 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.lithic.api/lithic-java)](https://central.sonatype.com/artifact/com.lithic.api/lithic-java/0.109.0)
[![javadoc](https://javadoc.io/badge2/com.lithic.api/lithic-java/0.109.0/javadoc.svg)](https://javadoc.io/doc/com.lithic.api/lithic-java/0.109.0)
[![Maven Central](https://img.shields.io/maven-central/v/com.lithic.api/lithic-java)](https://central.sonatype.com/artifact/com.lithic.api/lithic-java/0.110.0)
[![javadoc](https://javadoc.io/badge2/com.lithic.api/lithic-java/0.110.0/javadoc.svg)](https://javadoc.io/doc/com.lithic.api/lithic-java/0.110.0)

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

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

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

The REST API documentation can be found on [docs.lithic.com](https://docs.lithic.com). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.lithic.api/lithic-java/0.109.0).
The REST API documentation can be found on [docs.lithic.com](https://docs.lithic.com). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.lithic.api/lithic-java/0.110.0).

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

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

```kotlin
implementation("com.lithic.api:lithic-java:0.109.0")
implementation("com.lithic.api:lithic-java:0.110.0")
```

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

Expand Down Expand Up @@ -416,11 +416,9 @@ Requests time out after 1 minute by default.
To set a custom timeout, configure the method call using the `timeout` method:

```java
import com.lithic.api.models.Card;
import com.lithic.api.models.CardListPage;

Card card = client.cards().create(
params, RequestOptions.builder().timeout(Duration.ofSeconds(30)).build()
);
CardListPage page = client.cards().list(RequestOptions.builder().timeout(Duration.ofSeconds(30)).build());
```

Or configure the default for all method calls at the client level:
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.lithic.api"
version = "0.109.0" // x-release-please-version
version = "0.110.0" // x-release-please-version
}

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1679,6 +1679,8 @@ private constructor(

@JvmField val ACH_RECEIPT_PROCESSED = of("ACH_RECEIPT_PROCESSED")

@JvmField val ACH_RECEIPT_RELEASED = of("ACH_RECEIPT_RELEASED")

@JvmField val ACH_RECEIPT_SETTLED = of("ACH_RECEIPT_SETTLED")

@JvmField val ACH_RETURN_INITIATED = of("ACH_RETURN_INITIATED")
Expand Down Expand Up @@ -1817,6 +1819,7 @@ private constructor(
ACH_ORIGINATION_REVIEWED,
ACH_ORIGINATION_SETTLED,
ACH_RECEIPT_PROCESSED,
ACH_RECEIPT_RELEASED,
ACH_RECEIPT_SETTLED,
ACH_RETURN_INITIATED,
ACH_RETURN_PROCESSED,
Expand Down Expand Up @@ -1901,6 +1904,7 @@ private constructor(
ACH_ORIGINATION_REVIEWED,
ACH_ORIGINATION_SETTLED,
ACH_RECEIPT_PROCESSED,
ACH_RECEIPT_RELEASED,
ACH_RECEIPT_SETTLED,
ACH_RETURN_INITIATED,
ACH_RETURN_PROCESSED,
Expand Down Expand Up @@ -1987,6 +1991,7 @@ private constructor(
ACH_ORIGINATION_REVIEWED -> Value.ACH_ORIGINATION_REVIEWED
ACH_ORIGINATION_SETTLED -> Value.ACH_ORIGINATION_SETTLED
ACH_RECEIPT_PROCESSED -> Value.ACH_RECEIPT_PROCESSED
ACH_RECEIPT_RELEASED -> Value.ACH_RECEIPT_RELEASED
ACH_RECEIPT_SETTLED -> Value.ACH_RECEIPT_SETTLED
ACH_RETURN_INITIATED -> Value.ACH_RETURN_INITIATED
ACH_RETURN_PROCESSED -> Value.ACH_RETURN_PROCESSED
Expand Down Expand Up @@ -2071,6 +2076,7 @@ private constructor(
ACH_ORIGINATION_REVIEWED -> Known.ACH_ORIGINATION_REVIEWED
ACH_ORIGINATION_SETTLED -> Known.ACH_ORIGINATION_SETTLED
ACH_RECEIPT_PROCESSED -> Known.ACH_RECEIPT_PROCESSED
ACH_RECEIPT_RELEASED -> Known.ACH_RECEIPT_RELEASED
ACH_RECEIPT_SETTLED -> Known.ACH_RECEIPT_SETTLED
ACH_RETURN_INITIATED -> Known.ACH_RETURN_INITIATED
ACH_RETURN_PROCESSED -> Known.ACH_RETURN_PROCESSED
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1701,6 +1701,8 @@ private constructor(

@JvmField val ACH_RECEIPT_PROCESSED = of("ACH_RECEIPT_PROCESSED")

@JvmField val ACH_RECEIPT_RELEASED = of("ACH_RECEIPT_RELEASED")

@JvmField val ACH_RECEIPT_SETTLED = of("ACH_RECEIPT_SETTLED")

@JvmField val ACH_RETURN_INITIATED = of("ACH_RETURN_INITIATED")
Expand Down Expand Up @@ -1839,6 +1841,7 @@ private constructor(
ACH_ORIGINATION_REVIEWED,
ACH_ORIGINATION_SETTLED,
ACH_RECEIPT_PROCESSED,
ACH_RECEIPT_RELEASED,
ACH_RECEIPT_SETTLED,
ACH_RETURN_INITIATED,
ACH_RETURN_PROCESSED,
Expand Down Expand Up @@ -1923,6 +1926,7 @@ private constructor(
ACH_ORIGINATION_REVIEWED,
ACH_ORIGINATION_SETTLED,
ACH_RECEIPT_PROCESSED,
ACH_RECEIPT_RELEASED,
ACH_RECEIPT_SETTLED,
ACH_RETURN_INITIATED,
ACH_RETURN_PROCESSED,
Expand Down Expand Up @@ -2009,6 +2013,7 @@ private constructor(
ACH_ORIGINATION_REVIEWED -> Value.ACH_ORIGINATION_REVIEWED
ACH_ORIGINATION_SETTLED -> Value.ACH_ORIGINATION_SETTLED
ACH_RECEIPT_PROCESSED -> Value.ACH_RECEIPT_PROCESSED
ACH_RECEIPT_RELEASED -> Value.ACH_RECEIPT_RELEASED
ACH_RECEIPT_SETTLED -> Value.ACH_RECEIPT_SETTLED
ACH_RETURN_INITIATED -> Value.ACH_RETURN_INITIATED
ACH_RETURN_PROCESSED -> Value.ACH_RETURN_PROCESSED
Expand Down Expand Up @@ -2093,6 +2098,7 @@ private constructor(
ACH_ORIGINATION_REVIEWED -> Known.ACH_ORIGINATION_REVIEWED
ACH_ORIGINATION_SETTLED -> Known.ACH_ORIGINATION_SETTLED
ACH_RECEIPT_PROCESSED -> Known.ACH_RECEIPT_PROCESSED
ACH_RECEIPT_RELEASED -> Known.ACH_RECEIPT_RELEASED
ACH_RECEIPT_SETTLED -> Known.ACH_RECEIPT_SETTLED
ACH_RETURN_INITIATED -> Known.ACH_RETURN_INITIATED
ACH_RETURN_PROCESSED -> Known.ACH_RETURN_PROCESSED
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -678,8 +678,15 @@ private constructor(
* businesses. Pass the account_token of the enrolled business associated with the
* AUTHORIZED_USER in this field.
*/
fun businessAccountToken(businessAccountToken: String) =
businessAccountToken(JsonField.of(businessAccountToken))
fun businessAccountToken(businessAccountToken: String?) =
businessAccountToken(JsonField.ofNullable(businessAccountToken))

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

/**
* Sets [Builder.businessAccountToken] to an arbitrary JSON value.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -866,8 +866,15 @@ private constructor(
* users of businesses. Pass the account_token of the enrolled business associated with
* the AUTHORIZED_USER in this field.
*/
fun businessAccountToken(businessAccountToken: String) =
businessAccountToken(JsonField.of(businessAccountToken))
fun businessAccountToken(businessAccountToken: String?) =
businessAccountToken(JsonField.ofNullable(businessAccountToken))

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

/**
* Sets [Builder.businessAccountToken] to an arbitrary JSON value.
Expand Down Expand Up @@ -3994,8 +4001,15 @@ private constructor(
fun address(address: JsonField<Address>) = apply { this.address = address }

/** The token for the business account that the account holder is associated with */
fun businessAccountToken(businessAccountToken: String) =
businessAccountToken(JsonField.of(businessAccountToken))
fun businessAccountToken(businessAccountToken: String?) =
businessAccountToken(JsonField.ofNullable(businessAccountToken))

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

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