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.315.0"
".": "0.316.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: 217
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-e74540ca75fc4e7a0e28d2c41c53c6131dff74e1e3c1472601db19509bb77451.yml
openapi_spec_hash: 4030ac2965b556670d1b427ffc5c554b
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-a91424eba488276a87e396d4172d7381d22e9ff38639a98aafdbcc2f8b53d000.yml
openapi_spec_hash: 52c779ffbbb1e3a46738d374849ca92b
config_hash: e1885b38eded054b77308a024c5d80cc
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.316.0 (2025-09-05)

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

### Features

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

## 0.315.0 (2025-09-05)

Full Changelog: [v0.314.0...v0.315.0](https://github.com/Increase/increase-java/compare/v0.314.0...v0.315.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.315.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.315.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.315.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.316.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.316.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.316.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.315.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.316.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.315.0")
implementation("com.increase.api:increase-java:0.316.0")
```

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

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,26 @@ private constructor(
fun entityId(): Optional<String> = Optional.ofNullable(entityId)

/**
* Details of the corporation entity to update.
* Details of the corporation entity to update. If you specify this parameter and the entity is
* not a corporation, the request will fail.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
*/
fun corporation(): Optional<Corporation> = body.corporation()

/**
* Details of the government authority entity to update.
* Details of the government authority entity to update. If you specify this parameter and the
* entity is not a government authority, the request will fail.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
*/
fun governmentAuthority(): Optional<GovernmentAuthority> = body.governmentAuthority()

/**
* Details of the natural person entity to update.
* Details of the natural person entity to update. If you specify this parameter and the entity
* is not a natural person, the request will fail.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
Expand All @@ -77,7 +80,8 @@ private constructor(
fun thirdPartyVerification(): Optional<ThirdPartyVerification> = body.thirdPartyVerification()

/**
* Details of the trust entity to update.
* Details of the trust entity to update. If you specify this parameter and the entity is not a
* trust, the request will fail.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
Expand Down Expand Up @@ -183,7 +187,10 @@ private constructor(
*/
fun body(body: Body) = apply { this.body = body.toBuilder() }

/** Details of the corporation entity to update. */
/**
* Details of the corporation entity to update. If you specify this parameter and the entity
* is not a corporation, the request will fail.
*/
fun corporation(corporation: Corporation) = apply { body.corporation(corporation) }

/**
Expand All @@ -197,7 +204,10 @@ private constructor(
body.corporation(corporation)
}

/** Details of the government authority entity to update. */
/**
* Details of the government authority entity to update. If you specify this parameter and
* the entity is not a government authority, the request will fail.
*/
fun governmentAuthority(governmentAuthority: GovernmentAuthority) = apply {
body.governmentAuthority(governmentAuthority)
}
Expand All @@ -213,7 +223,10 @@ private constructor(
body.governmentAuthority(governmentAuthority)
}

/** Details of the natural person entity to update. */
/**
* Details of the natural person entity to update. If you specify this parameter and the
* entity is not a natural person, the request will fail.
*/
fun naturalPerson(naturalPerson: NaturalPerson) = apply {
body.naturalPerson(naturalPerson)
}
Expand Down Expand Up @@ -264,7 +277,10 @@ private constructor(
body.thirdPartyVerification(thirdPartyVerification)
}

/** Details of the trust entity to update. */
/**
* Details of the trust entity to update. If you specify this parameter and the entity is
* not a trust, the request will fail.
*/
fun trust(trust: Trust) = apply { body.trust(trust) }

/**
Expand Down Expand Up @@ -458,15 +474,17 @@ private constructor(
)

/**
* Details of the corporation entity to update.
* Details of the corporation entity to update. If you specify this parameter and the entity
* is not a corporation, the request will fail.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if
* the server responded with an unexpected value).
*/
fun corporation(): Optional<Corporation> = corporation.getOptional("corporation")

/**
* Details of the government authority entity to update.
* Details of the government authority entity to update. If you specify this parameter and
* the entity is not a government authority, the request will fail.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if
* the server responded with an unexpected value).
Expand All @@ -475,7 +493,8 @@ private constructor(
governmentAuthority.getOptional("government_authority")

/**
* Details of the natural person entity to update.
* Details of the natural person entity to update. If you specify this parameter and the
* entity is not a natural person, the request will fail.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if
* the server responded with an unexpected value).
Expand All @@ -502,7 +521,8 @@ private constructor(
thirdPartyVerification.getOptional("third_party_verification")

/**
* Details of the trust entity to update.
* Details of the trust entity to update. If you specify this parameter and the entity is
* not a trust, the request will fail.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if
* the server responded with an unexpected value).
Expand Down Expand Up @@ -604,7 +624,10 @@ private constructor(
additionalProperties = body.additionalProperties.toMutableMap()
}

/** Details of the corporation entity to update. */
/**
* Details of the corporation entity to update. If you specify this parameter and the
* entity is not a corporation, the request will fail.
*/
fun corporation(corporation: Corporation) = corporation(JsonField.of(corporation))

/**
Expand All @@ -618,7 +641,10 @@ private constructor(
this.corporation = corporation
}

/** Details of the government authority entity to update. */
/**
* Details of the government authority entity to update. If you specify this parameter
* and the entity is not a government authority, the request will fail.
*/
fun governmentAuthority(governmentAuthority: GovernmentAuthority) =
governmentAuthority(JsonField.of(governmentAuthority))

Expand All @@ -633,7 +659,10 @@ private constructor(
this.governmentAuthority = governmentAuthority
}

/** Details of the natural person entity to update. */
/**
* Details of the natural person entity to update. If you specify this parameter and the
* entity is not a natural person, the request will fail.
*/
fun naturalPerson(naturalPerson: NaturalPerson) =
naturalPerson(JsonField.of(naturalPerson))

Expand Down Expand Up @@ -684,7 +713,10 @@ private constructor(
this.thirdPartyVerification = thirdPartyVerification
}

/** Details of the trust entity to update. */
/**
* Details of the trust entity to update. If you specify this parameter and the entity
* is not a trust, the request will fail.
*/
fun trust(trust: Trust) = trust(JsonField.of(trust))

/**
Expand Down Expand Up @@ -804,7 +836,10 @@ private constructor(
"Body{corporation=$corporation, governmentAuthority=$governmentAuthority, naturalPerson=$naturalPerson, riskRating=$riskRating, thirdPartyVerification=$thirdPartyVerification, trust=$trust, additionalProperties=$additionalProperties}"
}

/** Details of the corporation entity to update. */
/**
* Details of the corporation entity to update. If you specify this parameter and the entity is
* not a corporation, the request will fail.
*/
class Corporation
private constructor(
private val name: JsonField<String>,
Expand Down Expand Up @@ -945,7 +980,10 @@ private constructor(
"Corporation{name=$name, additionalProperties=$additionalProperties}"
}

/** Details of the government authority entity to update. */
/**
* Details of the government authority entity to update. If you specify this parameter and the
* entity is not a government authority, the request will fail.
*/
class GovernmentAuthority
private constructor(
private val name: JsonField<String>,
Expand Down Expand Up @@ -1087,7 +1125,10 @@ private constructor(
"GovernmentAuthority{name=$name, additionalProperties=$additionalProperties}"
}

/** Details of the natural person entity to update. */
/**
* Details of the natural person entity to update. If you specify this parameter and the entity
* is not a natural person, the request will fail.
*/
class NaturalPerson
private constructor(
private val name: JsonField<String>,
Expand Down Expand Up @@ -1930,7 +1971,10 @@ private constructor(
"ThirdPartyVerification{reference=$reference, vendor=$vendor, additionalProperties=$additionalProperties}"
}

/** Details of the trust entity to update. */
/**
* Details of the trust entity to update. If you specify this parameter and the entity is not a
* trust, the request will fail.
*/
class Trust
private constructor(
private val name: JsonField<String>,
Expand Down
Loading