diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 6954feb31..f371d2758 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.105.1"
+ ".": "0.106.0"
}
\ No newline at end of file
diff --git a/.stats.yml b/.stats.yml
index 6e7f0fbbc..ad4e59b36 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 169
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-1d44bb7fad99487af1161eb24dfd5369440eda7e80ed237cbc1acc6802a7d212.yml
-openapi_spec_hash: 1b6b6215b60094b76b91c56b925a251a
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-fbbce0ea11d3e86e532f705804f3d79e8eecfb8a7796e3a6ad3c50cccee14bb1.yml
+openapi_spec_hash: 3f44b97866ca74effe5e70fc9c64effb
config_hash: 768e8f0faa1a21e26b07e6cdc395cebf
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1c7e6d106..ba16bf9fa 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,27 @@
# Changelog
+## 0.106.0 (2025-09-25)
+
+Full Changelog: [v0.105.1...v0.106.0](https://github.com/lithic-com/lithic-java/compare/v0.105.1...v0.106.0)
+
+### Features
+
+* **client:** add convenience overloads for some methods ([1835a3b](https://github.com/lithic-com/lithic-java/commit/1835a3b3fe9563ec6043c9e332b66ec1054f2d67))
+* **client:** expose sleeper option ([3006825](https://github.com/lithic-com/lithic-java/commit/300682586590f3cd263ae552c62603f0bf06b74c))
+
+
+### Bug Fixes
+
+* **client:** deserialization of empty objects ([b24cf62](https://github.com/lithic-com/lithic-java/commit/b24cf622050e2d014d54e61b34760b45cf42d713))
+* **client:** ensure single timer is created per client ([3006825](https://github.com/lithic-com/lithic-java/commit/300682586590f3cd263ae552c62603f0bf06b74c))
+
+
+### Chores
+
+* **docs:** small updates to doc strings on a few endpoints ([472d95b](https://github.com/lithic-com/lithic-java/commit/472d95b0e63d7530e5e40674d9d65e5e3a66e6f4))
+* improve formatter performance ([36fa6d6](https://github.com/lithic-com/lithic-java/commit/36fa6d6a567c00b8c24b63fd4eff99a93ed5f787))
+* **internal:** change some comment formatting ([f09453c](https://github.com/lithic-com/lithic-java/commit/f09453c5007dc265cc5fc06dc161395605d12ccf))
+
## 0.105.1 (2025-09-15)
Full Changelog: [v0.105.0...v0.105.1](https://github.com/lithic-com/lithic-java/compare/v0.105.0...v0.105.1)
diff --git a/README.md b/README.md
index eade69618..dbd8825cc 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
-[](https://central.sonatype.com/artifact/com.lithic.api/lithic-java/0.105.1)
-[](https://javadoc.io/doc/com.lithic.api/lithic-java/0.105.1)
+[](https://central.sonatype.com/artifact/com.lithic.api/lithic-java/0.106.0)
+[](https://javadoc.io/doc/com.lithic.api/lithic-java/0.106.0)
@@ -13,7 +13,7 @@ The Lithic Java SDK is similar to the Lithic Kotlin SDK but with minor differenc
-The REST API documentation can be found on [docs.lithic.com](https://docs.lithic.com). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.lithic.api/lithic-java/0.105.1).
+The REST API documentation can be found on [docs.lithic.com](https://docs.lithic.com). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.lithic.api/lithic-java/0.106.0).
@@ -24,7 +24,7 @@ The REST API documentation can be found on [docs.lithic.com](https://docs.lithic
### Gradle
```kotlin
-implementation("com.lithic.api:lithic-java:0.105.1")
+implementation("com.lithic.api:lithic-java:0.106.0")
```
### Maven
@@ -33,7 +33,7 @@ implementation("com.lithic.api:lithic-java:0.105.1")
com.lithic.api
lithic-java
- 0.105.1
+ 0.106.0
```
diff --git a/build.gradle.kts b/build.gradle.kts
index 0baba1809..545b35568 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -8,7 +8,7 @@ repositories {
allprojects {
group = "com.lithic.api"
- version = "0.105.1" // x-release-please-version
+ version = "0.106.0" // x-release-please-version
}
subprojects {
diff --git a/lithic-java-client-okhttp/src/main/kotlin/com/lithic/api/client/okhttp/LithicOkHttpClient.kt b/lithic-java-client-okhttp/src/main/kotlin/com/lithic/api/client/okhttp/LithicOkHttpClient.kt
index 1872c42da..1eb00e26b 100644
--- a/lithic-java-client-okhttp/src/main/kotlin/com/lithic/api/client/okhttp/LithicOkHttpClient.kt
+++ b/lithic-java-client-okhttp/src/main/kotlin/com/lithic/api/client/okhttp/LithicOkHttpClient.kt
@@ -6,6 +6,7 @@ import com.fasterxml.jackson.databind.json.JsonMapper
import com.lithic.api.client.LithicClient
import com.lithic.api.client.LithicClientImpl
import com.lithic.api.core.ClientOptions
+import com.lithic.api.core.Sleeper
import com.lithic.api.core.Timeout
import com.lithic.api.core.http.AsyncStreamResponse
import com.lithic.api.core.http.Headers
@@ -133,6 +134,17 @@ class LithicOkHttpClient private constructor() {
clientOptions.streamHandlerExecutor(streamHandlerExecutor)
}
+ /**
+ * The interface to use for delaying execution, like during retries.
+ *
+ * This is primarily useful for using fake delays in tests.
+ *
+ * Defaults to real execution delays.
+ *
+ * This class takes ownership of the sleeper and closes it when closed.
+ */
+ fun sleeper(sleeper: Sleeper) = apply { clientOptions.sleeper(sleeper) }
+
/**
* The clock to use for operations that require timing, like retries.
*
diff --git a/lithic-java-client-okhttp/src/main/kotlin/com/lithic/api/client/okhttp/LithicOkHttpClientAsync.kt b/lithic-java-client-okhttp/src/main/kotlin/com/lithic/api/client/okhttp/LithicOkHttpClientAsync.kt
index 82fbba48c..0f0acb3ed 100644
--- a/lithic-java-client-okhttp/src/main/kotlin/com/lithic/api/client/okhttp/LithicOkHttpClientAsync.kt
+++ b/lithic-java-client-okhttp/src/main/kotlin/com/lithic/api/client/okhttp/LithicOkHttpClientAsync.kt
@@ -6,6 +6,7 @@ import com.fasterxml.jackson.databind.json.JsonMapper
import com.lithic.api.client.LithicClientAsync
import com.lithic.api.client.LithicClientAsyncImpl
import com.lithic.api.core.ClientOptions
+import com.lithic.api.core.Sleeper
import com.lithic.api.core.Timeout
import com.lithic.api.core.http.AsyncStreamResponse
import com.lithic.api.core.http.Headers
@@ -133,6 +134,17 @@ class LithicOkHttpClientAsync private constructor() {
clientOptions.streamHandlerExecutor(streamHandlerExecutor)
}
+ /**
+ * The interface to use for delaying execution, like during retries.
+ *
+ * This is primarily useful for using fake delays in tests.
+ *
+ * Defaults to real execution delays.
+ *
+ * This class takes ownership of the sleeper and closes it when closed.
+ */
+ fun sleeper(sleeper: Sleeper) = apply { clientOptions.sleeper(sleeper) }
+
/**
* The clock to use for operations that require timing, like retries.
*
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/core/ClientOptions.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/core/ClientOptions.kt
index 114aecec6..f298434c8 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/core/ClientOptions.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/core/ClientOptions.kt
@@ -54,6 +54,16 @@ private constructor(
* This class takes ownership of the executor and shuts it down, if possible, when closed.
*/
@get:JvmName("streamHandlerExecutor") val streamHandlerExecutor: Executor,
+ /**
+ * The interface to use for delaying execution, like during retries.
+ *
+ * This is primarily useful for using fake delays in tests.
+ *
+ * Defaults to real execution delays.
+ *
+ * This class takes ownership of the sleeper and closes it when closed.
+ */
+ @get:JvmName("sleeper") val sleeper: Sleeper,
/**
* The clock to use for operations that require timing, like retries.
*
@@ -153,6 +163,7 @@ private constructor(
private var checkJacksonVersionCompatibility: Boolean = true
private var jsonMapper: JsonMapper = jsonMapper()
private var streamHandlerExecutor: Executor? = null
+ private var sleeper: Sleeper? = null
private var clock: Clock = Clock.systemUTC()
private var baseUrl: String? = null
private var headers: Headers.Builder = Headers.builder()
@@ -169,6 +180,7 @@ private constructor(
checkJacksonVersionCompatibility = clientOptions.checkJacksonVersionCompatibility
jsonMapper = clientOptions.jsonMapper
streamHandlerExecutor = clientOptions.streamHandlerExecutor
+ sleeper = clientOptions.sleeper
clock = clientOptions.clock
baseUrl = clientOptions.baseUrl
headers = clientOptions.headers.toBuilder()
@@ -224,6 +236,17 @@ private constructor(
else streamHandlerExecutor
}
+ /**
+ * The interface to use for delaying execution, like during retries.
+ *
+ * This is primarily useful for using fake delays in tests.
+ *
+ * Defaults to real execution delays.
+ *
+ * This class takes ownership of the sleeper and closes it when closed.
+ */
+ fun sleeper(sleeper: Sleeper) = apply { this.sleeper = PhantomReachableSleeper(sleeper) }
+
/**
* The clock to use for operations that require timing, like retries.
*
@@ -422,6 +445,25 @@ private constructor(
*/
fun build(): ClientOptions {
val httpClient = checkRequired("httpClient", httpClient)
+ val streamHandlerExecutor =
+ streamHandlerExecutor
+ ?: PhantomReachableExecutorService(
+ Executors.newCachedThreadPool(
+ object : ThreadFactory {
+
+ private val threadFactory: ThreadFactory =
+ Executors.defaultThreadFactory()
+ private val count = AtomicLong(0)
+
+ override fun newThread(runnable: Runnable): Thread =
+ threadFactory.newThread(runnable).also {
+ it.name =
+ "lithic-stream-handler-thread-${count.getAndIncrement()}"
+ }
+ }
+ )
+ )
+ val sleeper = sleeper ?: PhantomReachableSleeper(DefaultSleeper())
val apiKey = checkRequired("apiKey", apiKey)
val headers = Headers.builder()
@@ -446,26 +488,14 @@ private constructor(
httpClient,
RetryingHttpClient.builder()
.httpClient(httpClient)
+ .sleeper(sleeper)
.clock(clock)
.maxRetries(maxRetries)
.build(),
checkJacksonVersionCompatibility,
jsonMapper,
- streamHandlerExecutor
- ?: Executors.newCachedThreadPool(
- object : ThreadFactory {
-
- private val threadFactory: ThreadFactory =
- Executors.defaultThreadFactory()
- private val count = AtomicLong(0)
-
- override fun newThread(runnable: Runnable): Thread =
- threadFactory.newThread(runnable).also {
- it.name =
- "lithic-stream-handler-thread-${count.getAndIncrement()}"
- }
- }
- ),
+ streamHandlerExecutor,
+ sleeper,
clock,
baseUrl,
headers.build(),
@@ -492,5 +522,6 @@ private constructor(
fun close() {
httpClient.close()
(streamHandlerExecutor as? ExecutorService)?.shutdown()
+ sleeper.close()
}
}
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/core/DefaultSleeper.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/core/DefaultSleeper.kt
new file mode 100644
index 000000000..98cc7dc60
--- /dev/null
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/core/DefaultSleeper.kt
@@ -0,0 +1,28 @@
+package com.lithic.api.core
+
+import java.time.Duration
+import java.util.Timer
+import java.util.TimerTask
+import java.util.concurrent.CompletableFuture
+
+class DefaultSleeper : Sleeper {
+
+ private val timer = Timer("DefaultSleeper", true)
+
+ override fun sleep(duration: Duration) = Thread.sleep(duration.toMillis())
+
+ override fun sleepAsync(duration: Duration): CompletableFuture {
+ val future = CompletableFuture()
+ timer.schedule(
+ object : TimerTask() {
+ override fun run() {
+ future.complete(null)
+ }
+ },
+ duration.toMillis(),
+ )
+ return future
+ }
+
+ override fun close() = timer.cancel()
+}
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/core/PhantomReachableSleeper.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/core/PhantomReachableSleeper.kt
new file mode 100644
index 000000000..744d3ed74
--- /dev/null
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/core/PhantomReachableSleeper.kt
@@ -0,0 +1,23 @@
+package com.lithic.api.core
+
+import java.time.Duration
+import java.util.concurrent.CompletableFuture
+
+/**
+ * A delegating wrapper around a [Sleeper] that closes it once it's only phantom reachable.
+ *
+ * This class ensures the [Sleeper] is closed even if the user forgets to do it.
+ */
+internal class PhantomReachableSleeper(private val sleeper: Sleeper) : Sleeper {
+
+ init {
+ closeWhenPhantomReachable(this, sleeper)
+ }
+
+ override fun sleep(duration: Duration) = sleeper.sleep(duration)
+
+ override fun sleepAsync(duration: Duration): CompletableFuture =
+ sleeper.sleepAsync(duration)
+
+ override fun close() = sleeper.close()
+}
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/core/Sleeper.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/core/Sleeper.kt
new file mode 100644
index 000000000..dd81f68d3
--- /dev/null
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/core/Sleeper.kt
@@ -0,0 +1,21 @@
+package com.lithic.api.core
+
+import java.time.Duration
+import java.util.concurrent.CompletableFuture
+
+/**
+ * An interface for delaying execution for a specified amount of time.
+ *
+ * Useful for testing and cleaning up resources.
+ */
+interface Sleeper : AutoCloseable {
+
+ /** Synchronously pauses execution for the given [duration]. */
+ fun sleep(duration: Duration)
+
+ /** Asynchronously pauses execution for the given [duration]. */
+ fun sleepAsync(duration: Duration): CompletableFuture
+
+ /** Overridden from [AutoCloseable] to not have a checked exception in its signature. */
+ override fun close()
+}
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/core/http/RetryingHttpClient.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/core/http/RetryingHttpClient.kt
index b27f1442a..e9c964004 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/core/http/RetryingHttpClient.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/core/http/RetryingHttpClient.kt
@@ -1,6 +1,8 @@
package com.lithic.api.core.http
+import com.lithic.api.core.DefaultSleeper
import com.lithic.api.core.RequestOptions
+import com.lithic.api.core.Sleeper
import com.lithic.api.core.checkRequired
import com.lithic.api.errors.LithicIoException
import com.lithic.api.errors.LithicRetryableException
@@ -11,8 +13,6 @@ import java.time.OffsetDateTime
import java.time.format.DateTimeFormatter
import java.time.format.DateTimeParseException
import java.time.temporal.ChronoUnit
-import java.util.Timer
-import java.util.TimerTask
import java.util.UUID
import java.util.concurrent.CompletableFuture
import java.util.concurrent.ThreadLocalRandom
@@ -130,7 +130,10 @@ private constructor(
return executeWithRetries(modifiedRequest, requestOptions)
}
- override fun close() = httpClient.close()
+ override fun close() {
+ httpClient.close()
+ sleeper.close()
+ }
private fun isRetryable(request: HttpRequest): Boolean =
// Some requests, such as when a request body is being streamed, cannot be retried because
@@ -235,33 +238,14 @@ private constructor(
class Builder internal constructor() {
private var httpClient: HttpClient? = null
- private var sleeper: Sleeper =
- object : Sleeper {
-
- private val timer = Timer("RetryingHttpClient", true)
-
- override fun sleep(duration: Duration) = Thread.sleep(duration.toMillis())
-
- override fun sleepAsync(duration: Duration): CompletableFuture {
- val future = CompletableFuture()
- timer.schedule(
- object : TimerTask() {
- override fun run() {
- future.complete(null)
- }
- },
- duration.toMillis(),
- )
- return future
- }
- }
+ private var sleeper: Sleeper? = null
private var clock: Clock = Clock.systemUTC()
private var maxRetries: Int = 2
private var idempotencyHeader: String? = null
fun httpClient(httpClient: HttpClient) = apply { this.httpClient = httpClient }
- @JvmSynthetic internal fun sleeper(sleeper: Sleeper) = apply { this.sleeper = sleeper }
+ fun sleeper(sleeper: Sleeper) = apply { this.sleeper = sleeper }
fun clock(clock: Clock) = apply { this.clock = clock }
@@ -272,17 +256,10 @@ private constructor(
fun build(): HttpClient =
RetryingHttpClient(
checkRequired("httpClient", httpClient),
- sleeper,
+ sleeper ?: DefaultSleeper(),
clock,
maxRetries,
idempotencyHeader,
)
}
-
- internal interface Sleeper {
-
- fun sleep(duration: Duration)
-
- fun sleepAsync(duration: Duration): CompletableFuture
- }
}
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Account.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Account.kt
index 72dbc254e..e10c836a8 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Account.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Account.kt
@@ -22,6 +22,7 @@ import java.util.Optional
import kotlin.jvm.optionals.getOrNull
class Account
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val created: JsonField,
@@ -106,10 +107,10 @@ private constructor(
/**
* Account state:
- * - `ACTIVE` - Account is able to transact and create new cards.
- * - `PAUSED` - Account will not be able to transact or create new cards. It can be set back to
+ * * `ACTIVE` - Account is able to transact and create new cards.
+ * * `PAUSED` - Account will not be able to transact or create new cards. It can be set back to
* `ACTIVE`.
- * - `CLOSED` - Account will not be able to transact or create new cards. `CLOSED` accounts are
+ * * `CLOSED` - Account will not be able to transact or create new cards. `CLOSED` accounts are
* unable to be transitioned to `ACTIVE` or `PAUSED` states. Accounts can be manually set to
* `CLOSED`, or this can be done by Lithic due to failure to pass KYB/KYC or for
* risk/compliance reasons. Please contact [support@lithic.com](mailto:support@lithic.com) if
@@ -157,28 +158,28 @@ private constructor(
/**
* Account state substatus values:
- * - `FRAUD_IDENTIFIED` - The account has been recognized as being created or used with stolen
+ * * `FRAUD_IDENTIFIED` - The account has been recognized as being created or used with stolen
* or fabricated identity information, encompassing both true identity theft and synthetic
* identities.
- * - `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as unauthorized
+ * * `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as unauthorized
* access or fraudulent transactions, necessitating further investigation.
- * - `RISK_VIOLATION` - The account has been involved in deliberate misuse by the legitimate
+ * * `RISK_VIOLATION` - The account has been involved in deliberate misuse by the legitimate
* account holder. Examples include disputing valid transactions without cause, falsely
* claiming non-receipt of goods, or engaging in intentional bust-out schemes to exploit
* account services.
- * - `END_USER_REQUEST` - The account holder has voluntarily requested the closure of the
+ * * `END_USER_REQUEST` - The account holder has voluntarily requested the closure of the
* account for personal reasons. This encompasses situations such as bankruptcy, other
* financial considerations, or the account holder's death.
- * - `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to business
+ * * `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to business
* strategy, risk management, inactivity, product changes, regulatory concerns, or violations
* of terms and conditions.
- * - `NOT_ACTIVE` - The account has not had any transactions or payment activity within a
+ * * `NOT_ACTIVE` - The account has not had any transactions or payment activity within a
* specified period. This status applies to accounts that are paused or closed due to
* inactivity.
- * - `INTERNAL_REVIEW` - The account is temporarily paused pending further internal review. In
+ * * `INTERNAL_REVIEW` - The account is temporarily paused pending further internal review. In
* future implementations, this status may prevent clients from activating the account via
* APIs until the review is completed.
- * - `OTHER` - The reason for the account's current status does not fall into any of the above
+ * * `OTHER` - The reason for the account's current status does not fall into any of the above
* categories. A comment should be provided to specify the particular reason.
*
* @throws LithicInvalidDataException if the JSON field has an unexpected type (e.g. if the
@@ -384,10 +385,10 @@ private constructor(
/**
* Account state:
- * - `ACTIVE` - Account is able to transact and create new cards.
- * - `PAUSED` - Account will not be able to transact or create new cards. It can be set back
+ * * `ACTIVE` - Account is able to transact and create new cards.
+ * * `PAUSED` - Account will not be able to transact or create new cards. It can be set back
* to `ACTIVE`.
- * - `CLOSED` - Account will not be able to transact or create new cards. `CLOSED` accounts
+ * * `CLOSED` - Account will not be able to transact or create new cards. `CLOSED` accounts
* are unable to be transitioned to `ACTIVE` or `PAUSED` states. Accounts can be manually
* set to `CLOSED`, or this can be done by Lithic due to failure to pass KYB/KYC or for
* risk/compliance reasons. Please contact [support@lithic.com](mailto:support@lithic.com)
@@ -479,28 +480,28 @@ private constructor(
/**
* Account state substatus values:
- * - `FRAUD_IDENTIFIED` - The account has been recognized as being created or used with
+ * * `FRAUD_IDENTIFIED` - The account has been recognized as being created or used with
* stolen or fabricated identity information, encompassing both true identity theft and
* synthetic identities.
- * - `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as
+ * * `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as
* unauthorized access or fraudulent transactions, necessitating further investigation.
- * - `RISK_VIOLATION` - The account has been involved in deliberate misuse by the legitimate
+ * * `RISK_VIOLATION` - The account has been involved in deliberate misuse by the legitimate
* account holder. Examples include disputing valid transactions without cause, falsely
* claiming non-receipt of goods, or engaging in intentional bust-out schemes to exploit
* account services.
- * - `END_USER_REQUEST` - The account holder has voluntarily requested the closure of the
+ * * `END_USER_REQUEST` - The account holder has voluntarily requested the closure of the
* account for personal reasons. This encompasses situations such as bankruptcy, other
* financial considerations, or the account holder's death.
- * - `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to business
+ * * `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to business
* strategy, risk management, inactivity, product changes, regulatory concerns, or
* violations of terms and conditions.
- * - `NOT_ACTIVE` - The account has not had any transactions or payment activity within a
+ * * `NOT_ACTIVE` - The account has not had any transactions or payment activity within a
* specified period. This status applies to accounts that are paused or closed due to
* inactivity.
- * - `INTERNAL_REVIEW` - The account is temporarily paused pending further internal review.
+ * * `INTERNAL_REVIEW` - The account is temporarily paused pending further internal review.
* In future implementations, this status may prevent clients from activating the account
* via APIs until the review is completed.
- * - `OTHER` - The reason for the account's current status does not fall into any of the
+ * * `OTHER` - The reason for the account's current status does not fall into any of the
* above categories. A comment should be provided to specify the particular reason.
*/
fun substatus(substatus: Substatus) = substatus(JsonField.of(substatus))
@@ -633,6 +634,7 @@ private constructor(
* limit of 0 indicates that the lifetime limit feature is disabled.
*/
class SpendLimit
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val daily: JsonField,
private val lifetime: JsonField,
@@ -870,10 +872,10 @@ private constructor(
/**
* Account state:
- * - `ACTIVE` - Account is able to transact and create new cards.
- * - `PAUSED` - Account will not be able to transact or create new cards. It can be set back to
+ * * `ACTIVE` - Account is able to transact and create new cards.
+ * * `PAUSED` - Account will not be able to transact or create new cards. It can be set back to
* `ACTIVE`.
- * - `CLOSED` - Account will not be able to transact or create new cards. `CLOSED` accounts are
+ * * `CLOSED` - Account will not be able to transact or create new cards. `CLOSED` accounts are
* unable to be transitioned to `ACTIVE` or `PAUSED` states. Accounts can be manually set to
* `CLOSED`, or this can be done by Lithic due to failure to pass KYB/KYC or for
* risk/compliance reasons. Please contact [support@lithic.com](mailto:support@lithic.com) if
@@ -1011,6 +1013,7 @@ private constructor(
}
class AccountHolder
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val businessAccountToken: JsonField,
@@ -1306,28 +1309,28 @@ private constructor(
/**
* Account state substatus values:
- * - `FRAUD_IDENTIFIED` - The account has been recognized as being created or used with stolen
+ * * `FRAUD_IDENTIFIED` - The account has been recognized as being created or used with stolen
* or fabricated identity information, encompassing both true identity theft and synthetic
* identities.
- * - `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as unauthorized
+ * * `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as unauthorized
* access or fraudulent transactions, necessitating further investigation.
- * - `RISK_VIOLATION` - The account has been involved in deliberate misuse by the legitimate
+ * * `RISK_VIOLATION` - The account has been involved in deliberate misuse by the legitimate
* account holder. Examples include disputing valid transactions without cause, falsely
* claiming non-receipt of goods, or engaging in intentional bust-out schemes to exploit
* account services.
- * - `END_USER_REQUEST` - The account holder has voluntarily requested the closure of the
+ * * `END_USER_REQUEST` - The account holder has voluntarily requested the closure of the
* account for personal reasons. This encompasses situations such as bankruptcy, other
* financial considerations, or the account holder's death.
- * - `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to business
+ * * `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to business
* strategy, risk management, inactivity, product changes, regulatory concerns, or violations
* of terms and conditions.
- * - `NOT_ACTIVE` - The account has not had any transactions or payment activity within a
+ * * `NOT_ACTIVE` - The account has not had any transactions or payment activity within a
* specified period. This status applies to accounts that are paused or closed due to
* inactivity.
- * - `INTERNAL_REVIEW` - The account is temporarily paused pending further internal review. In
+ * * `INTERNAL_REVIEW` - The account is temporarily paused pending further internal review. In
* future implementations, this status may prevent clients from activating the account via
* APIs until the review is completed.
- * - `OTHER` - The reason for the account's current status does not fall into any of the above
+ * * `OTHER` - The reason for the account's current status does not fall into any of the above
* categories. A comment should be provided to specify the particular reason.
*/
class Substatus @JsonCreator private constructor(private val value: JsonField) : Enum {
@@ -1495,6 +1498,7 @@ private constructor(
@Deprecated("deprecated")
class VerificationAddress
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val address1: JsonField,
private val city: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListPageResponse.kt
index c58fceb41..79bb4c7d7 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListPageResponse.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListPageResponse.kt
@@ -20,6 +20,7 @@ import kotlin.jvm.optionals.getOrNull
/** A response containing a list of transactions */
class AccountActivityListPageResponse
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val data: JsonField>,
private val hasMore: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListResponse.kt
index c75cd40ed..df0e85ddd 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListResponse.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListResponse.kt
@@ -316,6 +316,9 @@ private constructor(
override fun ObjectCodec.deserialize(node: JsonNode): AccountActivityListResponse {
val json = JsonValue.fromJsonNode(node)
+ val family = json.asObject().getOrNull()?.get("family")?.asString()?.getOrNull()
+
+ when (family) {}
val bestMatches =
sequenceOf(
@@ -383,6 +386,7 @@ private constructor(
/** Financial transaction with inheritance from unified base transaction */
class FinancialTransaction
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val category: JsonField,
@@ -1236,6 +1240,7 @@ private constructor(
/** Financial Event */
class FinancialEvent
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val amount: JsonField,
@@ -2700,6 +2705,7 @@ private constructor(
/** Book transfer transaction */
class BookTransferTransaction
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val category: JsonField,
@@ -3687,6 +3693,7 @@ private constructor(
/** Book transfer Event */
class BookTransferEvent
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val amount: JsonField,
@@ -5208,6 +5215,7 @@ private constructor(
}
class TransactionSeries
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val relatedTransactionEventToken: JsonField,
private val relatedTransactionToken: JsonField,
@@ -5531,6 +5539,7 @@ private constructor(
/** Base class for all transaction types in the ledger service */
class CardTransaction
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val accountToken: JsonField,
@@ -7305,6 +7314,7 @@ private constructor(
/** Payment transaction */
class PaymentTransaction
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val category: JsonField,
@@ -8684,6 +8694,7 @@ private constructor(
/** Payment Event */
class PaymentEvent
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val amount: JsonField,
@@ -8750,22 +8761,22 @@ private constructor(
/**
* Event types:
- * - `ACH_ORIGINATION_INITIATED` - ACH origination received and pending approval/release
+ * * `ACH_ORIGINATION_INITIATED` - ACH origination received and pending approval/release
* from an ACH hold.
- * - `ACH_ORIGINATION_REVIEWED` - ACH origination has completed the review process.
- * - `ACH_ORIGINATION_CANCELLED` - ACH origination has been cancelled.
- * - `ACH_ORIGINATION_PROCESSED` - ACH origination has been processed and sent to the
+ * * `ACH_ORIGINATION_REVIEWED` - ACH origination has completed the review process.
+ * * `ACH_ORIGINATION_CANCELLED` - ACH origination has been cancelled.
+ * * `ACH_ORIGINATION_PROCESSED` - ACH origination has been processed and sent to the
* Federal Reserve.
- * - `ACH_ORIGINATION_SETTLED` - ACH origination has settled.
- * - `ACH_ORIGINATION_RELEASED` - ACH origination released from pending to available
+ * * `ACH_ORIGINATION_SETTLED` - ACH origination has settled.
+ * * `ACH_ORIGINATION_RELEASED` - ACH origination released from pending to available
* balance.
- * - `ACH_RETURN_PROCESSED` - ACH origination returned by the Receiving Depository
+ * * `ACH_RETURN_PROCESSED` - ACH origination returned by the Receiving Depository
* Financial Institution.
- * - `ACH_RECEIPT_PROCESSED` - ACH receipt pending release from an ACH holder.
- * - `ACH_RETURN_INITIATED` - ACH initiated return for a ACH receipt.
- * - `ACH_RECEIPT_SETTLED` - ACH receipt funds have settled.
- * - `ACH_RECEIPT_RELEASED` - ACH receipt released from pending to available balance.
- * - `ACH_RETURN_SETTLED` - ACH receipt return settled by the Receiving Depository
+ * * `ACH_RECEIPT_PROCESSED` - ACH receipt pending release from an ACH holder.
+ * * `ACH_RETURN_INITIATED` - ACH initiated return for a ACH receipt.
+ * * `ACH_RECEIPT_SETTLED` - ACH receipt funds have settled.
+ * * `ACH_RECEIPT_RELEASED` - ACH receipt released from pending to available balance.
+ * * `ACH_RETURN_SETTLED` - ACH receipt return settled by the Receiving Depository
* Financial Institution.
*
* @throws LithicInvalidDataException if the JSON field has an unexpected type or is
@@ -8937,23 +8948,23 @@ private constructor(
/**
* Event types:
- * - `ACH_ORIGINATION_INITIATED` - ACH origination received and pending
+ * * `ACH_ORIGINATION_INITIATED` - ACH origination received and pending
* approval/release from an ACH hold.
- * - `ACH_ORIGINATION_REVIEWED` - ACH origination has completed the review process.
- * - `ACH_ORIGINATION_CANCELLED` - ACH origination has been cancelled.
- * - `ACH_ORIGINATION_PROCESSED` - ACH origination has been processed and sent to
+ * * `ACH_ORIGINATION_REVIEWED` - ACH origination has completed the review process.
+ * * `ACH_ORIGINATION_CANCELLED` - ACH origination has been cancelled.
+ * * `ACH_ORIGINATION_PROCESSED` - ACH origination has been processed and sent to
* the Federal Reserve.
- * - `ACH_ORIGINATION_SETTLED` - ACH origination has settled.
- * - `ACH_ORIGINATION_RELEASED` - ACH origination released from pending to available
+ * * `ACH_ORIGINATION_SETTLED` - ACH origination has settled.
+ * * `ACH_ORIGINATION_RELEASED` - ACH origination released from pending to available
* balance.
- * - `ACH_RETURN_PROCESSED` - ACH origination returned by the Receiving Depository
+ * * `ACH_RETURN_PROCESSED` - ACH origination returned by the Receiving Depository
* Financial Institution.
- * - `ACH_RECEIPT_PROCESSED` - ACH receipt pending release from an ACH holder.
- * - `ACH_RETURN_INITIATED` - ACH initiated return for a ACH receipt.
- * - `ACH_RECEIPT_SETTLED` - ACH receipt funds have settled.
- * - `ACH_RECEIPT_RELEASED` - ACH receipt released from pending to available
+ * * `ACH_RECEIPT_PROCESSED` - ACH receipt pending release from an ACH holder.
+ * * `ACH_RETURN_INITIATED` - ACH initiated return for a ACH receipt.
+ * * `ACH_RECEIPT_SETTLED` - ACH receipt funds have settled.
+ * * `ACH_RECEIPT_RELEASED` - ACH receipt released from pending to available
* balance.
- * - `ACH_RETURN_SETTLED` - ACH receipt return settled by the Receiving Depository
+ * * `ACH_RETURN_SETTLED` - ACH receipt return settled by the Receiving Depository
* Financial Institution.
*/
fun type(type: Type) = type(JsonField.of(type))
@@ -9220,22 +9231,22 @@ private constructor(
/**
* Event types:
- * - `ACH_ORIGINATION_INITIATED` - ACH origination received and pending approval/release
+ * * `ACH_ORIGINATION_INITIATED` - ACH origination received and pending approval/release
* from an ACH hold.
- * - `ACH_ORIGINATION_REVIEWED` - ACH origination has completed the review process.
- * - `ACH_ORIGINATION_CANCELLED` - ACH origination has been cancelled.
- * - `ACH_ORIGINATION_PROCESSED` - ACH origination has been processed and sent to the
+ * * `ACH_ORIGINATION_REVIEWED` - ACH origination has completed the review process.
+ * * `ACH_ORIGINATION_CANCELLED` - ACH origination has been cancelled.
+ * * `ACH_ORIGINATION_PROCESSED` - ACH origination has been processed and sent to the
* Federal Reserve.
- * - `ACH_ORIGINATION_SETTLED` - ACH origination has settled.
- * - `ACH_ORIGINATION_RELEASED` - ACH origination released from pending to available
+ * * `ACH_ORIGINATION_SETTLED` - ACH origination has settled.
+ * * `ACH_ORIGINATION_RELEASED` - ACH origination released from pending to available
* balance.
- * - `ACH_RETURN_PROCESSED` - ACH origination returned by the Receiving Depository
+ * * `ACH_RETURN_PROCESSED` - ACH origination returned by the Receiving Depository
* Financial Institution.
- * - `ACH_RECEIPT_PROCESSED` - ACH receipt pending release from an ACH holder.
- * - `ACH_RETURN_INITIATED` - ACH initiated return for a ACH receipt.
- * - `ACH_RECEIPT_SETTLED` - ACH receipt funds have settled.
- * - `ACH_RECEIPT_RELEASED` - ACH receipt released from pending to available balance.
- * - `ACH_RETURN_SETTLED` - ACH receipt return settled by the Receiving Depository
+ * * `ACH_RECEIPT_PROCESSED` - ACH receipt pending release from an ACH holder.
+ * * `ACH_RETURN_INITIATED` - ACH initiated return for a ACH receipt.
+ * * `ACH_RECEIPT_SETTLED` - ACH receipt funds have settled.
+ * * `ACH_RECEIPT_RELEASED` - ACH receipt released from pending to available balance.
+ * * `ACH_RETURN_SETTLED` - ACH receipt return settled by the Receiving Depository
* Financial Institution.
*/
class Type @JsonCreator private constructor(private val value: JsonField) :
@@ -10089,6 +10100,7 @@ private constructor(
}
class AchMethodAttributes
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val secCode: JsonField,
private val addenda: JsonField,
@@ -10731,6 +10743,7 @@ private constructor(
}
class WireMethodAttributes
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val wireNetwork: JsonField,
private val creditor: JsonField,
@@ -11282,6 +11295,7 @@ private constructor(
/** Related account tokens for the transaction */
class RelatedAccountTokens
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val accountToken: JsonField,
private val businessAccountToken: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityRetrieveTransactionResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityRetrieveTransactionResponse.kt
index 1e8946198..cd452c7b5 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityRetrieveTransactionResponse.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityRetrieveTransactionResponse.kt
@@ -326,6 +326,9 @@ private constructor(
node: JsonNode
): AccountActivityRetrieveTransactionResponse {
val json = JsonValue.fromJsonNode(node)
+ val family = json.asObject().getOrNull()?.get("family")?.asString()?.getOrNull()
+
+ when (family) {}
val bestMatches =
sequenceOf(
@@ -413,6 +416,7 @@ private constructor(
/** Financial transaction with inheritance from unified base transaction */
class FinancialTransaction
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val category: JsonField,
@@ -1266,6 +1270,7 @@ private constructor(
/** Financial Event */
class FinancialEvent
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val amount: JsonField,
@@ -2730,6 +2735,7 @@ private constructor(
/** Book transfer transaction */
class BookTransferTransaction
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val category: JsonField,
@@ -3717,6 +3723,7 @@ private constructor(
/** Book transfer Event */
class BookTransferEvent
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val amount: JsonField,
@@ -5238,6 +5245,7 @@ private constructor(
}
class TransactionSeries
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val relatedTransactionEventToken: JsonField,
private val relatedTransactionToken: JsonField,
@@ -5561,6 +5569,7 @@ private constructor(
/** Base class for all transaction types in the ledger service */
class CardTransaction
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val accountToken: JsonField,
@@ -7335,6 +7344,7 @@ private constructor(
/** Payment transaction */
class PaymentTransaction
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val category: JsonField,
@@ -8714,6 +8724,7 @@ private constructor(
/** Payment Event */
class PaymentEvent
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val amount: JsonField,
@@ -8780,22 +8791,22 @@ private constructor(
/**
* Event types:
- * - `ACH_ORIGINATION_INITIATED` - ACH origination received and pending approval/release
+ * * `ACH_ORIGINATION_INITIATED` - ACH origination received and pending approval/release
* from an ACH hold.
- * - `ACH_ORIGINATION_REVIEWED` - ACH origination has completed the review process.
- * - `ACH_ORIGINATION_CANCELLED` - ACH origination has been cancelled.
- * - `ACH_ORIGINATION_PROCESSED` - ACH origination has been processed and sent to the
+ * * `ACH_ORIGINATION_REVIEWED` - ACH origination has completed the review process.
+ * * `ACH_ORIGINATION_CANCELLED` - ACH origination has been cancelled.
+ * * `ACH_ORIGINATION_PROCESSED` - ACH origination has been processed and sent to the
* Federal Reserve.
- * - `ACH_ORIGINATION_SETTLED` - ACH origination has settled.
- * - `ACH_ORIGINATION_RELEASED` - ACH origination released from pending to available
+ * * `ACH_ORIGINATION_SETTLED` - ACH origination has settled.
+ * * `ACH_ORIGINATION_RELEASED` - ACH origination released from pending to available
* balance.
- * - `ACH_RETURN_PROCESSED` - ACH origination returned by the Receiving Depository
+ * * `ACH_RETURN_PROCESSED` - ACH origination returned by the Receiving Depository
* Financial Institution.
- * - `ACH_RECEIPT_PROCESSED` - ACH receipt pending release from an ACH holder.
- * - `ACH_RETURN_INITIATED` - ACH initiated return for a ACH receipt.
- * - `ACH_RECEIPT_SETTLED` - ACH receipt funds have settled.
- * - `ACH_RECEIPT_RELEASED` - ACH receipt released from pending to available balance.
- * - `ACH_RETURN_SETTLED` - ACH receipt return settled by the Receiving Depository
+ * * `ACH_RECEIPT_PROCESSED` - ACH receipt pending release from an ACH holder.
+ * * `ACH_RETURN_INITIATED` - ACH initiated return for a ACH receipt.
+ * * `ACH_RECEIPT_SETTLED` - ACH receipt funds have settled.
+ * * `ACH_RECEIPT_RELEASED` - ACH receipt released from pending to available balance.
+ * * `ACH_RETURN_SETTLED` - ACH receipt return settled by the Receiving Depository
* Financial Institution.
*
* @throws LithicInvalidDataException if the JSON field has an unexpected type or is
@@ -8967,23 +8978,23 @@ private constructor(
/**
* Event types:
- * - `ACH_ORIGINATION_INITIATED` - ACH origination received and pending
+ * * `ACH_ORIGINATION_INITIATED` - ACH origination received and pending
* approval/release from an ACH hold.
- * - `ACH_ORIGINATION_REVIEWED` - ACH origination has completed the review process.
- * - `ACH_ORIGINATION_CANCELLED` - ACH origination has been cancelled.
- * - `ACH_ORIGINATION_PROCESSED` - ACH origination has been processed and sent to
+ * * `ACH_ORIGINATION_REVIEWED` - ACH origination has completed the review process.
+ * * `ACH_ORIGINATION_CANCELLED` - ACH origination has been cancelled.
+ * * `ACH_ORIGINATION_PROCESSED` - ACH origination has been processed and sent to
* the Federal Reserve.
- * - `ACH_ORIGINATION_SETTLED` - ACH origination has settled.
- * - `ACH_ORIGINATION_RELEASED` - ACH origination released from pending to available
+ * * `ACH_ORIGINATION_SETTLED` - ACH origination has settled.
+ * * `ACH_ORIGINATION_RELEASED` - ACH origination released from pending to available
* balance.
- * - `ACH_RETURN_PROCESSED` - ACH origination returned by the Receiving Depository
+ * * `ACH_RETURN_PROCESSED` - ACH origination returned by the Receiving Depository
* Financial Institution.
- * - `ACH_RECEIPT_PROCESSED` - ACH receipt pending release from an ACH holder.
- * - `ACH_RETURN_INITIATED` - ACH initiated return for a ACH receipt.
- * - `ACH_RECEIPT_SETTLED` - ACH receipt funds have settled.
- * - `ACH_RECEIPT_RELEASED` - ACH receipt released from pending to available
+ * * `ACH_RECEIPT_PROCESSED` - ACH receipt pending release from an ACH holder.
+ * * `ACH_RETURN_INITIATED` - ACH initiated return for a ACH receipt.
+ * * `ACH_RECEIPT_SETTLED` - ACH receipt funds have settled.
+ * * `ACH_RECEIPT_RELEASED` - ACH receipt released from pending to available
* balance.
- * - `ACH_RETURN_SETTLED` - ACH receipt return settled by the Receiving Depository
+ * * `ACH_RETURN_SETTLED` - ACH receipt return settled by the Receiving Depository
* Financial Institution.
*/
fun type(type: Type) = type(JsonField.of(type))
@@ -9250,22 +9261,22 @@ private constructor(
/**
* Event types:
- * - `ACH_ORIGINATION_INITIATED` - ACH origination received and pending approval/release
+ * * `ACH_ORIGINATION_INITIATED` - ACH origination received and pending approval/release
* from an ACH hold.
- * - `ACH_ORIGINATION_REVIEWED` - ACH origination has completed the review process.
- * - `ACH_ORIGINATION_CANCELLED` - ACH origination has been cancelled.
- * - `ACH_ORIGINATION_PROCESSED` - ACH origination has been processed and sent to the
+ * * `ACH_ORIGINATION_REVIEWED` - ACH origination has completed the review process.
+ * * `ACH_ORIGINATION_CANCELLED` - ACH origination has been cancelled.
+ * * `ACH_ORIGINATION_PROCESSED` - ACH origination has been processed and sent to the
* Federal Reserve.
- * - `ACH_ORIGINATION_SETTLED` - ACH origination has settled.
- * - `ACH_ORIGINATION_RELEASED` - ACH origination released from pending to available
+ * * `ACH_ORIGINATION_SETTLED` - ACH origination has settled.
+ * * `ACH_ORIGINATION_RELEASED` - ACH origination released from pending to available
* balance.
- * - `ACH_RETURN_PROCESSED` - ACH origination returned by the Receiving Depository
+ * * `ACH_RETURN_PROCESSED` - ACH origination returned by the Receiving Depository
* Financial Institution.
- * - `ACH_RECEIPT_PROCESSED` - ACH receipt pending release from an ACH holder.
- * - `ACH_RETURN_INITIATED` - ACH initiated return for a ACH receipt.
- * - `ACH_RECEIPT_SETTLED` - ACH receipt funds have settled.
- * - `ACH_RECEIPT_RELEASED` - ACH receipt released from pending to available balance.
- * - `ACH_RETURN_SETTLED` - ACH receipt return settled by the Receiving Depository
+ * * `ACH_RECEIPT_PROCESSED` - ACH receipt pending release from an ACH holder.
+ * * `ACH_RETURN_INITIATED` - ACH initiated return for a ACH receipt.
+ * * `ACH_RECEIPT_SETTLED` - ACH receipt funds have settled.
+ * * `ACH_RECEIPT_RELEASED` - ACH receipt released from pending to available balance.
+ * * `ACH_RETURN_SETTLED` - ACH receipt return settled by the Receiving Depository
* Financial Institution.
*/
class Type @JsonCreator private constructor(private val value: JsonField) :
@@ -10119,6 +10130,7 @@ private constructor(
}
class AchMethodAttributes
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val secCode: JsonField,
private val addenda: JsonField,
@@ -10761,6 +10773,7 @@ private constructor(
}
class WireMethodAttributes
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val wireNetwork: JsonField,
private val creditor: JsonField,
@@ -11312,6 +11325,7 @@ private constructor(
/** Related account tokens for the transaction */
class RelatedAccountTokens
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val accountToken: JsonField,
private val businessAccountToken: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolder.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolder.kt
index 83b33d195..94557f289 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolder.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolder.kt
@@ -22,6 +22,7 @@ import java.util.Optional
import kotlin.jvm.optionals.getOrNull
class AccountHolder
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val created: JsonField,
@@ -278,7 +279,7 @@ private constructor(
* KYC and KYB evaluation states.
*
* Note:
- * - `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
+ * * `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
*
* @throws LithicInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
@@ -879,7 +880,7 @@ private constructor(
* KYC and KYB evaluation states.
*
* Note:
- * - `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
+ * * `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
*/
fun status(status: Status) = status(JsonField.of(status))
@@ -1092,6 +1093,7 @@ private constructor(
(if (websiteUrl.asKnown().isPresent) 1 else 0)
class AccountHolderBusinessResponse
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val address: JsonField,
private val dbaBusinessName: JsonField,
@@ -1567,6 +1569,7 @@ private constructor(
* information provided via KYC. For example, we do not return the government id.
*/
class AccountHolderIndividualResponse
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val address: JsonField,
private val dob: JsonField,
@@ -2114,7 +2117,7 @@ private constructor(
* KYC and KYB evaluation states.
*
* Note:
- * - `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
+ * * `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
*/
class Status @JsonCreator private constructor(private val value: JsonField) : Enum {
@@ -2574,6 +2577,7 @@ private constructor(
/** Information about the most recent identity verification attempt */
class AccountHolderVerificationApplication
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val created: JsonField,
private val status: JsonField,
@@ -2608,7 +2612,7 @@ private constructor(
* KYC and KYB evaluation states.
*
* Note:
- * - `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
+ * * `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
*
* @throws LithicInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
@@ -2722,7 +2726,7 @@ private constructor(
* KYC and KYB evaluation states.
*
* Note:
- * - `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
+ * * `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
*/
fun status(status: Status) = status(JsonField.of(status))
@@ -2847,7 +2851,7 @@ private constructor(
* KYC and KYB evaluation states.
*
* Note:
- * - `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
+ * * `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
*/
class Status @JsonCreator private constructor(private val value: JsonField) : Enum {
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderCreateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderCreateParams.kt
index 186a47af9..d31c38214 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderCreateParams.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderCreateParams.kt
@@ -447,6 +447,7 @@ private constructor(
}
class KybDelegated
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val businessEntity: JsonField,
private val beneficialOwnerIndividuals: JsonField>,
@@ -966,6 +967,7 @@ private constructor(
/** Information for business for which the account is being opened. */
class KybDelegatedBusinessEntity
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val address: JsonField,
private val legalBusinessName: JsonField,
@@ -1408,6 +1410,7 @@ private constructor(
/** Individuals associated with a KYB application. Phone number is optional. */
class KybIndividual
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val address: JsonField,
private val dob: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderCreateResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderCreateResponse.kt
index d508e6a66..c6820f40c 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderCreateResponse.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderCreateResponse.kt
@@ -22,6 +22,7 @@ import java.util.Optional
import kotlin.jvm.optionals.getOrNull
class AccountHolderCreateResponse
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val accountToken: JsonField,
@@ -83,7 +84,7 @@ private constructor(
* KYC and KYB evaluation states.
*
* Note:
- * - `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
+ * * `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
*
* @throws LithicInvalidDataException if the JSON field has an unexpected type or is
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
@@ -263,7 +264,7 @@ private constructor(
* KYC and KYB evaluation states.
*
* Note:
- * - `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
+ * * `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
*/
fun status(status: Status) = status(JsonField.of(status))
@@ -450,7 +451,7 @@ private constructor(
* KYC and KYB evaluation states.
*
* Note:
- * - `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
+ * * `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
*/
class Status @JsonCreator private constructor(private val value: JsonField) : Enum {
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListDocumentsResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListDocumentsResponse.kt
index 1555eef7a..97fa2d330 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListDocumentsResponse.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListDocumentsResponse.kt
@@ -19,6 +19,7 @@ import java.util.Optional
import kotlin.jvm.optionals.getOrNull
class AccountHolderListDocumentsResponse
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val data: JsonField>,
private val additionalProperties: MutableMap,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListPageResponse.kt
index 12a86f19d..0390db024 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListPageResponse.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListPageResponse.kt
@@ -19,6 +19,7 @@ import java.util.Objects
import kotlin.jvm.optionals.getOrNull
class AccountHolderListPageResponse
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val data: JsonField>,
private val hasMore: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentDocumentReviewParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentDocumentReviewParams.kt
index 722156d82..ff1c258e4 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentDocumentReviewParams.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentDocumentReviewParams.kt
@@ -372,6 +372,7 @@ private constructor(
override fun _queryParams(): QueryParams = additionalQueryParams
class SimulateEnrollmentDocumentReviewRequest
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val documentUploadToken: JsonField,
private val status: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentReviewParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentReviewParams.kt
index f9045d1cb..3320660d6 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentReviewParams.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentReviewParams.kt
@@ -323,6 +323,7 @@ private constructor(
override fun _queryParams(): QueryParams = additionalQueryParams
class SimulateEnrollmentReviewRequest
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val accountHolderToken: JsonField,
private val status: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentReviewResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentReviewResponse.kt
index 7bcc8b469..f1a266837 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentReviewResponse.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentReviewResponse.kt
@@ -22,6 +22,7 @@ import java.util.Optional
import kotlin.jvm.optionals.getOrNull
class AccountHolderSimulateEnrollmentReviewResponse
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val accountToken: JsonField,
@@ -1081,6 +1082,7 @@ private constructor(
(if (websiteUrl.asKnown().isPresent) 1 else 0)
class Individual
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val address: JsonField,
private val dob: JsonField,
@@ -1459,6 +1461,7 @@ private constructor(
* APO/FPO are acceptable. Only USA addresses are currently supported.
*/
class Address
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val address1: JsonField,
private val city: JsonField,
@@ -2603,6 +2606,7 @@ private constructor(
/** Information about the most recent identity verification attempt */
class VerificationApplication
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val created: JsonField,
private val status: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUpdateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUpdateParams.kt
index d6bd70dc9..35fd00bcb 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUpdateParams.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUpdateParams.kt
@@ -466,6 +466,7 @@ private constructor(
/** The KYB request payload for updating a business. */
class KybPatchRequest
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val beneficialOwnerEntities: JsonField>,
private val beneficialOwnerIndividuals: JsonField>,
@@ -955,6 +956,7 @@ private constructor(
(if (websiteUrl.asKnown().isPresent) 1 else 0)
class KybBusinessEntityPatch
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val entityToken: JsonField,
private val address: JsonField,
@@ -1439,6 +1441,7 @@ private constructor(
/** Individuals associated with a KYB application. Phone number is optional. */
class IndividualPatch
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val entityToken: JsonField,
private val address: JsonField,
@@ -1974,6 +1977,7 @@ private constructor(
/** The KYC request payload for updating an account holder. */
class KycPatchRequest
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val externalId: JsonField,
private val individual: JsonField,
@@ -2160,6 +2164,7 @@ private constructor(
* run.
*/
class IndividualPatch
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val entityToken: JsonField,
private val address: JsonField,
@@ -2681,6 +2686,7 @@ private constructor(
/** The legacy request for updating an account holder. */
class PatchRequest
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val address: JsonField,
private val businessAccountToken: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUpdateResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUpdateResponse.kt
index 310bcef74..68ca91703 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUpdateResponse.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUpdateResponse.kt
@@ -211,6 +211,7 @@ private constructor(
}
class KybKycPatchResponse
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val accountToken: JsonField,
@@ -1281,6 +1282,7 @@ private constructor(
(if (websiteUrl.asKnown().isPresent) 1 else 0)
class Individual
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val address: JsonField,
private val dob: JsonField,
@@ -1673,6 +1675,7 @@ private constructor(
* acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
*/
class Address
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val address1: JsonField,
private val city: JsonField,
@@ -2844,6 +2847,7 @@ private constructor(
/** Information about the most recent identity verification attempt */
class VerificationApplication
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val created: JsonField,
private val status: JsonField,
@@ -3746,6 +3750,7 @@ private constructor(
}
class PatchResponse
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val address: JsonField,
@@ -4151,6 +4156,7 @@ private constructor(
/** The address for the account holder */
class Address
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val address1: JsonField,
private val city: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUploadDocumentParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUploadDocumentParams.kt
index 88eab8200..966dfb2fe 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUploadDocumentParams.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUploadDocumentParams.kt
@@ -320,6 +320,7 @@ private constructor(
override fun _queryParams(): QueryParams = additionalQueryParams
class Body
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val documentType: JsonField,
private val entityToken: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountListPageResponse.kt
index 2974a5ceb..9de383f89 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountListPageResponse.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountListPageResponse.kt
@@ -19,6 +19,7 @@ import java.util.Objects
import kotlin.jvm.optionals.getOrNull
class AccountListPageResponse
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val data: JsonField>,
private val hasMore: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountSpendLimits.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountSpendLimits.kt
index ed47e6107..6e914fdfa 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountSpendLimits.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountSpendLimits.kt
@@ -18,6 +18,7 @@ import java.util.Optional
import kotlin.jvm.optionals.getOrNull
class AccountSpendLimits
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val availableSpendLimit: JsonField,
private val spendLimit: JsonField,
@@ -237,6 +238,7 @@ private constructor(
(spendVelocity.asKnown().getOrNull()?.validity() ?: 0)
class AvailableSpendLimit
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val daily: JsonField,
private val lifetime: JsonField,
@@ -462,6 +464,7 @@ private constructor(
}
class SpendLimit
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val daily: JsonField,
private val lifetime: JsonField,
@@ -675,6 +678,7 @@ private constructor(
}
class SpendVelocity
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val daily: JsonField,
private val lifetime: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountUpdateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountUpdateParams.kt
index 0bb67da34..9a75e9e55 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountUpdateParams.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountUpdateParams.kt
@@ -84,28 +84,28 @@ private constructor(
/**
* Account state substatus values:
- * - `FRAUD_IDENTIFIED` - The account has been recognized as being created or used with stolen
+ * * `FRAUD_IDENTIFIED` - The account has been recognized as being created or used with stolen
* or fabricated identity information, encompassing both true identity theft and synthetic
* identities.
- * - `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as unauthorized
+ * * `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as unauthorized
* access or fraudulent transactions, necessitating further investigation.
- * - `RISK_VIOLATION` - The account has been involved in deliberate misuse by the legitimate
+ * * `RISK_VIOLATION` - The account has been involved in deliberate misuse by the legitimate
* account holder. Examples include disputing valid transactions without cause, falsely
* claiming non-receipt of goods, or engaging in intentional bust-out schemes to exploit
* account services.
- * - `END_USER_REQUEST` - The account holder has voluntarily requested the closure of the
+ * * `END_USER_REQUEST` - The account holder has voluntarily requested the closure of the
* account for personal reasons. This encompasses situations such as bankruptcy, other
* financial considerations, or the account holder's death.
- * - `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to business
+ * * `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to business
* strategy, risk management, inactivity, product changes, regulatory concerns, or violations
* of terms and conditions.
- * - `NOT_ACTIVE` - The account has not had any transactions or payment activity within a
+ * * `NOT_ACTIVE` - The account has not had any transactions or payment activity within a
* specified period. This status applies to accounts that are paused or closed due to
* inactivity.
- * - `INTERNAL_REVIEW` - The account is temporarily paused pending further internal review. In
+ * * `INTERNAL_REVIEW` - The account is temporarily paused pending further internal review. In
* future implementations, this status may prevent clients from activating the account via
* APIs until the review is completed.
- * - `OTHER` - The reason for the account's current status does not fall into any of the above
+ * * `OTHER` - The reason for the account's current status does not fall into any of the above
* categories. A comment should be provided to specify the particular reason.
*
* @throws LithicInvalidDataException if the JSON field has an unexpected type (e.g. if the
@@ -313,28 +313,28 @@ private constructor(
/**
* Account state substatus values:
- * - `FRAUD_IDENTIFIED` - The account has been recognized as being created or used with
+ * * `FRAUD_IDENTIFIED` - The account has been recognized as being created or used with
* stolen or fabricated identity information, encompassing both true identity theft and
* synthetic identities.
- * - `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as
+ * * `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as
* unauthorized access or fraudulent transactions, necessitating further investigation.
- * - `RISK_VIOLATION` - The account has been involved in deliberate misuse by the legitimate
+ * * `RISK_VIOLATION` - The account has been involved in deliberate misuse by the legitimate
* account holder. Examples include disputing valid transactions without cause, falsely
* claiming non-receipt of goods, or engaging in intentional bust-out schemes to exploit
* account services.
- * - `END_USER_REQUEST` - The account holder has voluntarily requested the closure of the
+ * * `END_USER_REQUEST` - The account holder has voluntarily requested the closure of the
* account for personal reasons. This encompasses situations such as bankruptcy, other
* financial considerations, or the account holder's death.
- * - `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to business
+ * * `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to business
* strategy, risk management, inactivity, product changes, regulatory concerns, or
* violations of terms and conditions.
- * - `NOT_ACTIVE` - The account has not had any transactions or payment activity within a
+ * * `NOT_ACTIVE` - The account has not had any transactions or payment activity within a
* specified period. This status applies to accounts that are paused or closed due to
* inactivity.
- * - `INTERNAL_REVIEW` - The account is temporarily paused pending further internal review.
+ * * `INTERNAL_REVIEW` - The account is temporarily paused pending further internal review.
* In future implementations, this status may prevent clients from activating the account
* via APIs until the review is completed.
- * - `OTHER` - The reason for the account's current status does not fall into any of the
+ * * `OTHER` - The reason for the account's current status does not fall into any of the
* above categories. A comment should be provided to specify the particular reason.
*/
fun substatus(substatus: Substatus) = apply { body.substatus(substatus) }
@@ -514,6 +514,7 @@ private constructor(
override fun _queryParams(): QueryParams = additionalQueryParams
class Body
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val comment: JsonField,
private val dailySpendLimit: JsonField,
@@ -606,28 +607,28 @@ private constructor(
/**
* Account state substatus values:
- * - `FRAUD_IDENTIFIED` - The account has been recognized as being created or used with
+ * * `FRAUD_IDENTIFIED` - The account has been recognized as being created or used with
* stolen or fabricated identity information, encompassing both true identity theft and
* synthetic identities.
- * - `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as
+ * * `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as
* unauthorized access or fraudulent transactions, necessitating further investigation.
- * - `RISK_VIOLATION` - The account has been involved in deliberate misuse by the legitimate
+ * * `RISK_VIOLATION` - The account has been involved in deliberate misuse by the legitimate
* account holder. Examples include disputing valid transactions without cause, falsely
* claiming non-receipt of goods, or engaging in intentional bust-out schemes to exploit
* account services.
- * - `END_USER_REQUEST` - The account holder has voluntarily requested the closure of the
+ * * `END_USER_REQUEST` - The account holder has voluntarily requested the closure of the
* account for personal reasons. This encompasses situations such as bankruptcy, other
* financial considerations, or the account holder's death.
- * - `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to business
+ * * `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to business
* strategy, risk management, inactivity, product changes, regulatory concerns, or
* violations of terms and conditions.
- * - `NOT_ACTIVE` - The account has not had any transactions or payment activity within a
+ * * `NOT_ACTIVE` - The account has not had any transactions or payment activity within a
* specified period. This status applies to accounts that are paused or closed due to
* inactivity.
- * - `INTERNAL_REVIEW` - The account is temporarily paused pending further internal review.
+ * * `INTERNAL_REVIEW` - The account is temporarily paused pending further internal review.
* In future implementations, this status may prevent clients from activating the account
* via APIs until the review is completed.
- * - `OTHER` - The reason for the account's current status does not fall into any of the
+ * * `OTHER` - The reason for the account's current status does not fall into any of the
* above categories. A comment should be provided to specify the particular reason.
*
* @throws LithicInvalidDataException if the JSON field has an unexpected type (e.g. if the
@@ -838,29 +839,29 @@ private constructor(
/**
* Account state substatus values:
- * - `FRAUD_IDENTIFIED` - The account has been recognized as being created or used with
+ * * `FRAUD_IDENTIFIED` - The account has been recognized as being created or used with
* stolen or fabricated identity information, encompassing both true identity theft
* and synthetic identities.
- * - `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as
+ * * `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as
* unauthorized access or fraudulent transactions, necessitating further
* investigation.
- * - `RISK_VIOLATION` - The account has been involved in deliberate misuse by the
+ * * `RISK_VIOLATION` - The account has been involved in deliberate misuse by the
* legitimate account holder. Examples include disputing valid transactions without
* cause, falsely claiming non-receipt of goods, or engaging in intentional bust-out
* schemes to exploit account services.
- * - `END_USER_REQUEST` - The account holder has voluntarily requested the closure of
+ * * `END_USER_REQUEST` - The account holder has voluntarily requested the closure of
* the account for personal reasons. This encompasses situations such as bankruptcy,
* other financial considerations, or the account holder's death.
- * - `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to
+ * * `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to
* business strategy, risk management, inactivity, product changes, regulatory
* concerns, or violations of terms and conditions.
- * - `NOT_ACTIVE` - The account has not had any transactions or payment activity within
+ * * `NOT_ACTIVE` - The account has not had any transactions or payment activity within
* a specified period. This status applies to accounts that are paused or closed due
* to inactivity.
- * - `INTERNAL_REVIEW` - The account is temporarily paused pending further internal
+ * * `INTERNAL_REVIEW` - The account is temporarily paused pending further internal
* review. In future implementations, this status may prevent clients from activating
* the account via APIs until the review is completed.
- * - `OTHER` - The reason for the account's current status does not fall into any of the
+ * * `OTHER` - The reason for the account's current status does not fall into any of the
* above categories. A comment should be provided to specify the particular reason.
*/
fun substatus(substatus: Substatus) = substatus(JsonField.of(substatus))
@@ -1143,28 +1144,28 @@ private constructor(
/**
* Account state substatus values:
- * - `FRAUD_IDENTIFIED` - The account has been recognized as being created or used with stolen
+ * * `FRAUD_IDENTIFIED` - The account has been recognized as being created or used with stolen
* or fabricated identity information, encompassing both true identity theft and synthetic
* identities.
- * - `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as unauthorized
+ * * `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as unauthorized
* access or fraudulent transactions, necessitating further investigation.
- * - `RISK_VIOLATION` - The account has been involved in deliberate misuse by the legitimate
+ * * `RISK_VIOLATION` - The account has been involved in deliberate misuse by the legitimate
* account holder. Examples include disputing valid transactions without cause, falsely
* claiming non-receipt of goods, or engaging in intentional bust-out schemes to exploit
* account services.
- * - `END_USER_REQUEST` - The account holder has voluntarily requested the closure of the
+ * * `END_USER_REQUEST` - The account holder has voluntarily requested the closure of the
* account for personal reasons. This encompasses situations such as bankruptcy, other
* financial considerations, or the account holder's death.
- * - `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to business
+ * * `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to business
* strategy, risk management, inactivity, product changes, regulatory concerns, or violations
* of terms and conditions.
- * - `NOT_ACTIVE` - The account has not had any transactions or payment activity within a
+ * * `NOT_ACTIVE` - The account has not had any transactions or payment activity within a
* specified period. This status applies to accounts that are paused or closed due to
* inactivity.
- * - `INTERNAL_REVIEW` - The account is temporarily paused pending further internal review. In
+ * * `INTERNAL_REVIEW` - The account is temporarily paused pending further internal review. In
* future implementations, this status may prevent clients from activating the account via
* APIs until the review is completed.
- * - `OTHER` - The reason for the account's current status does not fall into any of the above
+ * * `OTHER` - The reason for the account's current status does not fall into any of the above
* categories. A comment should be provided to specify the particular reason.
*/
class Substatus @JsonCreator private constructor(private val value: JsonField) : Enum {
@@ -1337,6 +1338,7 @@ private constructor(
*/
@Deprecated("deprecated")
class VerificationAddress
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val address1: JsonField,
private val address2: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Address.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Address.kt
index 41be46188..251f675b2 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Address.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Address.kt
@@ -17,6 +17,7 @@ import java.util.Objects
import java.util.Optional
class Address
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val address1: JsonField,
private val city: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AddressUpdate.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AddressUpdate.kt
index d1d5bf17f..f62d09bce 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AddressUpdate.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AddressUpdate.kt
@@ -16,6 +16,7 @@ import java.util.Objects
import java.util.Optional
class AddressUpdate
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val address1: JsonField,
private val address2: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalance.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalance.kt
index 92e8aefde..16c545050 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalance.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalance.kt
@@ -20,6 +20,7 @@ import kotlin.jvm.optionals.getOrNull
/** Aggregate Balance across all end-user accounts */
class AggregateBalance
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val availableAmount: JsonField,
private val created: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListPageResponse.kt
index 02ea187e2..be5067244 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListPageResponse.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListPageResponse.kt
@@ -19,6 +19,7 @@ import java.util.Objects
import kotlin.jvm.optionals.getOrNull
class AggregateBalanceListPageResponse
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val data: JsonField>,
private val hasMore: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListResponse.kt
index e5cdc8d0e..6fb720c8a 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListResponse.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListResponse.kt
@@ -18,6 +18,7 @@ import java.util.Objects
/** Card Aggregate Balance across all end-user accounts */
class AggregateBalanceListResponse
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val availableAmount: JsonField,
private val created: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ApiStatus.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ApiStatus.kt
index 8188736c4..0ec8538f5 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ApiStatus.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ApiStatus.kt
@@ -16,6 +16,7 @@ import java.util.Objects
import java.util.Optional
class ApiStatus
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val message: JsonField,
private val additionalProperties: MutableMap,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRule.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRule.kt
index 2d9355249..8c222be14 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRule.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRule.kt
@@ -21,6 +21,7 @@ import java.util.Optional
import kotlin.jvm.optionals.getOrNull
class AuthRule
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val state: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleCondition.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleCondition.kt
index 08ff4eab3..3d64f8ddc 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleCondition.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleCondition.kt
@@ -30,6 +30,7 @@ import java.util.Optional
import kotlin.jvm.optionals.getOrNull
class AuthRuleCondition
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val attribute: JsonField,
private val operation: JsonField,
@@ -52,39 +53,39 @@ private constructor(
* The attribute to target.
*
* The following attributes may be targeted:
- * - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a business by
+ * * `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a business by
* the types of goods or services it provides.
- * - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all ISO 3166-1
+ * * `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all ISO 3166-1
* alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for Netherlands Antilles.
- * - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of the
+ * * `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of the
* transaction.
- * - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor (merchant).
- * - `DESCRIPTOR`: Short description of card acceptor.
- * - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer applies to
+ * * `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor (merchant).
+ * * `DESCRIPTOR`: Short description of card acceptor.
+ * * `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer applies to
* the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or `TOKEN_AUTHENTICATED`.
- * - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number (PAN) was
+ * * `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number (PAN) was
* entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`, `ECOMMERCE`,
* `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`, `MAGNETIC_STRIPE`, `MANUAL`,
* `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`, `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
- * - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer fee field in
+ * * `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer fee field in
* the settlement/cardholder billing currency. This is the amount the issuer should authorize
* against unless the issuer is paying the acquirer fee on behalf of the cardholder.
- * - `RISK_SCORE`: Network-provided score assessing risk level associated with a given
+ * * `RISK_SCORE`: Network-provided score assessing risk level associated with a given
* authorization. Scores are on a range of 0-999, with 0 representing the lowest risk and 999
* representing the highest risk. For Visa transactions, where the raw score has a range of
* 0-99, Lithic will normalize the score by multiplying the raw score by 10x.
- * - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the trailing 15
+ * * `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the trailing 15
* minutes before the authorization.
- * - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the trailing hour up
+ * * `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the trailing hour up
* and until the authorization.
- * - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the trailing 24
+ * * `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the trailing 24
* hours up and until the authorization.
- * - `CARD_STATE`: The current state of the card associated with the transaction. Valid values
+ * * `CARD_STATE`: The current state of the card associated with the transaction. Valid values
* are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`, `PENDING_FULFILLMENT`.
- * - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction. Valid values are
+ * * `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction. Valid values are
* `TRUE`, `FALSE`.
- * - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`, `OK`, `BLOCKED`.
- * - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the source of the
+ * * `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`, `OK`, `BLOCKED`.
+ * * `WALLET_TYPE`: For transactions using a digital wallet token, indicates the source of the
* token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`, `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`,
* `OTHER`, `NONE`.
*
@@ -170,43 +171,43 @@ private constructor(
* The attribute to target.
*
* The following attributes may be targeted:
- * - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a business
+ * * `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a business
* by the types of goods or services it provides.
- * - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all ISO 3166-1
+ * * `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all ISO 3166-1
* alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for Netherlands Antilles.
- * - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of the
+ * * `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of the
* transaction.
- * - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor (merchant).
- * - `DESCRIPTOR`: Short description of card acceptor.
- * - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer applies
+ * * `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor (merchant).
+ * * `DESCRIPTOR`: Short description of card acceptor.
+ * * `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer applies
* to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
* `TOKEN_AUTHENTICATED`.
- * - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number (PAN) was
+ * * `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number (PAN) was
* entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`, `ECOMMERCE`,
* `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`, `MAGNETIC_STRIPE`,
* `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`, `UNKNOWN`, `CREDENTIAL_ON_FILE`, or
* `ECOMMERCE`.
- * - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer fee
+ * * `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer fee
* field in the settlement/cardholder billing currency. This is the amount the issuer
* should authorize against unless the issuer is paying the acquirer fee on behalf of the
* cardholder.
- * - `RISK_SCORE`: Network-provided score assessing risk level associated with a given
+ * * `RISK_SCORE`: Network-provided score assessing risk level associated with a given
* authorization. Scores are on a range of 0-999, with 0 representing the lowest risk and
* 999 representing the highest risk. For Visa transactions, where the raw score has a
* range of 0-99, Lithic will normalize the score by multiplying the raw score by 10x.
- * - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the trailing 15
+ * * `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the trailing 15
* minutes before the authorization.
- * - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the trailing
+ * * `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the trailing
* hour up and until the authorization.
- * - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the trailing 24
+ * * `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the trailing 24
* hours up and until the authorization.
- * - `CARD_STATE`: The current state of the card associated with the transaction. Valid
+ * * `CARD_STATE`: The current state of the card associated with the transaction. Valid
* values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`, `PENDING_FULFILLMENT`.
- * - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction. Valid values
+ * * `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction. Valid values
* are `TRUE`, `FALSE`.
- * - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`, `OK`,
+ * * `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`, `OK`,
* `BLOCKED`.
- * - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the source of
+ * * `WALLET_TYPE`: For transactions using a digital wallet token, indicates the source of
* the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`, `SAMSUNG_PAY`, `MASTERPASS`,
* `MERCHANT`, `OTHER`, `NONE`.
*/
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ApplyParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ApplyParams.kt
index 15d085c07..a20c0cc78 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ApplyParams.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ApplyParams.kt
@@ -496,6 +496,7 @@ private constructor(
}
class ApplyAuthRuleRequestAccountTokens
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val accountTokens: JsonField>,
private val businessAccountTokens: JsonField>,
@@ -734,6 +735,7 @@ private constructor(
}
class ApplyAuthRuleRequestCardTokens
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val cardTokens: JsonField>,
private val additionalProperties: MutableMap,
@@ -920,6 +922,7 @@ private constructor(
}
class ApplyAuthRuleRequestProgramLevel
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val programLevel: JsonField,
private val excludedCardTokens: JsonField>,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2BacktestCreateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2BacktestCreateParams.kt
index 00e4b9b98..12f72e913 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2BacktestCreateParams.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2BacktestCreateParams.kt
@@ -304,6 +304,7 @@ private constructor(
override fun _queryParams(): QueryParams = additionalQueryParams
class BacktestRequest
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val end: JsonField,
private val start: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2CreateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2CreateParams.kt
index 9efad1fd0..78b13d8e4 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2CreateParams.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2CreateParams.kt
@@ -480,6 +480,7 @@ private constructor(
}
class CreateAuthRuleRequestAccountTokens
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val accountTokens: JsonField>,
private val businessAccountTokens: JsonField>,
@@ -1379,6 +1380,7 @@ private constructor(
}
class ConditionalAuthorizationActionParameters
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val action: JsonField,
private val conditions: JsonField>,
@@ -1733,6 +1735,7 @@ private constructor(
}
class Condition
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val attribute: JsonField,
private val operation: JsonField,
@@ -1757,51 +1760,51 @@ private constructor(
* The attribute to target.
*
* The following attributes may be targeted:
- * - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to
+ * * `MCC`: A four-digit number listed in ISO 18245. An MCC is used to
* classify a business by the types of goods or services it provides.
- * - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1)
+ * * `COUNTRY`: Country of entity of card acceptor. Possible values are: (1)
* all ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT
* for Netherlands Antilles.
- * - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant
+ * * `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant
* currency of the transaction.
- * - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card
+ * * `MERCHANT_ID`: Unique alphanumeric identifier for the payment card
* acceptor (merchant).
- * - `DESCRIPTOR`: Short description of card acceptor.
- * - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the
+ * * `DESCRIPTOR`: Short description of card acceptor.
+ * * `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the
* issuer applies to the transaction. Valid values are `NONE`,
* `3DS_AUTHENTICATED`, or `TOKEN_AUTHENTICATED`.
- * - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account
+ * * `PAN_ENTRY_MODE`: The method by which the cardholder's primary account
* number (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`,
* `CONTACTLESS`, `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`,
* `ICC`, `KEY_ENTERED`, `MAGNETIC_STRIPE`, `MANUAL`, `OCR`,
* `SECURE_CARDLESS`, `UNSPECIFIED`, `UNKNOWN`, `CREDENTIAL_ON_FILE`, or
* `ECOMMERCE`.
- * - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the
+ * * `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the
* acquirer fee field in the settlement/cardholder billing currency. This
* is the amount the issuer should authorize against unless the issuer is
* paying the acquirer fee on behalf of the cardholder.
- * - `RISK_SCORE`: Network-provided score assessing risk level associated
+ * * `RISK_SCORE`: Network-provided score assessing risk level associated
* with a given authorization. Scores are on a range of 0-999, with 0
* representing the lowest risk and 999 representing the highest risk. For
* Visa transactions, where the raw score has a range of 0-99, Lithic will
* normalize the score by multiplying the raw score by 10x.
- * - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in
+ * * `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in
* the trailing 15 minutes before the authorization.
- * - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in
+ * * `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in
* the trailing hour up and until the authorization.
- * - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in
+ * * `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in
* the trailing 24 hours up and until the authorization.
- * - `CARD_STATE`: The current state of the card associated with the
+ * * `CARD_STATE`: The current state of the card associated with the
* transaction. Valid values are `CLOSED`, `OPEN`, `PAUSED`,
* `PENDING_ACTIVATION`, `PENDING_FULFILLMENT`.
- * - `PIN_ENTERED`: Indicates whether a PIN was entered during the
+ * * `PIN_ENTERED`: Indicates whether a PIN was entered during the
* transaction. Valid values are `TRUE`, `FALSE`.
- * - `PIN_STATUS`: The current state of card's PIN. Valid values are
+ * * `PIN_STATUS`: The current state of card's PIN. Valid values are
* `NOT_SET`, `OK`, `BLOCKED`.
- * - `WALLET_TYPE`: For transactions using a digital wallet token, indicates
+ * * `WALLET_TYPE`: For transactions using a digital wallet token, indicates
* the source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
* `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
- * - `TRANSACTION_INITIATOR`: The entity that initiated the transaction
+ * * `TRANSACTION_INITIATOR`: The entity that initiated the transaction
* indicates the source of the token. Valid values are `CARDHOLDER`,
* `MERCHANT`, `UNKNOWN`.
*
@@ -1898,54 +1901,54 @@ private constructor(
* The attribute to target.
*
* The following attributes may be targeted:
- * - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to
+ * * `MCC`: A four-digit number listed in ISO 18245. An MCC is used to
* classify a business by the types of goods or services it provides.
- * - `COUNTRY`: Country of entity of card acceptor. Possible values are:
+ * * `COUNTRY`: Country of entity of card acceptor. Possible values are:
* (1) all ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and
* (3) ANT for Netherlands Antilles.
- * - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant
+ * * `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant
* currency of the transaction.
- * - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card
+ * * `MERCHANT_ID`: Unique alphanumeric identifier for the payment card
* acceptor (merchant).
- * - `DESCRIPTOR`: Short description of card acceptor.
- * - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to
+ * * `DESCRIPTOR`: Short description of card acceptor.
+ * * `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to
* the issuer applies to the transaction. Valid values are `NONE`,
* `3DS_AUTHENTICATED`, or `TOKEN_AUTHENTICATED`.
- * - `PAN_ENTRY_MODE`: The method by which the cardholder's primary
+ * * `PAN_ENTRY_MODE`: The method by which the cardholder's primary
* account number (PAN) was entered. Valid values are `AUTO_ENTRY`,
* `BAR_CODE`, `CONTACTLESS`, `ECOMMERCE`, `ERROR_KEYED`,
* `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`, `MAGNETIC_STRIPE`,
* `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`, `UNKNOWN`,
* `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
- * - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus
+ * * `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus
* the acquirer fee field in the settlement/cardholder billing
* currency. This is the amount the issuer should authorize against
* unless the issuer is paying the acquirer fee on behalf of the
* cardholder.
- * - `RISK_SCORE`: Network-provided score assessing risk level
+ * * `RISK_SCORE`: Network-provided score assessing risk level
* associated with a given authorization. Scores are on a range of
* 0-999, with 0 representing the lowest risk and 999 representing the
* highest risk. For Visa transactions, where the raw score has a
* range of 0-99, Lithic will normalize the score by multiplying the
* raw score by 10x.
- * - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the
+ * * `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the
* card in the trailing 15 minutes before the authorization.
- * - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card
+ * * `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card
* in the trailing hour up and until the authorization.
- * - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the
+ * * `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the
* card in the trailing 24 hours up and until the authorization.
- * - `CARD_STATE`: The current state of the card associated with the
+ * * `CARD_STATE`: The current state of the card associated with the
* transaction. Valid values are `CLOSED`, `OPEN`, `PAUSED`,
* `PENDING_ACTIVATION`, `PENDING_FULFILLMENT`.
- * - `PIN_ENTERED`: Indicates whether a PIN was entered during the
+ * * `PIN_ENTERED`: Indicates whether a PIN was entered during the
* transaction. Valid values are `TRUE`, `FALSE`.
- * - `PIN_STATUS`: The current state of card's PIN. Valid values are
+ * * `PIN_STATUS`: The current state of card's PIN. Valid values are
* `NOT_SET`, `OK`, `BLOCKED`.
- * - `WALLET_TYPE`: For transactions using a digital wallet token,
+ * * `WALLET_TYPE`: For transactions using a digital wallet token,
* indicates the source of the token. Valid values are `APPLE_PAY`,
* `GOOGLE_PAY`, `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`,
* `NONE`.
- * - `TRANSACTION_INITIATOR`: The entity that initiated the transaction
+ * * `TRANSACTION_INITIATOR`: The entity that initiated the transaction
* indicates the source of the token. Valid values are `CARDHOLDER`,
* `MERCHANT`, `UNKNOWN`.
*/
@@ -2075,51 +2078,51 @@ private constructor(
* The attribute to target.
*
* The following attributes may be targeted:
- * - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to
+ * * `MCC`: A four-digit number listed in ISO 18245. An MCC is used to
* classify a business by the types of goods or services it provides.
- * - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1)
+ * * `COUNTRY`: Country of entity of card acceptor. Possible values are: (1)
* all ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT
* for Netherlands Antilles.
- * - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant
+ * * `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant
* currency of the transaction.
- * - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card
+ * * `MERCHANT_ID`: Unique alphanumeric identifier for the payment card
* acceptor (merchant).
- * - `DESCRIPTOR`: Short description of card acceptor.
- * - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the
+ * * `DESCRIPTOR`: Short description of card acceptor.
+ * * `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the
* issuer applies to the transaction. Valid values are `NONE`,
* `3DS_AUTHENTICATED`, or `TOKEN_AUTHENTICATED`.
- * - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account
+ * * `PAN_ENTRY_MODE`: The method by which the cardholder's primary account
* number (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`,
* `CONTACTLESS`, `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`,
* `ICC`, `KEY_ENTERED`, `MAGNETIC_STRIPE`, `MANUAL`, `OCR`,
* `SECURE_CARDLESS`, `UNSPECIFIED`, `UNKNOWN`, `CREDENTIAL_ON_FILE`, or
* `ECOMMERCE`.
- * - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the
+ * * `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the
* acquirer fee field in the settlement/cardholder billing currency. This
* is the amount the issuer should authorize against unless the issuer is
* paying the acquirer fee on behalf of the cardholder.
- * - `RISK_SCORE`: Network-provided score assessing risk level associated
+ * * `RISK_SCORE`: Network-provided score assessing risk level associated
* with a given authorization. Scores are on a range of 0-999, with 0
* representing the lowest risk and 999 representing the highest risk. For
* Visa transactions, where the raw score has a range of 0-99, Lithic will
* normalize the score by multiplying the raw score by 10x.
- * - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in
+ * * `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in
* the trailing 15 minutes before the authorization.
- * - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in
+ * * `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in
* the trailing hour up and until the authorization.
- * - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in
+ * * `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in
* the trailing 24 hours up and until the authorization.
- * - `CARD_STATE`: The current state of the card associated with the
+ * * `CARD_STATE`: The current state of the card associated with the
* transaction. Valid values are `CLOSED`, `OPEN`, `PAUSED`,
* `PENDING_ACTIVATION`, `PENDING_FULFILLMENT`.
- * - `PIN_ENTERED`: Indicates whether a PIN was entered during the
+ * * `PIN_ENTERED`: Indicates whether a PIN was entered during the
* transaction. Valid values are `TRUE`, `FALSE`.
- * - `PIN_STATUS`: The current state of card's PIN. Valid values are
+ * * `PIN_STATUS`: The current state of card's PIN. Valid values are
* `NOT_SET`, `OK`, `BLOCKED`.
- * - `WALLET_TYPE`: For transactions using a digital wallet token, indicates
+ * * `WALLET_TYPE`: For transactions using a digital wallet token, indicates
* the source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
* `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
- * - `TRANSACTION_INITIATOR`: The entity that initiated the transaction
+ * * `TRANSACTION_INITIATOR`: The entity that initiated the transaction
* indicates the source of the token. Valid values are `CARDHOLDER`,
* `MERCHANT`, `UNKNOWN`.
*/
@@ -3026,6 +3029,7 @@ private constructor(
}
class CreateAuthRuleRequestCardTokens
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val cardTokens: JsonField>,
private val eventStream: JsonField,
@@ -3870,6 +3874,7 @@ private constructor(
}
class ConditionalAuthorizationActionParameters
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val action: JsonField,
private val conditions: JsonField>,
@@ -4224,6 +4229,7 @@ private constructor(
}
class Condition
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val attribute: JsonField,
private val operation: JsonField,
@@ -4248,51 +4254,51 @@ private constructor(
* The attribute to target.
*
* The following attributes may be targeted:
- * - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to
+ * * `MCC`: A four-digit number listed in ISO 18245. An MCC is used to
* classify a business by the types of goods or services it provides.
- * - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1)
+ * * `COUNTRY`: Country of entity of card acceptor. Possible values are: (1)
* all ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT
* for Netherlands Antilles.
- * - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant
+ * * `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant
* currency of the transaction.
- * - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card
+ * * `MERCHANT_ID`: Unique alphanumeric identifier for the payment card
* acceptor (merchant).
- * - `DESCRIPTOR`: Short description of card acceptor.
- * - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the
+ * * `DESCRIPTOR`: Short description of card acceptor.
+ * * `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the
* issuer applies to the transaction. Valid values are `NONE`,
* `3DS_AUTHENTICATED`, or `TOKEN_AUTHENTICATED`.
- * - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account
+ * * `PAN_ENTRY_MODE`: The method by which the cardholder's primary account
* number (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`,
* `CONTACTLESS`, `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`,
* `ICC`, `KEY_ENTERED`, `MAGNETIC_STRIPE`, `MANUAL`, `OCR`,
* `SECURE_CARDLESS`, `UNSPECIFIED`, `UNKNOWN`, `CREDENTIAL_ON_FILE`, or
* `ECOMMERCE`.
- * - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the
+ * * `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the
* acquirer fee field in the settlement/cardholder billing currency. This
* is the amount the issuer should authorize against unless the issuer is
* paying the acquirer fee on behalf of the cardholder.
- * - `RISK_SCORE`: Network-provided score assessing risk level associated
+ * * `RISK_SCORE`: Network-provided score assessing risk level associated
* with a given authorization. Scores are on a range of 0-999, with 0
* representing the lowest risk and 999 representing the highest risk. For
* Visa transactions, where the raw score has a range of 0-99, Lithic will
* normalize the score by multiplying the raw score by 10x.
- * - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in
+ * * `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in
* the trailing 15 minutes before the authorization.
- * - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in
+ * * `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in
* the trailing hour up and until the authorization.
- * - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in
+ * * `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in
* the trailing 24 hours up and until the authorization.
- * - `CARD_STATE`: The current state of the card associated with the
+ * * `CARD_STATE`: The current state of the card associated with the
* transaction. Valid values are `CLOSED`, `OPEN`, `PAUSED`,
* `PENDING_ACTIVATION`, `PENDING_FULFILLMENT`.
- * - `PIN_ENTERED`: Indicates whether a PIN was entered during the
+ * * `PIN_ENTERED`: Indicates whether a PIN was entered during the
* transaction. Valid values are `TRUE`, `FALSE`.
- * - `PIN_STATUS`: The current state of card's PIN. Valid values are
+ * * `PIN_STATUS`: The current state of card's PIN. Valid values are
* `NOT_SET`, `OK`, `BLOCKED`.
- * - `WALLET_TYPE`: For transactions using a digital wallet token, indicates
+ * * `WALLET_TYPE`: For transactions using a digital wallet token, indicates
* the source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
* `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
- * - `TRANSACTION_INITIATOR`: The entity that initiated the transaction
+ * * `TRANSACTION_INITIATOR`: The entity that initiated the transaction
* indicates the source of the token. Valid values are `CARDHOLDER`,
* `MERCHANT`, `UNKNOWN`.
*
@@ -4389,54 +4395,54 @@ private constructor(
* The attribute to target.
*
* The following attributes may be targeted:
- * - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to
+ * * `MCC`: A four-digit number listed in ISO 18245. An MCC is used to
* classify a business by the types of goods or services it provides.
- * - `COUNTRY`: Country of entity of card acceptor. Possible values are:
+ * * `COUNTRY`: Country of entity of card acceptor. Possible values are:
* (1) all ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and
* (3) ANT for Netherlands Antilles.
- * - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant
+ * * `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant
* currency of the transaction.
- * - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card
+ * * `MERCHANT_ID`: Unique alphanumeric identifier for the payment card
* acceptor (merchant).
- * - `DESCRIPTOR`: Short description of card acceptor.
- * - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to
+ * * `DESCRIPTOR`: Short description of card acceptor.
+ * * `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to
* the issuer applies to the transaction. Valid values are `NONE`,
* `3DS_AUTHENTICATED`, or `TOKEN_AUTHENTICATED`.
- * - `PAN_ENTRY_MODE`: The method by which the cardholder's primary
+ * * `PAN_ENTRY_MODE`: The method by which the cardholder's primary
* account number (PAN) was entered. Valid values are `AUTO_ENTRY`,
* `BAR_CODE`, `CONTACTLESS`, `ECOMMERCE`, `ERROR_KEYED`,
* `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`, `MAGNETIC_STRIPE`,
* `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`, `UNKNOWN`,
* `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
- * - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus
+ * * `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus
* the acquirer fee field in the settlement/cardholder billing
* currency. This is the amount the issuer should authorize against
* unless the issuer is paying the acquirer fee on behalf of the
* cardholder.
- * - `RISK_SCORE`: Network-provided score assessing risk level
+ * * `RISK_SCORE`: Network-provided score assessing risk level
* associated with a given authorization. Scores are on a range of
* 0-999, with 0 representing the lowest risk and 999 representing the
* highest risk. For Visa transactions, where the raw score has a
* range of 0-99, Lithic will normalize the score by multiplying the
* raw score by 10x.
- * - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the
+ * * `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the
* card in the trailing 15 minutes before the authorization.
- * - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card
+ * * `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card
* in the trailing hour up and until the authorization.
- * - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the
+ * * `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the
* card in the trailing 24 hours up and until the authorization.
- * - `CARD_STATE`: The current state of the card associated with the
+ * * `CARD_STATE`: The current state of the card associated with the
* transaction. Valid values are `CLOSED`, `OPEN`, `PAUSED`,
* `PENDING_ACTIVATION`, `PENDING_FULFILLMENT`.
- * - `PIN_ENTERED`: Indicates whether a PIN was entered during the
+ * * `PIN_ENTERED`: Indicates whether a PIN was entered during the
* transaction. Valid values are `TRUE`, `FALSE`.
- * - `PIN_STATUS`: The current state of card's PIN. Valid values are
+ * * `PIN_STATUS`: The current state of card's PIN. Valid values are
* `NOT_SET`, `OK`, `BLOCKED`.
- * - `WALLET_TYPE`: For transactions using a digital wallet token,
+ * * `WALLET_TYPE`: For transactions using a digital wallet token,
* indicates the source of the token. Valid values are `APPLE_PAY`,
* `GOOGLE_PAY`, `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`,
* `NONE`.
- * - `TRANSACTION_INITIATOR`: The entity that initiated the transaction
+ * * `TRANSACTION_INITIATOR`: The entity that initiated the transaction
* indicates the source of the token. Valid values are `CARDHOLDER`,
* `MERCHANT`, `UNKNOWN`.
*/
@@ -4566,51 +4572,51 @@ private constructor(
* The attribute to target.
*
* The following attributes may be targeted:
- * - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to
+ * * `MCC`: A four-digit number listed in ISO 18245. An MCC is used to
* classify a business by the types of goods or services it provides.
- * - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1)
+ * * `COUNTRY`: Country of entity of card acceptor. Possible values are: (1)
* all ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT
* for Netherlands Antilles.
- * - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant
+ * * `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant
* currency of the transaction.
- * - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card
+ * * `MERCHANT_ID`: Unique alphanumeric identifier for the payment card
* acceptor (merchant).
- * - `DESCRIPTOR`: Short description of card acceptor.
- * - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the
+ * * `DESCRIPTOR`: Short description of card acceptor.
+ * * `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the
* issuer applies to the transaction. Valid values are `NONE`,
* `3DS_AUTHENTICATED`, or `TOKEN_AUTHENTICATED`.
- * - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account
+ * * `PAN_ENTRY_MODE`: The method by which the cardholder's primary account
* number (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`,
* `CONTACTLESS`, `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`,
* `ICC`, `KEY_ENTERED`, `MAGNETIC_STRIPE`, `MANUAL`, `OCR`,
* `SECURE_CARDLESS`, `UNSPECIFIED`, `UNKNOWN`, `CREDENTIAL_ON_FILE`, or
* `ECOMMERCE`.
- * - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the
+ * * `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the
* acquirer fee field in the settlement/cardholder billing currency. This
* is the amount the issuer should authorize against unless the issuer is
* paying the acquirer fee on behalf of the cardholder.
- * - `RISK_SCORE`: Network-provided score assessing risk level associated
+ * * `RISK_SCORE`: Network-provided score assessing risk level associated
* with a given authorization. Scores are on a range of 0-999, with 0
* representing the lowest risk and 999 representing the highest risk. For
* Visa transactions, where the raw score has a range of 0-99, Lithic will
* normalize the score by multiplying the raw score by 10x.
- * - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in
+ * * `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in
* the trailing 15 minutes before the authorization.
- * - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in
+ * * `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in
* the trailing hour up and until the authorization.
- * - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in
+ * * `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in
* the trailing 24 hours up and until the authorization.
- * - `CARD_STATE`: The current state of the card associated with the
+ * * `CARD_STATE`: The current state of the card associated with the
* transaction. Valid values are `CLOSED`, `OPEN`, `PAUSED`,
* `PENDING_ACTIVATION`, `PENDING_FULFILLMENT`.
- * - `PIN_ENTERED`: Indicates whether a PIN was entered during the
+ * * `PIN_ENTERED`: Indicates whether a PIN was entered during the
* transaction. Valid values are `TRUE`, `FALSE`.
- * - `PIN_STATUS`: The current state of card's PIN. Valid values are
+ * * `PIN_STATUS`: The current state of card's PIN. Valid values are
* `NOT_SET`, `OK`, `BLOCKED`.
- * - `WALLET_TYPE`: For transactions using a digital wallet token, indicates
+ * * `WALLET_TYPE`: For transactions using a digital wallet token, indicates
* the source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
* `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
- * - `TRANSACTION_INITIATOR`: The entity that initiated the transaction
+ * * `TRANSACTION_INITIATOR`: The entity that initiated the transaction
* indicates the source of the token. Valid values are `CARDHOLDER`,
* `MERCHANT`, `UNKNOWN`.
*/
@@ -5508,6 +5514,7 @@ private constructor(
}
class CreateAuthRuleRequestProgramLevel
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val programLevel: JsonField,
private val eventStream: JsonField,
@@ -6405,6 +6412,7 @@ private constructor(
}
class ConditionalAuthorizationActionParameters
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val action: JsonField,
private val conditions: JsonField>,
@@ -6759,6 +6767,7 @@ private constructor(
}
class Condition
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val attribute: JsonField,
private val operation: JsonField,
@@ -6783,51 +6792,51 @@ private constructor(
* The attribute to target.
*
* The following attributes may be targeted:
- * - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to
+ * * `MCC`: A four-digit number listed in ISO 18245. An MCC is used to
* classify a business by the types of goods or services it provides.
- * - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1)
+ * * `COUNTRY`: Country of entity of card acceptor. Possible values are: (1)
* all ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT
* for Netherlands Antilles.
- * - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant
+ * * `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant
* currency of the transaction.
- * - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card
+ * * `MERCHANT_ID`: Unique alphanumeric identifier for the payment card
* acceptor (merchant).
- * - `DESCRIPTOR`: Short description of card acceptor.
- * - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the
+ * * `DESCRIPTOR`: Short description of card acceptor.
+ * * `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the
* issuer applies to the transaction. Valid values are `NONE`,
* `3DS_AUTHENTICATED`, or `TOKEN_AUTHENTICATED`.
- * - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account
+ * * `PAN_ENTRY_MODE`: The method by which the cardholder's primary account
* number (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`,
* `CONTACTLESS`, `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`,
* `ICC`, `KEY_ENTERED`, `MAGNETIC_STRIPE`, `MANUAL`, `OCR`,
* `SECURE_CARDLESS`, `UNSPECIFIED`, `UNKNOWN`, `CREDENTIAL_ON_FILE`, or
* `ECOMMERCE`.
- * - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the
+ * * `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the
* acquirer fee field in the settlement/cardholder billing currency. This
* is the amount the issuer should authorize against unless the issuer is
* paying the acquirer fee on behalf of the cardholder.
- * - `RISK_SCORE`: Network-provided score assessing risk level associated
+ * * `RISK_SCORE`: Network-provided score assessing risk level associated
* with a given authorization. Scores are on a range of 0-999, with 0
* representing the lowest risk and 999 representing the highest risk. For
* Visa transactions, where the raw score has a range of 0-99, Lithic will
* normalize the score by multiplying the raw score by 10x.
- * - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in
+ * * `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in
* the trailing 15 minutes before the authorization.
- * - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in
+ * * `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in
* the trailing hour up and until the authorization.
- * - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in
+ * * `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in
* the trailing 24 hours up and until the authorization.
- * - `CARD_STATE`: The current state of the card associated with the
+ * * `CARD_STATE`: The current state of the card associated with the
* transaction. Valid values are `CLOSED`, `OPEN`, `PAUSED`,
* `PENDING_ACTIVATION`, `PENDING_FULFILLMENT`.
- * - `PIN_ENTERED`: Indicates whether a PIN was entered during the
+ * * `PIN_ENTERED`: Indicates whether a PIN was entered during the
* transaction. Valid values are `TRUE`, `FALSE`.
- * - `PIN_STATUS`: The current state of card's PIN. Valid values are
+ * * `PIN_STATUS`: The current state of card's PIN. Valid values are
* `NOT_SET`, `OK`, `BLOCKED`.
- * - `WALLET_TYPE`: For transactions using a digital wallet token, indicates
+ * * `WALLET_TYPE`: For transactions using a digital wallet token, indicates
* the source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
* `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
- * - `TRANSACTION_INITIATOR`: The entity that initiated the transaction
+ * * `TRANSACTION_INITIATOR`: The entity that initiated the transaction
* indicates the source of the token. Valid values are `CARDHOLDER`,
* `MERCHANT`, `UNKNOWN`.
*
@@ -6924,54 +6933,54 @@ private constructor(
* The attribute to target.
*
* The following attributes may be targeted:
- * - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to
+ * * `MCC`: A four-digit number listed in ISO 18245. An MCC is used to
* classify a business by the types of goods or services it provides.
- * - `COUNTRY`: Country of entity of card acceptor. Possible values are:
+ * * `COUNTRY`: Country of entity of card acceptor. Possible values are:
* (1) all ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and
* (3) ANT for Netherlands Antilles.
- * - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant
+ * * `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant
* currency of the transaction.
- * - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card
+ * * `MERCHANT_ID`: Unique alphanumeric identifier for the payment card
* acceptor (merchant).
- * - `DESCRIPTOR`: Short description of card acceptor.
- * - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to
+ * * `DESCRIPTOR`: Short description of card acceptor.
+ * * `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to
* the issuer applies to the transaction. Valid values are `NONE`,
* `3DS_AUTHENTICATED`, or `TOKEN_AUTHENTICATED`.
- * - `PAN_ENTRY_MODE`: The method by which the cardholder's primary
+ * * `PAN_ENTRY_MODE`: The method by which the cardholder's primary
* account number (PAN) was entered. Valid values are `AUTO_ENTRY`,
* `BAR_CODE`, `CONTACTLESS`, `ECOMMERCE`, `ERROR_KEYED`,
* `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`, `MAGNETIC_STRIPE`,
* `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`, `UNKNOWN`,
* `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
- * - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus
+ * * `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus
* the acquirer fee field in the settlement/cardholder billing
* currency. This is the amount the issuer should authorize against
* unless the issuer is paying the acquirer fee on behalf of the
* cardholder.
- * - `RISK_SCORE`: Network-provided score assessing risk level
+ * * `RISK_SCORE`: Network-provided score assessing risk level
* associated with a given authorization. Scores are on a range of
* 0-999, with 0 representing the lowest risk and 999 representing the
* highest risk. For Visa transactions, where the raw score has a
* range of 0-99, Lithic will normalize the score by multiplying the
* raw score by 10x.
- * - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the
+ * * `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the
* card in the trailing 15 minutes before the authorization.
- * - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card
+ * * `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card
* in the trailing hour up and until the authorization.
- * - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the
+ * * `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the
* card in the trailing 24 hours up and until the authorization.
- * - `CARD_STATE`: The current state of the card associated with the
+ * * `CARD_STATE`: The current state of the card associated with the
* transaction. Valid values are `CLOSED`, `OPEN`, `PAUSED`,
* `PENDING_ACTIVATION`, `PENDING_FULFILLMENT`.
- * - `PIN_ENTERED`: Indicates whether a PIN was entered during the
+ * * `PIN_ENTERED`: Indicates whether a PIN was entered during the
* transaction. Valid values are `TRUE`, `FALSE`.
- * - `PIN_STATUS`: The current state of card's PIN. Valid values are
+ * * `PIN_STATUS`: The current state of card's PIN. Valid values are
* `NOT_SET`, `OK`, `BLOCKED`.
- * - `WALLET_TYPE`: For transactions using a digital wallet token,
+ * * `WALLET_TYPE`: For transactions using a digital wallet token,
* indicates the source of the token. Valid values are `APPLE_PAY`,
* `GOOGLE_PAY`, `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`,
* `NONE`.
- * - `TRANSACTION_INITIATOR`: The entity that initiated the transaction
+ * * `TRANSACTION_INITIATOR`: The entity that initiated the transaction
* indicates the source of the token. Valid values are `CARDHOLDER`,
* `MERCHANT`, `UNKNOWN`.
*/
@@ -7101,51 +7110,51 @@ private constructor(
* The attribute to target.
*
* The following attributes may be targeted:
- * - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to
+ * * `MCC`: A four-digit number listed in ISO 18245. An MCC is used to
* classify a business by the types of goods or services it provides.
- * - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1)
+ * * `COUNTRY`: Country of entity of card acceptor. Possible values are: (1)
* all ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT
* for Netherlands Antilles.
- * - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant
+ * * `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant
* currency of the transaction.
- * - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card
+ * * `MERCHANT_ID`: Unique alphanumeric identifier for the payment card
* acceptor (merchant).
- * - `DESCRIPTOR`: Short description of card acceptor.
- * - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the
+ * * `DESCRIPTOR`: Short description of card acceptor.
+ * * `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the
* issuer applies to the transaction. Valid values are `NONE`,
* `3DS_AUTHENTICATED`, or `TOKEN_AUTHENTICATED`.
- * - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account
+ * * `PAN_ENTRY_MODE`: The method by which the cardholder's primary account
* number (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`,
* `CONTACTLESS`, `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`,
* `ICC`, `KEY_ENTERED`, `MAGNETIC_STRIPE`, `MANUAL`, `OCR`,
* `SECURE_CARDLESS`, `UNSPECIFIED`, `UNKNOWN`, `CREDENTIAL_ON_FILE`, or
* `ECOMMERCE`.
- * - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the
+ * * `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the
* acquirer fee field in the settlement/cardholder billing currency. This
* is the amount the issuer should authorize against unless the issuer is
* paying the acquirer fee on behalf of the cardholder.
- * - `RISK_SCORE`: Network-provided score assessing risk level associated
+ * * `RISK_SCORE`: Network-provided score assessing risk level associated
* with a given authorization. Scores are on a range of 0-999, with 0
* representing the lowest risk and 999 representing the highest risk. For
* Visa transactions, where the raw score has a range of 0-99, Lithic will
* normalize the score by multiplying the raw score by 10x.
- * - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in
+ * * `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in
* the trailing 15 minutes before the authorization.
- * - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in
+ * * `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in
* the trailing hour up and until the authorization.
- * - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in
+ * * `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in
* the trailing 24 hours up and until the authorization.
- * - `CARD_STATE`: The current state of the card associated with the
+ * * `CARD_STATE`: The current state of the card associated with the
* transaction. Valid values are `CLOSED`, `OPEN`, `PAUSED`,
* `PENDING_ACTIVATION`, `PENDING_FULFILLMENT`.
- * - `PIN_ENTERED`: Indicates whether a PIN was entered during the
+ * * `PIN_ENTERED`: Indicates whether a PIN was entered during the
* transaction. Valid values are `TRUE`, `FALSE`.
- * - `PIN_STATUS`: The current state of card's PIN. Valid values are
+ * * `PIN_STATUS`: The current state of card's PIN. Valid values are
* `NOT_SET`, `OK`, `BLOCKED`.
- * - `WALLET_TYPE`: For transactions using a digital wallet token, indicates
+ * * `WALLET_TYPE`: For transactions using a digital wallet token, indicates
* the source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
* `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
- * - `TRANSACTION_INITIATOR`: The entity that initiated the transaction
+ * * `TRANSACTION_INITIATOR`: The entity that initiated the transaction
* indicates the source of the token. Valid values are `CARDHOLDER`,
* `MERCHANT`, `UNKNOWN`.
*/
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2DraftParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2DraftParams.kt
index ece31078d..7da3c2bae 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2DraftParams.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2DraftParams.kt
@@ -309,6 +309,7 @@ private constructor(
override fun _queryParams(): QueryParams = additionalQueryParams
class Body
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val parameters: JsonField,
private val additionalProperties: MutableMap,
@@ -798,6 +799,7 @@ private constructor(
}
class ConditionalAuthorizationActionParameters
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val action: JsonField,
private val conditions: JsonField>,
@@ -1139,6 +1141,7 @@ private constructor(
}
class Condition
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val attribute: JsonField,
private val operation: JsonField,
@@ -1163,50 +1166,50 @@ private constructor(
* The attribute to target.
*
* The following attributes may be targeted:
- * - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
+ * * `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
* business by the types of goods or services it provides.
- * - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all ISO
+ * * `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all ISO
* 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for Netherlands
* Antilles.
- * - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
+ * * `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
* the transaction.
- * - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
+ * * `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
* (merchant).
- * - `DESCRIPTOR`: Short description of card acceptor.
- * - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
+ * * `DESCRIPTOR`: Short description of card acceptor.
+ * * `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
* applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
* `TOKEN_AUTHENTICATED`.
- * - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
+ * * `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
* (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
* `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
* `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
* `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
- * - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
+ * * `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
* fee field in the settlement/cardholder billing currency. This is the amount the
* issuer should authorize against unless the issuer is paying the acquirer fee on
* behalf of the cardholder.
- * - `RISK_SCORE`: Network-provided score assessing risk level associated with a
+ * * `RISK_SCORE`: Network-provided score assessing risk level associated with a
* given authorization. Scores are on a range of 0-999, with 0 representing the
* lowest risk and 999 representing the highest risk. For Visa transactions, where
* the raw score has a range of 0-99, Lithic will normalize the score by
* multiplying the raw score by 10x.
- * - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
+ * * `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
* trailing 15 minutes before the authorization.
- * - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
+ * * `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
* trailing hour up and until the authorization.
- * - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
+ * * `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
* trailing 24 hours up and until the authorization.
- * - `CARD_STATE`: The current state of the card associated with the transaction.
+ * * `CARD_STATE`: The current state of the card associated with the transaction.
* Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
* `PENDING_FULFILLMENT`.
- * - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
+ * * `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
* Valid values are `TRUE`, `FALSE`.
- * - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
+ * * `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
* `OK`, `BLOCKED`.
- * - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
+ * * `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
* source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`, `SAMSUNG_PAY`,
* `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
- * - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
+ * * `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
* the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
*
* @throws LithicInvalidDataException if the JSON field has an unexpected type (e.g.
@@ -1296,50 +1299,50 @@ private constructor(
* The attribute to target.
*
* The following attributes may be targeted:
- * - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify
+ * * `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify
* a business by the types of goods or services it provides.
- * - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
+ * * `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
* ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
* Netherlands Antilles.
- * - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency
+ * * `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency
* of the transaction.
- * - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
+ * * `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
* (merchant).
- * - `DESCRIPTOR`: Short description of card acceptor.
- * - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the
+ * * `DESCRIPTOR`: Short description of card acceptor.
+ * * `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the
* issuer applies to the transaction. Valid values are `NONE`,
* `3DS_AUTHENTICATED`, or `TOKEN_AUTHENTICATED`.
- * - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account
+ * * `PAN_ENTRY_MODE`: The method by which the cardholder's primary account
* number (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`,
* `CONTACTLESS`, `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`,
* `KEY_ENTERED`, `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`,
* `UNSPECIFIED`, `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
- * - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the
+ * * `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the
* acquirer fee field in the settlement/cardholder billing currency. This is
* the amount the issuer should authorize against unless the issuer is paying
* the acquirer fee on behalf of the cardholder.
- * - `RISK_SCORE`: Network-provided score assessing risk level associated with a
+ * * `RISK_SCORE`: Network-provided score assessing risk level associated with a
* given authorization. Scores are on a range of 0-999, with 0 representing
* the lowest risk and 999 representing the highest risk. For Visa
* transactions, where the raw score has a range of 0-99, Lithic will
* normalize the score by multiplying the raw score by 10x.
- * - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
+ * * `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
* trailing 15 minutes before the authorization.
- * - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
+ * * `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
* trailing hour up and until the authorization.
- * - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
+ * * `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
* trailing 24 hours up and until the authorization.
- * - `CARD_STATE`: The current state of the card associated with the
+ * * `CARD_STATE`: The current state of the card associated with the
* transaction. Valid values are `CLOSED`, `OPEN`, `PAUSED`,
* `PENDING_ACTIVATION`, `PENDING_FULFILLMENT`.
- * - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
+ * * `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
* Valid values are `TRUE`, `FALSE`.
- * - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
+ * * `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
* `OK`, `BLOCKED`.
- * - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
+ * * `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
* source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
* `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
- * - `TRANSACTION_INITIATOR`: The entity that initiated the transaction
+ * * `TRANSACTION_INITIATOR`: The entity that initiated the transaction
* indicates the source of the token. Valid values are `CARDHOLDER`,
* `MERCHANT`, `UNKNOWN`.
*/
@@ -1460,50 +1463,50 @@ private constructor(
* The attribute to target.
*
* The following attributes may be targeted:
- * - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
+ * * `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
* business by the types of goods or services it provides.
- * - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all ISO
+ * * `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all ISO
* 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for Netherlands
* Antilles.
- * - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
+ * * `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
* the transaction.
- * - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
+ * * `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
* (merchant).
- * - `DESCRIPTOR`: Short description of card acceptor.
- * - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
+ * * `DESCRIPTOR`: Short description of card acceptor.
+ * * `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
* applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
* `TOKEN_AUTHENTICATED`.
- * - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
+ * * `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
* (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
* `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
* `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
* `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
- * - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
+ * * `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
* fee field in the settlement/cardholder billing currency. This is the amount the
* issuer should authorize against unless the issuer is paying the acquirer fee on
* behalf of the cardholder.
- * - `RISK_SCORE`: Network-provided score assessing risk level associated with a
+ * * `RISK_SCORE`: Network-provided score assessing risk level associated with a
* given authorization. Scores are on a range of 0-999, with 0 representing the
* lowest risk and 999 representing the highest risk. For Visa transactions, where
* the raw score has a range of 0-99, Lithic will normalize the score by
* multiplying the raw score by 10x.
- * - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
+ * * `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
* trailing 15 minutes before the authorization.
- * - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
+ * * `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
* trailing hour up and until the authorization.
- * - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
+ * * `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
* trailing 24 hours up and until the authorization.
- * - `CARD_STATE`: The current state of the card associated with the transaction.
+ * * `CARD_STATE`: The current state of the card associated with the transaction.
* Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
* `PENDING_FULFILLMENT`.
- * - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
+ * * `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
* Valid values are `TRUE`, `FALSE`.
- * - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
+ * * `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
* `OK`, `BLOCKED`.
- * - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
+ * * `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
* source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`, `SAMSUNG_PAY`,
* `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
- * - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
+ * * `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
* the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
*/
class Attribute
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ListPageResponse.kt
index e4466e011..bd4cd48ac 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ListPageResponse.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ListPageResponse.kt
@@ -19,6 +19,7 @@ import java.util.Objects
import kotlin.jvm.optionals.getOrNull
class AuthRuleV2ListPageResponse
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val data: JsonField>,
private val hasMore: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ReportParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ReportParams.kt
index 127bd164d..79fc2c43f 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ReportParams.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ReportParams.kt
@@ -31,7 +31,7 @@ import kotlin.jvm.optionals.getOrNull
* Auth Rule has not yet been promoted, causing the draft version of the rule to be applied in
* shadow mode.
* 2. At time `t + 1 hour` a performance report is requested for the Auth Rule. This performance
- * report will _only_ contain data for the Auth Rule being executed in the window between `t` and
+ * report will *only* contain data for the Auth Rule being executed in the window between `t` and
* `t + 1 hour`. This is because Lithic's transaction processing system will only start capturing
* data for the Auth Rule at the time it is created.
* 3. At time `t + 2 hours` the draft version of the Auth Rule is promoted to the active version of
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2UpdateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2UpdateParams.kt
index 35dd411c2..f5ef400d9 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2UpdateParams.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2UpdateParams.kt
@@ -471,6 +471,7 @@ private constructor(
}
class UnionMember0
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val name: JsonField,
private val state: JsonField,
@@ -796,6 +797,7 @@ private constructor(
}
class UnionMember1
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val name: JsonField,
private val state: JsonField,
@@ -1121,6 +1123,7 @@ private constructor(
}
class CardLevelRule
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val cardTokens: JsonField>,
private val name: JsonField,
@@ -1506,6 +1509,7 @@ private constructor(
}
class ProgramLevelRule
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val excludedCardTokens: JsonField>,
private val name: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthStreamSecret.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthStreamSecret.kt
index 6697c3caa..ef0a8ecdc 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthStreamSecret.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthStreamSecret.kt
@@ -16,6 +16,7 @@ import java.util.Objects
import java.util.Optional
class AuthStreamSecret
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val secret: JsonField,
private val additionalProperties: MutableMap,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthenticationRetrieveResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthenticationRetrieveResponse.kt
index 09a5fd32f..5a763ba2e 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthenticationRetrieveResponse.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthenticationRetrieveResponse.kt
@@ -21,6 +21,7 @@ import kotlin.jvm.optionals.getOrNull
/** Represents a 3DS authentication */
class AuthenticationRetrieveResponse
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val accountType: JsonField,
@@ -209,14 +210,14 @@ private constructor(
/**
* Indicates whether a challenge is requested for this transaction
- * - `NO_PREFERENCE` - No Preference
- * - `NO_CHALLENGE_REQUESTED` - No Challenge Requested
- * - `CHALLENGE_PREFERENCE` - Challenge requested (3DS Requestor preference)
- * - `CHALLENGE_MANDATE` - Challenge requested (Mandate)
- * - `NO_CHALLENGE_RISK_ALREADY_ASSESSED` - No Challenge requested (Transactional risk analysis
+ * * `NO_PREFERENCE` - No Preference
+ * * `NO_CHALLENGE_REQUESTED` - No Challenge Requested
+ * * `CHALLENGE_PREFERENCE` - Challenge requested (3DS Requestor preference)
+ * * `CHALLENGE_MANDATE` - Challenge requested (Mandate)
+ * * `NO_CHALLENGE_RISK_ALREADY_ASSESSED` - No Challenge requested (Transactional risk analysis
* is already performed)
- * - `DATA_SHARE_ONLY` - No Challenge requested (Data Share Only)
- * - `OTHER` - Other indicators not captured by above. These are rarely used
+ * * `DATA_SHARE_ONLY` - No Challenge requested (Data Share Only)
+ * * `OTHER` - Other indicators not captured by above. These are rarely used
*
* @throws LithicInvalidDataException if the JSON field has an unexpected type or is
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
@@ -729,14 +730,14 @@ private constructor(
/**
* Indicates whether a challenge is requested for this transaction
- * - `NO_PREFERENCE` - No Preference
- * - `NO_CHALLENGE_REQUESTED` - No Challenge Requested
- * - `CHALLENGE_PREFERENCE` - Challenge requested (3DS Requestor preference)
- * - `CHALLENGE_MANDATE` - Challenge requested (Mandate)
- * - `NO_CHALLENGE_RISK_ALREADY_ASSESSED` - No Challenge requested (Transactional risk
+ * * `NO_PREFERENCE` - No Preference
+ * * `NO_CHALLENGE_REQUESTED` - No Challenge Requested
+ * * `CHALLENGE_PREFERENCE` - Challenge requested (3DS Requestor preference)
+ * * `CHALLENGE_MANDATE` - Challenge requested (Mandate)
+ * * `NO_CHALLENGE_RISK_ALREADY_ASSESSED` - No Challenge requested (Transactional risk
* analysis is already performed)
- * - `DATA_SHARE_ONLY` - No Challenge requested (Data Share Only)
- * - `OTHER` - Other indicators not captured by above. These are rarely used
+ * * `DATA_SHARE_ONLY` - No Challenge requested (Data Share Only)
+ * * `OTHER` - Other indicators not captured by above. These are rarely used
*/
fun threeDSRequestorChallengeIndicator(
threeDSRequestorChallengeIndicator: ThreeDSRequestorChallengeIndicator
@@ -1513,6 +1514,7 @@ private constructor(
/** Object containing data about the cardholder provided during the transaction. */
class Cardholder
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val addressMatch: JsonField,
private val billingAddress: JsonField,
@@ -1996,6 +1998,7 @@ private constructor(
/** Object containing data on the billing address provided during the transaction. */
class BillingAddress
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val address1: JsonField,
private val address2: JsonField,
@@ -2371,6 +2374,7 @@ private constructor(
/** Object containing data on the shipping address provided during the transaction. */
class ShippingAddress
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val address1: JsonField,
private val address2: JsonField,
@@ -2915,6 +2919,7 @@ private constructor(
/** Object containing data about the merchant involved in the e-commerce transaction. */
class Merchant
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val riskIndicator: JsonField,
private val id: JsonField,
@@ -3240,6 +3245,7 @@ private constructor(
* e-commerce transaction.
*/
class RiskIndicator
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val deliveryEmailAddress: JsonField,
private val deliveryTimeFrame: JsonField,
@@ -4655,14 +4661,14 @@ private constructor(
/**
* Indicates whether a challenge is requested for this transaction
- * - `NO_PREFERENCE` - No Preference
- * - `NO_CHALLENGE_REQUESTED` - No Challenge Requested
- * - `CHALLENGE_PREFERENCE` - Challenge requested (3DS Requestor preference)
- * - `CHALLENGE_MANDATE` - Challenge requested (Mandate)
- * - `NO_CHALLENGE_RISK_ALREADY_ASSESSED` - No Challenge requested (Transactional risk analysis
+ * * `NO_PREFERENCE` - No Preference
+ * * `NO_CHALLENGE_REQUESTED` - No Challenge Requested
+ * * `CHALLENGE_PREFERENCE` - Challenge requested (3DS Requestor preference)
+ * * `CHALLENGE_MANDATE` - Challenge requested (Mandate)
+ * * `NO_CHALLENGE_RISK_ALREADY_ASSESSED` - No Challenge requested (Transactional risk analysis
* is already performed)
- * - `DATA_SHARE_ONLY` - No Challenge requested (Data Share Only)
- * - `OTHER` - Other indicators not captured by above. These are rarely used
+ * * `DATA_SHARE_ONLY` - No Challenge requested (Data Share Only)
+ * * `OTHER` - Other indicators not captured by above. These are rarely used
*/
class ThreeDSRequestorChallengeIndicator
@JsonCreator
@@ -4837,6 +4843,7 @@ private constructor(
* all 3DS requests).
*/
class AdditionalData
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val networkDecision: JsonField,
private val networkRiskScore: JsonField,
@@ -5205,6 +5212,7 @@ private constructor(
* channel is 'APP_BASED'.
*/
class App
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val device: JsonField,
private val deviceInfo: JsonField,
@@ -6004,6 +6012,7 @@ private constructor(
* channel is 'BROWSER'.
*/
class Browser
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val acceptHeader: JsonField,
private val ip: JsonField,
@@ -6476,6 +6485,7 @@ private constructor(
* Metadata about the challenge method and delivery. Only present when a challenge is triggered.
*/
class ChallengeMetadata
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val methodType: JsonField,
private val status: JsonField,
@@ -6504,20 +6514,20 @@ private constructor(
/**
* Indicates the status of the challenge
- * - SUCCESS - Cardholder completed the challenge successfully
- * - PENDING - Challenge was issued to the cardholder and was not completed yet
- * - SMS_DELIVERY_FAILED - Lithic confirmed undeliverability of the SMS to the provided
+ * * SUCCESS - Cardholder completed the challenge successfully
+ * * PENDING - Challenge was issued to the cardholder and was not completed yet
+ * * SMS_DELIVERY_FAILED - Lithic confirmed undeliverability of the SMS to the provided
* phone number. Relevant only for SMS_OTP method
- * - CARDHOLDER_TIMEOUT - Cardholder failed to complete the challenge within the given
+ * * CARDHOLDER_TIMEOUT - Cardholder failed to complete the challenge within the given
* challenge TTL
- * - CANCELED_VIA_CHALLENGE_UI - Cardholder canceled the challenge by selecting "cancel" on
+ * * CANCELED_VIA_CHALLENGE_UI - Cardholder canceled the challenge by selecting "cancel" on
* the challenge UI
- * - CANCELED_OOB - Cardholder canceled the challenge out of band
- * - ATTEMPTS_EXCEEDED - Cardholder failed the challenge by either entering an incorrect OTP
+ * * CANCELED_OOB - Cardholder canceled the challenge out of band
+ * * ATTEMPTS_EXCEEDED - Cardholder failed the challenge by either entering an incorrect OTP
* more than the allowed number of times or requesting a new OTP more than the allowed
* number of times
- * - ABORTED - Merchant aborted authentication after a challenge was requested
- * - ERROR - The challenge failed for a reason different than those documented
+ * * ABORTED - Merchant aborted authentication after a challenge was requested
+ * * ERROR - The challenge failed for a reason different than those documented
*
* @throws LithicInvalidDataException if the JSON field has an unexpected type or is
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
@@ -6615,20 +6625,20 @@ private constructor(
/**
* Indicates the status of the challenge
- * - SUCCESS - Cardholder completed the challenge successfully
- * - PENDING - Challenge was issued to the cardholder and was not completed yet
- * - SMS_DELIVERY_FAILED - Lithic confirmed undeliverability of the SMS to the provided
+ * * SUCCESS - Cardholder completed the challenge successfully
+ * * PENDING - Challenge was issued to the cardholder and was not completed yet
+ * * SMS_DELIVERY_FAILED - Lithic confirmed undeliverability of the SMS to the provided
* phone number. Relevant only for SMS_OTP method
- * - CARDHOLDER_TIMEOUT - Cardholder failed to complete the challenge within the given
+ * * CARDHOLDER_TIMEOUT - Cardholder failed to complete the challenge within the given
* challenge TTL
- * - CANCELED_VIA_CHALLENGE_UI - Cardholder canceled the challenge by selecting "cancel"
+ * * CANCELED_VIA_CHALLENGE_UI - Cardholder canceled the challenge by selecting "cancel"
* on the challenge UI
- * - CANCELED_OOB - Cardholder canceled the challenge out of band
- * - ATTEMPTS_EXCEEDED - Cardholder failed the challenge by either entering an incorrect
+ * * CANCELED_OOB - Cardholder canceled the challenge out of band
+ * * ATTEMPTS_EXCEEDED - Cardholder failed the challenge by either entering an incorrect
* OTP more than the allowed number of times or requesting a new OTP more than the
* allowed number of times
- * - ABORTED - Merchant aborted authentication after a challenge was requested
- * - ERROR - The challenge failed for a reason different than those documented
+ * * ABORTED - Merchant aborted authentication after a challenge was requested
+ * * ERROR - The challenge failed for a reason different than those documented
*/
fun status(status: Status) = status(JsonField.of(status))
@@ -6866,20 +6876,20 @@ private constructor(
/**
* Indicates the status of the challenge
- * - SUCCESS - Cardholder completed the challenge successfully
- * - PENDING - Challenge was issued to the cardholder and was not completed yet
- * - SMS_DELIVERY_FAILED - Lithic confirmed undeliverability of the SMS to the provided
+ * * SUCCESS - Cardholder completed the challenge successfully
+ * * PENDING - Challenge was issued to the cardholder and was not completed yet
+ * * SMS_DELIVERY_FAILED - Lithic confirmed undeliverability of the SMS to the provided
* phone number. Relevant only for SMS_OTP method
- * - CARDHOLDER_TIMEOUT - Cardholder failed to complete the challenge within the given
+ * * CARDHOLDER_TIMEOUT - Cardholder failed to complete the challenge within the given
* challenge TTL
- * - CANCELED_VIA_CHALLENGE_UI - Cardholder canceled the challenge by selecting "cancel" on
+ * * CANCELED_VIA_CHALLENGE_UI - Cardholder canceled the challenge by selecting "cancel" on
* the challenge UI
- * - CANCELED_OOB - Cardholder canceled the challenge out of band
- * - ATTEMPTS_EXCEEDED - Cardholder failed the challenge by either entering an incorrect OTP
+ * * CANCELED_OOB - Cardholder canceled the challenge out of band
+ * * ATTEMPTS_EXCEEDED - Cardholder failed the challenge by either entering an incorrect OTP
* more than the allowed number of times or requesting a new OTP more than the allowed
* number of times
- * - ABORTED - Merchant aborted authentication after a challenge was requested
- * - ERROR - The challenge failed for a reason different than those documented
+ * * ABORTED - Merchant aborted authentication after a challenge was requested
+ * * ERROR - The challenge failed for a reason different than those documented
*/
class Status @JsonCreator private constructor(private val value: JsonField) : Enum {
@@ -7598,6 +7608,7 @@ private constructor(
* authentication.
*/
class Transaction
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val amount: JsonField,
private val cardholderAmount: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthenticationSimulateResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthenticationSimulateResponse.kt
index 375205b39..5512e68af 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthenticationSimulateResponse.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthenticationSimulateResponse.kt
@@ -16,6 +16,7 @@ import java.util.Objects
import java.util.Optional
class AuthenticationSimulateResponse
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val additionalProperties: MutableMap,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BacktestCreateResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BacktestCreateResponse.kt
index 2ef5f76b0..9d383130c 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BacktestCreateResponse.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BacktestCreateResponse.kt
@@ -16,6 +16,7 @@ import java.util.Objects
import java.util.Optional
class BacktestCreateResponse
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val backtestToken: JsonField,
private val additionalProperties: MutableMap,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BacktestResults.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BacktestResults.kt
index bc604c2c1..3fd1186b4 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BacktestResults.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BacktestResults.kt
@@ -19,6 +19,7 @@ import java.util.Optional
import kotlin.jvm.optionals.getOrNull
class BacktestResults
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val backtestToken: JsonField,
private val results: JsonField,
@@ -240,6 +241,7 @@ private constructor(
(simulationParameters.asKnown().getOrNull()?.validity() ?: 0)
class Results
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val currentVersion: JsonField,
private val draftVersion: JsonField,
@@ -437,6 +439,7 @@ private constructor(
}
class SimulationParameters
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val authRuleToken: JsonField,
private val end: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Balance.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Balance.kt
index efbcf1099..2f5c9d450 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Balance.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Balance.kt
@@ -20,6 +20,7 @@ import kotlin.jvm.optionals.getOrNull
/** Balance */
class Balance
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val availableAmount: JsonField,
private val created: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListPageResponse.kt
index 4cc495728..3036f1d76 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListPageResponse.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListPageResponse.kt
@@ -19,6 +19,7 @@ import java.util.Objects
import kotlin.jvm.optionals.getOrNull
class BalanceListPageResponse
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val data: JsonField>,
private val hasMore: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListResponse.kt
index 6ff9e3a0d..15cd9c923 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListResponse.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListResponse.kt
@@ -20,6 +20,7 @@ import kotlin.jvm.optionals.getOrNull
/** Balance of a Financial Account */
class BalanceListResponse
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val availableAmount: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferCreateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferCreateParams.kt
index b3347b500..d7a285328 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferCreateParams.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferCreateParams.kt
@@ -530,6 +530,7 @@ private constructor(
override fun _queryParams(): QueryParams = additionalQueryParams
class CreateBookTransferRequest
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val amount: JsonField,
private val category: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferListPageResponse.kt
index 1730e353c..3466f1e59 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferListPageResponse.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferListPageResponse.kt
@@ -19,6 +19,7 @@ import java.util.Objects
import kotlin.jvm.optionals.getOrNull
class BookTransferListPageResponse
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val data: JsonField>,
private val hasMore: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferResponse.kt
index 136d124ff..10841dfc1 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferResponse.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferResponse.kt
@@ -22,6 +22,7 @@ import java.util.Optional
import kotlin.jvm.optionals.getOrNull
class BookTransferResponse
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val category: JsonField,
@@ -197,9 +198,9 @@ private constructor(
/**
* Status types:
- * - `DECLINED` - The transfer was declined.
- * - `REVERSED` - The transfer was reversed
- * - `SETTLED` - The transfer is completed.
+ * * `DECLINED` - The transfer was declined.
+ * * `REVERSED` - The transfer was reversed
+ * * `SETTLED` - The transfer is completed.
*
* @throws LithicInvalidDataException if the JSON field has an unexpected type or is
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
@@ -614,9 +615,9 @@ private constructor(
/**
* Status types:
- * - `DECLINED` - The transfer was declined.
- * - `REVERSED` - The transfer was reversed
- * - `SETTLED` - The transfer is completed.
+ * * `DECLINED` - The transfer was declined.
+ * * `REVERSED` - The transfer was reversed
+ * * `SETTLED` - The transfer is completed.
*/
fun status(status: Status) = status(JsonField.of(status))
@@ -963,6 +964,7 @@ private constructor(
/** Book transfer Event */
class BookTransferEvent
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val amount: JsonField,
@@ -2148,9 +2150,9 @@ private constructor(
/**
* Status types:
- * - `DECLINED` - The transfer was declined.
- * - `REVERSED` - The transfer was reversed
- * - `SETTLED` - The transfer is completed.
+ * * `DECLINED` - The transfer was declined.
+ * * `REVERSED` - The transfer was reversed
+ * * `SETTLED` - The transfer is completed.
*/
class Status @JsonCreator private constructor(private val value: JsonField) : Enum {
@@ -2285,6 +2287,7 @@ private constructor(
/** A series of transactions that are grouped together. */
class TransactionSeries
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val relatedTransactionEventToken: JsonField,
private val relatedTransactionToken: JsonField,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferReverseParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferReverseParams.kt
index 7ec0887e7..29edfbc0b 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferReverseParams.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferReverseParams.kt
@@ -253,6 +253,7 @@ private constructor(
override fun _queryParams(): QueryParams = additionalQueryParams
class Body
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val memo: JsonField,
private val additionalProperties: MutableMap,
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Card.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Card.kt
index 5a0193bf0..cda272781 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Card.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Card.kt
@@ -22,6 +22,7 @@ import kotlin.jvm.optionals.getOrNull
/** Card details with potentially PCI sensitive information for Enterprise customers */
class Card
+@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val token: JsonField,
private val accountToken: JsonField,
@@ -233,13 +234,13 @@ private constructor(
/**
* Spend limit duration values:
- * - `ANNUALLY` - Card will authorize transactions up to spend limit for the trailing year.
- * - `FOREVER` - Card will authorize only up to spend limit for the entire lifetime of the card.
- * - `MONTHLY` - Card will authorize transactions up to spend limit for the trailing month. To
+ * * `ANNUALLY` - Card will authorize transactions up to spend limit for the trailing year.
+ * * `FOREVER` - Card will authorize only up to spend limit for the entire lifetime of the card.
+ * * `MONTHLY` - Card will authorize transactions up to spend limit for the trailing month. To
* support recurring monthly payments, which can occur on different day every month, the time
* window we consider for monthly velocity starts 6 days after the current calendar date one
* month prior.
- * - `TRANSACTION` - Card will authorize multiple transactions if each individual transaction is
+ * * `TRANSACTION` - Card will authorize multiple transactions if each individual transaction is
* under the spend limit.
*
* @throws LithicInvalidDataException if the JSON field has an unexpected type or is
@@ -249,14 +250,14 @@ private constructor(
spendLimitDuration.getRequired("spend_limit_duration")
/**
- * Card state values: _ `CLOSED` - Card will no longer approve authorizations. Closing a card
- * cannot be undone. _ `OPEN` - Card will approve authorizations (if they match card and account
- * parameters). _ `PAUSED` - Card will decline authorizations, but can be resumed at a later
- * time. _ `PENDING_FULFILLMENT` - The initial state for cards of type `PHYSICAL`. The card is
+ * Card state values: * `CLOSED` - Card will no longer approve authorizations. Closing a card
+ * cannot be undone. * `OPEN` - Card will approve authorizations (if they match card and account
+ * parameters). * `PAUSED` - Card will decline authorizations, but can be resumed at a later
+ * time. * `PENDING_FULFILLMENT` - The initial state for cards of type `PHYSICAL`. The card is
* provisioned pending manufacturing and fulfillment. Cards in this state can accept
* authorizations for e-commerce purchases, but not for "Card Present" purchases where the
- * physical card itself is present. \* `PENDING_ACTIVATION` - At regular intervals, cards of
- * type `PHYSICAL` in state `PENDING_FULFILLMENT` are sent to the card production warehouse and
+ * physical card itself is present. * `PENDING_ACTIVATION` - At regular intervals, cards of type
+ * `PHYSICAL` in state `PENDING_FULFILLMENT` are sent to the card production warehouse and
* updated to state `PENDING_ACTIVATION`. Similar to `PENDING_FULFILLMENT`, cards in this state
* can be used for e-commerce transactions or can be added to mobile wallets. API clients should
* update the card's state to `OPEN` only after the cardholder confirms receipt of the card. In
@@ -268,14 +269,14 @@ private constructor(
fun state(): NonPciCard.State = state.getRequired("state")
/**
- * Card types: _ `VIRTUAL` - Card will authorize at any merchant and can be added to a digital
- * wallet like Apple Pay or Google Pay (if the card program is digital wallet-enabled). _
+ * Card types: * `VIRTUAL` - Card will authorize at any merchant and can be added to a digital
+ * wallet like Apple Pay or Google Pay (if the card program is digital wallet-enabled). *
* `PHYSICAL` - Manufactured and sent to the cardholder. We offer white label branding, credit,
- * ATM, PIN debit, chip/EMV, NFC and magstripe functionality. _ `SINGLE_USE` - Card is closed
- * upon first successful authorization. _ `MERCHANT_LOCKED` - _[Deprecated]_ Card is locked to
- * the first merchant that successfully authorizes the card. _ `UNLOCKED` - _[Deprecated]_
- * Similar behavior to VIRTUAL cards, please use VIRTUAL instead. _ `DIGITAL_WALLET` -
- * _[Deprecated]_ Similar behavior to VIRTUAL cards, please use VIRTUAL instead.
+ * ATM, PIN debit, chip/EMV, NFC and magstripe functionality. * `SINGLE_USE` - Card is closed
+ * upon first successful authorization. * `MERCHANT_LOCKED` - *[Deprecated]* Card is locked to
+ * the first merchant that successfully authorizes the card. * `UNLOCKED` - *[Deprecated]*
+ * Similar behavior to VIRTUAL cards, please use VIRTUAL instead. * `DIGITAL_WALLET` -
+ * *[Deprecated]* Similar behavior to VIRTUAL cards, please use VIRTUAL instead.
*
* @throws LithicInvalidDataException if the JSON field has an unexpected type or is
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
@@ -394,22 +395,22 @@ private constructor(
fun replacementFor(): Optional