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.335.0"
".": "0.336.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 214
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-4c440e14682c4e4c886da6d05b2f5ff539a3aadc6906bb4069a5df45e0d3cae9.yml
openapi_spec_hash: e400be1da67cec4ce706eda1868dd86b
config_hash: 8dadd60eab7ab858cf06c6a8633ed9f3
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-e0a19c46b65842ff370613aac24ba8777d7b961bd46a20e936e878386e048852.yml
openapi_spec_hash: 0f635610cedd9a0aacc6d5b347c3cccf
config_hash: a143293c5450ae8f52acad08f3102575
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.336.0 (2025-09-24)

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

### Features

* **api:** api update ([d22557a](https://github.com/Increase/increase-java/commit/d22557adeedb4447fa7b1e6567addf33ac6f34af))

## 0.335.0 (2025-09-24)

Full Changelog: [v0.334.0...v0.335.0](https://github.com/Increase/increase-java/compare/v0.334.0...v0.335.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.335.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.335.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.335.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.336.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.336.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.336.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.335.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.336.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.335.0")
implementation("com.increase.api:increase-java:0.336.0")
```

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

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import com.increase.api.services.blocking.AchTransferService
import com.increase.api.services.blocking.BookkeepingAccountService
import com.increase.api.services.blocking.BookkeepingEntryService
import com.increase.api.services.blocking.BookkeepingEntrySetService
import com.increase.api.services.blocking.CardDetailService
import com.increase.api.services.blocking.CardPaymentService
import com.increase.api.services.blocking.CardPurchaseSupplementService
import com.increase.api.services.blocking.CardPushTransferService
Expand Down Expand Up @@ -105,8 +104,6 @@ interface IncreaseClient {

fun cards(): CardService

fun cardDetails(): CardDetailService

fun cardPayments(): CardPaymentService

fun cardPurchaseSupplements(): CardPurchaseSupplementService
Expand Down Expand Up @@ -240,8 +237,6 @@ interface IncreaseClient {

fun cards(): CardService.WithRawResponse

fun cardDetails(): CardDetailService.WithRawResponse

fun cardPayments(): CardPaymentService.WithRawResponse

fun cardPurchaseSupplements(): CardPurchaseSupplementService.WithRawResponse
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import com.increase.api.services.async.AchTransferServiceAsync
import com.increase.api.services.async.BookkeepingAccountServiceAsync
import com.increase.api.services.async.BookkeepingEntryServiceAsync
import com.increase.api.services.async.BookkeepingEntrySetServiceAsync
import com.increase.api.services.async.CardDetailServiceAsync
import com.increase.api.services.async.CardPaymentServiceAsync
import com.increase.api.services.async.CardPurchaseSupplementServiceAsync
import com.increase.api.services.async.CardPushTransferServiceAsync
Expand Down Expand Up @@ -105,8 +104,6 @@ interface IncreaseClientAsync {

fun cards(): CardServiceAsync

fun cardDetails(): CardDetailServiceAsync

fun cardPayments(): CardPaymentServiceAsync

fun cardPurchaseSupplements(): CardPurchaseSupplementServiceAsync
Expand Down Expand Up @@ -244,8 +241,6 @@ interface IncreaseClientAsync {

fun cards(): CardServiceAsync.WithRawResponse

fun cardDetails(): CardDetailServiceAsync.WithRawResponse

fun cardPayments(): CardPaymentServiceAsync.WithRawResponse

fun cardPurchaseSupplements(): CardPurchaseSupplementServiceAsync.WithRawResponse
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ import com.increase.api.services.async.BookkeepingEntryServiceAsync
import com.increase.api.services.async.BookkeepingEntryServiceAsyncImpl
import com.increase.api.services.async.BookkeepingEntrySetServiceAsync
import com.increase.api.services.async.BookkeepingEntrySetServiceAsyncImpl
import com.increase.api.services.async.CardDetailServiceAsync
import com.increase.api.services.async.CardDetailServiceAsyncImpl
import com.increase.api.services.async.CardPaymentServiceAsync
import com.increase.api.services.async.CardPaymentServiceAsyncImpl
import com.increase.api.services.async.CardPurchaseSupplementServiceAsync
Expand Down Expand Up @@ -149,10 +147,6 @@ class IncreaseClientAsyncImpl(private val clientOptions: ClientOptions) : Increa

private val cards: CardServiceAsync by lazy { CardServiceAsyncImpl(clientOptionsWithUserAgent) }

private val cardDetails: CardDetailServiceAsync by lazy {
CardDetailServiceAsyncImpl(clientOptionsWithUserAgent)
}

private val cardPayments: CardPaymentServiceAsync by lazy {
CardPaymentServiceAsyncImpl(clientOptionsWithUserAgent)
}
Expand Down Expand Up @@ -369,8 +363,6 @@ class IncreaseClientAsyncImpl(private val clientOptions: ClientOptions) : Increa

override fun cards(): CardServiceAsync = cards

override fun cardDetails(): CardDetailServiceAsync = cardDetails

override fun cardPayments(): CardPaymentServiceAsync = cardPayments

override fun cardPurchaseSupplements(): CardPurchaseSupplementServiceAsync =
Expand Down Expand Up @@ -499,10 +491,6 @@ class IncreaseClientAsyncImpl(private val clientOptions: ClientOptions) : Increa
CardServiceAsyncImpl.WithRawResponseImpl(clientOptions)
}

private val cardDetails: CardDetailServiceAsync.WithRawResponse by lazy {
CardDetailServiceAsyncImpl.WithRawResponseImpl(clientOptions)
}

private val cardPayments: CardPaymentServiceAsync.WithRawResponse by lazy {
CardPaymentServiceAsyncImpl.WithRawResponseImpl(clientOptions)
}
Expand Down Expand Up @@ -725,8 +713,6 @@ class IncreaseClientAsyncImpl(private val clientOptions: ClientOptions) : Increa

override fun cards(): CardServiceAsync.WithRawResponse = cards

override fun cardDetails(): CardDetailServiceAsync.WithRawResponse = cardDetails

override fun cardPayments(): CardPaymentServiceAsync.WithRawResponse = cardPayments

override fun cardPurchaseSupplements(): CardPurchaseSupplementServiceAsync.WithRawResponse =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ import com.increase.api.services.blocking.BookkeepingEntryService
import com.increase.api.services.blocking.BookkeepingEntryServiceImpl
import com.increase.api.services.blocking.BookkeepingEntrySetService
import com.increase.api.services.blocking.BookkeepingEntrySetServiceImpl
import com.increase.api.services.blocking.CardDetailService
import com.increase.api.services.blocking.CardDetailServiceImpl
import com.increase.api.services.blocking.CardPaymentService
import com.increase.api.services.blocking.CardPaymentServiceImpl
import com.increase.api.services.blocking.CardPurchaseSupplementService
Expand Down Expand Up @@ -147,10 +145,6 @@ class IncreaseClientImpl(private val clientOptions: ClientOptions) : IncreaseCli

private val cards: CardService by lazy { CardServiceImpl(clientOptionsWithUserAgent) }

private val cardDetails: CardDetailService by lazy {
CardDetailServiceImpl(clientOptionsWithUserAgent)
}

private val cardPayments: CardPaymentService by lazy {
CardPaymentServiceImpl(clientOptionsWithUserAgent)
}
Expand Down Expand Up @@ -354,8 +348,6 @@ class IncreaseClientImpl(private val clientOptions: ClientOptions) : IncreaseCli

override fun cards(): CardService = cards

override fun cardDetails(): CardDetailService = cardDetails

override fun cardPayments(): CardPaymentService = cardPayments

override fun cardPurchaseSupplements(): CardPurchaseSupplementService = cardPurchaseSupplements
Expand Down Expand Up @@ -483,10 +475,6 @@ class IncreaseClientImpl(private val clientOptions: ClientOptions) : IncreaseCli
CardServiceImpl.WithRawResponseImpl(clientOptions)
}

private val cardDetails: CardDetailService.WithRawResponse by lazy {
CardDetailServiceImpl.WithRawResponseImpl(clientOptions)
}

private val cardPayments: CardPaymentService.WithRawResponse by lazy {
CardPaymentServiceImpl.WithRawResponseImpl(clientOptions)
}
Expand Down Expand Up @@ -706,8 +694,6 @@ class IncreaseClientImpl(private val clientOptions: ClientOptions) : IncreaseCli

override fun cards(): CardService.WithRawResponse = cards

override fun cardDetails(): CardDetailService.WithRawResponse = cardDetails

override fun cardPayments(): CardPaymentService.WithRawResponse = cardPayments

override fun cardPurchaseSupplements(): CardPurchaseSupplementService.WithRawResponse =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// File generated from our OpenAPI spec by Stainless.

package com.increase.api.models.carddetails
package com.increase.api.models.cards

import com.fasterxml.jackson.annotation.JsonAnyGetter
import com.fasterxml.jackson.annotation.JsonAnySetter
Expand All @@ -23,19 +23,20 @@ import kotlin.jvm.optionals.getOrNull
* Create an iframe URL for a Card to display the card details. More details about styling and usage
* can be found in the [documentation](/documentation/embedded-card-component).
*/
class CardDetailCreateDetailsIframeParams
class CardCreateDetailsIframeParams
private constructor(
private val cardId: String?,
private val body: Body,
private val additionalHeaders: Headers,
private val additionalQueryParams: QueryParams,
) : Params {

/** The identifier of the Card to retrieve details for. */
/** The identifier of the Card to create an iframe for. */
fun cardId(): Optional<String> = Optional.ofNullable(cardId)

/**
* The identifier of the Physical Card to retrieve details for.
* The identifier of the Physical Card to create an iframe for. This will inform the appearance
* of the card rendered in the iframe.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
Expand All @@ -61,16 +62,16 @@ private constructor(

companion object {

@JvmStatic fun none(): CardDetailCreateDetailsIframeParams = builder().build()
@JvmStatic fun none(): CardCreateDetailsIframeParams = builder().build()

/**
* Returns a mutable builder for constructing an instance of
* [CardDetailCreateDetailsIframeParams].
* [CardCreateDetailsIframeParams].
*/
@JvmStatic fun builder() = Builder()
}

/** A builder for [CardDetailCreateDetailsIframeParams]. */
/** A builder for [CardCreateDetailsIframeParams]. */
class Builder internal constructor() {

private var cardId: String? = null
Expand All @@ -79,17 +80,14 @@ private constructor(
private var additionalQueryParams: QueryParams.Builder = QueryParams.builder()

@JvmSynthetic
internal fun from(
cardDetailCreateDetailsIframeParams: CardDetailCreateDetailsIframeParams
) = apply {
cardId = cardDetailCreateDetailsIframeParams.cardId
body = cardDetailCreateDetailsIframeParams.body.toBuilder()
additionalHeaders = cardDetailCreateDetailsIframeParams.additionalHeaders.toBuilder()
additionalQueryParams =
cardDetailCreateDetailsIframeParams.additionalQueryParams.toBuilder()
internal fun from(cardCreateDetailsIframeParams: CardCreateDetailsIframeParams) = apply {
cardId = cardCreateDetailsIframeParams.cardId
body = cardCreateDetailsIframeParams.body.toBuilder()
additionalHeaders = cardCreateDetailsIframeParams.additionalHeaders.toBuilder()
additionalQueryParams = cardCreateDetailsIframeParams.additionalQueryParams.toBuilder()
}

/** The identifier of the Card to retrieve details for. */
/** The identifier of the Card to create an iframe for. */
fun cardId(cardId: String?) = apply { this.cardId = cardId }

/** Alias for calling [Builder.cardId] with `cardId.orElse(null)`. */
Expand All @@ -104,7 +102,10 @@ private constructor(
*/
fun body(body: Body) = apply { this.body = body.toBuilder() }

/** The identifier of the Physical Card to retrieve details for. */
/**
* The identifier of the Physical Card to create an iframe for. This will inform the
* appearance of the card rendered in the iframe.
*/
fun physicalCardId(physicalCardId: String) = apply { body.physicalCardId(physicalCardId) }

/**
Expand Down Expand Up @@ -236,12 +237,12 @@ private constructor(
}

/**
* Returns an immutable instance of [CardDetailCreateDetailsIframeParams].
* Returns an immutable instance of [CardCreateDetailsIframeParams].
*
* Further updates to this [Builder] will not mutate the returned instance.
*/
fun build(): CardDetailCreateDetailsIframeParams =
CardDetailCreateDetailsIframeParams(
fun build(): CardCreateDetailsIframeParams =
CardCreateDetailsIframeParams(
cardId,
body.build(),
additionalHeaders.build(),
Expand Down Expand Up @@ -275,7 +276,8 @@ private constructor(
) : this(physicalCardId, mutableMapOf())

/**
* The identifier of the Physical Card to retrieve details for.
* The identifier of the Physical Card to create an iframe for. This will inform the
* appearance of the card rendered in the iframe.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if
* the server responded with an unexpected value).
Expand Down Expand Up @@ -322,7 +324,10 @@ private constructor(
additionalProperties = body.additionalProperties.toMutableMap()
}

/** The identifier of the Physical Card to retrieve details for. */
/**
* The identifier of the Physical Card to create an iframe for. This will inform the
* appearance of the card rendered in the iframe.
*/
fun physicalCardId(physicalCardId: String) =
physicalCardId(JsonField.of(physicalCardId))

Expand Down Expand Up @@ -415,7 +420,7 @@ private constructor(
return true
}

return other is CardDetailCreateDetailsIframeParams &&
return other is CardCreateDetailsIframeParams &&
cardId == other.cardId &&
body == other.body &&
additionalHeaders == other.additionalHeaders &&
Expand All @@ -426,5 +431,5 @@ private constructor(
Objects.hash(cardId, body, additionalHeaders, additionalQueryParams)

override fun toString() =
"CardDetailCreateDetailsIframeParams{cardId=$cardId, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}"
"CardCreateDetailsIframeParams{cardId=$cardId, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}"
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// File generated from our OpenAPI spec by Stainless.

package com.increase.api.models.carddetails
package com.increase.api.models.cards

import com.fasterxml.jackson.annotation.JsonAnyGetter
import com.fasterxml.jackson.annotation.JsonAnySetter
Expand Down
Loading
Loading