diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 9bc2b145e..d7ecdd056 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.420.0"
+ ".": "0.421.0"
}
\ No newline at end of file
diff --git a/.stats.yml b/.stats.yml
index f68c40558..ce6e1039b 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 232
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-43f9f952601cef2893cb1f66276d2f820ddaa8f3f628f2787bce991dbae6b079.yml
-openapi_spec_hash: dde142c551d19b01bfde45f2616cb7d7
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-aad9dbf54c66e9aa31deefc9ea241e0c1c2155207f61d606e94478bb5d650c38.yml
+openapi_spec_hash: f5e641b92f8a3feaefad8bdbc278db77
config_hash: 27e44ed36b9c5617b580ead7231a594a
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3b85a3a95..30996884e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+## 0.421.0 (2026-02-05)
+
+Full Changelog: [v0.420.0...v0.421.0](https://github.com/Increase/increase-java/compare/v0.420.0...v0.421.0)
+
+### Features
+
+* **api:** api update ([a7366d9](https://github.com/Increase/increase-java/commit/a7366d93a6335dfe0965de8f41f126f35741ab19))
+
## 0.420.0 (2026-02-04)
Full Changelog: [v0.419.0...v0.420.0](https://github.com/Increase/increase-java/compare/v0.419.0...v0.420.0)
diff --git a/README.md b/README.md
index e868ab8fc..b2c49b676 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
-[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.420.0)
-[](https://javadoc.io/doc/com.increase.api/increase-java/0.420.0)
+[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.421.0)
+[](https://javadoc.io/doc/com.increase.api/increase-java/0.421.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.420.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.421.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.420.0")
+implementation("com.increase.api:increase-java:0.421.0")
```
### Maven
@@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.420.0")
com.increase.api
increase-java
- 0.420.0
+ 0.421.0
```
diff --git a/build.gradle.kts b/build.gradle.kts
index 3792d8c94..5b509d5ba 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -8,7 +8,7 @@ repositories {
allprojects {
group = "com.increase.api"
- version = "0.420.0" // x-release-please-version
+ version = "0.421.0" // x-release-please-version
}
subprojects {
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransaction.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransaction.kt
index f6b0ab1af..d46b6228e 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransaction.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransaction.kt
@@ -953,6 +953,8 @@ private constructor(
private constructor(
private val accountTransferInstruction: JsonField,
private val achTransferInstruction: JsonField,
+ private val blockchainOfframpTransferInstruction:
+ JsonField,
private val blockchainOfframpTransferIntention:
JsonField,
private val blockchainOnrampTransferInstruction:
@@ -982,6 +984,10 @@ private constructor(
@JsonProperty("ach_transfer_instruction")
@ExcludeMissing
achTransferInstruction: JsonField = JsonMissing.of(),
+ @JsonProperty("blockchain_offramp_transfer_instruction")
+ @ExcludeMissing
+ blockchainOfframpTransferInstruction: JsonField =
+ JsonMissing.of(),
@JsonProperty("blockchain_offramp_transfer_intention")
@ExcludeMissing
blockchainOfframpTransferIntention: JsonField =
@@ -1031,6 +1037,7 @@ private constructor(
) : this(
accountTransferInstruction,
achTransferInstruction,
+ blockchainOfframpTransferInstruction,
blockchainOfframpTransferIntention,
blockchainOnrampTransferInstruction,
cardAuthorization,
@@ -1069,6 +1076,18 @@ private constructor(
fun achTransferInstruction(): Optional =
achTransferInstruction.getOptional("ach_transfer_instruction")
+ /**
+ * A Blockchain Off-Ramp Transfer Instruction object. This field will be present in the JSON
+ * response if and only if `category` is equal to `blockchain_offramp_transfer_instruction`.
+ *
+ * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if
+ * the server responded with an unexpected value).
+ */
+ fun blockchainOfframpTransferInstruction(): Optional =
+ blockchainOfframpTransferInstruction.getOptional(
+ "blockchain_offramp_transfer_instruction"
+ )
+
/**
* A Blockchain Off-Ramp Transfer Intention object. This field will be present in the JSON
* response if and only if `category` is equal to `blockchain_offramp_transfer_intention`.
@@ -1248,6 +1267,17 @@ private constructor(
@ExcludeMissing
fun _achTransferInstruction(): JsonField = achTransferInstruction
+ /**
+ * Returns the raw JSON value of [blockchainOfframpTransferInstruction].
+ *
+ * Unlike [blockchainOfframpTransferInstruction], this method doesn't throw if the JSON
+ * field has an unexpected type.
+ */
+ @JsonProperty("blockchain_offramp_transfer_instruction")
+ @ExcludeMissing
+ fun _blockchainOfframpTransferInstruction():
+ JsonField = blockchainOfframpTransferInstruction
+
/**
* Returns the raw JSON value of [blockchainOfframpTransferIntention].
*
@@ -1421,6 +1451,7 @@ private constructor(
* ```java
* .accountTransferInstruction()
* .achTransferInstruction()
+ * .blockchainOfframpTransferInstruction()
* .blockchainOfframpTransferIntention()
* .blockchainOnrampTransferInstruction()
* .cardAuthorization()
@@ -1446,6 +1477,9 @@ private constructor(
private var accountTransferInstruction: JsonField? = null
private var achTransferInstruction: JsonField? = null
+ private var blockchainOfframpTransferInstruction:
+ JsonField? =
+ null
private var blockchainOfframpTransferIntention:
JsonField? =
null
@@ -1473,6 +1507,7 @@ private constructor(
internal fun from(source: Source) = apply {
accountTransferInstruction = source.accountTransferInstruction
achTransferInstruction = source.achTransferInstruction
+ blockchainOfframpTransferInstruction = source.blockchainOfframpTransferInstruction
blockchainOfframpTransferIntention = source.blockchainOfframpTransferIntention
blockchainOnrampTransferInstruction = source.blockchainOnrampTransferInstruction
cardAuthorization = source.cardAuthorization
@@ -1544,6 +1579,43 @@ private constructor(
this.achTransferInstruction = achTransferInstruction
}
+ /**
+ * A Blockchain Off-Ramp Transfer Instruction object. This field will be present in the
+ * JSON response if and only if `category` is equal to
+ * `blockchain_offramp_transfer_instruction`.
+ */
+ fun blockchainOfframpTransferInstruction(
+ blockchainOfframpTransferInstruction: BlockchainOfframpTransferInstruction?
+ ) =
+ blockchainOfframpTransferInstruction(
+ JsonField.ofNullable(blockchainOfframpTransferInstruction)
+ )
+
+ /**
+ * Alias for calling [Builder.blockchainOfframpTransferInstruction] with
+ * `blockchainOfframpTransferInstruction.orElse(null)`.
+ */
+ fun blockchainOfframpTransferInstruction(
+ blockchainOfframpTransferInstruction: Optional
+ ) =
+ blockchainOfframpTransferInstruction(
+ blockchainOfframpTransferInstruction.getOrNull()
+ )
+
+ /**
+ * Sets [Builder.blockchainOfframpTransferInstruction] to an arbitrary JSON value.
+ *
+ * You should usually call [Builder.blockchainOfframpTransferInstruction] with a
+ * well-typed [BlockchainOfframpTransferInstruction] value instead. This method is
+ * primarily for setting the field to an undocumented or not yet supported value.
+ */
+ fun blockchainOfframpTransferInstruction(
+ blockchainOfframpTransferInstruction:
+ JsonField
+ ) = apply {
+ this.blockchainOfframpTransferInstruction = blockchainOfframpTransferInstruction
+ }
+
/**
* A Blockchain Off-Ramp Transfer Intention object. This field will be present in the
* JSON response if and only if `category` is equal to
@@ -1967,6 +2039,7 @@ private constructor(
* ```java
* .accountTransferInstruction()
* .achTransferInstruction()
+ * .blockchainOfframpTransferInstruction()
* .blockchainOfframpTransferIntention()
* .blockchainOnrampTransferInstruction()
* .cardAuthorization()
@@ -1990,6 +2063,10 @@ private constructor(
Source(
checkRequired("accountTransferInstruction", accountTransferInstruction),
checkRequired("achTransferInstruction", achTransferInstruction),
+ checkRequired(
+ "blockchainOfframpTransferInstruction",
+ blockchainOfframpTransferInstruction,
+ ),
checkRequired(
"blockchainOfframpTransferIntention",
blockchainOfframpTransferIntention,
@@ -2027,6 +2104,7 @@ private constructor(
accountTransferInstruction().ifPresent { it.validate() }
achTransferInstruction().ifPresent { it.validate() }
+ blockchainOfframpTransferInstruction().ifPresent { it.validate() }
blockchainOfframpTransferIntention().ifPresent { it.validate() }
blockchainOnrampTransferInstruction().ifPresent { it.validate() }
cardAuthorization().ifPresent { it.validate() }
@@ -2063,6 +2141,7 @@ private constructor(
internal fun validity(): Int =
(accountTransferInstruction.asKnown().getOrNull()?.validity() ?: 0) +
(achTransferInstruction.asKnown().getOrNull()?.validity() ?: 0) +
+ (blockchainOfframpTransferInstruction.asKnown().getOrNull()?.validity() ?: 0) +
(blockchainOfframpTransferIntention.asKnown().getOrNull()?.validity() ?: 0) +
(blockchainOnrampTransferInstruction.asKnown().getOrNull()?.validity() ?: 0) +
(cardAuthorization.asKnown().getOrNull()?.validity() ?: 0) +
@@ -2698,6 +2777,239 @@ private constructor(
"AchTransferInstruction{amount=$amount, transferId=$transferId, additionalProperties=$additionalProperties}"
}
+ /**
+ * A Blockchain Off-Ramp Transfer Instruction object. This field will be present in the JSON
+ * response if and only if `category` is equal to `blockchain_offramp_transfer_instruction`.
+ */
+ class BlockchainOfframpTransferInstruction
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
+ private constructor(
+ private val sourceBlockchainAddressId: JsonField,
+ private val transferId: JsonField,
+ private val additionalProperties: MutableMap,
+ ) {
+
+ @JsonCreator
+ private constructor(
+ @JsonProperty("source_blockchain_address_id")
+ @ExcludeMissing
+ sourceBlockchainAddressId: JsonField = JsonMissing.of(),
+ @JsonProperty("transfer_id")
+ @ExcludeMissing
+ transferId: JsonField = JsonMissing.of(),
+ ) : this(sourceBlockchainAddressId, transferId, mutableMapOf())
+
+ /**
+ * The identifier of the Blockchain Address the funds were received at.
+ *
+ * @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 sourceBlockchainAddressId(): String =
+ sourceBlockchainAddressId.getRequired("source_blockchain_address_id")
+
+ /**
+ * The identifier of the Blockchain Off-Ramp 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 [sourceBlockchainAddressId].
+ *
+ * Unlike [sourceBlockchainAddressId], this method doesn't throw if the JSON field has
+ * an unexpected type.
+ */
+ @JsonProperty("source_blockchain_address_id")
+ @ExcludeMissing
+ fun _sourceBlockchainAddressId(): JsonField = sourceBlockchainAddressId
+
+ /**
+ * 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
+ * [BlockchainOfframpTransferInstruction].
+ *
+ * The following fields are required:
+ * ```java
+ * .sourceBlockchainAddressId()
+ * .transferId()
+ * ```
+ */
+ @JvmStatic fun builder() = Builder()
+ }
+
+ /** A builder for [BlockchainOfframpTransferInstruction]. */
+ class Builder internal constructor() {
+
+ private var sourceBlockchainAddressId: JsonField? = null
+ private var transferId: JsonField? = null
+ private var additionalProperties: MutableMap = mutableMapOf()
+
+ @JvmSynthetic
+ internal fun from(
+ blockchainOfframpTransferInstruction: BlockchainOfframpTransferInstruction
+ ) = apply {
+ sourceBlockchainAddressId =
+ blockchainOfframpTransferInstruction.sourceBlockchainAddressId
+ transferId = blockchainOfframpTransferInstruction.transferId
+ additionalProperties =
+ blockchainOfframpTransferInstruction.additionalProperties.toMutableMap()
+ }
+
+ /** The identifier of the Blockchain Address the funds were received at. */
+ fun sourceBlockchainAddressId(sourceBlockchainAddressId: String) =
+ sourceBlockchainAddressId(JsonField.of(sourceBlockchainAddressId))
+
+ /**
+ * Sets [Builder.sourceBlockchainAddressId] to an arbitrary JSON value.
+ *
+ * You should usually call [Builder.sourceBlockchainAddressId] with a well-typed
+ * [String] value instead. This method is primarily for setting the field to an
+ * undocumented or not yet supported value.
+ */
+ fun sourceBlockchainAddressId(sourceBlockchainAddressId: JsonField) =
+ apply {
+ this.sourceBlockchainAddressId = sourceBlockchainAddressId
+ }
+
+ /**
+ * The identifier of the Blockchain Off-Ramp 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 [BlockchainOfframpTransferInstruction].
+ *
+ * Further updates to this [Builder] will not mutate the returned instance.
+ *
+ * The following fields are required:
+ * ```java
+ * .sourceBlockchainAddressId()
+ * .transferId()
+ * ```
+ *
+ * @throws IllegalStateException if any required field is unset.
+ */
+ fun build(): BlockchainOfframpTransferInstruction =
+ BlockchainOfframpTransferInstruction(
+ checkRequired("sourceBlockchainAddressId", sourceBlockchainAddressId),
+ checkRequired("transferId", transferId),
+ additionalProperties.toMutableMap(),
+ )
+ }
+
+ private var validated: Boolean = false
+
+ fun validate(): BlockchainOfframpTransferInstruction = apply {
+ if (validated) {
+ return@apply
+ }
+
+ sourceBlockchainAddressId()
+ 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 (sourceBlockchainAddressId.asKnown().isPresent) 1 else 0) +
+ (if (transferId.asKnown().isPresent) 1 else 0)
+
+ override fun equals(other: Any?): Boolean {
+ if (this === other) {
+ return true
+ }
+
+ return other is BlockchainOfframpTransferInstruction &&
+ sourceBlockchainAddressId == other.sourceBlockchainAddressId &&
+ transferId == other.transferId &&
+ additionalProperties == other.additionalProperties
+ }
+
+ private val hashCode: Int by lazy {
+ Objects.hash(sourceBlockchainAddressId, transferId, additionalProperties)
+ }
+
+ override fun hashCode(): Int = hashCode
+
+ override fun toString() =
+ "BlockchainOfframpTransferInstruction{sourceBlockchainAddressId=$sourceBlockchainAddressId, transferId=$transferId, additionalProperties=$additionalProperties}"
+ }
+
/**
* A Blockchain Off-Ramp Transfer Intention object. This field will be present in the JSON
* response if and only if `category` is equal to `blockchain_offramp_transfer_intention`.
@@ -12461,6 +12773,14 @@ private constructor(
val BLOCKCHAIN_ONRAMP_TRANSFER_INSTRUCTION =
of("blockchain_onramp_transfer_instruction")
+ /**
+ * Blockchain Off-Ramp Transfer Instruction: details will be under the
+ * `blockchain_offramp_transfer_instruction` object.
+ */
+ @JvmField
+ val BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION =
+ of("blockchain_offramp_transfer_instruction")
+
/**
* Blockchain Off-Ramp Transfer Intention: details will be under the
* `blockchain_offramp_transfer_intention` object.
@@ -12538,6 +12858,11 @@ private constructor(
* `blockchain_onramp_transfer_instruction` object.
*/
BLOCKCHAIN_ONRAMP_TRANSFER_INSTRUCTION,
+ /**
+ * Blockchain Off-Ramp Transfer Instruction: details will be under the
+ * `blockchain_offramp_transfer_instruction` object.
+ */
+ BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION,
/**
* Blockchain Off-Ramp Transfer Intention: details will be under the
* `blockchain_offramp_transfer_intention` object.
@@ -12618,6 +12943,11 @@ private constructor(
* `blockchain_onramp_transfer_instruction` object.
*/
BLOCKCHAIN_ONRAMP_TRANSFER_INSTRUCTION,
+ /**
+ * Blockchain Off-Ramp Transfer Instruction: details will be under the
+ * `blockchain_offramp_transfer_instruction` object.
+ */
+ BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION,
/**
* Blockchain Off-Ramp Transfer Intention: details will be under the
* `blockchain_offramp_transfer_intention` object.
@@ -12656,6 +12986,8 @@ private constructor(
CARD_PUSH_TRANSFER_INSTRUCTION -> Value.CARD_PUSH_TRANSFER_INSTRUCTION
BLOCKCHAIN_ONRAMP_TRANSFER_INSTRUCTION ->
Value.BLOCKCHAIN_ONRAMP_TRANSFER_INSTRUCTION
+ BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION ->
+ Value.BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION
BLOCKCHAIN_OFFRAMP_TRANSFER_INTENTION ->
Value.BLOCKCHAIN_OFFRAMP_TRANSFER_INTENTION
OTHER -> Value.OTHER
@@ -12689,6 +13021,8 @@ private constructor(
CARD_PUSH_TRANSFER_INSTRUCTION -> Known.CARD_PUSH_TRANSFER_INSTRUCTION
BLOCKCHAIN_ONRAMP_TRANSFER_INSTRUCTION ->
Known.BLOCKCHAIN_ONRAMP_TRANSFER_INSTRUCTION
+ BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION ->
+ Known.BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION
BLOCKCHAIN_OFFRAMP_TRANSFER_INTENTION ->
Known.BLOCKCHAIN_OFFRAMP_TRANSFER_INTENTION
OTHER -> Known.OTHER
@@ -16013,6 +16347,8 @@ private constructor(
return other is Source &&
accountTransferInstruction == other.accountTransferInstruction &&
achTransferInstruction == other.achTransferInstruction &&
+ blockchainOfframpTransferInstruction ==
+ other.blockchainOfframpTransferInstruction &&
blockchainOfframpTransferIntention == other.blockchainOfframpTransferIntention &&
blockchainOnrampTransferInstruction == other.blockchainOnrampTransferInstruction &&
cardAuthorization == other.cardAuthorization &&
@@ -16035,6 +16371,7 @@ private constructor(
Objects.hash(
accountTransferInstruction,
achTransferInstruction,
+ blockchainOfframpTransferInstruction,
blockchainOfframpTransferIntention,
blockchainOnrampTransferInstruction,
cardAuthorization,
@@ -16057,7 +16394,7 @@ private constructor(
override fun hashCode(): Int = hashCode
override fun toString() =
- "Source{accountTransferInstruction=$accountTransferInstruction, achTransferInstruction=$achTransferInstruction, blockchainOfframpTransferIntention=$blockchainOfframpTransferIntention, blockchainOnrampTransferInstruction=$blockchainOnrampTransferInstruction, cardAuthorization=$cardAuthorization, cardPushTransferInstruction=$cardPushTransferInstruction, category=$category, checkDepositInstruction=$checkDepositInstruction, checkTransferInstruction=$checkTransferInstruction, fednowTransferInstruction=$fednowTransferInstruction, inboundFundsHold=$inboundFundsHold, inboundWireTransferReversal=$inboundWireTransferReversal, other=$other, realTimePaymentsTransferInstruction=$realTimePaymentsTransferInstruction, swiftTransferInstruction=$swiftTransferInstruction, userInitiatedHold=$userInitiatedHold, wireTransferInstruction=$wireTransferInstruction, additionalProperties=$additionalProperties}"
+ "Source{accountTransferInstruction=$accountTransferInstruction, achTransferInstruction=$achTransferInstruction, blockchainOfframpTransferInstruction=$blockchainOfframpTransferInstruction, blockchainOfframpTransferIntention=$blockchainOfframpTransferIntention, blockchainOnrampTransferInstruction=$blockchainOnrampTransferInstruction, cardAuthorization=$cardAuthorization, cardPushTransferInstruction=$cardPushTransferInstruction, category=$category, checkDepositInstruction=$checkDepositInstruction, checkTransferInstruction=$checkTransferInstruction, fednowTransferInstruction=$fednowTransferInstruction, inboundFundsHold=$inboundFundsHold, inboundWireTransferReversal=$inboundWireTransferReversal, other=$other, realTimePaymentsTransferInstruction=$realTimePaymentsTransferInstruction, swiftTransferInstruction=$swiftTransferInstruction, userInitiatedHold=$userInitiatedHold, wireTransferInstruction=$wireTransferInstruction, additionalProperties=$additionalProperties}"
}
/** Whether the Pending Transaction has been confirmed and has an associated Transaction. */
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionListParams.kt
index 9dc178a19..f98fd321b 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionListParams.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionListParams.kt
@@ -513,6 +513,14 @@ private constructor(
val BLOCKCHAIN_ONRAMP_TRANSFER_INSTRUCTION =
of("blockchain_onramp_transfer_instruction")
+ /**
+ * Blockchain Off-Ramp Transfer Instruction: details will be under the
+ * `blockchain_offramp_transfer_instruction` object.
+ */
+ @JvmField
+ val BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION =
+ of("blockchain_offramp_transfer_instruction")
+
/**
* Blockchain Off-Ramp Transfer Intention: details will be under the
* `blockchain_offramp_transfer_intention` object.
@@ -590,6 +598,11 @@ private constructor(
* `blockchain_onramp_transfer_instruction` object.
*/
BLOCKCHAIN_ONRAMP_TRANSFER_INSTRUCTION,
+ /**
+ * Blockchain Off-Ramp Transfer Instruction: details will be under the
+ * `blockchain_offramp_transfer_instruction` object.
+ */
+ BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION,
/**
* Blockchain Off-Ramp Transfer Intention: details will be under the
* `blockchain_offramp_transfer_intention` object.
@@ -670,6 +683,11 @@ private constructor(
* `blockchain_onramp_transfer_instruction` object.
*/
BLOCKCHAIN_ONRAMP_TRANSFER_INSTRUCTION,
+ /**
+ * Blockchain Off-Ramp Transfer Instruction: details will be under the
+ * `blockchain_offramp_transfer_instruction` object.
+ */
+ BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION,
/**
* Blockchain Off-Ramp Transfer Intention: details will be under the
* `blockchain_offramp_transfer_intention` object.
@@ -706,6 +724,8 @@ private constructor(
CARD_PUSH_TRANSFER_INSTRUCTION -> Value.CARD_PUSH_TRANSFER_INSTRUCTION
BLOCKCHAIN_ONRAMP_TRANSFER_INSTRUCTION ->
Value.BLOCKCHAIN_ONRAMP_TRANSFER_INSTRUCTION
+ BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION ->
+ Value.BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION
BLOCKCHAIN_OFFRAMP_TRANSFER_INTENTION ->
Value.BLOCKCHAIN_OFFRAMP_TRANSFER_INTENTION
OTHER -> Value.OTHER
@@ -739,6 +759,8 @@ private constructor(
CARD_PUSH_TRANSFER_INSTRUCTION -> Known.CARD_PUSH_TRANSFER_INSTRUCTION
BLOCKCHAIN_ONRAMP_TRANSFER_INSTRUCTION ->
Known.BLOCKCHAIN_ONRAMP_TRANSFER_INSTRUCTION
+ BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION ->
+ Known.BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION
BLOCKCHAIN_OFFRAMP_TRANSFER_INTENTION ->
Known.BLOCKCHAIN_OFFRAMP_TRANSFER_INTENTION
OTHER -> Known.OTHER
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionListPageResponseTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionListPageResponseTest.kt
index ff14379e5..38cea9a68 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionListPageResponseTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionListPageResponseTest.kt
@@ -46,6 +46,17 @@ internal class PendingTransactionListPageResponseTest {
.transferId("ach_transfer_uoxatyh3lt5evrsdvo7q")
.build()
)
+ .blockchainOfframpTransferInstruction(
+ PendingTransaction.Source.BlockchainOfframpTransferInstruction
+ .builder()
+ .sourceBlockchainAddressId(
+ "blockchain_address_tijjpqp9t5d358ehydqi"
+ )
+ .transferId(
+ "blockchain_offramp_transfer_sqd2x3ti6u2sy91v696m"
+ )
+ .build()
+ )
.blockchainOfframpTransferIntention(
PendingTransaction.Source.BlockchainOfframpTransferIntention
.builder()
@@ -451,6 +462,15 @@ internal class PendingTransactionListPageResponseTest {
.transferId("ach_transfer_uoxatyh3lt5evrsdvo7q")
.build()
)
+ .blockchainOfframpTransferInstruction(
+ PendingTransaction.Source.BlockchainOfframpTransferInstruction
+ .builder()
+ .sourceBlockchainAddressId(
+ "blockchain_address_tijjpqp9t5d358ehydqi"
+ )
+ .transferId("blockchain_offramp_transfer_sqd2x3ti6u2sy91v696m")
+ .build()
+ )
.blockchainOfframpTransferIntention(
PendingTransaction.Source.BlockchainOfframpTransferIntention
.builder()
@@ -841,6 +861,17 @@ internal class PendingTransactionListPageResponseTest {
.transferId("ach_transfer_uoxatyh3lt5evrsdvo7q")
.build()
)
+ .blockchainOfframpTransferInstruction(
+ PendingTransaction.Source.BlockchainOfframpTransferInstruction
+ .builder()
+ .sourceBlockchainAddressId(
+ "blockchain_address_tijjpqp9t5d358ehydqi"
+ )
+ .transferId(
+ "blockchain_offramp_transfer_sqd2x3ti6u2sy91v696m"
+ )
+ .build()
+ )
.blockchainOfframpTransferIntention(
PendingTransaction.Source.BlockchainOfframpTransferIntention
.builder()
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionTest.kt
index b3f259411..4feaf6d8c 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionTest.kt
@@ -43,6 +43,14 @@ internal class PendingTransactionTest {
.transferId("ach_transfer_uoxatyh3lt5evrsdvo7q")
.build()
)
+ .blockchainOfframpTransferInstruction(
+ PendingTransaction.Source.BlockchainOfframpTransferInstruction.builder()
+ .sourceBlockchainAddressId(
+ "blockchain_address_tijjpqp9t5d358ehydqi"
+ )
+ .transferId("blockchain_offramp_transfer_sqd2x3ti6u2sy91v696m")
+ .build()
+ )
.blockchainOfframpTransferIntention(
PendingTransaction.Source.BlockchainOfframpTransferIntention.builder()
.sourceBlockchainAddressId(
@@ -402,6 +410,12 @@ internal class PendingTransactionTest {
.transferId("ach_transfer_uoxatyh3lt5evrsdvo7q")
.build()
)
+ .blockchainOfframpTransferInstruction(
+ PendingTransaction.Source.BlockchainOfframpTransferInstruction.builder()
+ .sourceBlockchainAddressId("blockchain_address_tijjpqp9t5d358ehydqi")
+ .transferId("blockchain_offramp_transfer_sqd2x3ti6u2sy91v696m")
+ .build()
+ )
.blockchainOfframpTransferIntention(
PendingTransaction.Source.BlockchainOfframpTransferIntention.builder()
.sourceBlockchainAddressId("blockchain_address_tijjpqp9t5d358ehydqi")
@@ -752,6 +766,14 @@ internal class PendingTransactionTest {
.transferId("ach_transfer_uoxatyh3lt5evrsdvo7q")
.build()
)
+ .blockchainOfframpTransferInstruction(
+ PendingTransaction.Source.BlockchainOfframpTransferInstruction.builder()
+ .sourceBlockchainAddressId(
+ "blockchain_address_tijjpqp9t5d358ehydqi"
+ )
+ .transferId("blockchain_offramp_transfer_sqd2x3ti6u2sy91v696m")
+ .build()
+ )
.blockchainOfframpTransferIntention(
PendingTransaction.Source.BlockchainOfframpTransferIntention.builder()
.sourceBlockchainAddressId(
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/simulations/cardauthorizations/CardAuthorizationCreateResponseTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/simulations/cardauthorizations/CardAuthorizationCreateResponseTest.kt
index 614c35e24..b198e86c1 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/simulations/cardauthorizations/CardAuthorizationCreateResponseTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/simulations/cardauthorizations/CardAuthorizationCreateResponseTest.kt
@@ -414,6 +414,17 @@ internal class CardAuthorizationCreateResponseTest {
.transferId("ach_transfer_uoxatyh3lt5evrsdvo7q")
.build()
)
+ .blockchainOfframpTransferInstruction(
+ PendingTransaction.Source.BlockchainOfframpTransferInstruction
+ .builder()
+ .sourceBlockchainAddressId(
+ "blockchain_address_tijjpqp9t5d358ehydqi"
+ )
+ .transferId(
+ "blockchain_offramp_transfer_sqd2x3ti6u2sy91v696m"
+ )
+ .build()
+ )
.blockchainOfframpTransferIntention(
PendingTransaction.Source.BlockchainOfframpTransferIntention
.builder()
@@ -1174,6 +1185,15 @@ internal class CardAuthorizationCreateResponseTest {
.transferId("ach_transfer_uoxatyh3lt5evrsdvo7q")
.build()
)
+ .blockchainOfframpTransferInstruction(
+ PendingTransaction.Source.BlockchainOfframpTransferInstruction
+ .builder()
+ .sourceBlockchainAddressId(
+ "blockchain_address_tijjpqp9t5d358ehydqi"
+ )
+ .transferId("blockchain_offramp_transfer_sqd2x3ti6u2sy91v696m")
+ .build()
+ )
.blockchainOfframpTransferIntention(
PendingTransaction.Source.BlockchainOfframpTransferIntention
.builder()
@@ -1933,6 +1953,17 @@ internal class CardAuthorizationCreateResponseTest {
.transferId("ach_transfer_uoxatyh3lt5evrsdvo7q")
.build()
)
+ .blockchainOfframpTransferInstruction(
+ PendingTransaction.Source.BlockchainOfframpTransferInstruction
+ .builder()
+ .sourceBlockchainAddressId(
+ "blockchain_address_tijjpqp9t5d358ehydqi"
+ )
+ .transferId(
+ "blockchain_offramp_transfer_sqd2x3ti6u2sy91v696m"
+ )
+ .build()
+ )
.blockchainOfframpTransferIntention(
PendingTransaction.Source.BlockchainOfframpTransferIntention
.builder()