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.391.0"
".": "0.392.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: 227
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-e32ea60c7028faaf552e2846c9a58f838b16922041d551664dcb1bfa343f38cf.yml
openapi_spec_hash: 8d3acf560b411999fee65eedda9e6a73
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-9e8b4907003e0149ea10d8c95b2facfbc011f366cea40fe86b5f02940e68998d.yml
openapi_spec_hash: e93ee5c48421038334b8961b303465d6
config_hash: ca52ca9a2968f330339fd50c1a386e05
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.392.0 (2026-01-07)

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

### Features

* **api:** api update ([1a412bd](https://github.com/Increase/increase-java/commit/1a412bd889d80f91b5877accf9f363720ffeda01))

## 0.391.0 (2026-01-06)

Full Changelog: [v0.390.0...v0.391.0](https://github.com/Increase/increase-java/compare/v0.390.0...v0.391.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.391.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.391.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.391.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.392.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.392.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.392.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.391.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.392.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.391.0")
implementation("com.increase.api:increase-java:0.392.0")
```

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

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35652,6 +35652,7 @@ private constructor(
@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val cardholderCancellation: JsonField<CardholderCancellation>,
private val explanation: JsonField<String>,
private val merchantResolutionAttempted: JsonField<MerchantResolutionAttempted>,
private val receivedAt: JsonField<LocalDate>,
private val additionalProperties: MutableMap<String, JsonValue>,
Expand All @@ -35663,6 +35664,9 @@ private constructor(
@ExcludeMissing
cardholderCancellation: JsonField<CardholderCancellation> =
JsonMissing.of(),
@JsonProperty("explanation")
@ExcludeMissing
explanation: JsonField<String> = JsonMissing.of(),
@JsonProperty("merchant_resolution_attempted")
@ExcludeMissing
merchantResolutionAttempted: JsonField<MerchantResolutionAttempted> =
Expand All @@ -35672,6 +35676,7 @@ private constructor(
receivedAt: JsonField<LocalDate> = JsonMissing.of(),
) : this(
cardholderCancellation,
explanation,
merchantResolutionAttempted,
receivedAt,
mutableMapOf(),
Expand All @@ -35687,6 +35692,15 @@ private constructor(
fun cardholderCancellation(): CardholderCancellation =
cardholderCancellation.getRequired("cardholder_cancellation")

/**
* Explanation of what was ordered and was not as described.
*
* @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 explanation(): String = explanation.getRequired("explanation")

/**
* Merchant resolution attempted.
*
Expand Down Expand Up @@ -35717,6 +35731,16 @@ private constructor(
fun _cardholderCancellation(): JsonField<CardholderCancellation> =
cardholderCancellation

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

/**
* Returns the raw JSON value of [merchantResolutionAttempted].
*
Expand Down Expand Up @@ -35759,6 +35783,7 @@ private constructor(
* The following fields are required:
* ```java
* .cardholderCancellation()
* .explanation()
* .merchantResolutionAttempted()
* .receivedAt()
* ```
Expand All @@ -35771,6 +35796,7 @@ private constructor(

private var cardholderCancellation: JsonField<CardholderCancellation>? =
null
private var explanation: JsonField<String>? = null
private var merchantResolutionAttempted:
JsonField<MerchantResolutionAttempted>? =
null
Expand All @@ -35784,6 +35810,7 @@ private constructor(
) = apply {
cardholderCancellation =
consumerServicesNotAsDescribed.cardholderCancellation
explanation = consumerServicesNotAsDescribed.explanation
merchantResolutionAttempted =
consumerServicesNotAsDescribed.merchantResolutionAttempted
receivedAt = consumerServicesNotAsDescribed.receivedAt
Expand All @@ -35807,6 +35834,21 @@ private constructor(
cardholderCancellation: JsonField<CardholderCancellation>
) = apply { this.cardholderCancellation = cardholderCancellation }

/** Explanation of what was ordered and was not as described. */
fun explanation(explanation: String) =
explanation(JsonField.of(explanation))

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

/** Merchant resolution attempted. */
fun merchantResolutionAttempted(
merchantResolutionAttempted: MerchantResolutionAttempted
Expand Down Expand Up @@ -35868,6 +35910,7 @@ private constructor(
* The following fields are required:
* ```java
* .cardholderCancellation()
* .explanation()
* .merchantResolutionAttempted()
* .receivedAt()
* ```
Expand All @@ -35877,6 +35920,7 @@ private constructor(
fun build(): ConsumerServicesNotAsDescribed =
ConsumerServicesNotAsDescribed(
checkRequired("cardholderCancellation", cardholderCancellation),
checkRequired("explanation", explanation),
checkRequired(
"merchantResolutionAttempted",
merchantResolutionAttempted,
Expand All @@ -35894,6 +35938,7 @@ private constructor(
}

cardholderCancellation().validate()
explanation()
merchantResolutionAttempted().validate()
receivedAt()
validated = true
Expand All @@ -35916,6 +35961,7 @@ private constructor(
@JvmSynthetic
internal fun validity(): Int =
(cardholderCancellation.asKnown().getOrNull()?.validity() ?: 0) +
(if (explanation.asKnown().isPresent) 1 else 0) +
(merchantResolutionAttempted.asKnown().getOrNull()?.validity() ?: 0) +
(if (receivedAt.asKnown().isPresent) 1 else 0)

Expand Down Expand Up @@ -36499,6 +36545,7 @@ private constructor(

return other is ConsumerServicesNotAsDescribed &&
cardholderCancellation == other.cardholderCancellation &&
explanation == other.explanation &&
merchantResolutionAttempted == other.merchantResolutionAttempted &&
receivedAt == other.receivedAt &&
additionalProperties == other.additionalProperties
Expand All @@ -36507,6 +36554,7 @@ private constructor(
private val hashCode: Int by lazy {
Objects.hash(
cardholderCancellation,
explanation,
merchantResolutionAttempted,
receivedAt,
additionalProperties,
Expand All @@ -36516,7 +36564,7 @@ private constructor(
override fun hashCode(): Int = hashCode

override fun toString() =
"ConsumerServicesNotAsDescribed{cardholderCancellation=$cardholderCancellation, merchantResolutionAttempted=$merchantResolutionAttempted, receivedAt=$receivedAt, additionalProperties=$additionalProperties}"
"ConsumerServicesNotAsDescribed{cardholderCancellation=$cardholderCancellation, explanation=$explanation, merchantResolutionAttempted=$merchantResolutionAttempted, receivedAt=$receivedAt, additionalProperties=$additionalProperties}"
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22584,6 +22584,7 @@ private constructor(
@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val cardholderCancellation: JsonField<CardholderCancellation>,
private val explanation: JsonField<String>,
private val merchantResolutionAttempted: JsonField<MerchantResolutionAttempted>,
private val receivedAt: JsonField<LocalDate>,
private val additionalProperties: MutableMap<String, JsonValue>,
Expand All @@ -22594,6 +22595,9 @@ private constructor(
@JsonProperty("cardholder_cancellation")
@ExcludeMissing
cardholderCancellation: JsonField<CardholderCancellation> = JsonMissing.of(),
@JsonProperty("explanation")
@ExcludeMissing
explanation: JsonField<String> = JsonMissing.of(),
@JsonProperty("merchant_resolution_attempted")
@ExcludeMissing
merchantResolutionAttempted: JsonField<MerchantResolutionAttempted> =
Expand All @@ -22603,6 +22607,7 @@ private constructor(
receivedAt: JsonField<LocalDate> = JsonMissing.of(),
) : this(
cardholderCancellation,
explanation,
merchantResolutionAttempted,
receivedAt,
mutableMapOf(),
Expand All @@ -22618,6 +22623,15 @@ private constructor(
fun cardholderCancellation(): CardholderCancellation =
cardholderCancellation.getRequired("cardholder_cancellation")

/**
* Explanation of what was ordered and was not as described.
*
* @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 explanation(): String = explanation.getRequired("explanation")

/**
* Merchant resolution attempted.
*
Expand Down Expand Up @@ -22648,6 +22662,16 @@ private constructor(
fun _cardholderCancellation(): JsonField<CardholderCancellation> =
cardholderCancellation

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

/**
* Returns the raw JSON value of [merchantResolutionAttempted].
*
Expand Down Expand Up @@ -22690,6 +22714,7 @@ private constructor(
* The following fields are required:
* ```java
* .cardholderCancellation()
* .explanation()
* .merchantResolutionAttempted()
* .receivedAt()
* ```
Expand All @@ -22701,6 +22726,7 @@ private constructor(
class Builder internal constructor() {

private var cardholderCancellation: JsonField<CardholderCancellation>? = null
private var explanation: JsonField<String>? = null
private var merchantResolutionAttempted: JsonField<MerchantResolutionAttempted>? =
null
private var receivedAt: JsonField<LocalDate>? = null
Expand All @@ -22711,6 +22737,7 @@ private constructor(
apply {
cardholderCancellation =
consumerServicesNotAsDescribed.cardholderCancellation
explanation = consumerServicesNotAsDescribed.explanation
merchantResolutionAttempted =
consumerServicesNotAsDescribed.merchantResolutionAttempted
receivedAt = consumerServicesNotAsDescribed.receivedAt
Expand All @@ -22733,6 +22760,20 @@ private constructor(
cardholderCancellation: JsonField<CardholderCancellation>
) = apply { this.cardholderCancellation = cardholderCancellation }

/** Explanation of what was ordered and was not as described. */
fun explanation(explanation: String) = explanation(JsonField.of(explanation))

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

/** Merchant resolution attempted. */
fun merchantResolutionAttempted(
merchantResolutionAttempted: MerchantResolutionAttempted
Expand Down Expand Up @@ -22793,6 +22834,7 @@ private constructor(
* The following fields are required:
* ```java
* .cardholderCancellation()
* .explanation()
* .merchantResolutionAttempted()
* .receivedAt()
* ```
Expand All @@ -22802,6 +22844,7 @@ private constructor(
fun build(): ConsumerServicesNotAsDescribed =
ConsumerServicesNotAsDescribed(
checkRequired("cardholderCancellation", cardholderCancellation),
checkRequired("explanation", explanation),
checkRequired("merchantResolutionAttempted", merchantResolutionAttempted),
checkRequired("receivedAt", receivedAt),
additionalProperties.toMutableMap(),
Expand All @@ -22816,6 +22859,7 @@ private constructor(
}

cardholderCancellation().validate()
explanation()
merchantResolutionAttempted().validate()
receivedAt()
validated = true
Expand All @@ -22838,6 +22882,7 @@ private constructor(
@JvmSynthetic
internal fun validity(): Int =
(cardholderCancellation.asKnown().getOrNull()?.validity() ?: 0) +
(if (explanation.asKnown().isPresent) 1 else 0) +
(merchantResolutionAttempted.asKnown().getOrNull()?.validity() ?: 0) +
(if (receivedAt.asKnown().isPresent) 1 else 0)

Expand Down Expand Up @@ -23405,6 +23450,7 @@ private constructor(

return other is ConsumerServicesNotAsDescribed &&
cardholderCancellation == other.cardholderCancellation &&
explanation == other.explanation &&
merchantResolutionAttempted == other.merchantResolutionAttempted &&
receivedAt == other.receivedAt &&
additionalProperties == other.additionalProperties
Expand All @@ -23413,6 +23459,7 @@ private constructor(
private val hashCode: Int by lazy {
Objects.hash(
cardholderCancellation,
explanation,
merchantResolutionAttempted,
receivedAt,
additionalProperties,
Expand All @@ -23422,7 +23469,7 @@ private constructor(
override fun hashCode(): Int = hashCode

override fun toString() =
"ConsumerServicesNotAsDescribed{cardholderCancellation=$cardholderCancellation, merchantResolutionAttempted=$merchantResolutionAttempted, receivedAt=$receivedAt, additionalProperties=$additionalProperties}"
"ConsumerServicesNotAsDescribed{cardholderCancellation=$cardholderCancellation, explanation=$explanation, merchantResolutionAttempted=$merchantResolutionAttempted, receivedAt=$receivedAt, additionalProperties=$additionalProperties}"
}

/**
Expand Down
Loading
Loading