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.487.0"
".": "0.488.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: 236
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-4a8fb0a78ec74e41f3c1f5d8d455b1496d567948e3a7a3ae375338173ced538e.yml
openapi_spec_hash: 6dbffca55fa0226c3603ee180594bd2b
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-94bc2ca163218a155dad247a2a8ef93a09f66139dd56c6eabbcadbc0feecae6e.yml
openapi_spec_hash: b83e3838cc2d4729b3f0156e4294dc45
config_hash: 25d7d7aa4882db6189b4b53e8e249e80
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Changelog

## 0.488.0 (2026-03-20)

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

### Features

* **api:** api update ([2bf986f](https://github.com/Increase/increase-java/commit/2bf986f5ae16d07169db0a6d9ca3aeb4832d97a1))


### Chores

* **tests:** bump steady to v0.19.4 ([3779fcc](https://github.com/Increase/increase-java/commit/3779fcc67239b13c02aae426056a979213f65925))


### Refactors

* **tests:** switch from prism to steady ([89337f3](https://github.com/Increase/increase-java/commit/89337f3f7a40241e7210cd0e02651a7ceb783b0e))

## 0.487.0 (2026-03-19)

Full Changelog: [v0.486.0...v0.487.0](https://github.com/Increase/increase-java/compare/v0.486.0...v0.487.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.487.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.487.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.487.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.488.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.488.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.488.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.487.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.488.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.487.0")
implementation("com.increase.api:increase-java:0.488.0")
```

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

subprojects {
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/increase.kotlin.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ tasks.withType<Test>().configureEach {

val ktfmt by configurations.creating
dependencies {
ktfmt("com.facebook:ktfmt:0.56")
ktfmt("com.facebook:ktfmt:0.61")
}

fun registerKtfmt(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14585,9 +14585,9 @@ private constructor(
private val debtorName: JsonField<String>,
private val debtorRoutingNumber: JsonField<String>,
private val reason: JsonField<Reason>,
private val remittanceInformation: JsonField<String>,
private val transactionIdentification: JsonField<String>,
private val transferId: JsonField<String>,
private val unstructuredRemittanceInformation: JsonField<String>,
private val additionalProperties: MutableMap<String, JsonValue>,
) {

Expand All @@ -14612,15 +14612,15 @@ private constructor(
@JsonProperty("reason")
@ExcludeMissing
reason: JsonField<Reason> = JsonMissing.of(),
@JsonProperty("remittance_information")
@ExcludeMissing
remittanceInformation: JsonField<String> = JsonMissing.of(),
@JsonProperty("transaction_identification")
@ExcludeMissing
transactionIdentification: JsonField<String> = JsonMissing.of(),
@JsonProperty("transfer_id")
@ExcludeMissing
transferId: JsonField<String> = JsonMissing.of(),
@JsonProperty("unstructured_remittance_information")
@ExcludeMissing
unstructuredRemittanceInformation: JsonField<String> = JsonMissing.of(),
) : this(
amount,
creditorName,
Expand All @@ -14629,9 +14629,9 @@ private constructor(
debtorName,
debtorRoutingNumber,
reason,
remittanceInformation,
transactionIdentification,
transferId,
unstructuredRemittanceInformation,
mutableMapOf(),
)

Expand Down Expand Up @@ -14702,15 +14702,6 @@ private constructor(
*/
fun reason(): Reason = reason.getRequired("reason")

/**
* Additional information included with the transfer.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g.
* if the server responded with an unexpected value).
*/
fun remittanceInformation(): Optional<String> =
remittanceInformation.getOptional("remittance_information")

/**
* The Real-Time Payments network identification of the declined transfer.
*
Expand All @@ -14730,6 +14721,15 @@ private constructor(
*/
fun transferId(): String = transferId.getRequired("transfer_id")

/**
* Additional information included with the transfer.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g.
* if the server responded with an unexpected value).
*/
fun unstructuredRemittanceInformation(): Optional<String> =
unstructuredRemittanceInformation.getOptional("unstructured_remittance_information")

/**
* Returns the raw JSON value of [amount].
*
Expand Down Expand Up @@ -14794,16 +14794,6 @@ private constructor(
*/
@JsonProperty("reason") @ExcludeMissing fun _reason(): JsonField<Reason> = reason

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

/**
* Returns the raw JSON value of [transactionIdentification].
*
Expand All @@ -14824,6 +14814,17 @@ private constructor(
@ExcludeMissing
fun _transferId(): JsonField<String> = transferId

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

@JsonAnySetter
private fun putAdditionalProperty(key: String, value: JsonValue) {
additionalProperties.put(key, value)
Expand Down Expand Up @@ -14851,9 +14852,9 @@ private constructor(
* .debtorName()
* .debtorRoutingNumber()
* .reason()
* .remittanceInformation()
* .transactionIdentification()
* .transferId()
* .unstructuredRemittanceInformation()
* ```
*/
@JvmStatic fun builder() = Builder()
Expand All @@ -14869,9 +14870,9 @@ private constructor(
private var debtorName: JsonField<String>? = null
private var debtorRoutingNumber: JsonField<String>? = null
private var reason: JsonField<Reason>? = null
private var remittanceInformation: JsonField<String>? = null
private var transactionIdentification: JsonField<String>? = null
private var transferId: JsonField<String>? = null
private var unstructuredRemittanceInformation: JsonField<String>? = null
private var additionalProperties: MutableMap<String, JsonValue> = mutableMapOf()

@JvmSynthetic
Expand All @@ -14885,11 +14886,11 @@ private constructor(
debtorName = inboundRealTimePaymentsTransferDecline.debtorName
debtorRoutingNumber = inboundRealTimePaymentsTransferDecline.debtorRoutingNumber
reason = inboundRealTimePaymentsTransferDecline.reason
remittanceInformation =
inboundRealTimePaymentsTransferDecline.remittanceInformation
transactionIdentification =
inboundRealTimePaymentsTransferDecline.transactionIdentification
transferId = inboundRealTimePaymentsTransferDecline.transferId
unstructuredRemittanceInformation =
inboundRealTimePaymentsTransferDecline.unstructuredRemittanceInformation
additionalProperties =
inboundRealTimePaymentsTransferDecline.additionalProperties.toMutableMap()
}
Expand Down Expand Up @@ -14996,28 +14997,6 @@ private constructor(
*/
fun reason(reason: JsonField<Reason>) = apply { this.reason = reason }

/** Additional information included with the transfer. */
fun remittanceInformation(remittanceInformation: String?) =
remittanceInformation(JsonField.ofNullable(remittanceInformation))

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

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

/** The Real-Time Payments network identification of the declined transfer. */
fun transactionIdentification(transactionIdentification: String) =
transactionIdentification(JsonField.of(transactionIdentification))
Expand Down Expand Up @@ -15050,6 +15029,33 @@ private constructor(
this.transferId = transferId
}

/** Additional information included with the transfer. */
fun unstructuredRemittanceInformation(unstructuredRemittanceInformation: String?) =
unstructuredRemittanceInformation(
JsonField.ofNullable(unstructuredRemittanceInformation)
)

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

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

fun additionalProperties(additionalProperties: Map<String, JsonValue>) = apply {
this.additionalProperties.clear()
putAllAdditionalProperties(additionalProperties)
Expand Down Expand Up @@ -15086,9 +15092,9 @@ private constructor(
* .debtorName()
* .debtorRoutingNumber()
* .reason()
* .remittanceInformation()
* .transactionIdentification()
* .transferId()
* .unstructuredRemittanceInformation()
* ```
*
* @throws IllegalStateException if any required field is unset.
Expand All @@ -15102,9 +15108,12 @@ private constructor(
checkRequired("debtorName", debtorName),
checkRequired("debtorRoutingNumber", debtorRoutingNumber),
checkRequired("reason", reason),
checkRequired("remittanceInformation", remittanceInformation),
checkRequired("transactionIdentification", transactionIdentification),
checkRequired("transferId", transferId),
checkRequired(
"unstructuredRemittanceInformation",
unstructuredRemittanceInformation,
),
additionalProperties.toMutableMap(),
)
}
Expand All @@ -15123,9 +15132,9 @@ private constructor(
debtorName()
debtorRoutingNumber()
reason().validate()
remittanceInformation()
transactionIdentification()
transferId()
unstructuredRemittanceInformation()
validated = true
}

Expand All @@ -15152,9 +15161,9 @@ private constructor(
(if (debtorName.asKnown().isPresent) 1 else 0) +
(if (debtorRoutingNumber.asKnown().isPresent) 1 else 0) +
(reason.asKnown().getOrNull()?.validity() ?: 0) +
(if (remittanceInformation.asKnown().isPresent) 1 else 0) +
(if (transactionIdentification.asKnown().isPresent) 1 else 0) +
(if (transferId.asKnown().isPresent) 1 else 0)
(if (transferId.asKnown().isPresent) 1 else 0) +
(if (unstructuredRemittanceInformation.asKnown().isPresent) 1 else 0)

/**
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the declined
Expand Down Expand Up @@ -15476,9 +15485,9 @@ private constructor(
debtorName == other.debtorName &&
debtorRoutingNumber == other.debtorRoutingNumber &&
reason == other.reason &&
remittanceInformation == other.remittanceInformation &&
transactionIdentification == other.transactionIdentification &&
transferId == other.transferId &&
unstructuredRemittanceInformation == other.unstructuredRemittanceInformation &&
additionalProperties == other.additionalProperties
}

Expand All @@ -15491,17 +15500,17 @@ private constructor(
debtorName,
debtorRoutingNumber,
reason,
remittanceInformation,
transactionIdentification,
transferId,
unstructuredRemittanceInformation,
additionalProperties,
)
}

override fun hashCode(): Int = hashCode

override fun toString() =
"InboundRealTimePaymentsTransferDecline{amount=$amount, creditorName=$creditorName, currency=$currency, debtorAccountNumber=$debtorAccountNumber, debtorName=$debtorName, debtorRoutingNumber=$debtorRoutingNumber, reason=$reason, remittanceInformation=$remittanceInformation, transactionIdentification=$transactionIdentification, transferId=$transferId, additionalProperties=$additionalProperties}"
"InboundRealTimePaymentsTransferDecline{amount=$amount, creditorName=$creditorName, currency=$currency, debtorAccountNumber=$debtorAccountNumber, debtorName=$debtorName, debtorRoutingNumber=$debtorRoutingNumber, reason=$reason, transactionIdentification=$transactionIdentification, transferId=$transferId, unstructuredRemittanceInformation=$unstructuredRemittanceInformation, additionalProperties=$additionalProperties}"
}

/**
Expand Down
Loading
Loading