diff --git a/.release-please-manifest.json b/.release-please-manifest.json index d7ecdd056..6dc358e4f 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.421.0" + ".": "0.422.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index ce6e1039b..1b4f11d2d 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-aad9dbf54c66e9aa31deefc9ea241e0c1c2155207f61d606e94478bb5d650c38.yml -openapi_spec_hash: f5e641b92f8a3feaefad8bdbc278db77 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-a466a501f72055942acea051bd2b1c735b70d65f3dd2710c5484e6125c8b640d.yml +openapi_spec_hash: d68789006ab658b380a02da2f03599b4 config_hash: 27e44ed36b9c5617b580ead7231a594a diff --git a/CHANGELOG.md b/CHANGELOG.md index 30996884e..582293457 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.422.0 (2026-02-05) + +Full Changelog: [v0.421.0...v0.422.0](https://github.com/Increase/increase-java/compare/v0.421.0...v0.422.0) + +### Features + +* **api:** api update ([56ceda2](https://github.com/Increase/increase-java/commit/56ceda21b7bd78d9ba22968854b121967ea65bc5)) + ## 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) diff --git a/README.md b/README.md index b2c49b676..38a7fe754 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.421.0) -[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.421.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.421.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.422.0) +[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.422.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.422.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.421.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.422.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.421.0") +implementation("com.increase.api:increase-java:0.422.0") ``` ### Maven @@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.421.0") com.increase.api increase-java - 0.421.0 + 0.422.0 ``` diff --git a/build.gradle.kts b/build.gradle.kts index 5b509d5ba..24e8cbe3a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ repositories { allprojects { group = "com.increase.api" - version = "0.421.0" // x-release-please-version + version = "0.422.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 d46b6228e..424f19557 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 @@ -955,8 +955,6 @@ private constructor( private val achTransferInstruction: JsonField, private val blockchainOfframpTransferInstruction: JsonField, - private val blockchainOfframpTransferIntention: - JsonField, private val blockchainOnrampTransferInstruction: JsonField, private val cardAuthorization: JsonField, @@ -988,10 +986,6 @@ private constructor( @ExcludeMissing blockchainOfframpTransferInstruction: JsonField = JsonMissing.of(), - @JsonProperty("blockchain_offramp_transfer_intention") - @ExcludeMissing - blockchainOfframpTransferIntention: JsonField = - JsonMissing.of(), @JsonProperty("blockchain_onramp_transfer_instruction") @ExcludeMissing blockchainOnrampTransferInstruction: JsonField = @@ -1038,7 +1032,6 @@ private constructor( accountTransferInstruction, achTransferInstruction, blockchainOfframpTransferInstruction, - blockchainOfframpTransferIntention, blockchainOnrampTransferInstruction, cardAuthorization, cardPushTransferInstruction, @@ -1088,16 +1081,6 @@ private constructor( "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`. - * - * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if - * the server responded with an unexpected value). - */ - fun blockchainOfframpTransferIntention(): Optional = - blockchainOfframpTransferIntention.getOptional("blockchain_offramp_transfer_intention") - /** * A Blockchain On-Ramp Transfer Instruction object. This field will be present in the JSON * response if and only if `category` is equal to `blockchain_onramp_transfer_instruction`. @@ -1278,17 +1261,6 @@ private constructor( fun _blockchainOfframpTransferInstruction(): JsonField = blockchainOfframpTransferInstruction - /** - * Returns the raw JSON value of [blockchainOfframpTransferIntention]. - * - * Unlike [blockchainOfframpTransferIntention], this method doesn't throw if the JSON field - * has an unexpected type. - */ - @JsonProperty("blockchain_offramp_transfer_intention") - @ExcludeMissing - fun _blockchainOfframpTransferIntention(): JsonField = - blockchainOfframpTransferIntention - /** * Returns the raw JSON value of [blockchainOnrampTransferInstruction]. * @@ -1452,7 +1424,6 @@ private constructor( * .accountTransferInstruction() * .achTransferInstruction() * .blockchainOfframpTransferInstruction() - * .blockchainOfframpTransferIntention() * .blockchainOnrampTransferInstruction() * .cardAuthorization() * .cardPushTransferInstruction() @@ -1480,9 +1451,6 @@ private constructor( private var blockchainOfframpTransferInstruction: JsonField? = null - private var blockchainOfframpTransferIntention: - JsonField? = - null private var blockchainOnrampTransferInstruction: JsonField? = null @@ -1508,7 +1476,6 @@ private constructor( accountTransferInstruction = source.accountTransferInstruction achTransferInstruction = source.achTransferInstruction blockchainOfframpTransferInstruction = source.blockchainOfframpTransferInstruction - blockchainOfframpTransferIntention = source.blockchainOfframpTransferIntention blockchainOnrampTransferInstruction = source.blockchainOnrampTransferInstruction cardAuthorization = source.cardAuthorization cardPushTransferInstruction = source.cardPushTransferInstruction @@ -1616,39 +1583,6 @@ private constructor( 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 - * `blockchain_offramp_transfer_intention`. - */ - fun blockchainOfframpTransferIntention( - blockchainOfframpTransferIntention: BlockchainOfframpTransferIntention? - ) = - blockchainOfframpTransferIntention( - JsonField.ofNullable(blockchainOfframpTransferIntention) - ) - - /** - * Alias for calling [Builder.blockchainOfframpTransferIntention] with - * `blockchainOfframpTransferIntention.orElse(null)`. - */ - fun blockchainOfframpTransferIntention( - blockchainOfframpTransferIntention: Optional - ) = blockchainOfframpTransferIntention(blockchainOfframpTransferIntention.getOrNull()) - - /** - * Sets [Builder.blockchainOfframpTransferIntention] to an arbitrary JSON value. - * - * You should usually call [Builder.blockchainOfframpTransferIntention] with a - * well-typed [BlockchainOfframpTransferIntention] value instead. This method is - * primarily for setting the field to an undocumented or not yet supported value. - */ - fun blockchainOfframpTransferIntention( - blockchainOfframpTransferIntention: JsonField - ) = apply { - this.blockchainOfframpTransferIntention = blockchainOfframpTransferIntention - } - /** * A Blockchain On-Ramp Transfer Instruction object. This field will be present in the * JSON response if and only if `category` is equal to @@ -2040,7 +1974,6 @@ private constructor( * .accountTransferInstruction() * .achTransferInstruction() * .blockchainOfframpTransferInstruction() - * .blockchainOfframpTransferIntention() * .blockchainOnrampTransferInstruction() * .cardAuthorization() * .cardPushTransferInstruction() @@ -2067,10 +2000,6 @@ private constructor( "blockchainOfframpTransferInstruction", blockchainOfframpTransferInstruction, ), - checkRequired( - "blockchainOfframpTransferIntention", - blockchainOfframpTransferIntention, - ), checkRequired( "blockchainOnrampTransferInstruction", blockchainOnrampTransferInstruction, @@ -2105,7 +2034,6 @@ 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() } cardPushTransferInstruction().ifPresent { it.validate() } @@ -2142,7 +2070,6 @@ private constructor( (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) + (cardPushTransferInstruction.asKnown().getOrNull()?.validity() ?: 0) + @@ -3010,239 +2937,6 @@ private constructor( "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`. - */ - class BlockchainOfframpTransferIntention - @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 - * [BlockchainOfframpTransferIntention]. - * - * The following fields are required: - * ```java - * .sourceBlockchainAddressId() - * .transferId() - * ``` - */ - @JvmStatic fun builder() = Builder() - } - - /** A builder for [BlockchainOfframpTransferIntention]. */ - class Builder internal constructor() { - - private var sourceBlockchainAddressId: JsonField? = null - private var transferId: JsonField? = null - private var additionalProperties: MutableMap = mutableMapOf() - - @JvmSynthetic - internal fun from( - blockchainOfframpTransferIntention: BlockchainOfframpTransferIntention - ) = apply { - sourceBlockchainAddressId = - blockchainOfframpTransferIntention.sourceBlockchainAddressId - transferId = blockchainOfframpTransferIntention.transferId - additionalProperties = - blockchainOfframpTransferIntention.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 [BlockchainOfframpTransferIntention]. - * - * 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(): BlockchainOfframpTransferIntention = - BlockchainOfframpTransferIntention( - checkRequired("sourceBlockchainAddressId", sourceBlockchainAddressId), - checkRequired("transferId", transferId), - additionalProperties.toMutableMap(), - ) - } - - private var validated: Boolean = false - - fun validate(): BlockchainOfframpTransferIntention = 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 BlockchainOfframpTransferIntention && - 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() = - "BlockchainOfframpTransferIntention{sourceBlockchainAddressId=$sourceBlockchainAddressId, transferId=$transferId, additionalProperties=$additionalProperties}" - } - /** * A Blockchain On-Ramp Transfer Instruction object. This field will be present in the JSON * response if and only if `category` is equal to `blockchain_onramp_transfer_instruction`. @@ -12781,14 +12475,6 @@ private constructor( 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. - */ - @JvmField - val BLOCKCHAIN_OFFRAMP_TRANSFER_INTENTION = - of("blockchain_offramp_transfer_intention") - /** The Pending Transaction was made for an undocumented or deprecated reason. */ @JvmField val OTHER = of("other") @@ -12863,11 +12549,6 @@ private constructor( * `blockchain_offramp_transfer_instruction` object. */ BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION, - /** - * Blockchain Off-Ramp Transfer Intention: details will be under the - * `blockchain_offramp_transfer_intention` object. - */ - BLOCKCHAIN_OFFRAMP_TRANSFER_INTENTION, /** The Pending Transaction was made for an undocumented or deprecated reason. */ OTHER, } @@ -12948,11 +12629,6 @@ private constructor( * `blockchain_offramp_transfer_instruction` object. */ BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION, - /** - * Blockchain Off-Ramp Transfer Intention: details will be under the - * `blockchain_offramp_transfer_intention` object. - */ - BLOCKCHAIN_OFFRAMP_TRANSFER_INTENTION, /** The Pending Transaction was made for an undocumented or deprecated reason. */ OTHER, /** @@ -12988,8 +12664,6 @@ private constructor( 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 else -> Value._UNKNOWN } @@ -13023,8 +12697,6 @@ private constructor( 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 else -> throw IncreaseInvalidDataException("Unknown Category: $value") } @@ -16349,7 +16021,6 @@ private constructor( achTransferInstruction == other.achTransferInstruction && blockchainOfframpTransferInstruction == other.blockchainOfframpTransferInstruction && - blockchainOfframpTransferIntention == other.blockchainOfframpTransferIntention && blockchainOnrampTransferInstruction == other.blockchainOnrampTransferInstruction && cardAuthorization == other.cardAuthorization && cardPushTransferInstruction == other.cardPushTransferInstruction && @@ -16372,7 +16043,6 @@ private constructor( accountTransferInstruction, achTransferInstruction, blockchainOfframpTransferInstruction, - blockchainOfframpTransferIntention, blockchainOnrampTransferInstruction, cardAuthorization, cardPushTransferInstruction, @@ -16394,7 +16064,7 @@ private constructor( override fun hashCode(): Int = hashCode override fun toString() = - "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}" + "Source{accountTransferInstruction=$accountTransferInstruction, achTransferInstruction=$achTransferInstruction, blockchainOfframpTransferInstruction=$blockchainOfframpTransferInstruction, 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 f98fd321b..773ad9666 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 @@ -521,14 +521,6 @@ private constructor( 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. - */ - @JvmField - val BLOCKCHAIN_OFFRAMP_TRANSFER_INTENTION = - of("blockchain_offramp_transfer_intention") - /** The Pending Transaction was made for an undocumented or deprecated reason. */ @JvmField val OTHER = of("other") @@ -603,11 +595,6 @@ private constructor( * `blockchain_offramp_transfer_instruction` object. */ BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION, - /** - * Blockchain Off-Ramp Transfer Intention: details will be under the - * `blockchain_offramp_transfer_intention` object. - */ - BLOCKCHAIN_OFFRAMP_TRANSFER_INTENTION, /** The Pending Transaction was made for an undocumented or deprecated reason. */ OTHER, } @@ -688,11 +675,6 @@ private constructor( * `blockchain_offramp_transfer_instruction` object. */ BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION, - /** - * Blockchain Off-Ramp Transfer Intention: details will be under the - * `blockchain_offramp_transfer_intention` object. - */ - BLOCKCHAIN_OFFRAMP_TRANSFER_INTENTION, /** The Pending Transaction was made for an undocumented or deprecated reason. */ OTHER, /** An enum member indicating that [In] was instantiated with an unknown value. */ @@ -726,8 +708,6 @@ private constructor( 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 else -> Value._UNKNOWN } @@ -761,8 +741,6 @@ private constructor( 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 else -> throw IncreaseInvalidDataException("Unknown In: $value") } 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 38cea9a68..aabadb139 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 @@ -57,17 +57,6 @@ internal class PendingTransactionListPageResponseTest { ) .build() ) - .blockchainOfframpTransferIntention( - PendingTransaction.Source.BlockchainOfframpTransferIntention - .builder() - .sourceBlockchainAddressId( - "blockchain_address_tijjpqp9t5d358ehydqi" - ) - .transferId( - "blockchain_offramp_transfer_sqd2x3ti6u2sy91v696m" - ) - .build() - ) .blockchainOnrampTransferInstruction( PendingTransaction.Source.BlockchainOnrampTransferInstruction .builder() @@ -471,15 +460,6 @@ internal class PendingTransactionListPageResponseTest { .transferId("blockchain_offramp_transfer_sqd2x3ti6u2sy91v696m") .build() ) - .blockchainOfframpTransferIntention( - PendingTransaction.Source.BlockchainOfframpTransferIntention - .builder() - .sourceBlockchainAddressId( - "blockchain_address_tijjpqp9t5d358ehydqi" - ) - .transferId("blockchain_offramp_transfer_sqd2x3ti6u2sy91v696m") - .build() - ) .blockchainOnrampTransferInstruction( PendingTransaction.Source.BlockchainOnrampTransferInstruction .builder() @@ -872,17 +852,6 @@ internal class PendingTransactionListPageResponseTest { ) .build() ) - .blockchainOfframpTransferIntention( - PendingTransaction.Source.BlockchainOfframpTransferIntention - .builder() - .sourceBlockchainAddressId( - "blockchain_address_tijjpqp9t5d358ehydqi" - ) - .transferId( - "blockchain_offramp_transfer_sqd2x3ti6u2sy91v696m" - ) - .build() - ) .blockchainOnrampTransferInstruction( PendingTransaction.Source.BlockchainOnrampTransferInstruction .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 4feaf6d8c..97d18b050 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 @@ -51,14 +51,6 @@ internal class PendingTransactionTest { .transferId("blockchain_offramp_transfer_sqd2x3ti6u2sy91v696m") .build() ) - .blockchainOfframpTransferIntention( - PendingTransaction.Source.BlockchainOfframpTransferIntention.builder() - .sourceBlockchainAddressId( - "blockchain_address_tijjpqp9t5d358ehydqi" - ) - .transferId("blockchain_offramp_transfer_sqd2x3ti6u2sy91v696m") - .build() - ) .blockchainOnrampTransferInstruction( PendingTransaction.Source.BlockchainOnrampTransferInstruction.builder() .amount(10000L) @@ -416,12 +408,6 @@ internal class PendingTransactionTest { .transferId("blockchain_offramp_transfer_sqd2x3ti6u2sy91v696m") .build() ) - .blockchainOfframpTransferIntention( - PendingTransaction.Source.BlockchainOfframpTransferIntention.builder() - .sourceBlockchainAddressId("blockchain_address_tijjpqp9t5d358ehydqi") - .transferId("blockchain_offramp_transfer_sqd2x3ti6u2sy91v696m") - .build() - ) .blockchainOnrampTransferInstruction( PendingTransaction.Source.BlockchainOnrampTransferInstruction.builder() .amount(10000L) @@ -774,14 +760,6 @@ internal class PendingTransactionTest { .transferId("blockchain_offramp_transfer_sqd2x3ti6u2sy91v696m") .build() ) - .blockchainOfframpTransferIntention( - PendingTransaction.Source.BlockchainOfframpTransferIntention.builder() - .sourceBlockchainAddressId( - "blockchain_address_tijjpqp9t5d358ehydqi" - ) - .transferId("blockchain_offramp_transfer_sqd2x3ti6u2sy91v696m") - .build() - ) .blockchainOnrampTransferInstruction( PendingTransaction.Source.BlockchainOnrampTransferInstruction.builder() .amount(10000L) 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 b198e86c1..ef9b3ec3d 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 @@ -425,17 +425,6 @@ internal class CardAuthorizationCreateResponseTest { ) .build() ) - .blockchainOfframpTransferIntention( - PendingTransaction.Source.BlockchainOfframpTransferIntention - .builder() - .sourceBlockchainAddressId( - "blockchain_address_tijjpqp9t5d358ehydqi" - ) - .transferId( - "blockchain_offramp_transfer_sqd2x3ti6u2sy91v696m" - ) - .build() - ) .blockchainOnrampTransferInstruction( PendingTransaction.Source.BlockchainOnrampTransferInstruction .builder() @@ -1194,15 +1183,6 @@ internal class CardAuthorizationCreateResponseTest { .transferId("blockchain_offramp_transfer_sqd2x3ti6u2sy91v696m") .build() ) - .blockchainOfframpTransferIntention( - PendingTransaction.Source.BlockchainOfframpTransferIntention - .builder() - .sourceBlockchainAddressId( - "blockchain_address_tijjpqp9t5d358ehydqi" - ) - .transferId("blockchain_offramp_transfer_sqd2x3ti6u2sy91v696m") - .build() - ) .blockchainOnrampTransferInstruction( PendingTransaction.Source.BlockchainOnrampTransferInstruction .builder() @@ -1964,17 +1944,6 @@ internal class CardAuthorizationCreateResponseTest { ) .build() ) - .blockchainOfframpTransferIntention( - PendingTransaction.Source.BlockchainOfframpTransferIntention - .builder() - .sourceBlockchainAddressId( - "blockchain_address_tijjpqp9t5d358ehydqi" - ) - .transferId( - "blockchain_offramp_transfer_sqd2x3ti6u2sy91v696m" - ) - .build() - ) .blockchainOnrampTransferInstruction( PendingTransaction.Source.BlockchainOnrampTransferInstruction .builder()