From 9c12f19a69222ac58a2e49048041b036fed89487 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 20 Aug 2025 01:50:56 +0000 Subject: [PATCH 1/3] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 564ef9424..269d73dce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 215 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-9a5905fe541badfa11ad0641e7aea625c9fb0bc59ba33b1d43d8e88cbbdd71b2.yml -openapi_spec_hash: 4347de40c3142cd56c2185aac9a6739e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-4ee4bd7629047dec495946c846442763038ad4cf85d4fd51c97df7efb047df15.yml +openapi_spec_hash: d123ec2ac3a99520926a3dd8d6a98074 config_hash: 0b0a2503208283b283fc5bc6df6a07a5 From d91fed0f01fafbfc2010e5f3e189912c04a58f4f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 20 Aug 2025 02:31:01 +0000 Subject: [PATCH 2/3] feat(api): api update --- .stats.yml | 4 +- .../api/models/transactions/Transaction.kt | 253 +++++++++++++++++- .../transactions/TransactionListParams.kt | 15 ++ .../TransactionListPageResponseTest.kt | 15 ++ .../models/transactions/TransactionTest.kt | 15 ++ 5 files changed, 299 insertions(+), 3 deletions(-) diff --git a/.stats.yml b/.stats.yml index 269d73dce..0b576c5e5 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 215 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-4ee4bd7629047dec495946c846442763038ad4cf85d4fd51c97df7efb047df15.yml -openapi_spec_hash: d123ec2ac3a99520926a3dd8d6a98074 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-289025fcb79a47841395734231b11fd75ad3d80dec533e0eb4533e6afaf82cdf.yml +openapi_spec_hash: 511ad2e7d8c798641f073775ccdab523 config_hash: 0b0a2503208283b283fc5bc6df6a07a5 diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/Transaction.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/Transaction.kt index c0e91a2f7..4eed3e0e8 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/Transaction.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/Transaction.kt @@ -904,6 +904,7 @@ private constructor( JsonField, private val sampleFunds: JsonField, private val swiftTransferIntention: JsonField, + private val swiftTransferReturn: JsonField, private val wireTransferIntention: JsonField, private val additionalProperties: MutableMap, ) { @@ -1012,6 +1013,9 @@ private constructor( @JsonProperty("swift_transfer_intention") @ExcludeMissing swiftTransferIntention: JsonField = JsonMissing.of(), + @JsonProperty("swift_transfer_return") + @ExcludeMissing + swiftTransferReturn: JsonField = JsonMissing.of(), @JsonProperty("wire_transfer_intention") @ExcludeMissing wireTransferIntention: JsonField = JsonMissing.of(), @@ -1048,6 +1052,7 @@ private constructor( realTimePaymentsTransferAcknowledgement, sampleFunds, swiftTransferIntention, + swiftTransferReturn, wireTransferIntention, mutableMapOf(), ) @@ -1428,6 +1433,17 @@ private constructor( fun swiftTransferIntention(): Optional = swiftTransferIntention.getOptional("swift_transfer_intention") + /** + * A Swift Transfer Return object. This field will be present in the JSON response if and + * only if `category` is equal to `swift_transfer_return`. A Swift Transfer Return is + * created when a Swift Transfer is returned by the receiving bank. + * + * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if + * the server responded with an unexpected value). + */ + fun swiftTransferReturn(): Optional = + swiftTransferReturn.getOptional("swift_transfer_return") + /** * A Wire Transfer Intention object. This field will be present in the JSON response if and * only if `category` is equal to `wire_transfer_intention`. A Wire Transfer initiated via @@ -1754,6 +1770,16 @@ private constructor( @ExcludeMissing fun _swiftTransferIntention(): JsonField = swiftTransferIntention + /** + * Returns the raw JSON value of [swiftTransferReturn]. + * + * Unlike [swiftTransferReturn], this method doesn't throw if the JSON field has an + * unexpected type. + */ + @JsonProperty("swift_transfer_return") + @ExcludeMissing + fun _swiftTransferReturn(): JsonField = swiftTransferReturn + /** * Returns the raw JSON value of [wireTransferIntention]. * @@ -1815,6 +1841,7 @@ private constructor( * .realTimePaymentsTransferAcknowledgement() * .sampleFunds() * .swiftTransferIntention() + * .swiftTransferReturn() * .wireTransferIntention() * ``` */ @@ -1866,6 +1893,7 @@ private constructor( null private var sampleFunds: JsonField? = null private var swiftTransferIntention: JsonField? = null + private var swiftTransferReturn: JsonField? = null private var wireTransferIntention: JsonField? = null private var additionalProperties: MutableMap = mutableMapOf() @@ -1906,6 +1934,7 @@ private constructor( source.realTimePaymentsTransferAcknowledgement sampleFunds = source.sampleFunds swiftTransferIntention = source.swiftTransferIntention + swiftTransferReturn = source.swiftTransferReturn wireTransferIntention = source.wireTransferIntention additionalProperties = source.additionalProperties.toMutableMap() } @@ -2775,6 +2804,32 @@ private constructor( this.swiftTransferIntention = swiftTransferIntention } + /** + * A Swift Transfer Return object. This field will be present in the JSON response if + * and only if `category` is equal to `swift_transfer_return`. A Swift Transfer Return + * is created when a Swift Transfer is returned by the receiving bank. + */ + fun swiftTransferReturn(swiftTransferReturn: SwiftTransferReturn?) = + swiftTransferReturn(JsonField.ofNullable(swiftTransferReturn)) + + /** + * Alias for calling [Builder.swiftTransferReturn] with + * `swiftTransferReturn.orElse(null)`. + */ + fun swiftTransferReturn(swiftTransferReturn: Optional) = + swiftTransferReturn(swiftTransferReturn.getOrNull()) + + /** + * Sets [Builder.swiftTransferReturn] to an arbitrary JSON value. + * + * You should usually call [Builder.swiftTransferReturn] with a well-typed + * [SwiftTransferReturn] value instead. This method is primarily for setting the field + * to an undocumented or not yet supported value. + */ + fun swiftTransferReturn(swiftTransferReturn: JsonField) = apply { + this.swiftTransferReturn = swiftTransferReturn + } + /** * A Wire Transfer Intention object. This field will be present in the JSON response if * and only if `category` is equal to `wire_transfer_intention`. A Wire Transfer @@ -2860,6 +2915,7 @@ private constructor( * .realTimePaymentsTransferAcknowledgement() * .sampleFunds() * .swiftTransferIntention() + * .swiftTransferReturn() * .wireTransferIntention() * ``` * @@ -2914,6 +2970,7 @@ private constructor( ), checkRequired("sampleFunds", sampleFunds), checkRequired("swiftTransferIntention", swiftTransferIntention), + checkRequired("swiftTransferReturn", swiftTransferReturn), checkRequired("wireTransferIntention", wireTransferIntention), additionalProperties.toMutableMap(), ) @@ -2957,6 +3014,7 @@ private constructor( realTimePaymentsTransferAcknowledgement().ifPresent { it.validate() } sampleFunds().ifPresent { it.validate() } swiftTransferIntention().ifPresent { it.validate() } + swiftTransferReturn().ifPresent { it.validate() } wireTransferIntention().ifPresent { it.validate() } validated = true } @@ -3009,6 +3067,7 @@ private constructor( (realTimePaymentsTransferAcknowledgement.asKnown().getOrNull()?.validity() ?: 0) + (sampleFunds.asKnown().getOrNull()?.validity() ?: 0) + (swiftTransferIntention.asKnown().getOrNull()?.validity() ?: 0) + + (swiftTransferReturn.asKnown().getOrNull()?.validity() ?: 0) + (wireTransferIntention.asKnown().getOrNull()?.validity() ?: 0) /** @@ -28014,6 +28073,11 @@ private constructor( */ @JvmField val SWIFT_TRANSFER_INTENTION = of("swift_transfer_intention") + /** + * Swift Transfer Return: details will be under the `swift_transfer_return` object. + */ + @JvmField val SWIFT_TRANSFER_RETURN = of("swift_transfer_return") + /** * Card Push Transfer Acceptance: details will be under the * `card_push_transfer_acceptance` object. @@ -28148,6 +28212,10 @@ private constructor( * object. */ SWIFT_TRANSFER_INTENTION, + /** + * Swift Transfer Return: details will be under the `swift_transfer_return` object. + */ + SWIFT_TRANSFER_RETURN, /** * Card Push Transfer Acceptance: details will be under the * `card_push_transfer_acceptance` object. @@ -28287,6 +28355,10 @@ private constructor( * object. */ SWIFT_TRANSFER_INTENTION, + /** + * Swift Transfer Return: details will be under the `swift_transfer_return` object. + */ + SWIFT_TRANSFER_RETURN, /** * Card Push Transfer Acceptance: details will be under the * `card_push_transfer_acceptance` object. @@ -28344,6 +28416,7 @@ private constructor( SAMPLE_FUNDS -> Value.SAMPLE_FUNDS WIRE_TRANSFER_INTENTION -> Value.WIRE_TRANSFER_INTENTION SWIFT_TRANSFER_INTENTION -> Value.SWIFT_TRANSFER_INTENTION + SWIFT_TRANSFER_RETURN -> Value.SWIFT_TRANSFER_RETURN CARD_PUSH_TRANSFER_ACCEPTANCE -> Value.CARD_PUSH_TRANSFER_ACCEPTANCE OTHER -> Value.OTHER else -> Value._UNKNOWN @@ -28395,6 +28468,7 @@ private constructor( SAMPLE_FUNDS -> Known.SAMPLE_FUNDS WIRE_TRANSFER_INTENTION -> Known.WIRE_TRANSFER_INTENTION SWIFT_TRANSFER_INTENTION -> Known.SWIFT_TRANSFER_INTENTION + SWIFT_TRANSFER_RETURN -> Known.SWIFT_TRANSFER_RETURN CARD_PUSH_TRANSFER_ACCEPTANCE -> Known.CARD_PUSH_TRANSFER_ACCEPTANCE OTHER -> Known.OTHER else -> throw IncreaseInvalidDataException("Unknown Category: $value") @@ -39980,6 +40054,181 @@ private constructor( "SwiftTransferIntention{transferId=$transferId, additionalProperties=$additionalProperties}" } + /** + * A Swift Transfer Return object. This field will be present in the JSON response if and + * only if `category` is equal to `swift_transfer_return`. A Swift Transfer Return is + * created when a Swift Transfer is returned by the receiving bank. + */ + class SwiftTransferReturn + private constructor( + private val transferId: JsonField, + private val additionalProperties: MutableMap, + ) { + + @JsonCreator + private constructor( + @JsonProperty("transfer_id") + @ExcludeMissing + transferId: JsonField = JsonMissing.of() + ) : this(transferId, mutableMapOf()) + + /** + * The identifier of the Swift Transfer that led to this Transaction. + * + * @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 transferId(): String = transferId.getRequired("transfer_id") + + /** + * Returns the raw JSON value of [transferId]. + * + * Unlike [transferId], this method doesn't throw if the JSON field has an unexpected + * type. + */ + @JsonProperty("transfer_id") + @ExcludeMissing + fun _transferId(): JsonField = transferId + + @JsonAnySetter + private fun putAdditionalProperty(key: String, value: JsonValue) { + additionalProperties.put(key, value) + } + + @JsonAnyGetter + @ExcludeMissing + fun _additionalProperties(): Map = + Collections.unmodifiableMap(additionalProperties) + + fun toBuilder() = Builder().from(this) + + companion object { + + /** + * Returns a mutable builder for constructing an instance of [SwiftTransferReturn]. + * + * The following fields are required: + * ```java + * .transferId() + * ``` + */ + @JvmStatic fun builder() = Builder() + } + + /** A builder for [SwiftTransferReturn]. */ + class Builder internal constructor() { + + private var transferId: JsonField? = null + private var additionalProperties: MutableMap = mutableMapOf() + + @JvmSynthetic + internal fun from(swiftTransferReturn: SwiftTransferReturn) = apply { + transferId = swiftTransferReturn.transferId + additionalProperties = swiftTransferReturn.additionalProperties.toMutableMap() + } + + /** The identifier of the Swift Transfer that led to this Transaction. */ + fun transferId(transferId: String) = transferId(JsonField.of(transferId)) + + /** + * Sets [Builder.transferId] to an arbitrary JSON value. + * + * You should usually call [Builder.transferId] with a well-typed [String] value + * instead. This method is primarily for setting the field to an undocumented or not + * yet supported value. + */ + fun transferId(transferId: JsonField) = apply { + this.transferId = transferId + } + + fun additionalProperties(additionalProperties: Map) = apply { + this.additionalProperties.clear() + putAllAdditionalProperties(additionalProperties) + } + + fun putAdditionalProperty(key: String, value: JsonValue) = apply { + additionalProperties.put(key, value) + } + + fun putAllAdditionalProperties(additionalProperties: Map) = + apply { + this.additionalProperties.putAll(additionalProperties) + } + + fun removeAdditionalProperty(key: String) = apply { + additionalProperties.remove(key) + } + + fun removeAllAdditionalProperties(keys: Set) = apply { + keys.forEach(::removeAdditionalProperty) + } + + /** + * Returns an immutable instance of [SwiftTransferReturn]. + * + * Further updates to this [Builder] will not mutate the returned instance. + * + * The following fields are required: + * ```java + * .transferId() + * ``` + * + * @throws IllegalStateException if any required field is unset. + */ + fun build(): SwiftTransferReturn = + SwiftTransferReturn( + checkRequired("transferId", transferId), + additionalProperties.toMutableMap(), + ) + } + + private var validated: Boolean = false + + fun validate(): SwiftTransferReturn = apply { + if (validated) { + return@apply + } + + transferId() + validated = true + } + + fun isValid(): Boolean = + try { + validate() + true + } catch (e: IncreaseInvalidDataException) { + false + } + + /** + * Returns a score indicating how many valid values are contained in this object + * recursively. + * + * Used for best match union deserialization. + */ + @JvmSynthetic + internal fun validity(): Int = (if (transferId.asKnown().isPresent) 1 else 0) + + override fun equals(other: Any?): Boolean { + if (this === other) { + return true + } + + return other is SwiftTransferReturn && + transferId == other.transferId && + additionalProperties == other.additionalProperties + } + + private val hashCode: Int by lazy { Objects.hash(transferId, additionalProperties) } + + override fun hashCode(): Int = hashCode + + override fun toString() = + "SwiftTransferReturn{transferId=$transferId, additionalProperties=$additionalProperties}" + } + /** * A Wire Transfer Intention object. This field will be present in the JSON response if and * only if `category` is equal to `wire_transfer_intention`. A Wire Transfer initiated via @@ -40391,6 +40640,7 @@ private constructor( other.realTimePaymentsTransferAcknowledgement && sampleFunds == other.sampleFunds && swiftTransferIntention == other.swiftTransferIntention && + swiftTransferReturn == other.swiftTransferReturn && wireTransferIntention == other.wireTransferIntention && additionalProperties == other.additionalProperties } @@ -40429,6 +40679,7 @@ private constructor( realTimePaymentsTransferAcknowledgement, sampleFunds, swiftTransferIntention, + swiftTransferReturn, wireTransferIntention, additionalProperties, ) @@ -40437,7 +40688,7 @@ private constructor( override fun hashCode(): Int = hashCode override fun toString() = - "Source{accountTransferIntention=$accountTransferIntention, achTransferIntention=$achTransferIntention, achTransferRejection=$achTransferRejection, achTransferReturn=$achTransferReturn, cardDisputeAcceptance=$cardDisputeAcceptance, cardDisputeFinancial=$cardDisputeFinancial, cardDisputeLoss=$cardDisputeLoss, cardPushTransferAcceptance=$cardPushTransferAcceptance, cardRefund=$cardRefund, cardRevenuePayment=$cardRevenuePayment, cardSettlement=$cardSettlement, cashbackPayment=$cashbackPayment, category=$category, checkDepositAcceptance=$checkDepositAcceptance, checkDepositReturn=$checkDepositReturn, checkTransferDeposit=$checkTransferDeposit, feePayment=$feePayment, inboundAchTransfer=$inboundAchTransfer, inboundAchTransferReturnIntention=$inboundAchTransferReturnIntention, inboundCheckAdjustment=$inboundCheckAdjustment, inboundCheckDepositReturnIntention=$inboundCheckDepositReturnIntention, inboundRealTimePaymentsTransferConfirmation=$inboundRealTimePaymentsTransferConfirmation, inboundRealTimePaymentsTransferDecline=$inboundRealTimePaymentsTransferDecline, inboundWireReversal=$inboundWireReversal, inboundWireTransfer=$inboundWireTransfer, inboundWireTransferReversal=$inboundWireTransferReversal, interestPayment=$interestPayment, internalSource=$internalSource, other=$other, realTimePaymentsTransferAcknowledgement=$realTimePaymentsTransferAcknowledgement, sampleFunds=$sampleFunds, swiftTransferIntention=$swiftTransferIntention, wireTransferIntention=$wireTransferIntention, additionalProperties=$additionalProperties}" + "Source{accountTransferIntention=$accountTransferIntention, achTransferIntention=$achTransferIntention, achTransferRejection=$achTransferRejection, achTransferReturn=$achTransferReturn, cardDisputeAcceptance=$cardDisputeAcceptance, cardDisputeFinancial=$cardDisputeFinancial, cardDisputeLoss=$cardDisputeLoss, cardPushTransferAcceptance=$cardPushTransferAcceptance, cardRefund=$cardRefund, cardRevenuePayment=$cardRevenuePayment, cardSettlement=$cardSettlement, cashbackPayment=$cashbackPayment, category=$category, checkDepositAcceptance=$checkDepositAcceptance, checkDepositReturn=$checkDepositReturn, checkTransferDeposit=$checkTransferDeposit, feePayment=$feePayment, inboundAchTransfer=$inboundAchTransfer, inboundAchTransferReturnIntention=$inboundAchTransferReturnIntention, inboundCheckAdjustment=$inboundCheckAdjustment, inboundCheckDepositReturnIntention=$inboundCheckDepositReturnIntention, inboundRealTimePaymentsTransferConfirmation=$inboundRealTimePaymentsTransferConfirmation, inboundRealTimePaymentsTransferDecline=$inboundRealTimePaymentsTransferDecline, inboundWireReversal=$inboundWireReversal, inboundWireTransfer=$inboundWireTransfer, inboundWireTransferReversal=$inboundWireTransferReversal, interestPayment=$interestPayment, internalSource=$internalSource, other=$other, realTimePaymentsTransferAcknowledgement=$realTimePaymentsTransferAcknowledgement, sampleFunds=$sampleFunds, swiftTransferIntention=$swiftTransferIntention, swiftTransferReturn=$swiftTransferReturn, wireTransferIntention=$wireTransferIntention, additionalProperties=$additionalProperties}" } /** diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/TransactionListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/TransactionListParams.kt index ff010c587..94704654e 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/TransactionListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/TransactionListParams.kt @@ -579,6 +579,11 @@ private constructor( */ @JvmField val SWIFT_TRANSFER_INTENTION = of("swift_transfer_intention") + /** + * Swift Transfer Return: details will be under the `swift_transfer_return` object. + */ + @JvmField val SWIFT_TRANSFER_RETURN = of("swift_transfer_return") + /** * Card Push Transfer Acceptance: details will be under the * `card_push_transfer_acceptance` object. @@ -713,6 +718,10 @@ private constructor( * object. */ SWIFT_TRANSFER_INTENTION, + /** + * Swift Transfer Return: details will be under the `swift_transfer_return` object. + */ + SWIFT_TRANSFER_RETURN, /** * Card Push Transfer Acceptance: details will be under the * `card_push_transfer_acceptance` object. @@ -852,6 +861,10 @@ private constructor( * object. */ SWIFT_TRANSFER_INTENTION, + /** + * Swift Transfer Return: details will be under the `swift_transfer_return` object. + */ + SWIFT_TRANSFER_RETURN, /** * Card Push Transfer Acceptance: details will be under the * `card_push_transfer_acceptance` object. @@ -907,6 +920,7 @@ private constructor( SAMPLE_FUNDS -> Value.SAMPLE_FUNDS WIRE_TRANSFER_INTENTION -> Value.WIRE_TRANSFER_INTENTION SWIFT_TRANSFER_INTENTION -> Value.SWIFT_TRANSFER_INTENTION + SWIFT_TRANSFER_RETURN -> Value.SWIFT_TRANSFER_RETURN CARD_PUSH_TRANSFER_ACCEPTANCE -> Value.CARD_PUSH_TRANSFER_ACCEPTANCE OTHER -> Value.OTHER else -> Value._UNKNOWN @@ -958,6 +972,7 @@ private constructor( SAMPLE_FUNDS -> Known.SAMPLE_FUNDS WIRE_TRANSFER_INTENTION -> Known.WIRE_TRANSFER_INTENTION SWIFT_TRANSFER_INTENTION -> Known.SWIFT_TRANSFER_INTENTION + SWIFT_TRANSFER_RETURN -> Known.SWIFT_TRANSFER_RETURN CARD_PUSH_TRANSFER_ACCEPTANCE -> Known.CARD_PUSH_TRANSFER_ACCEPTANCE OTHER -> Known.OTHER else -> throw IncreaseInvalidDataException("Unknown In: $value") diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/transactions/TransactionListPageResponseTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/transactions/TransactionListPageResponseTest.kt index 5096f949e..24751efb0 100644 --- a/increase-java-core/src/test/kotlin/com/increase/api/models/transactions/TransactionListPageResponseTest.kt +++ b/increase-java-core/src/test/kotlin/com/increase/api/models/transactions/TransactionListPageResponseTest.kt @@ -906,6 +906,11 @@ internal class TransactionListPageResponseTest { .transferId("swift_transfer_29h21xkng03788zwd3fh") .build() ) + .swiftTransferReturn( + Transaction.Source.SwiftTransferReturn.builder() + .transferId("swift_transfer_29h21xkng03788zwd3fh") + .build() + ) .wireTransferIntention( Transaction.Source.WireTransferIntention.builder() .accountNumber("987654321") @@ -1772,6 +1777,11 @@ internal class TransactionListPageResponseTest { .transferId("swift_transfer_29h21xkng03788zwd3fh") .build() ) + .swiftTransferReturn( + Transaction.Source.SwiftTransferReturn.builder() + .transferId("swift_transfer_29h21xkng03788zwd3fh") + .build() + ) .wireTransferIntention( Transaction.Source.WireTransferIntention.builder() .accountNumber("987654321") @@ -2684,6 +2694,11 @@ internal class TransactionListPageResponseTest { .transferId("swift_transfer_29h21xkng03788zwd3fh") .build() ) + .swiftTransferReturn( + Transaction.Source.SwiftTransferReturn.builder() + .transferId("swift_transfer_29h21xkng03788zwd3fh") + .build() + ) .wireTransferIntention( Transaction.Source.WireTransferIntention.builder() .accountNumber("987654321") diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/transactions/TransactionTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/transactions/TransactionTest.kt index 841e49e9d..fc74a687c 100644 --- a/increase-java-core/src/test/kotlin/com/increase/api/models/transactions/TransactionTest.kt +++ b/increase-java-core/src/test/kotlin/com/increase/api/models/transactions/TransactionTest.kt @@ -820,6 +820,11 @@ internal class TransactionTest { .transferId("swift_transfer_29h21xkng03788zwd3fh") .build() ) + .swiftTransferReturn( + Transaction.Source.SwiftTransferReturn.builder() + .transferId("swift_transfer_29h21xkng03788zwd3fh") + .build() + ) .wireTransferIntention( Transaction.Source.WireTransferIntention.builder() .accountNumber("987654321") @@ -1593,6 +1598,11 @@ internal class TransactionTest { .transferId("swift_transfer_29h21xkng03788zwd3fh") .build() ) + .swiftTransferReturn( + Transaction.Source.SwiftTransferReturn.builder() + .transferId("swift_transfer_29h21xkng03788zwd3fh") + .build() + ) .wireTransferIntention( Transaction.Source.WireTransferIntention.builder() .accountNumber("987654321") @@ -2416,6 +2426,11 @@ internal class TransactionTest { .transferId("swift_transfer_29h21xkng03788zwd3fh") .build() ) + .swiftTransferReturn( + Transaction.Source.SwiftTransferReturn.builder() + .transferId("swift_transfer_29h21xkng03788zwd3fh") + .build() + ) .wireTransferIntention( Transaction.Source.WireTransferIntention.builder() .accountNumber("987654321") From 5d2dae01fa6feaa1271fb4e983d03170bf2d0b9a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 20 Aug 2025 02:31:29 +0000 Subject: [PATCH 3/3] release: 0.289.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ README.md | 10 +++++----- build.gradle.kts | 2 +- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 401c03881..092529719 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.288.0" + ".": "0.289.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 4826503cb..58c33cafa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.289.0 (2025-08-20) + +Full Changelog: [v0.288.0...v0.289.0](https://github.com/Increase/increase-java/compare/v0.288.0...v0.289.0) + +### Features + +* **api:** api update ([d91fed0](https://github.com/Increase/increase-java/commit/d91fed0f01fafbfc2010e5f3e189912c04a58f4f)) + ## 0.288.0 (2025-08-20) Full Changelog: [v0.287.0...v0.288.0](https://github.com/Increase/increase-java/compare/v0.287.0...v0.288.0) diff --git a/README.md b/README.md index d4ea50dc8..507ffa904 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ -[![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.288.0) -[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.288.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.288.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.289.0) +[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.289.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.289.0) @@ -13,7 +13,7 @@ The Increase Java SDK is similar to the Increase Kotlin SDK but with minor diffe -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.288.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.289.0). @@ -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.288.0") +implementation("com.increase.api:increase-java:0.289.0") ``` ### Maven @@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.288.0") com.increase.api increase-java - 0.288.0 + 0.289.0 ``` diff --git a/build.gradle.kts b/build.gradle.kts index e0cac684b..28c673521 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ repositories { allprojects { group = "com.increase.api" - version = "0.288.0" // x-release-please-version + version = "0.289.0" // x-release-please-version } subprojects {