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.538.0"
".": "0.539.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-5753cd7d30cb546d3e2ff7408c24febe5f251f4a50017960a21746a50c9b7f67.yml
openapi_spec_hash: 0efa1759effd642f1f39107a0de6b5e7
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase/increase-8444ba4d474e25e8bd4474e53e985998c050b982eac5693a3168116c578bea64.yml
openapi_spec_hash: 8a7faa0b93068b32ed26567fcf2c7158
config_hash: 20a19f4f8eba684f97ba7cdc0007f818
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.539.0 (2026-05-02)

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

### Features

* **api:** api update ([01b9beb](https://github.com/Increase/increase-java/commit/01b9beba8d3350a8cb26551348d52eb7b45f2581))

## 0.538.0 (2026-05-01)

Full Changelog: [v0.537.0...v0.538.0](https://github.com/Increase/increase-java/compare/v0.537.0...v0.538.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.538.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.538.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.538.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.539.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.539.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.539.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.538.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.539.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.538.0")
implementation("com.increase.api:increase-java:0.539.0")
```

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

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1556,7 +1556,7 @@ private constructor(
fun industryCode(): Optional<String> = industryCode.getOptional("industry_code")

/**
* The website of the corporation.
* A website for the business. Not every program requires a website for submitted Entities.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if
* the server responded with an unexpected value).
Expand Down Expand Up @@ -1850,7 +1850,10 @@ private constructor(
this.industryCode = industryCode
}

/** The website of the corporation. */
/**
* A website for the business. Not every program requires a website for submitted
* Entities.
*/
fun website(website: String) = website(JsonField.of(website))

/**
Expand Down Expand Up @@ -5685,7 +5688,8 @@ private constructor(
fun taxIdentifier(): String = taxIdentifier.getRequired("tax_identifier")

/**
* The website of the government authority.
* A website for the government authority. Not every program requires a website for
* submitted Entities.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if
* the server responded with an unexpected value).
Expand Down Expand Up @@ -5874,7 +5878,10 @@ private constructor(
this.taxIdentifier = taxIdentifier
}

/** The website of the government authority. */
/**
* A website for the government authority. Not every program requires a website for
* submitted Entities.
*/
fun website(website: String) = website(JsonField.of(website))

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1046,6 +1046,7 @@ private constructor(
private val industryCode: JsonField<String>,
private val legalIdentifier: JsonField<LegalIdentifier>,
private val name: JsonField<String>,
private val website: JsonField<String>,
private val additionalProperties: MutableMap<String, JsonValue>,
) {

Expand All @@ -1063,13 +1064,15 @@ private constructor(
@ExcludeMissing
legalIdentifier: JsonField<LegalIdentifier> = JsonMissing.of(),
@JsonProperty("name") @ExcludeMissing name: JsonField<String> = JsonMissing.of(),
@JsonProperty("website") @ExcludeMissing website: JsonField<String> = JsonMissing.of(),
) : this(
address,
email,
incorporationState,
industryCode,
legalIdentifier,
name,
website,
mutableMapOf(),
)

Expand Down Expand Up @@ -1130,6 +1133,14 @@ private constructor(
*/
fun name(): Optional<String> = name.getOptional("name")

/**
* A website for the business. Not every program requires a website for submitted Entities.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if
* the server responded with an unexpected value).
*/
fun website(): Optional<String> = website.getOptional("website")

/**
* Returns the raw JSON value of [address].
*
Expand Down Expand Up @@ -1181,6 +1192,13 @@ private constructor(
*/
@JsonProperty("name") @ExcludeMissing fun _name(): JsonField<String> = name

/**
* Returns the raw JSON value of [website].
*
* Unlike [website], this method doesn't throw if the JSON field has an unexpected type.
*/
@JsonProperty("website") @ExcludeMissing fun _website(): JsonField<String> = website

@JsonAnySetter
private fun putAdditionalProperty(key: String, value: JsonValue) {
additionalProperties.put(key, value)
Expand Down Expand Up @@ -1208,6 +1226,7 @@ private constructor(
private var industryCode: JsonField<String> = JsonMissing.of()
private var legalIdentifier: JsonField<LegalIdentifier> = JsonMissing.of()
private var name: JsonField<String> = JsonMissing.of()
private var website: JsonField<String> = JsonMissing.of()
private var additionalProperties: MutableMap<String, JsonValue> = mutableMapOf()

@JvmSynthetic
Expand All @@ -1218,6 +1237,7 @@ private constructor(
industryCode = corporation.industryCode
legalIdentifier = corporation.legalIdentifier
name = corporation.name
website = corporation.website
additionalProperties = corporation.additionalProperties.toMutableMap()
}

Expand Down Expand Up @@ -1318,6 +1338,21 @@ private constructor(
*/
fun name(name: JsonField<String>) = apply { this.name = name }

/**
* A website for the business. Not every program requires a website for submitted
* Entities.
*/
fun website(website: String) = website(JsonField.of(website))

/**
* Sets [Builder.website] to an arbitrary JSON value.
*
* You should usually call [Builder.website] with a well-typed [String] value instead.
* This method is primarily for setting the field to an undocumented or not yet
* supported value.
*/
fun website(website: JsonField<String>) = apply { this.website = website }

fun additionalProperties(additionalProperties: Map<String, JsonValue>) = apply {
this.additionalProperties.clear()
putAllAdditionalProperties(additionalProperties)
Expand Down Expand Up @@ -1350,6 +1385,7 @@ private constructor(
industryCode,
legalIdentifier,
name,
website,
additionalProperties.toMutableMap(),
)
}
Expand All @@ -1367,6 +1403,7 @@ private constructor(
industryCode()
legalIdentifier().ifPresent { it.validate() }
name()
website()
validated = true
}

Expand All @@ -1391,7 +1428,8 @@ private constructor(
(if (incorporationState.asKnown().isPresent) 1 else 0) +
(if (industryCode.asKnown().isPresent) 1 else 0) +
(legalIdentifier.asKnown().getOrNull()?.validity() ?: 0) +
(if (name.asKnown().isPresent) 1 else 0)
(if (name.asKnown().isPresent) 1 else 0) +
(if (website.asKnown().isPresent) 1 else 0)

/**
* The entity's physical address. Mail receiving locations like PO Boxes and PMB's are
Expand Down Expand Up @@ -2138,6 +2176,7 @@ private constructor(
industryCode == other.industryCode &&
legalIdentifier == other.legalIdentifier &&
name == other.name &&
website == other.website &&
additionalProperties == other.additionalProperties
}

Expand All @@ -2149,14 +2188,15 @@ private constructor(
industryCode,
legalIdentifier,
name,
website,
additionalProperties,
)
}

override fun hashCode(): Int = hashCode

override fun toString() =
"Corporation{address=$address, email=$email, incorporationState=$incorporationState, industryCode=$industryCode, legalIdentifier=$legalIdentifier, name=$name, additionalProperties=$additionalProperties}"
"Corporation{address=$address, email=$email, incorporationState=$incorporationState, industryCode=$industryCode, legalIdentifier=$legalIdentifier, name=$name, website=$website, additionalProperties=$additionalProperties}"
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ internal class EntityUpdateParamsTest {
.build()
)
.name("x")
.website("website")
.build()
)
.detailsConfirmedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
Expand Down Expand Up @@ -181,6 +182,7 @@ internal class EntityUpdateParamsTest {
.build()
)
.name("x")
.website("website")
.build()
)
.detailsConfirmedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
Expand Down Expand Up @@ -312,6 +314,7 @@ internal class EntityUpdateParamsTest {
.build()
)
.name("x")
.website("website")
.build()
)
assertThat(body.detailsConfirmedAt())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,7 @@ internal class EntityServiceAsyncTest {
.build()
)
.name("x")
.website("website")
.build()
)
.detailsConfirmedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,7 @@ internal class EntityServiceTest {
.build()
)
.name("x")
.website("website")
.build()
)
.detailsConfirmedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
Expand Down
Loading