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.300.0"
".": "0.301.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: 216
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-b6c7f7c551cd8635ddf3fa27eb1040a4e3888c8190326472c19fd919a5e2c8c5.yml
openapi_spec_hash: 287cbadcab1cec9f352da22a4e39c160
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-f848edf1a38bbdc834fb3855aaf2eaeb77711e36e9a560cadfeb49428b4ac3de.yml
openapi_spec_hash: 52e32b8e609fa290c285bbd44f8bc74a
config_hash: 632b628b59d8f0b717153b3d8133f6cb
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.301.0 (2025-08-27)

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

### Features

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

## 0.300.0 (2025-08-26)

Full Changelog: [v0.299.0...v0.300.0](https://github.com/Increase/increase-java/compare/v0.299.0...v0.300.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.300.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.300.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.300.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.301.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.301.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.301.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.300.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.301.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.300.0")
implementation("com.increase.api:increase-java:0.301.0")
```

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

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5046,7 +5046,6 @@ private constructor(
*/
class InboundFundsHold
private constructor(
private val id: JsonField<String>,
private val amount: JsonField<Long>,
private val automaticallyReleasesAt: JsonField<OffsetDateTime>,
private val createdAt: JsonField<OffsetDateTime>,
Expand All @@ -5061,7 +5060,6 @@ private constructor(

@JsonCreator
private constructor(
@JsonProperty("id") @ExcludeMissing id: JsonField<String> = JsonMissing.of(),
@JsonProperty("amount") @ExcludeMissing amount: JsonField<Long> = JsonMissing.of(),
@JsonProperty("automatically_releases_at")
@ExcludeMissing
Expand All @@ -5084,7 +5082,6 @@ private constructor(
@JsonProperty("status") @ExcludeMissing status: JsonField<Status> = JsonMissing.of(),
@JsonProperty("type") @ExcludeMissing type: JsonField<Type> = JsonMissing.of(),
) : this(
id,
amount,
automaticallyReleasesAt,
createdAt,
Expand All @@ -5097,14 +5094,6 @@ private constructor(
mutableMapOf(),
)

/**
* The Inbound Funds Hold identifier.
*
* @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 id(): String = id.getRequired("id")

/**
* The held amount in the minor unit of the account's currency. For dollars, for example,
* this is cents.
Expand Down Expand Up @@ -5184,13 +5173,6 @@ private constructor(
*/
fun type(): Type = type.getRequired("type")

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

/**
* Returns the raw JSON value of [amount].
*
Expand Down Expand Up @@ -5286,7 +5268,6 @@ private constructor(
*
* The following fields are required:
* ```java
* .id()
* .amount()
* .automaticallyReleasesAt()
* .createdAt()
Expand All @@ -5304,7 +5285,6 @@ private constructor(
/** A builder for [InboundFundsHold]. */
class Builder internal constructor() {

private var id: JsonField<String>? = null
private var amount: JsonField<Long>? = null
private var automaticallyReleasesAt: JsonField<OffsetDateTime>? = null
private var createdAt: JsonField<OffsetDateTime>? = null
Expand All @@ -5318,7 +5298,6 @@ private constructor(

@JvmSynthetic
internal fun from(inboundFundsHold: InboundFundsHold) = apply {
id = inboundFundsHold.id
amount = inboundFundsHold.amount
automaticallyReleasesAt = inboundFundsHold.automaticallyReleasesAt
createdAt = inboundFundsHold.createdAt
Expand All @@ -5331,18 +5310,6 @@ private constructor(
additionalProperties = inboundFundsHold.additionalProperties.toMutableMap()
}

/** The Inbound Funds Hold identifier. */
fun id(id: String) = id(JsonField.of(id))

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

/**
* The held amount in the minor unit of the account's currency. For dollars, for
* example, this is cents.
Expand Down Expand Up @@ -5523,7 +5490,6 @@ private constructor(
*
* The following fields are required:
* ```java
* .id()
* .amount()
* .automaticallyReleasesAt()
* .createdAt()
Expand All @@ -5539,7 +5505,6 @@ private constructor(
*/
fun build(): InboundFundsHold =
InboundFundsHold(
checkRequired("id", id),
checkRequired("amount", amount),
checkRequired("automaticallyReleasesAt", automaticallyReleasesAt),
checkRequired("createdAt", createdAt),
Expand All @@ -5560,7 +5525,6 @@ private constructor(
return@apply
}

id()
amount()
automaticallyReleasesAt()
createdAt()
Expand Down Expand Up @@ -5589,8 +5553,7 @@ private constructor(
*/
@JvmSynthetic
internal fun validity(): Int =
(if (id.asKnown().isPresent) 1 else 0) +
(if (amount.asKnown().isPresent) 1 else 0) +
(if (amount.asKnown().isPresent) 1 else 0) +
(if (automaticallyReleasesAt.asKnown().isPresent) 1 else 0) +
(if (createdAt.asKnown().isPresent) 1 else 0) +
(currency.asKnown().getOrNull()?.validity() ?: 0) +
Expand Down Expand Up @@ -6040,7 +6003,6 @@ private constructor(
}

return other is InboundFundsHold &&
id == other.id &&
amount == other.amount &&
automaticallyReleasesAt == other.automaticallyReleasesAt &&
createdAt == other.createdAt &&
Expand All @@ -6055,7 +6017,6 @@ private constructor(

private val hashCode: Int by lazy {
Objects.hash(
id,
amount,
automaticallyReleasesAt,
createdAt,
Expand All @@ -6072,7 +6033,7 @@ private constructor(
override fun hashCode(): Int = hashCode

override fun toString() =
"InboundFundsHold{id=$id, amount=$amount, automaticallyReleasesAt=$automaticallyReleasesAt, createdAt=$createdAt, currency=$currency, heldTransactionId=$heldTransactionId, pendingTransactionId=$pendingTransactionId, releasedAt=$releasedAt, status=$status, type=$type, additionalProperties=$additionalProperties}"
"InboundFundsHold{amount=$amount, automaticallyReleasesAt=$automaticallyReleasesAt, createdAt=$createdAt, currency=$currency, heldTransactionId=$heldTransactionId, pendingTransactionId=$pendingTransactionId, releasedAt=$releasedAt, status=$status, type=$type, additionalProperties=$additionalProperties}"
}

/** The transfer's network. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3627,7 +3627,6 @@ private constructor(
*/
class InboundFundsHold
private constructor(
private val id: JsonField<String>,
private val amount: JsonField<Long>,
private val automaticallyReleasesAt: JsonField<OffsetDateTime>,
private val createdAt: JsonField<OffsetDateTime>,
Expand All @@ -3642,7 +3641,6 @@ private constructor(

@JsonCreator
private constructor(
@JsonProperty("id") @ExcludeMissing id: JsonField<String> = JsonMissing.of(),
@JsonProperty("amount") @ExcludeMissing amount: JsonField<Long> = JsonMissing.of(),
@JsonProperty("automatically_releases_at")
@ExcludeMissing
Expand All @@ -3665,7 +3663,6 @@ private constructor(
@JsonProperty("status") @ExcludeMissing status: JsonField<Status> = JsonMissing.of(),
@JsonProperty("type") @ExcludeMissing type: JsonField<Type> = JsonMissing.of(),
) : this(
id,
amount,
automaticallyReleasesAt,
createdAt,
Expand All @@ -3678,14 +3675,6 @@ private constructor(
mutableMapOf(),
)

/**
* The Inbound Funds Hold identifier.
*
* @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 id(): String = id.getRequired("id")

/**
* The held amount in the minor unit of the account's currency. For dollars, for example,
* this is cents.
Expand Down Expand Up @@ -3765,13 +3754,6 @@ private constructor(
*/
fun type(): Type = type.getRequired("type")

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

/**
* Returns the raw JSON value of [amount].
*
Expand Down Expand Up @@ -3867,7 +3849,6 @@ private constructor(
*
* The following fields are required:
* ```java
* .id()
* .amount()
* .automaticallyReleasesAt()
* .createdAt()
Expand All @@ -3885,7 +3866,6 @@ private constructor(
/** A builder for [InboundFundsHold]. */
class Builder internal constructor() {

private var id: JsonField<String>? = null
private var amount: JsonField<Long>? = null
private var automaticallyReleasesAt: JsonField<OffsetDateTime>? = null
private var createdAt: JsonField<OffsetDateTime>? = null
Expand All @@ -3899,7 +3879,6 @@ private constructor(

@JvmSynthetic
internal fun from(inboundFundsHold: InboundFundsHold) = apply {
id = inboundFundsHold.id
amount = inboundFundsHold.amount
automaticallyReleasesAt = inboundFundsHold.automaticallyReleasesAt
createdAt = inboundFundsHold.createdAt
Expand All @@ -3912,18 +3891,6 @@ private constructor(
additionalProperties = inboundFundsHold.additionalProperties.toMutableMap()
}

/** The Inbound Funds Hold identifier. */
fun id(id: String) = id(JsonField.of(id))

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

/**
* The held amount in the minor unit of the account's currency. For dollars, for
* example, this is cents.
Expand Down Expand Up @@ -4104,7 +4071,6 @@ private constructor(
*
* The following fields are required:
* ```java
* .id()
* .amount()
* .automaticallyReleasesAt()
* .createdAt()
Expand All @@ -4120,7 +4086,6 @@ private constructor(
*/
fun build(): InboundFundsHold =
InboundFundsHold(
checkRequired("id", id),
checkRequired("amount", amount),
checkRequired("automaticallyReleasesAt", automaticallyReleasesAt),
checkRequired("createdAt", createdAt),
Expand All @@ -4141,7 +4106,6 @@ private constructor(
return@apply
}

id()
amount()
automaticallyReleasesAt()
createdAt()
Expand Down Expand Up @@ -4170,8 +4134,7 @@ private constructor(
*/
@JvmSynthetic
internal fun validity(): Int =
(if (id.asKnown().isPresent) 1 else 0) +
(if (amount.asKnown().isPresent) 1 else 0) +
(if (amount.asKnown().isPresent) 1 else 0) +
(if (automaticallyReleasesAt.asKnown().isPresent) 1 else 0) +
(if (createdAt.asKnown().isPresent) 1 else 0) +
(currency.asKnown().getOrNull()?.validity() ?: 0) +
Expand Down Expand Up @@ -4621,7 +4584,6 @@ private constructor(
}

return other is InboundFundsHold &&
id == other.id &&
amount == other.amount &&
automaticallyReleasesAt == other.automaticallyReleasesAt &&
createdAt == other.createdAt &&
Expand All @@ -4636,7 +4598,6 @@ private constructor(

private val hashCode: Int by lazy {
Objects.hash(
id,
amount,
automaticallyReleasesAt,
createdAt,
Expand All @@ -4653,7 +4614,7 @@ private constructor(
override fun hashCode(): Int = hashCode

override fun toString() =
"InboundFundsHold{id=$id, amount=$amount, automaticallyReleasesAt=$automaticallyReleasesAt, createdAt=$createdAt, currency=$currency, heldTransactionId=$heldTransactionId, pendingTransactionId=$pendingTransactionId, releasedAt=$releasedAt, status=$status, type=$type, additionalProperties=$additionalProperties}"
"InboundFundsHold{amount=$amount, automaticallyReleasesAt=$automaticallyReleasesAt, createdAt=$createdAt, currency=$currency, heldTransactionId=$heldTransactionId, pendingTransactionId=$pendingTransactionId, releasedAt=$releasedAt, status=$status, type=$type, additionalProperties=$additionalProperties}"
}

/** The status of the Check Deposit. */
Expand Down
Loading
Loading