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.268.0"
".": "0.269.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: 202
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-5fa3dfeb071930598ed9243dd96db808cf54d4a455c99b1acceadc3335f1a387.yml
openapi_spec_hash: 18dfa4d31cd512dcd83b646e40fb2c86
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-743c412709d3e4ca1ed8b1e2107036c9658afe40dd538c0576f64ae302087b4f.yml
openapi_spec_hash: 2a5da3cdf8dfb91dbd0f875cc180a3a1
config_hash: a185e9a72778cc4658ea73fb3a7f1354
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.269.0 (2025-07-29)

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

### Features

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

## 0.268.0 (2025-07-29)

Full Changelog: [v0.267.0...v0.268.0](https://github.com/Increase/increase-java/compare/v0.267.0...v0.268.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.268.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.268.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.268.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.269.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.269.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.269.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.268.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.269.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.268.0")
implementation("com.increase.api:increase-java:0.269.0")
```

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

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12638,6 +12638,7 @@ private constructor(
private val declinedTransactionId: JsonField<String>,
private val digitalWalletTokenId: JsonField<String>,
private val direction: JsonField<Direction>,
private val incrementedCardAuthorizationId: JsonField<String>,
private val merchantAcceptorId: JsonField<String>,
private val merchantCategoryCode: JsonField<String>,
private val merchantCity: JsonField<String>,
Expand Down Expand Up @@ -12685,6 +12686,9 @@ private constructor(
@JsonProperty("direction")
@ExcludeMissing
direction: JsonField<Direction> = JsonMissing.of(),
@JsonProperty("incremented_card_authorization_id")
@ExcludeMissing
incrementedCardAuthorizationId: JsonField<String> = JsonMissing.of(),
@JsonProperty("merchant_acceptor_id")
@ExcludeMissing
merchantAcceptorId: JsonField<String> = JsonMissing.of(),
Expand Down Expand Up @@ -12752,6 +12756,7 @@ private constructor(
declinedTransactionId,
digitalWalletTokenId,
direction,
incrementedCardAuthorizationId,
merchantAcceptorId,
merchantCategoryCode,
merchantCity,
Expand Down Expand Up @@ -12864,6 +12869,16 @@ private constructor(
*/
fun direction(): Direction = direction.getRequired("direction")

/**
* The identifier of the card authorization this request attempted to incrementally
* authorize.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g.
* if the server responded with an unexpected value).
*/
fun incrementedCardAuthorizationId(): Optional<String> =
incrementedCardAuthorizationId.getOptional("incremented_card_authorization_id")

/**
* The merchant identifier (commonly abbreviated as MID) of the merchant the card is
* transacting with.
Expand Down Expand Up @@ -13128,6 +13143,17 @@ private constructor(
@ExcludeMissing
fun _direction(): JsonField<Direction> = direction

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

/**
* Returns the raw JSON value of [merchantAcceptorId].
*
Expand Down Expand Up @@ -13344,6 +13370,7 @@ private constructor(
* .declinedTransactionId()
* .digitalWalletTokenId()
* .direction()
* .incrementedCardAuthorizationId()
* .merchantAcceptorId()
* .merchantCategoryCode()
* .merchantCity()
Expand Down Expand Up @@ -13380,6 +13407,7 @@ private constructor(
private var declinedTransactionId: JsonField<String>? = null
private var digitalWalletTokenId: JsonField<String>? = null
private var direction: JsonField<Direction>? = null
private var incrementedCardAuthorizationId: JsonField<String>? = null
private var merchantAcceptorId: JsonField<String>? = null
private var merchantCategoryCode: JsonField<String>? = null
private var merchantCity: JsonField<String>? = null
Expand Down Expand Up @@ -13412,6 +13440,7 @@ private constructor(
declinedTransactionId = cardDecline.declinedTransactionId
digitalWalletTokenId = cardDecline.digitalWalletTokenId
direction = cardDecline.direction
incrementedCardAuthorizationId = cardDecline.incrementedCardAuthorizationId
merchantAcceptorId = cardDecline.merchantAcceptorId
merchantCategoryCode = cardDecline.merchantCategoryCode
merchantCity = cardDecline.merchantCity
Expand Down Expand Up @@ -13582,6 +13611,34 @@ private constructor(
this.direction = direction
}

/**
* The identifier of the card authorization this request attempted to incrementally
* authorize.
*/
fun incrementedCardAuthorizationId(incrementedCardAuthorizationId: String?) =
incrementedCardAuthorizationId(
JsonField.ofNullable(incrementedCardAuthorizationId)
)

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

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

/**
* The merchant identifier (commonly abbreviated as MID) of the merchant the card is
* transacting with.
Expand Down Expand Up @@ -13986,6 +14043,7 @@ private constructor(
* .declinedTransactionId()
* .digitalWalletTokenId()
* .direction()
* .incrementedCardAuthorizationId()
* .merchantAcceptorId()
* .merchantCategoryCode()
* .merchantCity()
Expand Down Expand Up @@ -14020,6 +14078,10 @@ private constructor(
checkRequired("declinedTransactionId", declinedTransactionId),
checkRequired("digitalWalletTokenId", digitalWalletTokenId),
checkRequired("direction", direction),
checkRequired(
"incrementedCardAuthorizationId",
incrementedCardAuthorizationId,
),
checkRequired("merchantAcceptorId", merchantAcceptorId),
checkRequired("merchantCategoryCode", merchantCategoryCode),
checkRequired("merchantCity", merchantCity),
Expand Down Expand Up @@ -14059,6 +14121,7 @@ private constructor(
declinedTransactionId()
digitalWalletTokenId()
direction().validate()
incrementedCardAuthorizationId()
merchantAcceptorId()
merchantCategoryCode()
merchantCity()
Expand Down Expand Up @@ -14106,6 +14169,7 @@ private constructor(
(if (declinedTransactionId.asKnown().isPresent) 1 else 0) +
(if (digitalWalletTokenId.asKnown().isPresent) 1 else 0) +
(direction.asKnown().getOrNull()?.validity() ?: 0) +
(if (incrementedCardAuthorizationId.asKnown().isPresent) 1 else 0) +
(if (merchantAcceptorId.asKnown().isPresent) 1 else 0) +
(if (merchantCategoryCode.asKnown().isPresent) 1 else 0) +
(if (merchantCity.asKnown().isPresent) 1 else 0) +
Expand Down Expand Up @@ -20897,17 +20961,17 @@ private constructor(
return true
}

return /* spotless:off */ other is CardDecline && id == other.id && actioner == other.actioner && additionalAmounts == other.additionalAmounts && amount == other.amount && cardPaymentId == other.cardPaymentId && currency == other.currency && declinedTransactionId == other.declinedTransactionId && digitalWalletTokenId == other.digitalWalletTokenId && direction == other.direction && merchantAcceptorId == other.merchantAcceptorId && merchantCategoryCode == other.merchantCategoryCode && merchantCity == other.merchantCity && merchantCountry == other.merchantCountry && merchantDescriptor == other.merchantDescriptor && merchantPostalCode == other.merchantPostalCode && merchantState == other.merchantState && networkDetails == other.networkDetails && networkIdentifiers == other.networkIdentifiers && networkRiskScore == other.networkRiskScore && physicalCardId == other.physicalCardId && presentmentAmount == other.presentmentAmount && presentmentCurrency == other.presentmentCurrency && processingCategory == other.processingCategory && realTimeDecisionId == other.realTimeDecisionId && realTimeDecisionReason == other.realTimeDecisionReason && reason == other.reason && terminalId == other.terminalId && verification == other.verification && additionalProperties == other.additionalProperties /* spotless:on */
return /* spotless:off */ other is CardDecline && id == other.id && actioner == other.actioner && additionalAmounts == other.additionalAmounts && amount == other.amount && cardPaymentId == other.cardPaymentId && currency == other.currency && declinedTransactionId == other.declinedTransactionId && digitalWalletTokenId == other.digitalWalletTokenId && direction == other.direction && incrementedCardAuthorizationId == other.incrementedCardAuthorizationId && merchantAcceptorId == other.merchantAcceptorId && merchantCategoryCode == other.merchantCategoryCode && merchantCity == other.merchantCity && merchantCountry == other.merchantCountry && merchantDescriptor == other.merchantDescriptor && merchantPostalCode == other.merchantPostalCode && merchantState == other.merchantState && networkDetails == other.networkDetails && networkIdentifiers == other.networkIdentifiers && networkRiskScore == other.networkRiskScore && physicalCardId == other.physicalCardId && presentmentAmount == other.presentmentAmount && presentmentCurrency == other.presentmentCurrency && processingCategory == other.processingCategory && realTimeDecisionId == other.realTimeDecisionId && realTimeDecisionReason == other.realTimeDecisionReason && reason == other.reason && terminalId == other.terminalId && verification == other.verification && additionalProperties == other.additionalProperties /* spotless:on */
}

/* spotless:off */
private val hashCode: Int by lazy { Objects.hash(id, actioner, additionalAmounts, amount, cardPaymentId, currency, declinedTransactionId, digitalWalletTokenId, direction, merchantAcceptorId, merchantCategoryCode, merchantCity, merchantCountry, merchantDescriptor, merchantPostalCode, merchantState, networkDetails, networkIdentifiers, networkRiskScore, physicalCardId, presentmentAmount, presentmentCurrency, processingCategory, realTimeDecisionId, realTimeDecisionReason, reason, terminalId, verification, additionalProperties) }
private val hashCode: Int by lazy { Objects.hash(id, actioner, additionalAmounts, amount, cardPaymentId, currency, declinedTransactionId, digitalWalletTokenId, direction, incrementedCardAuthorizationId, merchantAcceptorId, merchantCategoryCode, merchantCity, merchantCountry, merchantDescriptor, merchantPostalCode, merchantState, networkDetails, networkIdentifiers, networkRiskScore, physicalCardId, presentmentAmount, presentmentCurrency, processingCategory, realTimeDecisionId, realTimeDecisionReason, reason, terminalId, verification, additionalProperties) }
/* spotless:on */

override fun hashCode(): Int = hashCode

override fun toString() =
"CardDecline{id=$id, actioner=$actioner, additionalAmounts=$additionalAmounts, amount=$amount, cardPaymentId=$cardPaymentId, currency=$currency, declinedTransactionId=$declinedTransactionId, digitalWalletTokenId=$digitalWalletTokenId, direction=$direction, merchantAcceptorId=$merchantAcceptorId, merchantCategoryCode=$merchantCategoryCode, merchantCity=$merchantCity, merchantCountry=$merchantCountry, merchantDescriptor=$merchantDescriptor, merchantPostalCode=$merchantPostalCode, merchantState=$merchantState, networkDetails=$networkDetails, networkIdentifiers=$networkIdentifiers, networkRiskScore=$networkRiskScore, physicalCardId=$physicalCardId, presentmentAmount=$presentmentAmount, presentmentCurrency=$presentmentCurrency, processingCategory=$processingCategory, realTimeDecisionId=$realTimeDecisionId, realTimeDecisionReason=$realTimeDecisionReason, reason=$reason, terminalId=$terminalId, verification=$verification, additionalProperties=$additionalProperties}"
"CardDecline{id=$id, actioner=$actioner, additionalAmounts=$additionalAmounts, amount=$amount, cardPaymentId=$cardPaymentId, currency=$currency, declinedTransactionId=$declinedTransactionId, digitalWalletTokenId=$digitalWalletTokenId, direction=$direction, incrementedCardAuthorizationId=$incrementedCardAuthorizationId, merchantAcceptorId=$merchantAcceptorId, merchantCategoryCode=$merchantCategoryCode, merchantCity=$merchantCity, merchantCountry=$merchantCountry, merchantDescriptor=$merchantDescriptor, merchantPostalCode=$merchantPostalCode, merchantState=$merchantState, networkDetails=$networkDetails, networkIdentifiers=$networkIdentifiers, networkRiskScore=$networkRiskScore, physicalCardId=$physicalCardId, presentmentAmount=$presentmentAmount, presentmentCurrency=$presentmentCurrency, processingCategory=$processingCategory, realTimeDecisionId=$realTimeDecisionId, realTimeDecisionReason=$realTimeDecisionReason, reason=$reason, terminalId=$terminalId, verification=$verification, additionalProperties=$additionalProperties}"
}

/**
Expand Down
Loading
Loading