diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 87081a10a..529f1380a 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.300.0" + ".": "0.301.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index d35c27b7d..a52464a81 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 216 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-b6c7f7c551cd8635ddf3fa27eb1040a4e3888c8190326472c19fd919a5e2c8c5.yml -openapi_spec_hash: 287cbadcab1cec9f352da22a4e39c160 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-f848edf1a38bbdc834fb3855aaf2eaeb77711e36e9a560cadfeb49428b4ac3de.yml +openapi_spec_hash: 52e32b8e609fa290c285bbd44f8bc74a config_hash: 632b628b59d8f0b717153b3d8133f6cb diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d6016266..e2f2e31c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.301.0 (2025-08-27) + +Full Changelog: [v0.300.0...v0.301.0](https://github.com/Increase/increase-java/compare/v0.300.0...v0.301.0) + +### Features + +* **api:** api update ([ac9a860](https://github.com/Increase/increase-java/commit/ac9a86044fc461e406cae3bcf6bebb3bcdc6d6ca)) + ## 0.300.0 (2025-08-26) Full Changelog: [v0.299.0...v0.300.0](https://github.com/Increase/increase-java/compare/v0.299.0...v0.300.0) diff --git a/README.md b/README.md index 18e23f7dc..69033bf92 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.300.0) -[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.300.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.300.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.301.0) +[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.301.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.301.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.300.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.301.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.300.0") +implementation("com.increase.api:increase-java:0.301.0") ``` ### Maven @@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.300.0") com.increase.api increase-java - 0.300.0 + 0.301.0 ``` diff --git a/build.gradle.kts b/build.gradle.kts index 146501e69..a00e8610a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ repositories { allprojects { group = "com.increase.api" - version = "0.300.0" // x-release-please-version + version = "0.301.0" // x-release-please-version } subprojects { diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/achtransfers/AchTransfer.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/achtransfers/AchTransfer.kt index 648ec48a5..97ba89643 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/achtransfers/AchTransfer.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/achtransfers/AchTransfer.kt @@ -5046,7 +5046,6 @@ private constructor( */ class InboundFundsHold private constructor( - private val id: JsonField, private val amount: JsonField, private val automaticallyReleasesAt: JsonField, private val createdAt: JsonField, @@ -5061,7 +5060,6 @@ private constructor( @JsonCreator private constructor( - @JsonProperty("id") @ExcludeMissing id: JsonField = JsonMissing.of(), @JsonProperty("amount") @ExcludeMissing amount: JsonField = JsonMissing.of(), @JsonProperty("automatically_releases_at") @ExcludeMissing @@ -5084,7 +5082,6 @@ private constructor( @JsonProperty("status") @ExcludeMissing status: JsonField = JsonMissing.of(), @JsonProperty("type") @ExcludeMissing type: JsonField = JsonMissing.of(), ) : this( - id, amount, automaticallyReleasesAt, createdAt, @@ -5097,14 +5094,6 @@ private constructor( mutableMapOf(), ) - /** - * The Inbound Funds Hold identifier. - * - * @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 id(): String = id.getRequired("id") - /** * The held amount in the minor unit of the account's currency. For dollars, for example, * this is cents. @@ -5184,13 +5173,6 @@ private constructor( */ fun type(): Type = type.getRequired("type") - /** - * Returns the raw JSON value of [id]. - * - * Unlike [id], this method doesn't throw if the JSON field has an unexpected type. - */ - @JsonProperty("id") @ExcludeMissing fun _id(): JsonField = id - /** * Returns the raw JSON value of [amount]. * @@ -5286,7 +5268,6 @@ private constructor( * * The following fields are required: * ```java - * .id() * .amount() * .automaticallyReleasesAt() * .createdAt() @@ -5304,7 +5285,6 @@ private constructor( /** A builder for [InboundFundsHold]. */ class Builder internal constructor() { - private var id: JsonField? = null private var amount: JsonField? = null private var automaticallyReleasesAt: JsonField? = null private var createdAt: JsonField? = null @@ -5318,7 +5298,6 @@ private constructor( @JvmSynthetic internal fun from(inboundFundsHold: InboundFundsHold) = apply { - id = inboundFundsHold.id amount = inboundFundsHold.amount automaticallyReleasesAt = inboundFundsHold.automaticallyReleasesAt createdAt = inboundFundsHold.createdAt @@ -5331,18 +5310,6 @@ private constructor( additionalProperties = inboundFundsHold.additionalProperties.toMutableMap() } - /** The Inbound Funds Hold identifier. */ - fun id(id: String) = id(JsonField.of(id)) - - /** - * Sets [Builder.id] to an arbitrary JSON value. - * - * You should usually call [Builder.id] with a well-typed [String] value instead. This - * method is primarily for setting the field to an undocumented or not yet supported - * value. - */ - fun id(id: JsonField) = apply { this.id = id } - /** * The held amount in the minor unit of the account's currency. For dollars, for * example, this is cents. @@ -5523,7 +5490,6 @@ private constructor( * * The following fields are required: * ```java - * .id() * .amount() * .automaticallyReleasesAt() * .createdAt() @@ -5539,7 +5505,6 @@ private constructor( */ fun build(): InboundFundsHold = InboundFundsHold( - checkRequired("id", id), checkRequired("amount", amount), checkRequired("automaticallyReleasesAt", automaticallyReleasesAt), checkRequired("createdAt", createdAt), @@ -5560,7 +5525,6 @@ private constructor( return@apply } - id() amount() automaticallyReleasesAt() createdAt() @@ -5589,8 +5553,7 @@ private constructor( */ @JvmSynthetic internal fun validity(): Int = - (if (id.asKnown().isPresent) 1 else 0) + - (if (amount.asKnown().isPresent) 1 else 0) + + (if (amount.asKnown().isPresent) 1 else 0) + (if (automaticallyReleasesAt.asKnown().isPresent) 1 else 0) + (if (createdAt.asKnown().isPresent) 1 else 0) + (currency.asKnown().getOrNull()?.validity() ?: 0) + @@ -6040,7 +6003,6 @@ private constructor( } return other is InboundFundsHold && - id == other.id && amount == other.amount && automaticallyReleasesAt == other.automaticallyReleasesAt && createdAt == other.createdAt && @@ -6055,7 +6017,6 @@ private constructor( private val hashCode: Int by lazy { Objects.hash( - id, amount, automaticallyReleasesAt, createdAt, @@ -6072,7 +6033,7 @@ private constructor( override fun hashCode(): Int = hashCode override fun toString() = - "InboundFundsHold{id=$id, amount=$amount, automaticallyReleasesAt=$automaticallyReleasesAt, createdAt=$createdAt, currency=$currency, heldTransactionId=$heldTransactionId, pendingTransactionId=$pendingTransactionId, releasedAt=$releasedAt, status=$status, type=$type, additionalProperties=$additionalProperties}" + "InboundFundsHold{amount=$amount, automaticallyReleasesAt=$automaticallyReleasesAt, createdAt=$createdAt, currency=$currency, heldTransactionId=$heldTransactionId, pendingTransactionId=$pendingTransactionId, releasedAt=$releasedAt, status=$status, type=$type, additionalProperties=$additionalProperties}" } /** The transfer's network. */ diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/checkdeposits/CheckDeposit.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/checkdeposits/CheckDeposit.kt index 9a56ca39f..8bbc9672a 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/checkdeposits/CheckDeposit.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/checkdeposits/CheckDeposit.kt @@ -3627,7 +3627,6 @@ private constructor( */ class InboundFundsHold private constructor( - private val id: JsonField, private val amount: JsonField, private val automaticallyReleasesAt: JsonField, private val createdAt: JsonField, @@ -3642,7 +3641,6 @@ private constructor( @JsonCreator private constructor( - @JsonProperty("id") @ExcludeMissing id: JsonField = JsonMissing.of(), @JsonProperty("amount") @ExcludeMissing amount: JsonField = JsonMissing.of(), @JsonProperty("automatically_releases_at") @ExcludeMissing @@ -3665,7 +3663,6 @@ private constructor( @JsonProperty("status") @ExcludeMissing status: JsonField = JsonMissing.of(), @JsonProperty("type") @ExcludeMissing type: JsonField = JsonMissing.of(), ) : this( - id, amount, automaticallyReleasesAt, createdAt, @@ -3678,14 +3675,6 @@ private constructor( mutableMapOf(), ) - /** - * The Inbound Funds Hold identifier. - * - * @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 id(): String = id.getRequired("id") - /** * The held amount in the minor unit of the account's currency. For dollars, for example, * this is cents. @@ -3765,13 +3754,6 @@ private constructor( */ fun type(): Type = type.getRequired("type") - /** - * Returns the raw JSON value of [id]. - * - * Unlike [id], this method doesn't throw if the JSON field has an unexpected type. - */ - @JsonProperty("id") @ExcludeMissing fun _id(): JsonField = id - /** * Returns the raw JSON value of [amount]. * @@ -3867,7 +3849,6 @@ private constructor( * * The following fields are required: * ```java - * .id() * .amount() * .automaticallyReleasesAt() * .createdAt() @@ -3885,7 +3866,6 @@ private constructor( /** A builder for [InboundFundsHold]. */ class Builder internal constructor() { - private var id: JsonField? = null private var amount: JsonField? = null private var automaticallyReleasesAt: JsonField? = null private var createdAt: JsonField? = null @@ -3899,7 +3879,6 @@ private constructor( @JvmSynthetic internal fun from(inboundFundsHold: InboundFundsHold) = apply { - id = inboundFundsHold.id amount = inboundFundsHold.amount automaticallyReleasesAt = inboundFundsHold.automaticallyReleasesAt createdAt = inboundFundsHold.createdAt @@ -3912,18 +3891,6 @@ private constructor( additionalProperties = inboundFundsHold.additionalProperties.toMutableMap() } - /** The Inbound Funds Hold identifier. */ - fun id(id: String) = id(JsonField.of(id)) - - /** - * Sets [Builder.id] to an arbitrary JSON value. - * - * You should usually call [Builder.id] with a well-typed [String] value instead. This - * method is primarily for setting the field to an undocumented or not yet supported - * value. - */ - fun id(id: JsonField) = apply { this.id = id } - /** * The held amount in the minor unit of the account's currency. For dollars, for * example, this is cents. @@ -4104,7 +4071,6 @@ private constructor( * * The following fields are required: * ```java - * .id() * .amount() * .automaticallyReleasesAt() * .createdAt() @@ -4120,7 +4086,6 @@ private constructor( */ fun build(): InboundFundsHold = InboundFundsHold( - checkRequired("id", id), checkRequired("amount", amount), checkRequired("automaticallyReleasesAt", automaticallyReleasesAt), checkRequired("createdAt", createdAt), @@ -4141,7 +4106,6 @@ private constructor( return@apply } - id() amount() automaticallyReleasesAt() createdAt() @@ -4170,8 +4134,7 @@ private constructor( */ @JvmSynthetic internal fun validity(): Int = - (if (id.asKnown().isPresent) 1 else 0) + - (if (amount.asKnown().isPresent) 1 else 0) + + (if (amount.asKnown().isPresent) 1 else 0) + (if (automaticallyReleasesAt.asKnown().isPresent) 1 else 0) + (if (createdAt.asKnown().isPresent) 1 else 0) + (currency.asKnown().getOrNull()?.validity() ?: 0) + @@ -4621,7 +4584,6 @@ private constructor( } return other is InboundFundsHold && - id == other.id && amount == other.amount && automaticallyReleasesAt == other.automaticallyReleasesAt && createdAt == other.createdAt && @@ -4636,7 +4598,6 @@ private constructor( private val hashCode: Int by lazy { Objects.hash( - id, amount, automaticallyReleasesAt, createdAt, @@ -4653,7 +4614,7 @@ private constructor( override fun hashCode(): Int = hashCode override fun toString() = - "InboundFundsHold{id=$id, amount=$amount, automaticallyReleasesAt=$automaticallyReleasesAt, createdAt=$createdAt, currency=$currency, heldTransactionId=$heldTransactionId, pendingTransactionId=$pendingTransactionId, releasedAt=$releasedAt, status=$status, type=$type, additionalProperties=$additionalProperties}" + "InboundFundsHold{amount=$amount, automaticallyReleasesAt=$automaticallyReleasesAt, createdAt=$createdAt, currency=$currency, heldTransactionId=$heldTransactionId, pendingTransactionId=$pendingTransactionId, releasedAt=$releasedAt, status=$status, type=$type, additionalProperties=$additionalProperties}" } /** The status of the Check Deposit. */ 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 26f5f518f..d2f44d6cb 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 @@ -12217,7 +12217,6 @@ private constructor( */ class InboundFundsHold private constructor( - private val id: JsonField, private val amount: JsonField, private val automaticallyReleasesAt: JsonField, private val createdAt: JsonField, @@ -12232,7 +12231,6 @@ private constructor( @JsonCreator private constructor( - @JsonProperty("id") @ExcludeMissing id: JsonField = JsonMissing.of(), @JsonProperty("amount") @ExcludeMissing amount: JsonField = JsonMissing.of(), @JsonProperty("automatically_releases_at") @ExcludeMissing @@ -12257,7 +12255,6 @@ private constructor( status: JsonField = JsonMissing.of(), @JsonProperty("type") @ExcludeMissing type: JsonField = JsonMissing.of(), ) : this( - id, amount, automaticallyReleasesAt, createdAt, @@ -12270,15 +12267,6 @@ private constructor( mutableMapOf(), ) - /** - * The Inbound Funds Hold identifier. - * - * @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 id(): String = id.getRequired("id") - /** * The held amount in the minor unit of the account's currency. For dollars, for * example, this is cents. @@ -12364,13 +12352,6 @@ private constructor( */ fun type(): Type = type.getRequired("type") - /** - * Returns the raw JSON value of [id]. - * - * Unlike [id], this method doesn't throw if the JSON field has an unexpected type. - */ - @JsonProperty("id") @ExcludeMissing fun _id(): JsonField = id - /** * Returns the raw JSON value of [amount]. * @@ -12471,7 +12452,6 @@ private constructor( * * The following fields are required: * ```java - * .id() * .amount() * .automaticallyReleasesAt() * .createdAt() @@ -12489,7 +12469,6 @@ private constructor( /** A builder for [InboundFundsHold]. */ class Builder internal constructor() { - private var id: JsonField? = null private var amount: JsonField? = null private var automaticallyReleasesAt: JsonField? = null private var createdAt: JsonField? = null @@ -12503,7 +12482,6 @@ private constructor( @JvmSynthetic internal fun from(inboundFundsHold: InboundFundsHold) = apply { - id = inboundFundsHold.id amount = inboundFundsHold.amount automaticallyReleasesAt = inboundFundsHold.automaticallyReleasesAt createdAt = inboundFundsHold.createdAt @@ -12516,18 +12494,6 @@ private constructor( additionalProperties = inboundFundsHold.additionalProperties.toMutableMap() } - /** The Inbound Funds Hold identifier. */ - fun id(id: String) = id(JsonField.of(id)) - - /** - * Sets [Builder.id] to an arbitrary JSON value. - * - * You should usually call [Builder.id] with a well-typed [String] value instead. - * This method is primarily for setting the field to an undocumented or not yet - * supported value. - */ - fun id(id: JsonField) = apply { this.id = id } - /** * The held amount in the minor unit of the account's currency. For dollars, for * example, this is cents. @@ -12713,7 +12679,6 @@ private constructor( * * The following fields are required: * ```java - * .id() * .amount() * .automaticallyReleasesAt() * .createdAt() @@ -12729,7 +12694,6 @@ private constructor( */ fun build(): InboundFundsHold = InboundFundsHold( - checkRequired("id", id), checkRequired("amount", amount), checkRequired("automaticallyReleasesAt", automaticallyReleasesAt), checkRequired("createdAt", createdAt), @@ -12750,7 +12714,6 @@ private constructor( return@apply } - id() amount() automaticallyReleasesAt() createdAt() @@ -12779,8 +12742,7 @@ private constructor( */ @JvmSynthetic internal fun validity(): Int = - (if (id.asKnown().isPresent) 1 else 0) + - (if (amount.asKnown().isPresent) 1 else 0) + + (if (amount.asKnown().isPresent) 1 else 0) + (if (automaticallyReleasesAt.asKnown().isPresent) 1 else 0) + (if (createdAt.asKnown().isPresent) 1 else 0) + (currency.asKnown().getOrNull()?.validity() ?: 0) + @@ -13238,7 +13200,6 @@ private constructor( } return other is InboundFundsHold && - id == other.id && amount == other.amount && automaticallyReleasesAt == other.automaticallyReleasesAt && createdAt == other.createdAt && @@ -13253,7 +13214,6 @@ private constructor( private val hashCode: Int by lazy { Objects.hash( - id, amount, automaticallyReleasesAt, createdAt, @@ -13270,7 +13230,7 @@ private constructor( override fun hashCode(): Int = hashCode override fun toString() = - "InboundFundsHold{id=$id, amount=$amount, automaticallyReleasesAt=$automaticallyReleasesAt, createdAt=$createdAt, currency=$currency, heldTransactionId=$heldTransactionId, pendingTransactionId=$pendingTransactionId, releasedAt=$releasedAt, status=$status, type=$type, additionalProperties=$additionalProperties}" + "InboundFundsHold{amount=$amount, automaticallyReleasesAt=$automaticallyReleasesAt, createdAt=$createdAt, currency=$currency, heldTransactionId=$heldTransactionId, pendingTransactionId=$pendingTransactionId, releasedAt=$releasedAt, status=$status, type=$type, additionalProperties=$additionalProperties}" } /** diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/achtransfers/AchTransferListPageResponseTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/achtransfers/AchTransferListPageResponseTest.kt index 220ebda5c..aeb7029e3 100644 --- a/increase-java-core/src/test/kotlin/com/increase/api/models/achtransfers/AchTransferListPageResponseTest.kt +++ b/increase-java-core/src/test/kotlin/com/increase/api/models/achtransfers/AchTransferListPageResponseTest.kt @@ -98,7 +98,6 @@ internal class AchTransferListPageResponseTest { .idempotencyKey(null) .inboundFundsHold( AchTransfer.InboundFundsHold.builder() - .id("id") .amount(0L) .automaticallyReleasesAt( OffsetDateTime.parse("2019-12-27T18:11:19.117Z") @@ -261,7 +260,6 @@ internal class AchTransferListPageResponseTest { .idempotencyKey(null) .inboundFundsHold( AchTransfer.InboundFundsHold.builder() - .id("id") .amount(0L) .automaticallyReleasesAt( OffsetDateTime.parse("2019-12-27T18:11:19.117Z") @@ -424,7 +422,6 @@ internal class AchTransferListPageResponseTest { .idempotencyKey(null) .inboundFundsHold( AchTransfer.InboundFundsHold.builder() - .id("id") .amount(0L) .automaticallyReleasesAt( OffsetDateTime.parse("2019-12-27T18:11:19.117Z") diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/achtransfers/AchTransferTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/achtransfers/AchTransferTest.kt index dd4f0c302..184e842dc 100644 --- a/increase-java-core/src/test/kotlin/com/increase/api/models/achtransfers/AchTransferTest.kt +++ b/increase-java-core/src/test/kotlin/com/increase/api/models/achtransfers/AchTransferTest.kt @@ -90,7 +90,6 @@ internal class AchTransferTest { .idempotencyKey(null) .inboundFundsHold( AchTransfer.InboundFundsHold.builder() - .id("id") .amount(0L) .automaticallyReleasesAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) .createdAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) @@ -235,7 +234,6 @@ internal class AchTransferTest { assertThat(achTransfer.inboundFundsHold()) .contains( AchTransfer.InboundFundsHold.builder() - .id("id") .amount(0L) .automaticallyReleasesAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) .createdAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) @@ -388,7 +386,6 @@ internal class AchTransferTest { .idempotencyKey(null) .inboundFundsHold( AchTransfer.InboundFundsHold.builder() - .id("id") .amount(0L) .automaticallyReleasesAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) .createdAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/checkdeposits/CheckDepositListPageResponseTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/checkdeposits/CheckDepositListPageResponseTest.kt index 5609c4e1f..bddc26168 100644 --- a/increase-java-core/src/test/kotlin/com/increase/api/models/checkdeposits/CheckDepositListPageResponseTest.kt +++ b/increase-java-core/src/test/kotlin/com/increase/api/models/checkdeposits/CheckDepositListPageResponseTest.kt @@ -67,7 +67,6 @@ internal class CheckDepositListPageResponseTest { .idempotencyKey(null) .inboundFundsHold( CheckDeposit.InboundFundsHold.builder() - .id("id") .amount(0L) .automaticallyReleasesAt( OffsetDateTime.parse("2019-12-27T18:11:19.117Z") @@ -144,7 +143,6 @@ internal class CheckDepositListPageResponseTest { .idempotencyKey(null) .inboundFundsHold( CheckDeposit.InboundFundsHold.builder() - .id("id") .amount(0L) .automaticallyReleasesAt( OffsetDateTime.parse("2019-12-27T18:11:19.117Z") @@ -226,7 +224,6 @@ internal class CheckDepositListPageResponseTest { .idempotencyKey(null) .inboundFundsHold( CheckDeposit.InboundFundsHold.builder() - .id("id") .amount(0L) .automaticallyReleasesAt( OffsetDateTime.parse("2019-12-27T18:11:19.117Z") diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/checkdeposits/CheckDepositTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/checkdeposits/CheckDepositTest.kt index d13f638b3..8b1f4a3fa 100644 --- a/increase-java-core/src/test/kotlin/com/increase/api/models/checkdeposits/CheckDepositTest.kt +++ b/increase-java-core/src/test/kotlin/com/increase/api/models/checkdeposits/CheckDepositTest.kt @@ -64,7 +64,6 @@ internal class CheckDepositTest { .idempotencyKey(null) .inboundFundsHold( CheckDeposit.InboundFundsHold.builder() - .id("id") .amount(0L) .automaticallyReleasesAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) .createdAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) @@ -138,7 +137,6 @@ internal class CheckDepositTest { assertThat(checkDeposit.inboundFundsHold()) .contains( CheckDeposit.InboundFundsHold.builder() - .id("id") .amount(0L) .automaticallyReleasesAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) .createdAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) @@ -212,7 +210,6 @@ internal class CheckDepositTest { .idempotencyKey(null) .inboundFundsHold( CheckDeposit.InboundFundsHold.builder() - .id("id") .amount(0L) .automaticallyReleasesAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) .createdAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) 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 2308c6172..21a944748 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 @@ -297,7 +297,6 @@ internal class PendingTransactionListPageResponseTest { ) .inboundFundsHold( PendingTransaction.Source.InboundFundsHold.builder() - .id("inbound_funds_hold_9vuasmywdo7xb3zt4071") .amount(100L) .automaticallyReleasesAt( OffsetDateTime.parse("2020-01-31T23:59:59Z") @@ -633,7 +632,6 @@ internal class PendingTransactionListPageResponseTest { ) .inboundFundsHold( PendingTransaction.Source.InboundFundsHold.builder() - .id("inbound_funds_hold_9vuasmywdo7xb3zt4071") .amount(100L) .automaticallyReleasesAt( OffsetDateTime.parse("2020-01-31T23:59:59Z") @@ -980,7 +978,6 @@ internal class PendingTransactionListPageResponseTest { ) .inboundFundsHold( PendingTransaction.Source.InboundFundsHold.builder() - .id("inbound_funds_hold_9vuasmywdo7xb3zt4071") .amount(100L) .automaticallyReleasesAt( OffsetDateTime.parse("2020-01-31T23:59:59Z") 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 fb9156100..133f9b780 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 @@ -272,7 +272,6 @@ internal class PendingTransactionTest { ) .inboundFundsHold( PendingTransaction.Source.InboundFundsHold.builder() - .id("inbound_funds_hold_9vuasmywdo7xb3zt4071") .amount(100L) .automaticallyReleasesAt( OffsetDateTime.parse("2020-01-31T23:59:59Z") @@ -574,7 +573,6 @@ internal class PendingTransactionTest { ) .inboundFundsHold( PendingTransaction.Source.InboundFundsHold.builder() - .id("inbound_funds_hold_9vuasmywdo7xb3zt4071") .amount(100L) .automaticallyReleasesAt(OffsetDateTime.parse("2020-01-31T23:59:59Z")) .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z")) @@ -883,7 +881,6 @@ internal class PendingTransactionTest { ) .inboundFundsHold( PendingTransaction.Source.InboundFundsHold.builder() - .id("inbound_funds_hold_9vuasmywdo7xb3zt4071") .amount(100L) .automaticallyReleasesAt( OffsetDateTime.parse("2020-01-31T23:59:59Z") 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 08095ca78..d3738ff48 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 @@ -625,7 +625,6 @@ internal class CardAuthorizationCreateResponseTest { ) .inboundFundsHold( PendingTransaction.Source.InboundFundsHold.builder() - .id("inbound_funds_hold_9vuasmywdo7xb3zt4071") .amount(100L) .automaticallyReleasesAt( OffsetDateTime.parse("2020-01-31T23:59:59Z") @@ -1282,7 +1281,6 @@ internal class CardAuthorizationCreateResponseTest { ) .inboundFundsHold( PendingTransaction.Source.InboundFundsHold.builder() - .id("inbound_funds_hold_9vuasmywdo7xb3zt4071") .amount(100L) .automaticallyReleasesAt( OffsetDateTime.parse("2020-01-31T23:59:59Z") @@ -1958,7 +1956,6 @@ internal class CardAuthorizationCreateResponseTest { ) .inboundFundsHold( PendingTransaction.Source.InboundFundsHold.builder() - .id("inbound_funds_hold_9vuasmywdo7xb3zt4071") .amount(100L) .automaticallyReleasesAt( OffsetDateTime.parse("2020-01-31T23:59:59Z")