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.111.0"
".": "0.112.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: 168
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-c3f6c23018d70fd1b259b21cfd377b5d905872f0d3c5ce2cdb8013f4b6daa338.yml
openapi_spec_hash: b551344da9d29eb4c5374874ed84a9b0
config_hash: 012f050e575d1bbfe8db56a9eeaa5fcd
configured_endpoints: 172
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-e1901db484e520cc1f6aa88c8b00d0fcda30c8f9e5ea562a12b9edfc3fb3b6d6.yml
openapi_spec_hash: 59c317749628f3ed4cc7911b68f6351f
config_hash: aab05d0cf41f1f6b9f4d5677273c1600
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog

## 0.112.0 (2025-11-17)

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

### Features

* **api:** add disputes V2 endpoints ([ff8ebce](https://github.com/lithic-com/lithic-java/commit/ff8ebce11768f9f6993d13140fdd906d725d8b44))
* **api:** add return payment method ([ff8ebce](https://github.com/lithic-com/lithic-java/commit/ff8ebce11768f9f6993d13140fdd906d725d8b44))
* **api:** add Tokenization and ACH Rules ([ff8ebce](https://github.com/lithic-com/lithic-java/commit/ff8ebce11768f9f6993d13140fdd906d725d8b44))
* **api:** add unpause external_bank_accounts API method ([ff8ebce](https://github.com/lithic-com/lithic-java/commit/ff8ebce11768f9f6993d13140fdd906d725d8b44))
* **api:** extract some common schemas into models ([ff8ebce](https://github.com/lithic-com/lithic-java/commit/ff8ebce11768f9f6993d13140fdd906d725d8b44))


### Bug Fixes

* **api:** add type guards to ConditionalValue deserializer ([dbd6653](https://github.com/lithic-com/lithic-java/commit/dbd665344d8cc3213a31c65b8bd22a2490085be4))
* **api:** change allowed phone number length from 18 to 16 ([ff8ebce](https://github.com/lithic-com/lithic-java/commit/ff8ebce11768f9f6993d13140fdd906d725d8b44))
* **api:** mark certain optional fields as nullable ([ff8ebce](https://github.com/lithic-com/lithic-java/commit/ff8ebce11768f9f6993d13140fdd906d725d8b44))
* **format:** remove extraneous blank line in dispute service imports ([57ec41a](https://github.com/lithic-com/lithic-java/commit/57ec41a0bfbd4385ec76dbb4d4d6901c7b838ce0))

## 0.111.0 (2025-11-13)

Full Changelog: [v0.110.0...v0.111.0](https://github.com/lithic-com/lithic-java/compare/v0.110.0...v0.111.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.lithic.api/lithic-java)](https://central.sonatype.com/artifact/com.lithic.api/lithic-java/0.111.0)
[![javadoc](https://javadoc.io/badge2/com.lithic.api/lithic-java/0.111.0/javadoc.svg)](https://javadoc.io/doc/com.lithic.api/lithic-java/0.111.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.112.0)
[![javadoc](https://javadoc.io/badge2/com.lithic.api/lithic-java/0.112.0/javadoc.svg)](https://javadoc.io/doc/com.lithic.api/lithic-java/0.112.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.111.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.112.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.111.0")
implementation("com.lithic.api:lithic-java:0.112.0")
```

### Maven
Expand All @@ -33,7 +33,7 @@ implementation("com.lithic.api:lithic-java:0.111.0")
<dependency>
<groupId>com.lithic.api</groupId>
<artifactId>lithic-java</artifactId>
<version>0.111.0</version>
<version>0.112.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.lithic.api"
version = "0.111.0" // x-release-please-version
version = "0.112.0" // x-release-please-version
}

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import com.lithic.api.services.blocking.CardService
import com.lithic.api.services.blocking.CreditProductService
import com.lithic.api.services.blocking.DigitalCardArtService
import com.lithic.api.services.blocking.DisputeService
import com.lithic.api.services.blocking.DisputesV2Service
import com.lithic.api.services.blocking.EventService
import com.lithic.api.services.blocking.ExternalBankAccountService
import com.lithic.api.services.blocking.ExternalPaymentService
Expand Down Expand Up @@ -96,6 +97,8 @@ interface LithicClient {

fun disputes(): DisputeService

fun disputesV2(): DisputesV2Service

fun events(): EventService

fun transfers(): TransferService
Expand Down Expand Up @@ -196,6 +199,8 @@ interface LithicClient {

fun disputes(): DisputeService.WithRawResponse

fun disputesV2(): DisputesV2Service.WithRawResponse

fun events(): EventService.WithRawResponse

fun transfers(): TransferService.WithRawResponse
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import com.lithic.api.services.async.CardServiceAsync
import com.lithic.api.services.async.CreditProductServiceAsync
import com.lithic.api.services.async.DigitalCardArtServiceAsync
import com.lithic.api.services.async.DisputeServiceAsync
import com.lithic.api.services.async.DisputesV2ServiceAsync
import com.lithic.api.services.async.EventServiceAsync
import com.lithic.api.services.async.ExternalBankAccountServiceAsync
import com.lithic.api.services.async.ExternalPaymentServiceAsync
Expand Down Expand Up @@ -96,6 +97,8 @@ interface LithicClientAsync {

fun disputes(): DisputeServiceAsync

fun disputesV2(): DisputesV2ServiceAsync

fun events(): EventServiceAsync

fun transfers(): TransferServiceAsync
Expand Down Expand Up @@ -199,6 +202,8 @@ interface LithicClientAsync {

fun disputes(): DisputeServiceAsync.WithRawResponse

fun disputesV2(): DisputesV2ServiceAsync.WithRawResponse

fun events(): EventServiceAsync.WithRawResponse

fun transfers(): TransferServiceAsync.WithRawResponse
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ import com.lithic.api.services.async.DigitalCardArtServiceAsync
import com.lithic.api.services.async.DigitalCardArtServiceAsyncImpl
import com.lithic.api.services.async.DisputeServiceAsync
import com.lithic.api.services.async.DisputeServiceAsyncImpl
import com.lithic.api.services.async.DisputesV2ServiceAsync
import com.lithic.api.services.async.DisputesV2ServiceAsyncImpl
import com.lithic.api.services.async.EventServiceAsync
import com.lithic.api.services.async.EventServiceAsyncImpl
import com.lithic.api.services.async.ExternalBankAccountServiceAsync
Expand Down Expand Up @@ -135,6 +137,10 @@ class LithicClientAsyncImpl(private val clientOptions: ClientOptions) : LithicCl
DisputeServiceAsyncImpl(clientOptionsWithUserAgent)
}

private val disputesV2: DisputesV2ServiceAsync by lazy {
DisputesV2ServiceAsyncImpl(clientOptionsWithUserAgent)
}

private val events: EventServiceAsync by lazy {
EventServiceAsyncImpl(clientOptionsWithUserAgent)
}
Expand Down Expand Up @@ -241,6 +247,8 @@ class LithicClientAsyncImpl(private val clientOptions: ClientOptions) : LithicCl

override fun disputes(): DisputeServiceAsync = disputes

override fun disputesV2(): DisputesV2ServiceAsync = disputesV2

override fun events(): EventServiceAsync = events

override fun transfers(): TransferServiceAsync = transfers
Expand Down Expand Up @@ -337,6 +345,10 @@ class LithicClientAsyncImpl(private val clientOptions: ClientOptions) : LithicCl
DisputeServiceAsyncImpl.WithRawResponseImpl(clientOptions)
}

private val disputesV2: DisputesV2ServiceAsync.WithRawResponse by lazy {
DisputesV2ServiceAsyncImpl.WithRawResponseImpl(clientOptions)
}

private val events: EventServiceAsync.WithRawResponse by lazy {
EventServiceAsyncImpl.WithRawResponseImpl(clientOptions)
}
Expand Down Expand Up @@ -443,6 +455,8 @@ class LithicClientAsyncImpl(private val clientOptions: ClientOptions) : LithicCl

override fun disputes(): DisputeServiceAsync.WithRawResponse = disputes

override fun disputesV2(): DisputesV2ServiceAsync.WithRawResponse = disputesV2

override fun events(): EventServiceAsync.WithRawResponse = events

override fun transfers(): TransferServiceAsync.WithRawResponse = transfers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ import com.lithic.api.services.blocking.DigitalCardArtService
import com.lithic.api.services.blocking.DigitalCardArtServiceImpl
import com.lithic.api.services.blocking.DisputeService
import com.lithic.api.services.blocking.DisputeServiceImpl
import com.lithic.api.services.blocking.DisputesV2Service
import com.lithic.api.services.blocking.DisputesV2ServiceImpl
import com.lithic.api.services.blocking.EventService
import com.lithic.api.services.blocking.EventServiceImpl
import com.lithic.api.services.blocking.ExternalBankAccountService
Expand Down Expand Up @@ -128,6 +130,10 @@ class LithicClientImpl(private val clientOptions: ClientOptions) : LithicClient

private val disputes: DisputeService by lazy { DisputeServiceImpl(clientOptionsWithUserAgent) }

private val disputesV2: DisputesV2Service by lazy {
DisputesV2ServiceImpl(clientOptionsWithUserAgent)
}

private val events: EventService by lazy { EventServiceImpl(clientOptionsWithUserAgent) }

private val transfers: TransferService by lazy {
Expand Down Expand Up @@ -223,6 +229,8 @@ class LithicClientImpl(private val clientOptions: ClientOptions) : LithicClient

override fun disputes(): DisputeService = disputes

override fun disputesV2(): DisputesV2Service = disputesV2

override fun events(): EventService = events

override fun transfers(): TransferService = transfers
Expand Down Expand Up @@ -319,6 +327,10 @@ class LithicClientImpl(private val clientOptions: ClientOptions) : LithicClient
DisputeServiceImpl.WithRawResponseImpl(clientOptions)
}

private val disputesV2: DisputesV2Service.WithRawResponse by lazy {
DisputesV2ServiceImpl.WithRawResponseImpl(clientOptions)
}

private val events: EventService.WithRawResponse by lazy {
EventServiceImpl.WithRawResponseImpl(clientOptions)
}
Expand Down Expand Up @@ -425,6 +437,8 @@ class LithicClientImpl(private val clientOptions: ClientOptions) : LithicClient

override fun disputes(): DisputeService.WithRawResponse = disputes

override fun disputesV2(): DisputesV2Service.WithRawResponse = disputesV2

override fun events(): EventService.WithRawResponse = events

override fun transfers(): TransferService.WithRawResponse = transfers
Expand Down
Loading