diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index c3829d835..808fe5244 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.475.0"
+ ".": "0.476.0"
}
\ No newline at end of file
diff --git a/.stats.yml b/.stats.yml
index 3edafa840..3f376ee16 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 236
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-4a9671050881b7d7579bd118589b25ed43dccb69677f5ab8576df6f70de9a0dc.yml
-openapi_spec_hash: b72da714aeef1e6652e6cc595ef65f94
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-fae765b6b1b34f9c649fec11885e4d0e5b8b1cab0baf0f440dfd5eba040e7047.yml
+openapi_spec_hash: 9900b1c763a43261e0288896379541fe
config_hash: 25d7d7aa4882db6189b4b53e8e249e80
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b9b231eba..7e8ffb40d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+## 0.476.0 (2026-03-13)
+
+Full Changelog: [v0.475.0...v0.476.0](https://github.com/Increase/increase-java/compare/v0.475.0...v0.476.0)
+
+### Features
+
+* **api:** api update ([b49db11](https://github.com/Increase/increase-java/commit/b49db11c88fea464bf4f5f98799d0886baa6f2e2))
+
## 0.475.0 (2026-03-13)
Full Changelog: [v0.474.0...v0.475.0](https://github.com/Increase/increase-java/compare/v0.474.0...v0.475.0)
diff --git a/README.md b/README.md
index 8ec9d2fde..5f4cb2011 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
-[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.475.0)
-[](https://javadoc.io/doc/com.increase.api/increase-java/0.475.0)
+[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.476.0)
+[](https://javadoc.io/doc/com.increase.api/increase-java/0.476.0)
@@ -13,7 +13,7 @@ The Increase Java SDK is similar to the Increase Kotlin SDK but with minor diffe
-The REST API documentation can be found on [increase.com](https://increase.com/documentation). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.increase.api/increase-java/0.475.0).
+The REST API documentation can be found on [increase.com](https://increase.com/documentation). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.increase.api/increase-java/0.476.0).
@@ -24,7 +24,7 @@ The REST API documentation can be found on [increase.com](https://increase.com/d
### Gradle
```kotlin
-implementation("com.increase.api:increase-java:0.475.0")
+implementation("com.increase.api:increase-java:0.476.0")
```
### Maven
@@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.475.0")
com.increase.api
increase-java
- 0.475.0
+ 0.476.0
```
diff --git a/build.gradle.kts b/build.gradle.kts
index 865d200e0..4f6ae4d64 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -8,7 +8,7 @@ repositories {
allprojects {
group = "com.increase.api"
- version = "0.475.0" // x-release-please-version
+ version = "0.476.0" // x-release-please-version
}
subprojects {
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cardpayments/CardPayment.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cardpayments/CardPayment.kt
index 5f39c548c..10c33c762 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/cardpayments/CardPayment.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cardpayments/CardPayment.kt
@@ -1754,7 +1754,7 @@ private constructor(
@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val id: JsonField,
- private val accessControlServerTransactionId: JsonField,
+ private val accessControlServerTransactionIdentifier: JsonField,
private val billingAddressCity: JsonField,
private val billingAddressCountry: JsonField,
private val billingAddressLine1: JsonField,
@@ -1770,7 +1770,7 @@ private constructor(
private val createdAt: JsonField,
private val denyReason: JsonField,
private val deviceChannel: JsonField,
- private val directoryServerTransactionId: JsonField,
+ private val directoryServerTransactionIdentifier: JsonField,
private val merchantAcceptorId: JsonField,
private val merchantCategoryCode: JsonField,
private val merchantCountry: JsonField,
@@ -1791,7 +1791,7 @@ private constructor(
private val shippingAddressPostalCode: JsonField,
private val shippingAddressState: JsonField,
private val status: JsonField,
- private val threeDSecureServerTransactionId: JsonField,
+ private val threeDSecureServerTransactionIdentifier: JsonField,
private val type: JsonField,
private val additionalProperties: MutableMap,
) {
@@ -1799,9 +1799,9 @@ private constructor(
@JsonCreator
private constructor(
@JsonProperty("id") @ExcludeMissing id: JsonField = JsonMissing.of(),
- @JsonProperty("access_control_server_transaction_id")
+ @JsonProperty("access_control_server_transaction_identifier")
@ExcludeMissing
- accessControlServerTransactionId: JsonField = JsonMissing.of(),
+ accessControlServerTransactionIdentifier: JsonField = JsonMissing.of(),
@JsonProperty("billing_address_city")
@ExcludeMissing
billingAddressCity: JsonField = JsonMissing.of(),
@@ -1847,9 +1847,9 @@ private constructor(
@JsonProperty("device_channel")
@ExcludeMissing
deviceChannel: JsonField = JsonMissing.of(),
- @JsonProperty("directory_server_transaction_id")
+ @JsonProperty("directory_server_transaction_identifier")
@ExcludeMissing
- directoryServerTransactionId: JsonField = JsonMissing.of(),
+ directoryServerTransactionIdentifier: JsonField = JsonMissing.of(),
@JsonProperty("merchant_acceptor_id")
@ExcludeMissing
merchantAcceptorId: JsonField = JsonMissing.of(),
@@ -1909,13 +1909,13 @@ private constructor(
@JsonProperty("status")
@ExcludeMissing
status: JsonField = JsonMissing.of(),
- @JsonProperty("three_d_secure_server_transaction_id")
+ @JsonProperty("three_d_secure_server_transaction_identifier")
@ExcludeMissing
- threeDSecureServerTransactionId: JsonField = JsonMissing.of(),
+ threeDSecureServerTransactionIdentifier: JsonField = JsonMissing.of(),
@JsonProperty("type") @ExcludeMissing type: JsonField = JsonMissing.of(),
) : this(
id,
- accessControlServerTransactionId,
+ accessControlServerTransactionIdentifier,
billingAddressCity,
billingAddressCountry,
billingAddressLine1,
@@ -1931,7 +1931,7 @@ private constructor(
createdAt,
denyReason,
deviceChannel,
- directoryServerTransactionId,
+ directoryServerTransactionIdentifier,
merchantAcceptorId,
merchantCategoryCode,
merchantCountry,
@@ -1951,7 +1951,7 @@ private constructor(
shippingAddressPostalCode,
shippingAddressState,
status,
- threeDSecureServerTransactionId,
+ threeDSecureServerTransactionIdentifier,
type,
mutableMapOf(),
)
@@ -1972,8 +1972,10 @@ private constructor(
* unexpectedly missing or null (e.g. if the server responded with an unexpected
* value).
*/
- fun accessControlServerTransactionId(): String =
- accessControlServerTransactionId.getRequired("access_control_server_transaction_id")
+ fun accessControlServerTransactionIdentifier(): String =
+ accessControlServerTransactionIdentifier.getRequired(
+ "access_control_server_transaction_identifier"
+ )
/**
* The city of the cardholder billing address associated with the card used for this
@@ -2123,8 +2125,10 @@ private constructor(
* unexpectedly missing or null (e.g. if the server responded with an unexpected
* value).
*/
- fun directoryServerTransactionId(): String =
- directoryServerTransactionId.getRequired("directory_server_transaction_id")
+ fun directoryServerTransactionIdentifier(): String =
+ directoryServerTransactionIdentifier.getRequired(
+ "directory_server_transaction_identifier"
+ )
/**
* The merchant identifier (commonly abbreviated as MID) of the merchant the card is
@@ -2309,8 +2313,10 @@ private constructor(
* unexpectedly missing or null (e.g. if the server responded with an unexpected
* value).
*/
- fun threeDSecureServerTransactionId(): String =
- threeDSecureServerTransactionId.getRequired("three_d_secure_server_transaction_id")
+ fun threeDSecureServerTransactionIdentifier(): String =
+ threeDSecureServerTransactionIdentifier.getRequired(
+ "three_d_secure_server_transaction_identifier"
+ )
/**
* A constant representing the object's type. For this resource it will always be
@@ -2330,15 +2336,15 @@ private constructor(
@JsonProperty("id") @ExcludeMissing fun _id(): JsonField = id
/**
- * Returns the raw JSON value of [accessControlServerTransactionId].
+ * Returns the raw JSON value of [accessControlServerTransactionIdentifier].
*
- * Unlike [accessControlServerTransactionId], this method doesn't throw if the JSON
- * field has an unexpected type.
+ * Unlike [accessControlServerTransactionIdentifier], this method doesn't throw if the
+ * JSON field has an unexpected type.
*/
- @JsonProperty("access_control_server_transaction_id")
+ @JsonProperty("access_control_server_transaction_identifier")
@ExcludeMissing
- fun _accessControlServerTransactionId(): JsonField =
- accessControlServerTransactionId
+ fun _accessControlServerTransactionIdentifier(): JsonField =
+ accessControlServerTransactionIdentifier
/**
* Returns the raw JSON value of [billingAddressCity].
@@ -2488,14 +2494,15 @@ private constructor(
fun _deviceChannel(): JsonField = deviceChannel
/**
- * Returns the raw JSON value of [directoryServerTransactionId].
+ * Returns the raw JSON value of [directoryServerTransactionIdentifier].
*
- * Unlike [directoryServerTransactionId], this method doesn't throw if the JSON field
- * has an unexpected type.
+ * Unlike [directoryServerTransactionIdentifier], this method doesn't throw if the JSON
+ * field has an unexpected type.
*/
- @JsonProperty("directory_server_transaction_id")
+ @JsonProperty("directory_server_transaction_identifier")
@ExcludeMissing
- fun _directoryServerTransactionId(): JsonField = directoryServerTransactionId
+ fun _directoryServerTransactionIdentifier(): JsonField =
+ directoryServerTransactionIdentifier
/**
* Returns the raw JSON value of [merchantAcceptorId].
@@ -2688,15 +2695,15 @@ private constructor(
@JsonProperty("status") @ExcludeMissing fun _status(): JsonField = status
/**
- * Returns the raw JSON value of [threeDSecureServerTransactionId].
+ * Returns the raw JSON value of [threeDSecureServerTransactionIdentifier].
*
- * Unlike [threeDSecureServerTransactionId], this method doesn't throw if the JSON field
- * has an unexpected type.
+ * Unlike [threeDSecureServerTransactionIdentifier], this method doesn't throw if the
+ * JSON field has an unexpected type.
*/
- @JsonProperty("three_d_secure_server_transaction_id")
+ @JsonProperty("three_d_secure_server_transaction_identifier")
@ExcludeMissing
- fun _threeDSecureServerTransactionId(): JsonField =
- threeDSecureServerTransactionId
+ fun _threeDSecureServerTransactionIdentifier(): JsonField =
+ threeDSecureServerTransactionIdentifier
/**
* Returns the raw JSON value of [type].
@@ -2725,7 +2732,7 @@ private constructor(
* The following fields are required:
* ```java
* .id()
- * .accessControlServerTransactionId()
+ * .accessControlServerTransactionIdentifier()
* .billingAddressCity()
* .billingAddressCountry()
* .billingAddressLine1()
@@ -2741,7 +2748,7 @@ private constructor(
* .createdAt()
* .denyReason()
* .deviceChannel()
- * .directoryServerTransactionId()
+ * .directoryServerTransactionIdentifier()
* .merchantAcceptorId()
* .merchantCategoryCode()
* .merchantCountry()
@@ -2761,7 +2768,7 @@ private constructor(
* .shippingAddressPostalCode()
* .shippingAddressState()
* .status()
- * .threeDSecureServerTransactionId()
+ * .threeDSecureServerTransactionIdentifier()
* .type()
* ```
*/
@@ -2772,7 +2779,7 @@ private constructor(
class Builder internal constructor() {
private var id: JsonField? = null
- private var accessControlServerTransactionId: JsonField? = null
+ private var accessControlServerTransactionIdentifier: JsonField? = null
private var billingAddressCity: JsonField? = null
private var billingAddressCountry: JsonField? = null
private var billingAddressLine1: JsonField? = null
@@ -2788,7 +2795,7 @@ private constructor(
private var createdAt: JsonField? = null
private var denyReason: JsonField? = null
private var deviceChannel: JsonField? = null
- private var directoryServerTransactionId: JsonField? = null
+ private var directoryServerTransactionIdentifier: JsonField? = null
private var merchantAcceptorId: JsonField? = null
private var merchantCategoryCode: JsonField? = null
private var merchantCountry: JsonField? = null
@@ -2811,15 +2818,15 @@ private constructor(
private var shippingAddressPostalCode: JsonField? = null
private var shippingAddressState: JsonField? = null
private var status: JsonField? = null
- private var threeDSecureServerTransactionId: JsonField? = null
+ private var threeDSecureServerTransactionIdentifier: JsonField? = null
private var type: JsonField? = null
private var additionalProperties: MutableMap = mutableMapOf()
@JvmSynthetic
internal fun from(cardAuthentication: CardAuthentication) = apply {
id = cardAuthentication.id
- accessControlServerTransactionId =
- cardAuthentication.accessControlServerTransactionId
+ accessControlServerTransactionIdentifier =
+ cardAuthentication.accessControlServerTransactionIdentifier
billingAddressCity = cardAuthentication.billingAddressCity
billingAddressCountry = cardAuthentication.billingAddressCountry
billingAddressLine1 = cardAuthentication.billingAddressLine1
@@ -2835,7 +2842,8 @@ private constructor(
createdAt = cardAuthentication.createdAt
denyReason = cardAuthentication.denyReason
deviceChannel = cardAuthentication.deviceChannel
- directoryServerTransactionId = cardAuthentication.directoryServerTransactionId
+ directoryServerTransactionIdentifier =
+ cardAuthentication.directoryServerTransactionIdentifier
merchantAcceptorId = cardAuthentication.merchantAcceptorId
merchantCategoryCode = cardAuthentication.merchantCategoryCode
merchantCountry = cardAuthentication.merchantCountry
@@ -2857,8 +2865,8 @@ private constructor(
shippingAddressPostalCode = cardAuthentication.shippingAddressPostalCode
shippingAddressState = cardAuthentication.shippingAddressState
status = cardAuthentication.status
- threeDSecureServerTransactionId =
- cardAuthentication.threeDSecureServerTransactionId
+ threeDSecureServerTransactionIdentifier =
+ cardAuthentication.threeDSecureServerTransactionIdentifier
type = cardAuthentication.type
additionalProperties = cardAuthentication.additionalProperties.toMutableMap()
}
@@ -2879,20 +2887,26 @@ private constructor(
* A unique identifier assigned by the Access Control Server (us) for this
* transaction.
*/
- fun accessControlServerTransactionId(accessControlServerTransactionId: String) =
- accessControlServerTransactionId(JsonField.of(accessControlServerTransactionId))
+ fun accessControlServerTransactionIdentifier(
+ accessControlServerTransactionIdentifier: String
+ ) =
+ accessControlServerTransactionIdentifier(
+ JsonField.of(accessControlServerTransactionIdentifier)
+ )
/**
- * Sets [Builder.accessControlServerTransactionId] to an arbitrary JSON value.
+ * Sets [Builder.accessControlServerTransactionIdentifier] to an arbitrary JSON
+ * value.
*
- * You should usually call [Builder.accessControlServerTransactionId] with a
+ * You should usually call [Builder.accessControlServerTransactionIdentifier] with a
* well-typed [String] value instead. This method is primarily for setting the field
* to an undocumented or not yet supported value.
*/
- fun accessControlServerTransactionId(
- accessControlServerTransactionId: JsonField
+ fun accessControlServerTransactionIdentifier(
+ accessControlServerTransactionIdentifier: JsonField
) = apply {
- this.accessControlServerTransactionId = accessControlServerTransactionId
+ this.accessControlServerTransactionIdentifier =
+ accessControlServerTransactionIdentifier
}
/**
@@ -3211,20 +3225,25 @@ private constructor(
* A unique identifier assigned by the Directory Server (the card network) for this
* transaction.
*/
- fun directoryServerTransactionId(directoryServerTransactionId: String) =
- directoryServerTransactionId(JsonField.of(directoryServerTransactionId))
+ fun directoryServerTransactionIdentifier(
+ directoryServerTransactionIdentifier: String
+ ) =
+ directoryServerTransactionIdentifier(
+ JsonField.of(directoryServerTransactionIdentifier)
+ )
/**
- * Sets [Builder.directoryServerTransactionId] to an arbitrary JSON value.
+ * Sets [Builder.directoryServerTransactionIdentifier] to an arbitrary JSON value.
*
- * You should usually call [Builder.directoryServerTransactionId] with a well-typed
- * [String] value instead. This method is primarily for setting the field to an
- * undocumented or not yet supported value.
+ * You should usually call [Builder.directoryServerTransactionIdentifier] with a
+ * well-typed [String] value instead. This method is primarily for setting the field
+ * to an undocumented or not yet supported value.
*/
- fun directoryServerTransactionId(directoryServerTransactionId: JsonField) =
- apply {
- this.directoryServerTransactionId = directoryServerTransactionId
- }
+ fun directoryServerTransactionIdentifier(
+ directoryServerTransactionIdentifier: JsonField
+ ) = apply {
+ this.directoryServerTransactionIdentifier = directoryServerTransactionIdentifier
+ }
/**
* The merchant identifier (commonly abbreviated as MID) of the merchant the card is
@@ -3640,19 +3659,27 @@ private constructor(
* A unique identifier assigned by the 3DS Server initiating the authentication
* attempt for this transaction.
*/
- fun threeDSecureServerTransactionId(threeDSecureServerTransactionId: String) =
- threeDSecureServerTransactionId(JsonField.of(threeDSecureServerTransactionId))
+ fun threeDSecureServerTransactionIdentifier(
+ threeDSecureServerTransactionIdentifier: String
+ ) =
+ threeDSecureServerTransactionIdentifier(
+ JsonField.of(threeDSecureServerTransactionIdentifier)
+ )
/**
- * Sets [Builder.threeDSecureServerTransactionId] to an arbitrary JSON value.
+ * Sets [Builder.threeDSecureServerTransactionIdentifier] to an arbitrary JSON
+ * value.
*
- * You should usually call [Builder.threeDSecureServerTransactionId] with a
+ * You should usually call [Builder.threeDSecureServerTransactionIdentifier] with a
* well-typed [String] value instead. This method is primarily for setting the field
* to an undocumented or not yet supported value.
*/
- fun threeDSecureServerTransactionId(
- threeDSecureServerTransactionId: JsonField
- ) = apply { this.threeDSecureServerTransactionId = threeDSecureServerTransactionId }
+ fun threeDSecureServerTransactionIdentifier(
+ threeDSecureServerTransactionIdentifier: JsonField
+ ) = apply {
+ this.threeDSecureServerTransactionIdentifier =
+ threeDSecureServerTransactionIdentifier
+ }
/**
* A constant representing the object's type. For this resource it will always be
@@ -3699,7 +3726,7 @@ private constructor(
* The following fields are required:
* ```java
* .id()
- * .accessControlServerTransactionId()
+ * .accessControlServerTransactionIdentifier()
* .billingAddressCity()
* .billingAddressCountry()
* .billingAddressLine1()
@@ -3715,7 +3742,7 @@ private constructor(
* .createdAt()
* .denyReason()
* .deviceChannel()
- * .directoryServerTransactionId()
+ * .directoryServerTransactionIdentifier()
* .merchantAcceptorId()
* .merchantCategoryCode()
* .merchantCountry()
@@ -3735,7 +3762,7 @@ private constructor(
* .shippingAddressPostalCode()
* .shippingAddressState()
* .status()
- * .threeDSecureServerTransactionId()
+ * .threeDSecureServerTransactionIdentifier()
* .type()
* ```
*
@@ -3745,8 +3772,8 @@ private constructor(
CardAuthentication(
checkRequired("id", id),
checkRequired(
- "accessControlServerTransactionId",
- accessControlServerTransactionId,
+ "accessControlServerTransactionIdentifier",
+ accessControlServerTransactionIdentifier,
),
checkRequired("billingAddressCity", billingAddressCity),
checkRequired("billingAddressCountry", billingAddressCountry),
@@ -3763,7 +3790,10 @@ private constructor(
checkRequired("createdAt", createdAt),
checkRequired("denyReason", denyReason),
checkRequired("deviceChannel", deviceChannel),
- checkRequired("directoryServerTransactionId", directoryServerTransactionId),
+ checkRequired(
+ "directoryServerTransactionIdentifier",
+ directoryServerTransactionIdentifier,
+ ),
checkRequired("merchantAcceptorId", merchantAcceptorId),
checkRequired("merchantCategoryCode", merchantCategoryCode),
checkRequired("merchantCountry", merchantCountry),
@@ -3790,8 +3820,8 @@ private constructor(
checkRequired("shippingAddressState", shippingAddressState),
checkRequired("status", status),
checkRequired(
- "threeDSecureServerTransactionId",
- threeDSecureServerTransactionId,
+ "threeDSecureServerTransactionIdentifier",
+ threeDSecureServerTransactionIdentifier,
),
checkRequired("type", type),
additionalProperties.toMutableMap(),
@@ -3806,7 +3836,7 @@ private constructor(
}
id()
- accessControlServerTransactionId()
+ accessControlServerTransactionIdentifier()
billingAddressCity()
billingAddressCountry()
billingAddressLine1()
@@ -3822,7 +3852,7 @@ private constructor(
createdAt()
denyReason().ifPresent { it.validate() }
deviceChannel().validate()
- directoryServerTransactionId()
+ directoryServerTransactionIdentifier()
merchantAcceptorId()
merchantCategoryCode()
merchantCountry()
@@ -3842,7 +3872,7 @@ private constructor(
shippingAddressPostalCode()
shippingAddressState()
status().validate()
- threeDSecureServerTransactionId()
+ threeDSecureServerTransactionIdentifier()
type().validate()
validated = true
}
@@ -3864,7 +3894,7 @@ private constructor(
@JvmSynthetic
internal fun validity(): Int =
(if (id.asKnown().isPresent) 1 else 0) +
- (if (accessControlServerTransactionId.asKnown().isPresent) 1 else 0) +
+ (if (accessControlServerTransactionIdentifier.asKnown().isPresent) 1 else 0) +
(if (billingAddressCity.asKnown().isPresent) 1 else 0) +
(if (billingAddressCountry.asKnown().isPresent) 1 else 0) +
(if (billingAddressLine1.asKnown().isPresent) 1 else 0) +
@@ -3880,7 +3910,7 @@ private constructor(
(if (createdAt.asKnown().isPresent) 1 else 0) +
(denyReason.asKnown().getOrNull()?.validity() ?: 0) +
(deviceChannel.asKnown().getOrNull()?.validity() ?: 0) +
- (if (directoryServerTransactionId.asKnown().isPresent) 1 else 0) +
+ (if (directoryServerTransactionIdentifier.asKnown().isPresent) 1 else 0) +
(if (merchantAcceptorId.asKnown().isPresent) 1 else 0) +
(if (merchantCategoryCode.asKnown().isPresent) 1 else 0) +
(if (merchantCountry.asKnown().isPresent) 1 else 0) +
@@ -3900,7 +3930,7 @@ private constructor(
(if (shippingAddressPostalCode.asKnown().isPresent) 1 else 0) +
(if (shippingAddressState.asKnown().isPresent) 1 else 0) +
(status.asKnown().getOrNull()?.validity() ?: 0) +
- (if (threeDSecureServerTransactionId.asKnown().isPresent) 1 else 0) +
+ (if (threeDSecureServerTransactionIdentifier.asKnown().isPresent) 1 else 0) +
(type.asKnown().getOrNull()?.validity() ?: 0)
/** Details about the challenge, if one was requested. */
@@ -8366,7 +8396,8 @@ private constructor(
return other is CardAuthentication &&
id == other.id &&
- accessControlServerTransactionId == other.accessControlServerTransactionId &&
+ accessControlServerTransactionIdentifier ==
+ other.accessControlServerTransactionIdentifier &&
billingAddressCity == other.billingAddressCity &&
billingAddressCountry == other.billingAddressCountry &&
billingAddressLine1 == other.billingAddressLine1 &&
@@ -8382,7 +8413,8 @@ private constructor(
createdAt == other.createdAt &&
denyReason == other.denyReason &&
deviceChannel == other.deviceChannel &&
- directoryServerTransactionId == other.directoryServerTransactionId &&
+ directoryServerTransactionIdentifier ==
+ other.directoryServerTransactionIdentifier &&
merchantAcceptorId == other.merchantAcceptorId &&
merchantCategoryCode == other.merchantCategoryCode &&
merchantCountry == other.merchantCountry &&
@@ -8402,7 +8434,8 @@ private constructor(
shippingAddressPostalCode == other.shippingAddressPostalCode &&
shippingAddressState == other.shippingAddressState &&
status == other.status &&
- threeDSecureServerTransactionId == other.threeDSecureServerTransactionId &&
+ threeDSecureServerTransactionIdentifier ==
+ other.threeDSecureServerTransactionIdentifier &&
type == other.type &&
additionalProperties == other.additionalProperties
}
@@ -8410,7 +8443,7 @@ private constructor(
private val hashCode: Int by lazy {
Objects.hash(
id,
- accessControlServerTransactionId,
+ accessControlServerTransactionIdentifier,
billingAddressCity,
billingAddressCountry,
billingAddressLine1,
@@ -8426,7 +8459,7 @@ private constructor(
createdAt,
denyReason,
deviceChannel,
- directoryServerTransactionId,
+ directoryServerTransactionIdentifier,
merchantAcceptorId,
merchantCategoryCode,
merchantCountry,
@@ -8446,7 +8479,7 @@ private constructor(
shippingAddressPostalCode,
shippingAddressState,
status,
- threeDSecureServerTransactionId,
+ threeDSecureServerTransactionIdentifier,
type,
additionalProperties,
)
@@ -8455,7 +8488,7 @@ private constructor(
override fun hashCode(): Int = hashCode
override fun toString() =
- "CardAuthentication{id=$id, accessControlServerTransactionId=$accessControlServerTransactionId, billingAddressCity=$billingAddressCity, billingAddressCountry=$billingAddressCountry, billingAddressLine1=$billingAddressLine1, billingAddressLine2=$billingAddressLine2, billingAddressLine3=$billingAddressLine3, billingAddressPostalCode=$billingAddressPostalCode, billingAddressState=$billingAddressState, cardId=$cardId, cardPaymentId=$cardPaymentId, cardholderEmail=$cardholderEmail, cardholderName=$cardholderName, challenge=$challenge, createdAt=$createdAt, denyReason=$denyReason, deviceChannel=$deviceChannel, directoryServerTransactionId=$directoryServerTransactionId, merchantAcceptorId=$merchantAcceptorId, merchantCategoryCode=$merchantCategoryCode, merchantCountry=$merchantCountry, merchantName=$merchantName, messageCategory=$messageCategory, priorAuthenticatedCardPaymentId=$priorAuthenticatedCardPaymentId, realTimeDecisionId=$realTimeDecisionId, requestorAuthenticationIndicator=$requestorAuthenticationIndicator, requestorChallengeIndicator=$requestorChallengeIndicator, requestorName=$requestorName, requestorUrl=$requestorUrl, shippingAddressCity=$shippingAddressCity, shippingAddressCountry=$shippingAddressCountry, shippingAddressLine1=$shippingAddressLine1, shippingAddressLine2=$shippingAddressLine2, shippingAddressLine3=$shippingAddressLine3, shippingAddressPostalCode=$shippingAddressPostalCode, shippingAddressState=$shippingAddressState, status=$status, threeDSecureServerTransactionId=$threeDSecureServerTransactionId, type=$type, additionalProperties=$additionalProperties}"
+ "CardAuthentication{id=$id, accessControlServerTransactionIdentifier=$accessControlServerTransactionIdentifier, billingAddressCity=$billingAddressCity, billingAddressCountry=$billingAddressCountry, billingAddressLine1=$billingAddressLine1, billingAddressLine2=$billingAddressLine2, billingAddressLine3=$billingAddressLine3, billingAddressPostalCode=$billingAddressPostalCode, billingAddressState=$billingAddressState, cardId=$cardId, cardPaymentId=$cardPaymentId, cardholderEmail=$cardholderEmail, cardholderName=$cardholderName, challenge=$challenge, createdAt=$createdAt, denyReason=$denyReason, deviceChannel=$deviceChannel, directoryServerTransactionIdentifier=$directoryServerTransactionIdentifier, merchantAcceptorId=$merchantAcceptorId, merchantCategoryCode=$merchantCategoryCode, merchantCountry=$merchantCountry, merchantName=$merchantName, messageCategory=$messageCategory, priorAuthenticatedCardPaymentId=$priorAuthenticatedCardPaymentId, realTimeDecisionId=$realTimeDecisionId, requestorAuthenticationIndicator=$requestorAuthenticationIndicator, requestorChallengeIndicator=$requestorChallengeIndicator, requestorName=$requestorName, requestorUrl=$requestorUrl, shippingAddressCity=$shippingAddressCity, shippingAddressCountry=$shippingAddressCountry, shippingAddressLine1=$shippingAddressLine1, shippingAddressLine2=$shippingAddressLine2, shippingAddressLine3=$shippingAddressLine3, shippingAddressPostalCode=$shippingAddressPostalCode, shippingAddressState=$shippingAddressState, status=$status, threeDSecureServerTransactionIdentifier=$threeDSecureServerTransactionIdentifier, type=$type, additionalProperties=$additionalProperties}"
}
/**
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/realtimedecisions/RealTimeDecision.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/realtimedecisions/RealTimeDecision.kt
index 7caa90d90..bd2141331 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/realtimedecisions/RealTimeDecision.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/realtimedecisions/RealTimeDecision.kt
@@ -691,7 +691,7 @@ private constructor(
class CardAuthentication
@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
- private val accessControlServerTransactionId: JsonField,
+ private val accessControlServerTransactionIdentifier: JsonField,
private val accountId: JsonField,
private val billingAddressCity: JsonField,
private val billingAddressCountry: JsonField,
@@ -705,7 +705,7 @@ private constructor(
private val cardholderName: JsonField,
private val decision: JsonField,
private val deviceChannel: JsonField,
- private val directoryServerTransactionId: JsonField,
+ private val directoryServerTransactionIdentifier: JsonField,
private val merchantAcceptorId: JsonField,
private val merchantCategoryCode: JsonField,
private val merchantCountry: JsonField,
@@ -723,16 +723,16 @@ private constructor(
private val shippingAddressLine3: JsonField,
private val shippingAddressPostalCode: JsonField,
private val shippingAddressState: JsonField,
- private val threeDSecureServerTransactionId: JsonField,
+ private val threeDSecureServerTransactionIdentifier: JsonField,
private val upcomingCardPaymentId: JsonField,
private val additionalProperties: MutableMap,
) {
@JsonCreator
private constructor(
- @JsonProperty("access_control_server_transaction_id")
+ @JsonProperty("access_control_server_transaction_identifier")
@ExcludeMissing
- accessControlServerTransactionId: JsonField = JsonMissing.of(),
+ accessControlServerTransactionIdentifier: JsonField = JsonMissing.of(),
@JsonProperty("account_id")
@ExcludeMissing
accountId: JsonField = JsonMissing.of(),
@@ -770,9 +770,9 @@ private constructor(
@JsonProperty("device_channel")
@ExcludeMissing
deviceChannel: JsonField = JsonMissing.of(),
- @JsonProperty("directory_server_transaction_id")
+ @JsonProperty("directory_server_transaction_identifier")
@ExcludeMissing
- directoryServerTransactionId: JsonField = JsonMissing.of(),
+ directoryServerTransactionIdentifier: JsonField = JsonMissing.of(),
@JsonProperty("merchant_acceptor_id")
@ExcludeMissing
merchantAcceptorId: JsonField = JsonMissing.of(),
@@ -825,14 +825,14 @@ private constructor(
@JsonProperty("shipping_address_state")
@ExcludeMissing
shippingAddressState: JsonField = JsonMissing.of(),
- @JsonProperty("three_d_secure_server_transaction_id")
+ @JsonProperty("three_d_secure_server_transaction_identifier")
@ExcludeMissing
- threeDSecureServerTransactionId: JsonField = JsonMissing.of(),
+ threeDSecureServerTransactionIdentifier: JsonField = JsonMissing.of(),
@JsonProperty("upcoming_card_payment_id")
@ExcludeMissing
upcomingCardPaymentId: JsonField = JsonMissing.of(),
) : this(
- accessControlServerTransactionId,
+ accessControlServerTransactionIdentifier,
accountId,
billingAddressCity,
billingAddressCountry,
@@ -846,7 +846,7 @@ private constructor(
cardholderName,
decision,
deviceChannel,
- directoryServerTransactionId,
+ directoryServerTransactionIdentifier,
merchantAcceptorId,
merchantCategoryCode,
merchantCountry,
@@ -864,7 +864,7 @@ private constructor(
shippingAddressLine3,
shippingAddressPostalCode,
shippingAddressState,
- threeDSecureServerTransactionId,
+ threeDSecureServerTransactionIdentifier,
upcomingCardPaymentId,
mutableMapOf(),
)
@@ -875,8 +875,10 @@ private constructor(
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
*/
- fun accessControlServerTransactionId(): String =
- accessControlServerTransactionId.getRequired("access_control_server_transaction_id")
+ fun accessControlServerTransactionIdentifier(): String =
+ accessControlServerTransactionIdentifier.getRequired(
+ "access_control_server_transaction_identifier"
+ )
/**
* The identifier of the Account the card belongs to.
@@ -1003,8 +1005,10 @@ private constructor(
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
*/
- fun directoryServerTransactionId(): String =
- directoryServerTransactionId.getRequired("directory_server_transaction_id")
+ fun directoryServerTransactionIdentifier(): String =
+ directoryServerTransactionIdentifier.getRequired(
+ "directory_server_transaction_identifier"
+ )
/**
* The merchant identifier (commonly abbreviated as MID) of the merchant the card is
@@ -1165,8 +1169,10 @@ private constructor(
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
*/
- fun threeDSecureServerTransactionId(): String =
- threeDSecureServerTransactionId.getRequired("three_d_secure_server_transaction_id")
+ fun threeDSecureServerTransactionIdentifier(): String =
+ threeDSecureServerTransactionIdentifier.getRequired(
+ "three_d_secure_server_transaction_identifier"
+ )
/**
* The identifier of the Card Payment this authentication attempt will belong to. Available
@@ -1179,15 +1185,15 @@ private constructor(
upcomingCardPaymentId.getRequired("upcoming_card_payment_id")
/**
- * Returns the raw JSON value of [accessControlServerTransactionId].
+ * Returns the raw JSON value of [accessControlServerTransactionIdentifier].
*
- * Unlike [accessControlServerTransactionId], this method doesn't throw if the JSON field
- * has an unexpected type.
+ * Unlike [accessControlServerTransactionIdentifier], this method doesn't throw if the JSON
+ * field has an unexpected type.
*/
- @JsonProperty("access_control_server_transaction_id")
+ @JsonProperty("access_control_server_transaction_identifier")
@ExcludeMissing
- fun _accessControlServerTransactionId(): JsonField =
- accessControlServerTransactionId
+ fun _accessControlServerTransactionIdentifier(): JsonField =
+ accessControlServerTransactionIdentifier
/**
* Returns the raw JSON value of [accountId].
@@ -1311,14 +1317,15 @@ private constructor(
fun _deviceChannel(): JsonField = deviceChannel
/**
- * Returns the raw JSON value of [directoryServerTransactionId].
+ * Returns the raw JSON value of [directoryServerTransactionIdentifier].
*
- * Unlike [directoryServerTransactionId], this method doesn't throw if the JSON field has an
- * unexpected type.
+ * Unlike [directoryServerTransactionIdentifier], this method doesn't throw if the JSON
+ * field has an unexpected type.
*/
- @JsonProperty("directory_server_transaction_id")
+ @JsonProperty("directory_server_transaction_identifier")
@ExcludeMissing
- fun _directoryServerTransactionId(): JsonField = directoryServerTransactionId
+ fun _directoryServerTransactionIdentifier(): JsonField =
+ directoryServerTransactionIdentifier
/**
* Returns the raw JSON value of [merchantAcceptorId].
@@ -1493,14 +1500,15 @@ private constructor(
fun _shippingAddressState(): JsonField = shippingAddressState
/**
- * Returns the raw JSON value of [threeDSecureServerTransactionId].
+ * Returns the raw JSON value of [threeDSecureServerTransactionIdentifier].
*
- * Unlike [threeDSecureServerTransactionId], this method doesn't throw if the JSON field has
- * an unexpected type.
+ * Unlike [threeDSecureServerTransactionIdentifier], this method doesn't throw if the JSON
+ * field has an unexpected type.
*/
- @JsonProperty("three_d_secure_server_transaction_id")
+ @JsonProperty("three_d_secure_server_transaction_identifier")
@ExcludeMissing
- fun _threeDSecureServerTransactionId(): JsonField = threeDSecureServerTransactionId
+ fun _threeDSecureServerTransactionIdentifier(): JsonField =
+ threeDSecureServerTransactionIdentifier
/**
* Returns the raw JSON value of [upcomingCardPaymentId].
@@ -1531,7 +1539,7 @@ private constructor(
*
* The following fields are required:
* ```java
- * .accessControlServerTransactionId()
+ * .accessControlServerTransactionIdentifier()
* .accountId()
* .billingAddressCity()
* .billingAddressCountry()
@@ -1545,7 +1553,7 @@ private constructor(
* .cardholderName()
* .decision()
* .deviceChannel()
- * .directoryServerTransactionId()
+ * .directoryServerTransactionIdentifier()
* .merchantAcceptorId()
* .merchantCategoryCode()
* .merchantCountry()
@@ -1563,7 +1571,7 @@ private constructor(
* .shippingAddressLine3()
* .shippingAddressPostalCode()
* .shippingAddressState()
- * .threeDSecureServerTransactionId()
+ * .threeDSecureServerTransactionIdentifier()
* .upcomingCardPaymentId()
* ```
*/
@@ -1573,7 +1581,7 @@ private constructor(
/** A builder for [CardAuthentication]. */
class Builder internal constructor() {
- private var accessControlServerTransactionId: JsonField? = null
+ private var accessControlServerTransactionIdentifier: JsonField? = null
private var accountId: JsonField? = null
private var billingAddressCity: JsonField? = null
private var billingAddressCountry: JsonField? = null
@@ -1587,7 +1595,7 @@ private constructor(
private var cardholderName: JsonField? = null
private var decision: JsonField? = null
private var deviceChannel: JsonField? = null
- private var directoryServerTransactionId: JsonField? = null
+ private var directoryServerTransactionIdentifier: JsonField? = null
private var merchantAcceptorId: JsonField? = null
private var merchantCategoryCode: JsonField? = null
private var merchantCountry: JsonField? = null
@@ -1607,14 +1615,14 @@ private constructor(
private var shippingAddressLine3: JsonField? = null
private var shippingAddressPostalCode: JsonField? = null
private var shippingAddressState: JsonField? = null
- private var threeDSecureServerTransactionId: JsonField? = null
+ private var threeDSecureServerTransactionIdentifier: JsonField? = null
private var upcomingCardPaymentId: JsonField? = null
private var additionalProperties: MutableMap = mutableMapOf()
@JvmSynthetic
internal fun from(cardAuthentication: CardAuthentication) = apply {
- accessControlServerTransactionId =
- cardAuthentication.accessControlServerTransactionId
+ accessControlServerTransactionIdentifier =
+ cardAuthentication.accessControlServerTransactionIdentifier
accountId = cardAuthentication.accountId
billingAddressCity = cardAuthentication.billingAddressCity
billingAddressCountry = cardAuthentication.billingAddressCountry
@@ -1628,7 +1636,8 @@ private constructor(
cardholderName = cardAuthentication.cardholderName
decision = cardAuthentication.decision
deviceChannel = cardAuthentication.deviceChannel
- directoryServerTransactionId = cardAuthentication.directoryServerTransactionId
+ directoryServerTransactionIdentifier =
+ cardAuthentication.directoryServerTransactionIdentifier
merchantAcceptorId = cardAuthentication.merchantAcceptorId
merchantCategoryCode = cardAuthentication.merchantCategoryCode
merchantCountry = cardAuthentication.merchantCountry
@@ -1647,7 +1656,8 @@ private constructor(
shippingAddressLine3 = cardAuthentication.shippingAddressLine3
shippingAddressPostalCode = cardAuthentication.shippingAddressPostalCode
shippingAddressState = cardAuthentication.shippingAddressState
- threeDSecureServerTransactionId = cardAuthentication.threeDSecureServerTransactionId
+ threeDSecureServerTransactionIdentifier =
+ cardAuthentication.threeDSecureServerTransactionIdentifier
upcomingCardPaymentId = cardAuthentication.upcomingCardPaymentId
additionalProperties = cardAuthentication.additionalProperties.toMutableMap()
}
@@ -1655,19 +1665,26 @@ private constructor(
/**
* A unique identifier assigned by the Access Control Server (us) for this transaction.
*/
- fun accessControlServerTransactionId(accessControlServerTransactionId: String) =
- accessControlServerTransactionId(JsonField.of(accessControlServerTransactionId))
+ fun accessControlServerTransactionIdentifier(
+ accessControlServerTransactionIdentifier: String
+ ) =
+ accessControlServerTransactionIdentifier(
+ JsonField.of(accessControlServerTransactionIdentifier)
+ )
/**
- * Sets [Builder.accessControlServerTransactionId] to an arbitrary JSON value.
+ * Sets [Builder.accessControlServerTransactionIdentifier] to an arbitrary JSON value.
*
- * You should usually call [Builder.accessControlServerTransactionId] with a well-typed
- * [String] value instead. This method is primarily for setting the field to an
- * undocumented or not yet supported value.
+ * You should usually call [Builder.accessControlServerTransactionIdentifier] with a
+ * well-typed [String] value instead. This method is primarily for setting the field to
+ * an undocumented or not yet supported value.
*/
- fun accessControlServerTransactionId(
- accessControlServerTransactionId: JsonField
- ) = apply { this.accessControlServerTransactionId = accessControlServerTransactionId }
+ fun accessControlServerTransactionIdentifier(
+ accessControlServerTransactionIdentifier: JsonField
+ ) = apply {
+ this.accessControlServerTransactionIdentifier =
+ accessControlServerTransactionIdentifier
+ }
/** The identifier of the Account the card belongs to. */
fun accountId(accountId: String) = accountId(JsonField.of(accountId))
@@ -1940,20 +1957,23 @@ private constructor(
* A unique identifier assigned by the Directory Server (the card network) for this
* transaction.
*/
- fun directoryServerTransactionId(directoryServerTransactionId: String) =
- directoryServerTransactionId(JsonField.of(directoryServerTransactionId))
+ fun directoryServerTransactionIdentifier(directoryServerTransactionIdentifier: String) =
+ directoryServerTransactionIdentifier(
+ JsonField.of(directoryServerTransactionIdentifier)
+ )
/**
- * Sets [Builder.directoryServerTransactionId] to an arbitrary JSON value.
+ * Sets [Builder.directoryServerTransactionIdentifier] to an arbitrary JSON value.
*
- * You should usually call [Builder.directoryServerTransactionId] with a well-typed
- * [String] value instead. This method is primarily for setting the field to an
- * undocumented or not yet supported value.
+ * You should usually call [Builder.directoryServerTransactionIdentifier] with a
+ * well-typed [String] value instead. This method is primarily for setting the field to
+ * an undocumented or not yet supported value.
*/
- fun directoryServerTransactionId(directoryServerTransactionId: JsonField) =
- apply {
- this.directoryServerTransactionId = directoryServerTransactionId
- }
+ fun directoryServerTransactionIdentifier(
+ directoryServerTransactionIdentifier: JsonField
+ ) = apply {
+ this.directoryServerTransactionIdentifier = directoryServerTransactionIdentifier
+ }
/**
* The merchant identifier (commonly abbreviated as MID) of the merchant the card is
@@ -2325,19 +2345,26 @@ private constructor(
* A unique identifier assigned by the 3DS Server initiating the authentication attempt
* for this transaction.
*/
- fun threeDSecureServerTransactionId(threeDSecureServerTransactionId: String) =
- threeDSecureServerTransactionId(JsonField.of(threeDSecureServerTransactionId))
+ fun threeDSecureServerTransactionIdentifier(
+ threeDSecureServerTransactionIdentifier: String
+ ) =
+ threeDSecureServerTransactionIdentifier(
+ JsonField.of(threeDSecureServerTransactionIdentifier)
+ )
/**
- * Sets [Builder.threeDSecureServerTransactionId] to an arbitrary JSON value.
+ * Sets [Builder.threeDSecureServerTransactionIdentifier] to an arbitrary JSON value.
*
- * You should usually call [Builder.threeDSecureServerTransactionId] with a well-typed
- * [String] value instead. This method is primarily for setting the field to an
- * undocumented or not yet supported value.
+ * You should usually call [Builder.threeDSecureServerTransactionIdentifier] with a
+ * well-typed [String] value instead. This method is primarily for setting the field to
+ * an undocumented or not yet supported value.
*/
- fun threeDSecureServerTransactionId(
- threeDSecureServerTransactionId: JsonField
- ) = apply { this.threeDSecureServerTransactionId = threeDSecureServerTransactionId }
+ fun threeDSecureServerTransactionIdentifier(
+ threeDSecureServerTransactionIdentifier: JsonField
+ ) = apply {
+ this.threeDSecureServerTransactionIdentifier =
+ threeDSecureServerTransactionIdentifier
+ }
/**
* The identifier of the Card Payment this authentication attempt will belong to.
@@ -2383,7 +2410,7 @@ private constructor(
*
* The following fields are required:
* ```java
- * .accessControlServerTransactionId()
+ * .accessControlServerTransactionIdentifier()
* .accountId()
* .billingAddressCity()
* .billingAddressCountry()
@@ -2397,7 +2424,7 @@ private constructor(
* .cardholderName()
* .decision()
* .deviceChannel()
- * .directoryServerTransactionId()
+ * .directoryServerTransactionIdentifier()
* .merchantAcceptorId()
* .merchantCategoryCode()
* .merchantCountry()
@@ -2415,7 +2442,7 @@ private constructor(
* .shippingAddressLine3()
* .shippingAddressPostalCode()
* .shippingAddressState()
- * .threeDSecureServerTransactionId()
+ * .threeDSecureServerTransactionIdentifier()
* .upcomingCardPaymentId()
* ```
*
@@ -2424,8 +2451,8 @@ private constructor(
fun build(): CardAuthentication =
CardAuthentication(
checkRequired(
- "accessControlServerTransactionId",
- accessControlServerTransactionId,
+ "accessControlServerTransactionIdentifier",
+ accessControlServerTransactionIdentifier,
),
checkRequired("accountId", accountId),
checkRequired("billingAddressCity", billingAddressCity),
@@ -2440,7 +2467,10 @@ private constructor(
checkRequired("cardholderName", cardholderName),
checkRequired("decision", decision),
checkRequired("deviceChannel", deviceChannel),
- checkRequired("directoryServerTransactionId", directoryServerTransactionId),
+ checkRequired(
+ "directoryServerTransactionIdentifier",
+ directoryServerTransactionIdentifier,
+ ),
checkRequired("merchantAcceptorId", merchantAcceptorId),
checkRequired("merchantCategoryCode", merchantCategoryCode),
checkRequired("merchantCountry", merchantCountry),
@@ -2465,8 +2495,8 @@ private constructor(
checkRequired("shippingAddressPostalCode", shippingAddressPostalCode),
checkRequired("shippingAddressState", shippingAddressState),
checkRequired(
- "threeDSecureServerTransactionId",
- threeDSecureServerTransactionId,
+ "threeDSecureServerTransactionIdentifier",
+ threeDSecureServerTransactionIdentifier,
),
checkRequired("upcomingCardPaymentId", upcomingCardPaymentId),
additionalProperties.toMutableMap(),
@@ -2480,7 +2510,7 @@ private constructor(
return@apply
}
- accessControlServerTransactionId()
+ accessControlServerTransactionIdentifier()
accountId()
billingAddressCity()
billingAddressCountry()
@@ -2494,7 +2524,7 @@ private constructor(
cardholderName()
decision().ifPresent { it.validate() }
deviceChannel().validate()
- directoryServerTransactionId()
+ directoryServerTransactionIdentifier()
merchantAcceptorId()
merchantCategoryCode()
merchantCountry()
@@ -2512,7 +2542,7 @@ private constructor(
shippingAddressLine3()
shippingAddressPostalCode()
shippingAddressState()
- threeDSecureServerTransactionId()
+ threeDSecureServerTransactionIdentifier()
upcomingCardPaymentId()
validated = true
}
@@ -2533,7 +2563,7 @@ private constructor(
*/
@JvmSynthetic
internal fun validity(): Int =
- (if (accessControlServerTransactionId.asKnown().isPresent) 1 else 0) +
+ (if (accessControlServerTransactionIdentifier.asKnown().isPresent) 1 else 0) +
(if (accountId.asKnown().isPresent) 1 else 0) +
(if (billingAddressCity.asKnown().isPresent) 1 else 0) +
(if (billingAddressCountry.asKnown().isPresent) 1 else 0) +
@@ -2547,7 +2577,7 @@ private constructor(
(if (cardholderName.asKnown().isPresent) 1 else 0) +
(decision.asKnown().getOrNull()?.validity() ?: 0) +
(deviceChannel.asKnown().getOrNull()?.validity() ?: 0) +
- (if (directoryServerTransactionId.asKnown().isPresent) 1 else 0) +
+ (if (directoryServerTransactionIdentifier.asKnown().isPresent) 1 else 0) +
(if (merchantAcceptorId.asKnown().isPresent) 1 else 0) +
(if (merchantCategoryCode.asKnown().isPresent) 1 else 0) +
(if (merchantCountry.asKnown().isPresent) 1 else 0) +
@@ -2565,7 +2595,7 @@ private constructor(
(if (shippingAddressLine3.asKnown().isPresent) 1 else 0) +
(if (shippingAddressPostalCode.asKnown().isPresent) 1 else 0) +
(if (shippingAddressState.asKnown().isPresent) 1 else 0) +
- (if (threeDSecureServerTransactionId.asKnown().isPresent) 1 else 0) +
+ (if (threeDSecureServerTransactionIdentifier.asKnown().isPresent) 1 else 0) +
(if (upcomingCardPaymentId.asKnown().isPresent) 1 else 0)
/** Whether or not the authentication attempt was approved. */
@@ -5632,7 +5662,8 @@ private constructor(
}
return other is CardAuthentication &&
- accessControlServerTransactionId == other.accessControlServerTransactionId &&
+ accessControlServerTransactionIdentifier ==
+ other.accessControlServerTransactionIdentifier &&
accountId == other.accountId &&
billingAddressCity == other.billingAddressCity &&
billingAddressCountry == other.billingAddressCountry &&
@@ -5646,7 +5677,8 @@ private constructor(
cardholderName == other.cardholderName &&
decision == other.decision &&
deviceChannel == other.deviceChannel &&
- directoryServerTransactionId == other.directoryServerTransactionId &&
+ directoryServerTransactionIdentifier ==
+ other.directoryServerTransactionIdentifier &&
merchantAcceptorId == other.merchantAcceptorId &&
merchantCategoryCode == other.merchantCategoryCode &&
merchantCountry == other.merchantCountry &&
@@ -5664,14 +5696,15 @@ private constructor(
shippingAddressLine3 == other.shippingAddressLine3 &&
shippingAddressPostalCode == other.shippingAddressPostalCode &&
shippingAddressState == other.shippingAddressState &&
- threeDSecureServerTransactionId == other.threeDSecureServerTransactionId &&
+ threeDSecureServerTransactionIdentifier ==
+ other.threeDSecureServerTransactionIdentifier &&
upcomingCardPaymentId == other.upcomingCardPaymentId &&
additionalProperties == other.additionalProperties
}
private val hashCode: Int by lazy {
Objects.hash(
- accessControlServerTransactionId,
+ accessControlServerTransactionIdentifier,
accountId,
billingAddressCity,
billingAddressCountry,
@@ -5685,7 +5718,7 @@ private constructor(
cardholderName,
decision,
deviceChannel,
- directoryServerTransactionId,
+ directoryServerTransactionIdentifier,
merchantAcceptorId,
merchantCategoryCode,
merchantCountry,
@@ -5703,7 +5736,7 @@ private constructor(
shippingAddressLine3,
shippingAddressPostalCode,
shippingAddressState,
- threeDSecureServerTransactionId,
+ threeDSecureServerTransactionIdentifier,
upcomingCardPaymentId,
additionalProperties,
)
@@ -5712,7 +5745,7 @@ private constructor(
override fun hashCode(): Int = hashCode
override fun toString() =
- "CardAuthentication{accessControlServerTransactionId=$accessControlServerTransactionId, accountId=$accountId, billingAddressCity=$billingAddressCity, billingAddressCountry=$billingAddressCountry, billingAddressLine1=$billingAddressLine1, billingAddressLine2=$billingAddressLine2, billingAddressLine3=$billingAddressLine3, billingAddressPostalCode=$billingAddressPostalCode, billingAddressState=$billingAddressState, cardId=$cardId, cardholderEmail=$cardholderEmail, cardholderName=$cardholderName, decision=$decision, deviceChannel=$deviceChannel, directoryServerTransactionId=$directoryServerTransactionId, merchantAcceptorId=$merchantAcceptorId, merchantCategoryCode=$merchantCategoryCode, merchantCountry=$merchantCountry, merchantName=$merchantName, messageCategory=$messageCategory, priorAuthenticatedCardPaymentId=$priorAuthenticatedCardPaymentId, requestorAuthenticationIndicator=$requestorAuthenticationIndicator, requestorChallengeIndicator=$requestorChallengeIndicator, requestorName=$requestorName, requestorUrl=$requestorUrl, shippingAddressCity=$shippingAddressCity, shippingAddressCountry=$shippingAddressCountry, shippingAddressLine1=$shippingAddressLine1, shippingAddressLine2=$shippingAddressLine2, shippingAddressLine3=$shippingAddressLine3, shippingAddressPostalCode=$shippingAddressPostalCode, shippingAddressState=$shippingAddressState, threeDSecureServerTransactionId=$threeDSecureServerTransactionId, upcomingCardPaymentId=$upcomingCardPaymentId, additionalProperties=$additionalProperties}"
+ "CardAuthentication{accessControlServerTransactionIdentifier=$accessControlServerTransactionIdentifier, accountId=$accountId, billingAddressCity=$billingAddressCity, billingAddressCountry=$billingAddressCountry, billingAddressLine1=$billingAddressLine1, billingAddressLine2=$billingAddressLine2, billingAddressLine3=$billingAddressLine3, billingAddressPostalCode=$billingAddressPostalCode, billingAddressState=$billingAddressState, cardId=$cardId, cardholderEmail=$cardholderEmail, cardholderName=$cardholderName, decision=$decision, deviceChannel=$deviceChannel, directoryServerTransactionIdentifier=$directoryServerTransactionIdentifier, merchantAcceptorId=$merchantAcceptorId, merchantCategoryCode=$merchantCategoryCode, merchantCountry=$merchantCountry, merchantName=$merchantName, messageCategory=$messageCategory, priorAuthenticatedCardPaymentId=$priorAuthenticatedCardPaymentId, requestorAuthenticationIndicator=$requestorAuthenticationIndicator, requestorChallengeIndicator=$requestorChallengeIndicator, requestorName=$requestorName, requestorUrl=$requestorUrl, shippingAddressCity=$shippingAddressCity, shippingAddressCountry=$shippingAddressCountry, shippingAddressLine1=$shippingAddressLine1, shippingAddressLine2=$shippingAddressLine2, shippingAddressLine3=$shippingAddressLine3, shippingAddressPostalCode=$shippingAddressPostalCode, shippingAddressState=$shippingAddressState, threeDSecureServerTransactionIdentifier=$threeDSecureServerTransactionIdentifier, upcomingCardPaymentId=$upcomingCardPaymentId, additionalProperties=$additionalProperties}"
}
/** Fields related to a 3DS authentication attempt. */
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/cardpayments/CardPaymentListPageResponseTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/cardpayments/CardPaymentListPageResponseTest.kt
index c222ee718..8d9c2ab88 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/cardpayments/CardPaymentListPageResponseTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/cardpayments/CardPaymentListPageResponseTest.kt
@@ -30,7 +30,7 @@ internal class CardPaymentListPageResponseTest {
.cardAuthentication(
CardPayment.Element.CardAuthentication.builder()
.id("card_authentication_xft30xjdubptlgrxboch")
- .accessControlServerTransactionId(
+ .accessControlServerTransactionIdentifier(
"1a628378-4d43-4438-a31f-25c0e1bf2537"
)
.billingAddressCity("New York")
@@ -130,7 +130,7 @@ internal class CardPaymentListPageResponseTest {
)
.build()
)
- .directoryServerTransactionId(
+ .directoryServerTransactionIdentifier(
"8990a978-5eb2-4440-8539-5619e24b0b0d"
)
.merchantAcceptorId("5665270011000168")
@@ -201,7 +201,7 @@ internal class CardPaymentListPageResponseTest {
CardPayment.Element.CardAuthentication.Status
.VALIDATING_CHALLENGE
)
- .threeDSecureServerTransactionId(
+ .threeDSecureServerTransactionIdentifier(
"6839e1b0-dcae-482d-8166-40e44dd0d8cd"
)
.type(
@@ -2209,7 +2209,7 @@ internal class CardPaymentListPageResponseTest {
.cardAuthentication(
CardPayment.Element.CardAuthentication.builder()
.id("card_authentication_xft30xjdubptlgrxboch")
- .accessControlServerTransactionId(
+ .accessControlServerTransactionIdentifier(
"1a628378-4d43-4438-a31f-25c0e1bf2537"
)
.billingAddressCity("New York")
@@ -2309,7 +2309,7 @@ internal class CardPaymentListPageResponseTest {
)
.build()
)
- .directoryServerTransactionId(
+ .directoryServerTransactionIdentifier(
"8990a978-5eb2-4440-8539-5619e24b0b0d"
)
.merchantAcceptorId("5665270011000168")
@@ -2380,7 +2380,7 @@ internal class CardPaymentListPageResponseTest {
CardPayment.Element.CardAuthentication.Status
.VALIDATING_CHALLENGE
)
- .threeDSecureServerTransactionId(
+ .threeDSecureServerTransactionIdentifier(
"6839e1b0-dcae-482d-8166-40e44dd0d8cd"
)
.type(
@@ -4388,7 +4388,7 @@ internal class CardPaymentListPageResponseTest {
.cardAuthentication(
CardPayment.Element.CardAuthentication.builder()
.id("card_authentication_xft30xjdubptlgrxboch")
- .accessControlServerTransactionId(
+ .accessControlServerTransactionIdentifier(
"1a628378-4d43-4438-a31f-25c0e1bf2537"
)
.billingAddressCity("New York")
@@ -4488,7 +4488,7 @@ internal class CardPaymentListPageResponseTest {
)
.build()
)
- .directoryServerTransactionId(
+ .directoryServerTransactionIdentifier(
"8990a978-5eb2-4440-8539-5619e24b0b0d"
)
.merchantAcceptorId("5665270011000168")
@@ -4559,7 +4559,7 @@ internal class CardPaymentListPageResponseTest {
CardPayment.Element.CardAuthentication.Status
.VALIDATING_CHALLENGE
)
- .threeDSecureServerTransactionId(
+ .threeDSecureServerTransactionIdentifier(
"6839e1b0-dcae-482d-8166-40e44dd0d8cd"
)
.type(
@@ -6567,7 +6567,7 @@ internal class CardPaymentListPageResponseTest {
.cardAuthentication(
CardPayment.Element.CardAuthentication.builder()
.id("card_authentication_xft30xjdubptlgrxboch")
- .accessControlServerTransactionId(
+ .accessControlServerTransactionIdentifier(
"1a628378-4d43-4438-a31f-25c0e1bf2537"
)
.billingAddressCity("New York")
@@ -6667,7 +6667,7 @@ internal class CardPaymentListPageResponseTest {
)
.build()
)
- .directoryServerTransactionId(
+ .directoryServerTransactionIdentifier(
"8990a978-5eb2-4440-8539-5619e24b0b0d"
)
.merchantAcceptorId("5665270011000168")
@@ -6738,7 +6738,7 @@ internal class CardPaymentListPageResponseTest {
CardPayment.Element.CardAuthentication.Status
.VALIDATING_CHALLENGE
)
- .threeDSecureServerTransactionId(
+ .threeDSecureServerTransactionIdentifier(
"6839e1b0-dcae-482d-8166-40e44dd0d8cd"
)
.type(
@@ -8788,7 +8788,7 @@ internal class CardPaymentListPageResponseTest {
.cardAuthentication(
CardPayment.Element.CardAuthentication.builder()
.id("card_authentication_xft30xjdubptlgrxboch")
- .accessControlServerTransactionId(
+ .accessControlServerTransactionIdentifier(
"1a628378-4d43-4438-a31f-25c0e1bf2537"
)
.billingAddressCity("New York")
@@ -8883,7 +8883,7 @@ internal class CardPaymentListPageResponseTest {
)
.build()
)
- .directoryServerTransactionId(
+ .directoryServerTransactionIdentifier(
"8990a978-5eb2-4440-8539-5619e24b0b0d"
)
.merchantAcceptorId("5665270011000168")
@@ -8950,7 +8950,7 @@ internal class CardPaymentListPageResponseTest {
CardPayment.Element.CardAuthentication.Status
.VALIDATING_CHALLENGE
)
- .threeDSecureServerTransactionId(
+ .threeDSecureServerTransactionIdentifier(
"6839e1b0-dcae-482d-8166-40e44dd0d8cd"
)
.type(
@@ -10844,7 +10844,7 @@ internal class CardPaymentListPageResponseTest {
.cardAuthentication(
CardPayment.Element.CardAuthentication.builder()
.id("card_authentication_xft30xjdubptlgrxboch")
- .accessControlServerTransactionId(
+ .accessControlServerTransactionIdentifier(
"1a628378-4d43-4438-a31f-25c0e1bf2537"
)
.billingAddressCity("New York")
@@ -10939,7 +10939,7 @@ internal class CardPaymentListPageResponseTest {
)
.build()
)
- .directoryServerTransactionId(
+ .directoryServerTransactionIdentifier(
"8990a978-5eb2-4440-8539-5619e24b0b0d"
)
.merchantAcceptorId("5665270011000168")
@@ -11006,7 +11006,7 @@ internal class CardPaymentListPageResponseTest {
CardPayment.Element.CardAuthentication.Status
.VALIDATING_CHALLENGE
)
- .threeDSecureServerTransactionId(
+ .threeDSecureServerTransactionIdentifier(
"6839e1b0-dcae-482d-8166-40e44dd0d8cd"
)
.type(
@@ -12900,7 +12900,7 @@ internal class CardPaymentListPageResponseTest {
.cardAuthentication(
CardPayment.Element.CardAuthentication.builder()
.id("card_authentication_xft30xjdubptlgrxboch")
- .accessControlServerTransactionId(
+ .accessControlServerTransactionIdentifier(
"1a628378-4d43-4438-a31f-25c0e1bf2537"
)
.billingAddressCity("New York")
@@ -12995,7 +12995,7 @@ internal class CardPaymentListPageResponseTest {
)
.build()
)
- .directoryServerTransactionId(
+ .directoryServerTransactionIdentifier(
"8990a978-5eb2-4440-8539-5619e24b0b0d"
)
.merchantAcceptorId("5665270011000168")
@@ -13062,7 +13062,7 @@ internal class CardPaymentListPageResponseTest {
CardPayment.Element.CardAuthentication.Status
.VALIDATING_CHALLENGE
)
- .threeDSecureServerTransactionId(
+ .threeDSecureServerTransactionIdentifier(
"6839e1b0-dcae-482d-8166-40e44dd0d8cd"
)
.type(
@@ -14956,7 +14956,7 @@ internal class CardPaymentListPageResponseTest {
.cardAuthentication(
CardPayment.Element.CardAuthentication.builder()
.id("card_authentication_xft30xjdubptlgrxboch")
- .accessControlServerTransactionId(
+ .accessControlServerTransactionIdentifier(
"1a628378-4d43-4438-a31f-25c0e1bf2537"
)
.billingAddressCity("New York")
@@ -15051,7 +15051,7 @@ internal class CardPaymentListPageResponseTest {
)
.build()
)
- .directoryServerTransactionId(
+ .directoryServerTransactionIdentifier(
"8990a978-5eb2-4440-8539-5619e24b0b0d"
)
.merchantAcceptorId("5665270011000168")
@@ -15118,7 +15118,7 @@ internal class CardPaymentListPageResponseTest {
CardPayment.Element.CardAuthentication.Status
.VALIDATING_CHALLENGE
)
- .threeDSecureServerTransactionId(
+ .threeDSecureServerTransactionIdentifier(
"6839e1b0-dcae-482d-8166-40e44dd0d8cd"
)
.type(
@@ -17056,7 +17056,7 @@ internal class CardPaymentListPageResponseTest {
.cardAuthentication(
CardPayment.Element.CardAuthentication.builder()
.id("card_authentication_xft30xjdubptlgrxboch")
- .accessControlServerTransactionId(
+ .accessControlServerTransactionIdentifier(
"1a628378-4d43-4438-a31f-25c0e1bf2537"
)
.billingAddressCity("New York")
@@ -17156,7 +17156,7 @@ internal class CardPaymentListPageResponseTest {
)
.build()
)
- .directoryServerTransactionId(
+ .directoryServerTransactionIdentifier(
"8990a978-5eb2-4440-8539-5619e24b0b0d"
)
.merchantAcceptorId("5665270011000168")
@@ -17227,7 +17227,7 @@ internal class CardPaymentListPageResponseTest {
CardPayment.Element.CardAuthentication.Status
.VALIDATING_CHALLENGE
)
- .threeDSecureServerTransactionId(
+ .threeDSecureServerTransactionIdentifier(
"6839e1b0-dcae-482d-8166-40e44dd0d8cd"
)
.type(
@@ -19235,7 +19235,7 @@ internal class CardPaymentListPageResponseTest {
.cardAuthentication(
CardPayment.Element.CardAuthentication.builder()
.id("card_authentication_xft30xjdubptlgrxboch")
- .accessControlServerTransactionId(
+ .accessControlServerTransactionIdentifier(
"1a628378-4d43-4438-a31f-25c0e1bf2537"
)
.billingAddressCity("New York")
@@ -19335,7 +19335,7 @@ internal class CardPaymentListPageResponseTest {
)
.build()
)
- .directoryServerTransactionId(
+ .directoryServerTransactionIdentifier(
"8990a978-5eb2-4440-8539-5619e24b0b0d"
)
.merchantAcceptorId("5665270011000168")
@@ -19406,7 +19406,7 @@ internal class CardPaymentListPageResponseTest {
CardPayment.Element.CardAuthentication.Status
.VALIDATING_CHALLENGE
)
- .threeDSecureServerTransactionId(
+ .threeDSecureServerTransactionIdentifier(
"6839e1b0-dcae-482d-8166-40e44dd0d8cd"
)
.type(
@@ -21414,7 +21414,7 @@ internal class CardPaymentListPageResponseTest {
.cardAuthentication(
CardPayment.Element.CardAuthentication.builder()
.id("card_authentication_xft30xjdubptlgrxboch")
- .accessControlServerTransactionId(
+ .accessControlServerTransactionIdentifier(
"1a628378-4d43-4438-a31f-25c0e1bf2537"
)
.billingAddressCity("New York")
@@ -21514,7 +21514,7 @@ internal class CardPaymentListPageResponseTest {
)
.build()
)
- .directoryServerTransactionId(
+ .directoryServerTransactionIdentifier(
"8990a978-5eb2-4440-8539-5619e24b0b0d"
)
.merchantAcceptorId("5665270011000168")
@@ -21585,7 +21585,7 @@ internal class CardPaymentListPageResponseTest {
CardPayment.Element.CardAuthentication.Status
.VALIDATING_CHALLENGE
)
- .threeDSecureServerTransactionId(
+ .threeDSecureServerTransactionIdentifier(
"6839e1b0-dcae-482d-8166-40e44dd0d8cd"
)
.type(
@@ -23593,7 +23593,7 @@ internal class CardPaymentListPageResponseTest {
.cardAuthentication(
CardPayment.Element.CardAuthentication.builder()
.id("card_authentication_xft30xjdubptlgrxboch")
- .accessControlServerTransactionId(
+ .accessControlServerTransactionIdentifier(
"1a628378-4d43-4438-a31f-25c0e1bf2537"
)
.billingAddressCity("New York")
@@ -23693,7 +23693,7 @@ internal class CardPaymentListPageResponseTest {
)
.build()
)
- .directoryServerTransactionId(
+ .directoryServerTransactionIdentifier(
"8990a978-5eb2-4440-8539-5619e24b0b0d"
)
.merchantAcceptorId("5665270011000168")
@@ -23764,7 +23764,7 @@ internal class CardPaymentListPageResponseTest {
CardPayment.Element.CardAuthentication.Status
.VALIDATING_CHALLENGE
)
- .threeDSecureServerTransactionId(
+ .threeDSecureServerTransactionIdentifier(
"6839e1b0-dcae-482d-8166-40e44dd0d8cd"
)
.type(
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/cardpayments/CardPaymentTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/cardpayments/CardPaymentTest.kt
index 30d2c1ec5..14b6c3300 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/cardpayments/CardPaymentTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/cardpayments/CardPaymentTest.kt
@@ -28,7 +28,7 @@ internal class CardPaymentTest {
.cardAuthentication(
CardPayment.Element.CardAuthentication.builder()
.id("card_authentication_xft30xjdubptlgrxboch")
- .accessControlServerTransactionId(
+ .accessControlServerTransactionIdentifier(
"1a628378-4d43-4438-a31f-25c0e1bf2537"
)
.billingAddressCity("New York")
@@ -115,7 +115,7 @@ internal class CardPaymentTest {
)
.build()
)
- .directoryServerTransactionId(
+ .directoryServerTransactionIdentifier(
"8990a978-5eb2-4440-8539-5619e24b0b0d"
)
.merchantAcceptorId("5665270011000168")
@@ -182,7 +182,7 @@ internal class CardPaymentTest {
CardPayment.Element.CardAuthentication.Status
.VALIDATING_CHALLENGE
)
- .threeDSecureServerTransactionId(
+ .threeDSecureServerTransactionIdentifier(
"6839e1b0-dcae-482d-8166-40e44dd0d8cd"
)
.type(
@@ -1961,7 +1961,7 @@ internal class CardPaymentTest {
.cardAuthentication(
CardPayment.Element.CardAuthentication.builder()
.id("card_authentication_xft30xjdubptlgrxboch")
- .accessControlServerTransactionId(
+ .accessControlServerTransactionIdentifier(
"1a628378-4d43-4438-a31f-25c0e1bf2537"
)
.billingAddressCity("New York")
@@ -2048,7 +2048,7 @@ internal class CardPaymentTest {
)
.build()
)
- .directoryServerTransactionId(
+ .directoryServerTransactionIdentifier(
"8990a978-5eb2-4440-8539-5619e24b0b0d"
)
.merchantAcceptorId("5665270011000168")
@@ -2115,7 +2115,7 @@ internal class CardPaymentTest {
CardPayment.Element.CardAuthentication.Status
.VALIDATING_CHALLENGE
)
- .threeDSecureServerTransactionId(
+ .threeDSecureServerTransactionIdentifier(
"6839e1b0-dcae-482d-8166-40e44dd0d8cd"
)
.type(
@@ -3894,7 +3894,7 @@ internal class CardPaymentTest {
.cardAuthentication(
CardPayment.Element.CardAuthentication.builder()
.id("card_authentication_xft30xjdubptlgrxboch")
- .accessControlServerTransactionId(
+ .accessControlServerTransactionIdentifier(
"1a628378-4d43-4438-a31f-25c0e1bf2537"
)
.billingAddressCity("New York")
@@ -3981,7 +3981,7 @@ internal class CardPaymentTest {
)
.build()
)
- .directoryServerTransactionId(
+ .directoryServerTransactionIdentifier(
"8990a978-5eb2-4440-8539-5619e24b0b0d"
)
.merchantAcceptorId("5665270011000168")
@@ -4048,7 +4048,7 @@ internal class CardPaymentTest {
CardPayment.Element.CardAuthentication.Status
.VALIDATING_CHALLENGE
)
- .threeDSecureServerTransactionId(
+ .threeDSecureServerTransactionIdentifier(
"6839e1b0-dcae-482d-8166-40e44dd0d8cd"
)
.type(
@@ -5827,7 +5827,7 @@ internal class CardPaymentTest {
.cardAuthentication(
CardPayment.Element.CardAuthentication.builder()
.id("card_authentication_xft30xjdubptlgrxboch")
- .accessControlServerTransactionId(
+ .accessControlServerTransactionIdentifier(
"1a628378-4d43-4438-a31f-25c0e1bf2537"
)
.billingAddressCity("New York")
@@ -5914,7 +5914,7 @@ internal class CardPaymentTest {
)
.build()
)
- .directoryServerTransactionId(
+ .directoryServerTransactionIdentifier(
"8990a978-5eb2-4440-8539-5619e24b0b0d"
)
.merchantAcceptorId("5665270011000168")
@@ -5981,7 +5981,7 @@ internal class CardPaymentTest {
CardPayment.Element.CardAuthentication.Status
.VALIDATING_CHALLENGE
)
- .threeDSecureServerTransactionId(
+ .threeDSecureServerTransactionIdentifier(
"6839e1b0-dcae-482d-8166-40e44dd0d8cd"
)
.type(
@@ -7794,7 +7794,7 @@ internal class CardPaymentTest {
.cardAuthentication(
CardPayment.Element.CardAuthentication.builder()
.id("card_authentication_xft30xjdubptlgrxboch")
- .accessControlServerTransactionId(
+ .accessControlServerTransactionIdentifier(
"1a628378-4d43-4438-a31f-25c0e1bf2537"
)
.billingAddressCity("New York")
@@ -7871,7 +7871,9 @@ internal class CardPaymentTest {
)
.build()
)
- .directoryServerTransactionId("8990a978-5eb2-4440-8539-5619e24b0b0d")
+ .directoryServerTransactionIdentifier(
+ "8990a978-5eb2-4440-8539-5619e24b0b0d"
+ )
.merchantAcceptorId("5665270011000168")
.merchantCategoryCode("5734")
.merchantCountry("US")
@@ -7930,7 +7932,9 @@ internal class CardPaymentTest {
.status(
CardPayment.Element.CardAuthentication.Status.VALIDATING_CHALLENGE
)
- .threeDSecureServerTransactionId("6839e1b0-dcae-482d-8166-40e44dd0d8cd")
+ .threeDSecureServerTransactionIdentifier(
+ "6839e1b0-dcae-482d-8166-40e44dd0d8cd"
+ )
.type(CardPayment.Element.CardAuthentication.Type.CARD_AUTHENTICATION)
.build()
)
@@ -9525,7 +9529,7 @@ internal class CardPaymentTest {
.cardAuthentication(
CardPayment.Element.CardAuthentication.builder()
.id("card_authentication_xft30xjdubptlgrxboch")
- .accessControlServerTransactionId(
+ .accessControlServerTransactionIdentifier(
"1a628378-4d43-4438-a31f-25c0e1bf2537"
)
.billingAddressCity("New York")
@@ -9602,7 +9606,9 @@ internal class CardPaymentTest {
)
.build()
)
- .directoryServerTransactionId("8990a978-5eb2-4440-8539-5619e24b0b0d")
+ .directoryServerTransactionIdentifier(
+ "8990a978-5eb2-4440-8539-5619e24b0b0d"
+ )
.merchantAcceptorId("5665270011000168")
.merchantCategoryCode("5734")
.merchantCountry("US")
@@ -9661,7 +9667,9 @@ internal class CardPaymentTest {
.status(
CardPayment.Element.CardAuthentication.Status.VALIDATING_CHALLENGE
)
- .threeDSecureServerTransactionId("6839e1b0-dcae-482d-8166-40e44dd0d8cd")
+ .threeDSecureServerTransactionIdentifier(
+ "6839e1b0-dcae-482d-8166-40e44dd0d8cd"
+ )
.type(CardPayment.Element.CardAuthentication.Type.CARD_AUTHENTICATION)
.build()
)
@@ -11256,7 +11264,7 @@ internal class CardPaymentTest {
.cardAuthentication(
CardPayment.Element.CardAuthentication.builder()
.id("card_authentication_xft30xjdubptlgrxboch")
- .accessControlServerTransactionId(
+ .accessControlServerTransactionIdentifier(
"1a628378-4d43-4438-a31f-25c0e1bf2537"
)
.billingAddressCity("New York")
@@ -11333,7 +11341,9 @@ internal class CardPaymentTest {
)
.build()
)
- .directoryServerTransactionId("8990a978-5eb2-4440-8539-5619e24b0b0d")
+ .directoryServerTransactionIdentifier(
+ "8990a978-5eb2-4440-8539-5619e24b0b0d"
+ )
.merchantAcceptorId("5665270011000168")
.merchantCategoryCode("5734")
.merchantCountry("US")
@@ -11392,7 +11402,9 @@ internal class CardPaymentTest {
.status(
CardPayment.Element.CardAuthentication.Status.VALIDATING_CHALLENGE
)
- .threeDSecureServerTransactionId("6839e1b0-dcae-482d-8166-40e44dd0d8cd")
+ .threeDSecureServerTransactionIdentifier(
+ "6839e1b0-dcae-482d-8166-40e44dd0d8cd"
+ )
.type(CardPayment.Element.CardAuthentication.Type.CARD_AUTHENTICATION)
.build()
)
@@ -12987,7 +12999,7 @@ internal class CardPaymentTest {
.cardAuthentication(
CardPayment.Element.CardAuthentication.builder()
.id("card_authentication_xft30xjdubptlgrxboch")
- .accessControlServerTransactionId(
+ .accessControlServerTransactionIdentifier(
"1a628378-4d43-4438-a31f-25c0e1bf2537"
)
.billingAddressCity("New York")
@@ -13064,7 +13076,9 @@ internal class CardPaymentTest {
)
.build()
)
- .directoryServerTransactionId("8990a978-5eb2-4440-8539-5619e24b0b0d")
+ .directoryServerTransactionIdentifier(
+ "8990a978-5eb2-4440-8539-5619e24b0b0d"
+ )
.merchantAcceptorId("5665270011000168")
.merchantCategoryCode("5734")
.merchantCountry("US")
@@ -13123,7 +13137,9 @@ internal class CardPaymentTest {
.status(
CardPayment.Element.CardAuthentication.Status.VALIDATING_CHALLENGE
)
- .threeDSecureServerTransactionId("6839e1b0-dcae-482d-8166-40e44dd0d8cd")
+ .threeDSecureServerTransactionIdentifier(
+ "6839e1b0-dcae-482d-8166-40e44dd0d8cd"
+ )
.type(CardPayment.Element.CardAuthentication.Type.CARD_AUTHENTICATION)
.build()
)
@@ -14758,7 +14774,7 @@ internal class CardPaymentTest {
.cardAuthentication(
CardPayment.Element.CardAuthentication.builder()
.id("card_authentication_xft30xjdubptlgrxboch")
- .accessControlServerTransactionId(
+ .accessControlServerTransactionIdentifier(
"1a628378-4d43-4438-a31f-25c0e1bf2537"
)
.billingAddressCity("New York")
@@ -14845,7 +14861,7 @@ internal class CardPaymentTest {
)
.build()
)
- .directoryServerTransactionId(
+ .directoryServerTransactionIdentifier(
"8990a978-5eb2-4440-8539-5619e24b0b0d"
)
.merchantAcceptorId("5665270011000168")
@@ -14912,7 +14928,7 @@ internal class CardPaymentTest {
CardPayment.Element.CardAuthentication.Status
.VALIDATING_CHALLENGE
)
- .threeDSecureServerTransactionId(
+ .threeDSecureServerTransactionIdentifier(
"6839e1b0-dcae-482d-8166-40e44dd0d8cd"
)
.type(
@@ -16691,7 +16707,7 @@ internal class CardPaymentTest {
.cardAuthentication(
CardPayment.Element.CardAuthentication.builder()
.id("card_authentication_xft30xjdubptlgrxboch")
- .accessControlServerTransactionId(
+ .accessControlServerTransactionIdentifier(
"1a628378-4d43-4438-a31f-25c0e1bf2537"
)
.billingAddressCity("New York")
@@ -16778,7 +16794,7 @@ internal class CardPaymentTest {
)
.build()
)
- .directoryServerTransactionId(
+ .directoryServerTransactionIdentifier(
"8990a978-5eb2-4440-8539-5619e24b0b0d"
)
.merchantAcceptorId("5665270011000168")
@@ -16845,7 +16861,7 @@ internal class CardPaymentTest {
CardPayment.Element.CardAuthentication.Status
.VALIDATING_CHALLENGE
)
- .threeDSecureServerTransactionId(
+ .threeDSecureServerTransactionIdentifier(
"6839e1b0-dcae-482d-8166-40e44dd0d8cd"
)
.type(
@@ -18624,7 +18640,7 @@ internal class CardPaymentTest {
.cardAuthentication(
CardPayment.Element.CardAuthentication.builder()
.id("card_authentication_xft30xjdubptlgrxboch")
- .accessControlServerTransactionId(
+ .accessControlServerTransactionIdentifier(
"1a628378-4d43-4438-a31f-25c0e1bf2537"
)
.billingAddressCity("New York")
@@ -18711,7 +18727,7 @@ internal class CardPaymentTest {
)
.build()
)
- .directoryServerTransactionId(
+ .directoryServerTransactionIdentifier(
"8990a978-5eb2-4440-8539-5619e24b0b0d"
)
.merchantAcceptorId("5665270011000168")
@@ -18778,7 +18794,7 @@ internal class CardPaymentTest {
CardPayment.Element.CardAuthentication.Status
.VALIDATING_CHALLENGE
)
- .threeDSecureServerTransactionId(
+ .threeDSecureServerTransactionIdentifier(
"6839e1b0-dcae-482d-8166-40e44dd0d8cd"
)
.type(
@@ -20557,7 +20573,7 @@ internal class CardPaymentTest {
.cardAuthentication(
CardPayment.Element.CardAuthentication.builder()
.id("card_authentication_xft30xjdubptlgrxboch")
- .accessControlServerTransactionId(
+ .accessControlServerTransactionIdentifier(
"1a628378-4d43-4438-a31f-25c0e1bf2537"
)
.billingAddressCity("New York")
@@ -20644,7 +20660,7 @@ internal class CardPaymentTest {
)
.build()
)
- .directoryServerTransactionId(
+ .directoryServerTransactionIdentifier(
"8990a978-5eb2-4440-8539-5619e24b0b0d"
)
.merchantAcceptorId("5665270011000168")
@@ -20711,7 +20727,7 @@ internal class CardPaymentTest {
CardPayment.Element.CardAuthentication.Status
.VALIDATING_CHALLENGE
)
- .threeDSecureServerTransactionId(
+ .threeDSecureServerTransactionIdentifier(
"6839e1b0-dcae-482d-8166-40e44dd0d8cd"
)
.type(
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/realtimedecisions/RealTimeDecisionTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/realtimedecisions/RealTimeDecisionTest.kt
index 1dec0e36f..5384c2cd7 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/realtimedecisions/RealTimeDecisionTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/realtimedecisions/RealTimeDecisionTest.kt
@@ -17,7 +17,9 @@ internal class RealTimeDecisionTest {
.id("real_time_decision_j76n2e810ezcg3zh5qtn")
.cardAuthentication(
RealTimeDecision.CardAuthentication.builder()
- .accessControlServerTransactionId("access_control_server_transaction_id")
+ .accessControlServerTransactionIdentifier(
+ "access_control_server_transaction_identifier"
+ )
.accountId("account_id")
.billingAddressCity("billing_address_city")
.billingAddressCountry("billing_address_country")
@@ -64,7 +66,9 @@ internal class RealTimeDecisionTest {
)
.build()
)
- .directoryServerTransactionId("directory_server_transaction_id")
+ .directoryServerTransactionIdentifier(
+ "directory_server_transaction_identifier"
+ )
.merchantAcceptorId("merchant_acceptor_id")
.merchantCategoryCode("merchant_category_code")
.merchantCountry("merchant_country")
@@ -114,7 +118,9 @@ internal class RealTimeDecisionTest {
.shippingAddressLine3("shipping_address_line3")
.shippingAddressPostalCode("shipping_address_postal_code")
.shippingAddressState("shipping_address_state")
- .threeDSecureServerTransactionId("three_d_secure_server_transaction_id")
+ .threeDSecureServerTransactionIdentifier(
+ "three_d_secure_server_transaction_identifier"
+ )
.upcomingCardPaymentId("upcoming_card_payment_id")
.build()
)
@@ -574,7 +580,9 @@ internal class RealTimeDecisionTest {
assertThat(realTimeDecision.cardAuthentication())
.contains(
RealTimeDecision.CardAuthentication.builder()
- .accessControlServerTransactionId("access_control_server_transaction_id")
+ .accessControlServerTransactionIdentifier(
+ "access_control_server_transaction_identifier"
+ )
.accountId("account_id")
.billingAddressCity("billing_address_city")
.billingAddressCountry("billing_address_country")
@@ -618,7 +626,7 @@ internal class RealTimeDecisionTest {
)
.build()
)
- .directoryServerTransactionId("directory_server_transaction_id")
+ .directoryServerTransactionIdentifier("directory_server_transaction_identifier")
.merchantAcceptorId("merchant_acceptor_id")
.merchantCategoryCode("merchant_category_code")
.merchantCountry("merchant_country")
@@ -667,7 +675,9 @@ internal class RealTimeDecisionTest {
.shippingAddressLine3("shipping_address_line3")
.shippingAddressPostalCode("shipping_address_postal_code")
.shippingAddressState("shipping_address_state")
- .threeDSecureServerTransactionId("three_d_secure_server_transaction_id")
+ .threeDSecureServerTransactionIdentifier(
+ "three_d_secure_server_transaction_identifier"
+ )
.upcomingCardPaymentId("upcoming_card_payment_id")
.build()
)
@@ -1123,7 +1133,9 @@ internal class RealTimeDecisionTest {
.id("real_time_decision_j76n2e810ezcg3zh5qtn")
.cardAuthentication(
RealTimeDecision.CardAuthentication.builder()
- .accessControlServerTransactionId("access_control_server_transaction_id")
+ .accessControlServerTransactionIdentifier(
+ "access_control_server_transaction_identifier"
+ )
.accountId("account_id")
.billingAddressCity("billing_address_city")
.billingAddressCountry("billing_address_country")
@@ -1170,7 +1182,9 @@ internal class RealTimeDecisionTest {
)
.build()
)
- .directoryServerTransactionId("directory_server_transaction_id")
+ .directoryServerTransactionIdentifier(
+ "directory_server_transaction_identifier"
+ )
.merchantAcceptorId("merchant_acceptor_id")
.merchantCategoryCode("merchant_category_code")
.merchantCountry("merchant_country")
@@ -1220,7 +1234,9 @@ internal class RealTimeDecisionTest {
.shippingAddressLine3("shipping_address_line3")
.shippingAddressPostalCode("shipping_address_postal_code")
.shippingAddressState("shipping_address_state")
- .threeDSecureServerTransactionId("three_d_secure_server_transaction_id")
+ .threeDSecureServerTransactionIdentifier(
+ "three_d_secure_server_transaction_identifier"
+ )
.upcomingCardPaymentId("upcoming_card_payment_id")
.build()
)