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.527.0"
".": "0.528.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: 236
configured_endpoints: 237
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-47752267c48d299a01c906499bb7d584228ea8801b7d83e34ae4100d5dec3434.yml
openapi_spec_hash: 9ea8bc6dc383de626d3fa15c823227ae
config_hash: 026e2baa580c7f5f2447c24332081ba8
openapi_spec_hash: c8dcac8573c2931a496ae40613d377c4
config_hash: 9dd89544e7c0403ccb0e0827de6a9cbf
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.528.0 (2026-04-28)

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

### Features

* **api:** api update ([03d873f](https://github.com/Increase/increase-java/commit/03d873f2d767dbd1ad0bc5f7be9095b5361d1693))
* **api:** api update ([33d199d](https://github.com/Increase/increase-java/commit/33d199d4111e60cd48a390263194841c00d540e7))

## 0.527.0 (2026-04-27)

Full Changelog: [v0.526.0...v0.527.0](https://github.com/Increase/increase-java/compare/v0.526.0...v0.527.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.527.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.527.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.527.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.528.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.528.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.528.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.527.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.528.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.527.0")
implementation("com.increase.api:increase-java:0.528.0")
```

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

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ private constructor(
/**
* The identifier for the Lockbox Address that received this mail item.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
* @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 lockboxAddressId(): Optional<String> = lockboxAddressId.getOptional("lockbox_address_id")
fun lockboxAddressId(): String = lockboxAddressId.getRequired("lockbox_address_id")

/**
* The identifier for the Lockbox Recipient that received this mail item. For mail items that
Expand Down Expand Up @@ -369,12 +369,8 @@ private constructor(
fun fileId(fileId: JsonField<String>) = apply { this.fileId = fileId }

/** The identifier for the Lockbox Address that received this mail item. */
fun lockboxAddressId(lockboxAddressId: String?) =
lockboxAddressId(JsonField.ofNullable(lockboxAddressId))

/** Alias for calling [Builder.lockboxAddressId] with `lockboxAddressId.orElse(null)`. */
fun lockboxAddressId(lockboxAddressId: Optional<String>) =
lockboxAddressId(lockboxAddressId.getOrNull())
fun lockboxAddressId(lockboxAddressId: String) =
lockboxAddressId(JsonField.of(lockboxAddressId))

/**
* Sets [Builder.lockboxAddressId] to an arbitrary JSON value.
Expand Down
Loading
Loading