diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 7ea4b07b4..2b878682b 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.507.0"
+ ".": "0.508.0"
}
\ No newline at end of file
diff --git a/.stats.yml b/.stats.yml
index cbaea0f5d..238fb5aa2 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 241
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-f4f26466e66f9f8c45d2291dac32c1de360e4bb73cac74c5ea5125359dc75fa5.yml
-openapi_spec_hash: 4aa51886cd76bc38a881dcea41020d99
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-16584f71f31837a98f04250e08aec539fd7eb0bf69178b0e6b24254642f6755f.yml
+openapi_spec_hash: a67f1f1147858e6b2143b5215fc80e04
config_hash: d48e9f65bcf642f92610034d6c43f07a
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 475b4dbfa..9c1dad3a7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+## 0.508.0 (2026-04-10)
+
+Full Changelog: [v0.507.0...v0.508.0](https://github.com/Increase/increase-java/compare/v0.507.0...v0.508.0)
+
+### Features
+
+* **api:** api update ([5c694c5](https://github.com/Increase/increase-java/commit/5c694c5330d281a7555698851ff12851f43732bd))
+
## 0.507.0 (2026-04-09)
Full Changelog: [v0.506.0...v0.507.0](https://github.com/Increase/increase-java/compare/v0.506.0...v0.507.0)
diff --git a/README.md b/README.md
index 6af783a43..9b820e237 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
-[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.507.0)
-[](https://javadoc.io/doc/com.increase.api/increase-java/0.507.0)
+[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.508.0)
+[](https://javadoc.io/doc/com.increase.api/increase-java/0.508.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.507.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.508.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.507.0")
+implementation("com.increase.api:increase-java:0.508.0")
```
### Maven
@@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.507.0")
com.increase.api
increase-java
- 0.507.0
+ 0.508.0
```
diff --git a/build.gradle.kts b/build.gradle.kts
index 8da32c0bb..3abcc061d 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -8,7 +8,7 @@ repositories {
allprojects {
group = "com.increase.api"
- version = "0.507.0" // x-release-please-version
+ version = "0.508.0" // x-release-please-version
}
subprojects {
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/exports/Export.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/exports/Export.kt
index 88b551fd6..b3462aec4 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/exports/Export.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/exports/Export.kt
@@ -1671,28 +1671,20 @@ private constructor(
class CreatedAt
@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
- private val after: JsonField,
private val before: JsonField,
+ private val onOrAfter: JsonField,
private val additionalProperties: MutableMap,
) {
@JsonCreator
private constructor(
- @JsonProperty("after")
- @ExcludeMissing
- after: JsonField = JsonMissing.of(),
@JsonProperty("before")
@ExcludeMissing
before: JsonField = JsonMissing.of(),
- ) : this(after, before, mutableMapOf())
-
- /**
- * Filter results to transactions created after this time.
- *
- * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g.
- * if the server responded with an unexpected value).
- */
- fun after(): Optional = after.getOptional("after")
+ @JsonProperty("on_or_after")
+ @ExcludeMissing
+ onOrAfter: JsonField = JsonMissing.of(),
+ ) : this(before, onOrAfter, mutableMapOf())
/**
* Filter results to transactions created before this time.
@@ -1703,11 +1695,12 @@ private constructor(
fun before(): Optional = before.getOptional("before")
/**
- * Returns the raw JSON value of [after].
+ * Filter results to transactions created on or after this time.
*
- * Unlike [after], this method doesn't throw if the JSON field has an unexpected type.
+ * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g.
+ * if the server responded with an unexpected value).
*/
- @JsonProperty("after") @ExcludeMissing fun _after(): JsonField = after
+ fun onOrAfter(): Optional = onOrAfter.getOptional("on_or_after")
/**
* Returns the raw JSON value of [before].
@@ -1718,6 +1711,16 @@ private constructor(
@ExcludeMissing
fun _before(): JsonField = before
+ /**
+ * Returns the raw JSON value of [onOrAfter].
+ *
+ * Unlike [onOrAfter], this method doesn't throw if the JSON field has an unexpected
+ * type.
+ */
+ @JsonProperty("on_or_after")
+ @ExcludeMissing
+ fun _onOrAfter(): JsonField = onOrAfter
+
@JsonAnySetter
private fun putAdditionalProperty(key: String, value: JsonValue) {
additionalProperties.put(key, value)
@@ -1737,8 +1740,8 @@ private constructor(
*
* The following fields are required:
* ```java
- * .after()
* .before()
+ * .onOrAfter()
* ```
*/
@JvmStatic fun builder() = Builder()
@@ -1747,32 +1750,17 @@ private constructor(
/** A builder for [CreatedAt]. */
class Builder internal constructor() {
- private var after: JsonField? = null
private var before: JsonField? = null
+ private var onOrAfter: JsonField? = null
private var additionalProperties: MutableMap = mutableMapOf()
@JvmSynthetic
internal fun from(createdAt: CreatedAt) = apply {
- after = createdAt.after
before = createdAt.before
+ onOrAfter = createdAt.onOrAfter
additionalProperties = createdAt.additionalProperties.toMutableMap()
}
- /** Filter results to transactions created after this time. */
- fun after(after: OffsetDateTime?) = after(JsonField.ofNullable(after))
-
- /** Alias for calling [Builder.after] with `after.orElse(null)`. */
- fun after(after: Optional) = after(after.getOrNull())
-
- /**
- * Sets [Builder.after] to an arbitrary JSON value.
- *
- * You should usually call [Builder.after] with a well-typed [OffsetDateTime] value
- * instead. This method is primarily for setting the field to an undocumented or not
- * yet supported value.
- */
- fun after(after: JsonField) = apply { this.after = after }
-
/** Filter results to transactions created before this time. */
fun before(before: OffsetDateTime?) = before(JsonField.ofNullable(before))
@@ -1788,6 +1776,25 @@ private constructor(
*/
fun before(before: JsonField) = apply { this.before = before }
+ /** Filter results to transactions created on or after this time. */
+ fun onOrAfter(onOrAfter: OffsetDateTime?) =
+ onOrAfter(JsonField.ofNullable(onOrAfter))
+
+ /** Alias for calling [Builder.onOrAfter] with `onOrAfter.orElse(null)`. */
+ fun onOrAfter(onOrAfter: Optional) =
+ onOrAfter(onOrAfter.getOrNull())
+
+ /**
+ * Sets [Builder.onOrAfter] to an arbitrary JSON value.
+ *
+ * You should usually call [Builder.onOrAfter] with a well-typed [OffsetDateTime]
+ * value instead. This method is primarily for setting the field to an undocumented
+ * or not yet supported value.
+ */
+ fun onOrAfter(onOrAfter: JsonField) = apply {
+ this.onOrAfter = onOrAfter
+ }
+
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
putAllAdditionalProperties(additionalProperties)
@@ -1817,16 +1824,16 @@ private constructor(
*
* The following fields are required:
* ```java
- * .after()
* .before()
+ * .onOrAfter()
* ```
*
* @throws IllegalStateException if any required field is unset.
*/
fun build(): CreatedAt =
CreatedAt(
- checkRequired("after", after),
checkRequired("before", before),
+ checkRequired("onOrAfter", onOrAfter),
additionalProperties.toMutableMap(),
)
}
@@ -1838,8 +1845,8 @@ private constructor(
return@apply
}
- after()
before()
+ onOrAfter()
validated = true
}
@@ -1859,8 +1866,8 @@ private constructor(
*/
@JvmSynthetic
internal fun validity(): Int =
- (if (after.asKnown().isPresent) 1 else 0) +
- (if (before.asKnown().isPresent) 1 else 0)
+ (if (before.asKnown().isPresent) 1 else 0) +
+ (if (onOrAfter.asKnown().isPresent) 1 else 0)
override fun equals(other: Any?): Boolean {
if (this === other) {
@@ -1868,17 +1875,19 @@ private constructor(
}
return other is CreatedAt &&
- after == other.after &&
before == other.before &&
+ onOrAfter == other.onOrAfter &&
additionalProperties == other.additionalProperties
}
- private val hashCode: Int by lazy { Objects.hash(after, before, additionalProperties) }
+ private val hashCode: Int by lazy {
+ Objects.hash(before, onOrAfter, additionalProperties)
+ }
override fun hashCode(): Int = hashCode
override fun toString() =
- "CreatedAt{after=$after, before=$before, additionalProperties=$additionalProperties}"
+ "CreatedAt{before=$before, onOrAfter=$onOrAfter, additionalProperties=$additionalProperties}"
}
override fun equals(other: Any?): Boolean {
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/exports/ExportCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/exports/ExportCreateParams.kt
index 09a37644a..eeff670cf 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/exports/ExportCreateParams.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/exports/ExportCreateParams.kt
@@ -1831,7 +1831,7 @@ private constructor(
fun accountId(): String = accountId.getRequired("account_id")
/**
- * Filter results by time range on the `created_at` attribute.
+ * Filter transactions by their created date.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if
* the server responded with an unexpected value).
@@ -1905,7 +1905,7 @@ private constructor(
*/
fun accountId(accountId: JsonField) = apply { this.accountId = accountId }
- /** Filter results by time range on the `created_at` attribute. */
+ /** Filter transactions by their created date. */
fun createdAt(createdAt: CreatedAt) = createdAt(JsonField.of(createdAt))
/**
@@ -1987,45 +1987,27 @@ private constructor(
(if (accountId.asKnown().isPresent) 1 else 0) +
(createdAt.asKnown().getOrNull()?.validity() ?: 0)
- /** Filter results by time range on the `created_at` attribute. */
+ /** Filter transactions by their created date. */
class CreatedAt
@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
- private val after: JsonField,
private val before: JsonField,
private val onOrAfter: JsonField,
- private val onOrBefore: JsonField,
private val additionalProperties: MutableMap,
) {
@JsonCreator
private constructor(
- @JsonProperty("after")
- @ExcludeMissing
- after: JsonField = JsonMissing.of(),
@JsonProperty("before")
@ExcludeMissing
before: JsonField = JsonMissing.of(),
@JsonProperty("on_or_after")
@ExcludeMissing
onOrAfter: JsonField = JsonMissing.of(),
- @JsonProperty("on_or_before")
- @ExcludeMissing
- onOrBefore: JsonField = JsonMissing.of(),
- ) : this(after, before, onOrAfter, onOrBefore, mutableMapOf())
-
- /**
- * Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
- * timestamp.
- *
- * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g.
- * if the server responded with an unexpected value).
- */
- fun after(): Optional = after.getOptional("after")
+ ) : this(before, onOrAfter, mutableMapOf())
/**
- * Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
- * timestamp.
+ * Filter results to transactions created before this time.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g.
* if the server responded with an unexpected value).
@@ -2033,30 +2015,13 @@ private constructor(
fun before(): Optional = before.getOptional("before")
/**
- * Return results on or after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
- * timestamp.
+ * Filter results to transactions created on or after this time.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g.
* if the server responded with an unexpected value).
*/
fun onOrAfter(): Optional = onOrAfter.getOptional("on_or_after")
- /**
- * Return results on or before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
- * timestamp.
- *
- * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g.
- * if the server responded with an unexpected value).
- */
- fun onOrBefore(): Optional = onOrBefore.getOptional("on_or_before")
-
- /**
- * Returns the raw JSON value of [after].
- *
- * Unlike [after], this method doesn't throw if the JSON field has an unexpected type.
- */
- @JsonProperty("after") @ExcludeMissing fun _after(): JsonField = after
-
/**
* Returns the raw JSON value of [before].
*
@@ -2076,16 +2041,6 @@ private constructor(
@ExcludeMissing
fun _onOrAfter(): JsonField = onOrAfter
- /**
- * Returns the raw JSON value of [onOrBefore].
- *
- * Unlike [onOrBefore], this method doesn't throw if the JSON field has an unexpected
- * type.
- */
- @JsonProperty("on_or_before")
- @ExcludeMissing
- fun _onOrBefore(): JsonField = onOrBefore
-
@JsonAnySetter
private fun putAdditionalProperty(key: String, value: JsonValue) {
additionalProperties.put(key, value)
@@ -2107,40 +2062,18 @@ private constructor(
/** A builder for [CreatedAt]. */
class Builder internal constructor() {
- private var after: JsonField = JsonMissing.of()
private var before: JsonField = JsonMissing.of()
private var onOrAfter: JsonField = JsonMissing.of()
- private var onOrBefore: JsonField = JsonMissing.of()
private var additionalProperties: MutableMap = mutableMapOf()
@JvmSynthetic
internal fun from(createdAt: CreatedAt) = apply {
- after = createdAt.after
before = createdAt.before
onOrAfter = createdAt.onOrAfter
- onOrBefore = createdAt.onOrBefore
additionalProperties = createdAt.additionalProperties.toMutableMap()
}
- /**
- * Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
- * timestamp.
- */
- fun after(after: OffsetDateTime) = after(JsonField.of(after))
-
- /**
- * Sets [Builder.after] to an arbitrary JSON value.
- *
- * You should usually call [Builder.after] with a well-typed [OffsetDateTime] value
- * instead. This method is primarily for setting the field to an undocumented or not
- * yet supported value.
- */
- fun after(after: JsonField) = apply { this.after = after }
-
- /**
- * Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
- * timestamp.
- */
+ /** Filter results to transactions created before this time. */
fun before(before: OffsetDateTime) = before(JsonField.of(before))
/**
@@ -2152,10 +2085,7 @@ private constructor(
*/
fun before(before: JsonField) = apply { this.before = before }
- /**
- * Return results on or after this
- * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
- */
+ /** Filter results to transactions created on or after this time. */
fun onOrAfter(onOrAfter: OffsetDateTime) = onOrAfter(JsonField.of(onOrAfter))
/**
@@ -2169,23 +2099,6 @@ private constructor(
this.onOrAfter = onOrAfter
}
- /**
- * Return results on or before this
- * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
- */
- fun onOrBefore(onOrBefore: OffsetDateTime) = onOrBefore(JsonField.of(onOrBefore))
-
- /**
- * Sets [Builder.onOrBefore] to an arbitrary JSON value.
- *
- * You should usually call [Builder.onOrBefore] with a well-typed [OffsetDateTime]
- * value instead. This method is primarily for setting the field to an undocumented
- * or not yet supported value.
- */
- fun onOrBefore(onOrBefore: JsonField) = apply {
- this.onOrBefore = onOrBefore
- }
-
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
putAllAdditionalProperties(additionalProperties)
@@ -2214,13 +2127,7 @@ private constructor(
* Further updates to this [Builder] will not mutate the returned instance.
*/
fun build(): CreatedAt =
- CreatedAt(
- after,
- before,
- onOrAfter,
- onOrBefore,
- additionalProperties.toMutableMap(),
- )
+ CreatedAt(before, onOrAfter, additionalProperties.toMutableMap())
}
private var validated: Boolean = false
@@ -2230,10 +2137,8 @@ private constructor(
return@apply
}
- after()
before()
onOrAfter()
- onOrBefore()
validated = true
}
@@ -2253,10 +2158,8 @@ private constructor(
*/
@JvmSynthetic
internal fun validity(): Int =
- (if (after.asKnown().isPresent) 1 else 0) +
- (if (before.asKnown().isPresent) 1 else 0) +
- (if (onOrAfter.asKnown().isPresent) 1 else 0) +
- (if (onOrBefore.asKnown().isPresent) 1 else 0)
+ (if (before.asKnown().isPresent) 1 else 0) +
+ (if (onOrAfter.asKnown().isPresent) 1 else 0)
override fun equals(other: Any?): Boolean {
if (this === other) {
@@ -2264,21 +2167,19 @@ private constructor(
}
return other is CreatedAt &&
- after == other.after &&
before == other.before &&
onOrAfter == other.onOrAfter &&
- onOrBefore == other.onOrBefore &&
additionalProperties == other.additionalProperties
}
private val hashCode: Int by lazy {
- Objects.hash(after, before, onOrAfter, onOrBefore, additionalProperties)
+ Objects.hash(before, onOrAfter, additionalProperties)
}
override fun hashCode(): Int = hashCode
override fun toString() =
- "CreatedAt{after=$after, before=$before, onOrAfter=$onOrAfter, onOrBefore=$onOrBefore, additionalProperties=$additionalProperties}"
+ "CreatedAt{before=$before, onOrAfter=$onOrAfter, additionalProperties=$additionalProperties}"
}
override fun equals(other: Any?): Boolean {
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/exports/ExportCreateParamsTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/exports/ExportCreateParamsTest.kt
index 78d918630..de0534cde 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/exports/ExportCreateParamsTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/exports/ExportCreateParamsTest.kt
@@ -25,10 +25,8 @@ internal class ExportCreateParamsTest {
.accountId("account_id")
.createdAt(
ExportCreateParams.AccountStatementOfx.CreatedAt.builder()
- .after(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.before(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.onOrAfter(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
- .onOrBefore(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.build()
)
.build()
@@ -118,10 +116,8 @@ internal class ExportCreateParamsTest {
.accountId("account_id")
.createdAt(
ExportCreateParams.AccountStatementOfx.CreatedAt.builder()
- .after(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.before(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.onOrAfter(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
- .onOrBefore(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.build()
)
.build()
@@ -210,10 +206,8 @@ internal class ExportCreateParamsTest {
.accountId("account_id")
.createdAt(
ExportCreateParams.AccountStatementOfx.CreatedAt.builder()
- .after(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.before(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.onOrAfter(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
- .onOrBefore(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.build()
)
.build()
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/exports/ExportListPageResponseTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/exports/ExportListPageResponseTest.kt
index 37f09ad4d..539454d3f 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/exports/ExportListPageResponseTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/exports/ExportListPageResponseTest.kt
@@ -30,8 +30,8 @@ internal class ExportListPageResponseTest {
.accountId("account_id")
.createdAt(
Export.AccountStatementOfx.CreatedAt.builder()
- .after(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.before(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
+ .onOrAfter(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.build()
)
.build()
@@ -148,8 +148,8 @@ internal class ExportListPageResponseTest {
.accountId("account_id")
.createdAt(
Export.AccountStatementOfx.CreatedAt.builder()
- .after(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.before(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
+ .onOrAfter(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.build()
)
.build()
@@ -270,8 +270,8 @@ internal class ExportListPageResponseTest {
.accountId("account_id")
.createdAt(
Export.AccountStatementOfx.CreatedAt.builder()
- .after(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.before(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
+ .onOrAfter(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.build()
)
.build()
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/exports/ExportTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/exports/ExportTest.kt
index 71e4244f2..a6e8e7ca5 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/exports/ExportTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/exports/ExportTest.kt
@@ -28,8 +28,8 @@ internal class ExportTest {
.accountId("account_id")
.createdAt(
Export.AccountStatementOfx.CreatedAt.builder()
- .after(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.before(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
+ .onOrAfter(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.build()
)
.build()
@@ -142,8 +142,8 @@ internal class ExportTest {
.accountId("account_id")
.createdAt(
Export.AccountStatementOfx.CreatedAt.builder()
- .after(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.before(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
+ .onOrAfter(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.build()
)
.build()
@@ -268,8 +268,8 @@ internal class ExportTest {
.accountId("account_id")
.createdAt(
Export.AccountStatementOfx.CreatedAt.builder()
- .after(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.before(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
+ .onOrAfter(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.build()
)
.build()
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/services/async/ExportServiceAsyncTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/services/async/ExportServiceAsyncTest.kt
index e514f073d..328acd7a5 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/services/async/ExportServiceAsyncTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/services/async/ExportServiceAsyncTest.kt
@@ -38,10 +38,8 @@ internal class ExportServiceAsyncTest {
.accountId("account_id")
.createdAt(
ExportCreateParams.AccountStatementOfx.CreatedAt.builder()
- .after(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.before(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.onOrAfter(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
- .onOrBefore(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.build()
)
.build()
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/ExportServiceTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/ExportServiceTest.kt
index 21ca941cd..3e4b094f2 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/ExportServiceTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/ExportServiceTest.kt
@@ -38,10 +38,8 @@ internal class ExportServiceTest {
.accountId("account_id")
.createdAt(
ExportCreateParams.AccountStatementOfx.CreatedAt.builder()
- .after(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.before(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.onOrAfter(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
- .onOrBefore(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.build()
)
.build()