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.533.0"
".": "0.534.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: 238
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase/increase-f0841004cde131703a9fc63fec3ae9ce98b63f0e8fe8d4326d1d75142538eda3.yml
openapi_spec_hash: a5a1e052b6e09ba465311f8adfcf9429
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase/increase-dfa51d8d0b4b31cb929920acfba59c9d2e928de78fc1ac44c639ff9f735727bf.yml
openapi_spec_hash: 401f64bbe952d952c600b78c42f0ed6c
config_hash: 060e036e1db198f2e908364c9df7096e
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.534.0 (2026-05-01)

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

### Features

* **api:** api update ([07de2fe](https://github.com/Increase/increase-java/commit/07de2fec9fb0b10c393979249cf24f6fec3e978e))
* **api:** api update ([faf7b4e](https://github.com/Increase/increase-java/commit/faf7b4e048c31b2f2ddcf88aef047e68c4593ca5))

## 0.533.0 (2026-05-01)

Full Changelog: [v0.532.0...v0.533.0](https://github.com/Increase/increase-java/compare/v0.532.0...v0.533.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.533.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.533.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.533.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.534.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.534.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.534.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.533.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.534.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.533.0")
implementation("com.increase.api:increase-java:0.534.0")
```

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

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ import java.util.Optional
import kotlin.jvm.optionals.getOrNull

/**
* Simulates setting an [Entity](#entities)'s validation under the managed compliance regime. Any
* existing managed compliance validation on the Entity will be marked as no longer current.
* Set the status for an
* [Entity's validation](/documentation/api/entities#entity-object.validation). In production, Know
* Your Customer validations
* [run automatically](/documentation/entity-validation#entity-validation). While developing, it can
* be helpful to override the behavior in Sandbox.
*/
class EntityValidationParams
private constructor(
Expand All @@ -35,19 +38,19 @@ private constructor(
private val additionalQueryParams: QueryParams,
) : Params {

/** The identifier of the Entity to set the validation on. */
/** The identifier of the Entity whose validation status to update. */
fun entityId(): Optional<String> = Optional.ofNullable(entityId)

/**
* The issues to attach to the new managed compliance validation.
* The validation issues to attach. Only allowed when `status` is `invalid`.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
*/
fun issues(): List<Issue> = body.issues()

/**
* The status to set on the new managed compliance validation.
* The validation status to set on the Entity.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
Expand Down Expand Up @@ -108,7 +111,7 @@ private constructor(
additionalQueryParams = entityValidationParams.additionalQueryParams.toBuilder()
}

/** The identifier of the Entity to set the validation on. */
/** The identifier of the Entity whose validation status to update. */
fun entityId(entityId: String?) = apply { this.entityId = entityId }

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

/** The issues to attach to the new managed compliance validation. */
/** The validation issues to attach. Only allowed when `status` is `invalid`. */
fun issues(issues: List<Issue>) = apply { body.issues(issues) }

/**
Expand All @@ -143,7 +146,7 @@ private constructor(
*/
fun addIssue(issue: Issue) = apply { body.addIssue(issue) }

/** The status to set on the new managed compliance validation. */
/** The validation status to set on the Entity. */
fun status(status: Status) = apply { body.status(status) }

/**
Expand Down Expand Up @@ -322,15 +325,15 @@ private constructor(
) : this(issues, status, mutableMapOf())

/**
* The issues to attach to the new managed compliance validation.
* The validation issues to attach. Only allowed when `status` is `invalid`.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
*/
fun issues(): List<Issue> = issues.getRequired("issues")

/**
* The status to set on the new managed compliance validation.
* The validation status to set on the Entity.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
Expand Down Expand Up @@ -391,7 +394,7 @@ private constructor(
additionalProperties = body.additionalProperties.toMutableMap()
}

/** The issues to attach to the new managed compliance validation. */
/** The validation issues to attach. Only allowed when `status` is `invalid`. */
fun issues(issues: List<Issue>) = issues(JsonField.of(issues))

/**
Expand All @@ -417,7 +420,7 @@ private constructor(
}
}

/** The status to set on the new managed compliance validation. */
/** The validation status to set on the Entity. */
fun status(status: Status) = status(JsonField.of(status))

/**
Expand Down Expand Up @@ -534,7 +537,7 @@ private constructor(
) : this(category, mutableMapOf())

/**
* The category of the issue.
* The type of issue.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
Expand Down Expand Up @@ -585,7 +588,7 @@ private constructor(
additionalProperties = issue.additionalProperties.toMutableMap()
}

/** The category of the issue. */
/** The type of issue. */
fun category(category: Category) = category(JsonField.of(category))

/**
Expand Down Expand Up @@ -660,7 +663,7 @@ private constructor(
@JvmSynthetic
internal fun validity(): Int = (category.asKnown().getOrNull()?.validity() ?: 0)

/** The category of the issue. */
/** The type of issue. */
class Category @JsonCreator private constructor(private val value: JsonField<String>) :
Enum {

Expand Down Expand Up @@ -872,7 +875,7 @@ private constructor(
"Issue{category=$category, additionalProperties=$additionalProperties}"
}

/** The status to set on the new managed compliance validation. */
/** The validation status to set on the Entity. */
class Status @JsonCreator private constructor(private val value: JsonField<String>) : Enum {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ interface EntityServiceAsync {
fun withOptions(modifier: Consumer<ClientOptions.Builder>): EntityServiceAsync

/**
* Simulates setting an [Entity](#entities)'s validation under the managed compliance regime.
* Any existing managed compliance validation on the Entity will be marked as no longer current.
* Set the status for an
* [Entity's validation](/documentation/api/entities#entity-object.validation). In production,
* Know Your Customer validations
* [run automatically](/documentation/entity-validation#entity-validation). While developing, it
* can be helpful to override the behavior in Sandbox.
*/
fun validation(entityId: String, params: EntityValidationParams): CompletableFuture<Entity> =
validation(entityId, params, RequestOptions.none())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ interface EntityService {
fun withOptions(modifier: Consumer<ClientOptions.Builder>): EntityService

/**
* Simulates setting an [Entity](#entities)'s validation under the managed compliance regime.
* Any existing managed compliance validation on the Entity will be marked as no longer current.
* Set the status for an
* [Entity's validation](/documentation/api/entities#entity-object.validation). In production,
* Know Your Customer validations
* [run automatically](/documentation/entity-validation#entity-validation). While developing, it
* can be helpful to override the behavior in Sandbox.
*/
fun validation(entityId: String, params: EntityValidationParams): Entity =
validation(entityId, params, RequestOptions.none())
Expand Down
Loading