diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 62a56493a..32a4dbb4e 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.298.0"
+ ".": "0.299.0"
}
\ No newline at end of file
diff --git a/.stats.yml b/.stats.yml
index fca327de8..28f0f87b7 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 216
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-f9cc7049ef70f37da85a196a822ee878a193af22d9894422fdc9100255b2a4c6.yml
-openapi_spec_hash: efc2e40d9d10c87827994458d0101cd0
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-740517a6a575bb225c5bfa111ab83611c58533d5b1514f505aab22185f4a8992.yml
+openapi_spec_hash: 8bfd6dcf11d076c24e4f092dc7e151ac
config_hash: 29e452035e915a07cd64333b10a83077
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f4aa18190..658e2a7a7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+## 0.299.0 (2025-08-26)
+
+Full Changelog: [v0.298.0...v0.299.0](https://github.com/Increase/increase-java/compare/v0.298.0...v0.299.0)
+
+### Features
+
+* **api:** api update ([d1d9cad](https://github.com/Increase/increase-java/commit/d1d9cad6f02491103313ab3c4bd9a071a6fb6efb))
+
## 0.298.0 (2025-08-26)
Full Changelog: [v0.297.0...v0.298.0](https://github.com/Increase/increase-java/compare/v0.297.0...v0.298.0)
diff --git a/README.md b/README.md
index 20c8df9b1..dfa17b3d6 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
-[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.298.0)
-[](https://javadoc.io/doc/com.increase.api/increase-java/0.298.0)
+[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.299.0)
+[](https://javadoc.io/doc/com.increase.api/increase-java/0.299.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.298.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.299.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.298.0")
+implementation("com.increase.api:increase-java:0.299.0")
```
### Maven
@@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.298.0")
com.increase.api
increase-java
- 0.298.0
+ 0.299.0
```
diff --git a/build.gradle.kts b/build.gradle.kts
index 80964f80e..5da6f768e 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -8,7 +8,7 @@ repositories {
allprojects {
group = "com.increase.api"
- version = "0.298.0" // x-release-please-version
+ version = "0.299.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 ac22214b4..522ced589 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
@@ -38607,6 +38607,7 @@ private constructor(
private val merchantName: JsonField,
private val merchantPostalCode: JsonField,
private val merchantState: JsonField,
+ private val network: JsonField,
private val networkIdentifiers: JsonField,
private val pendingTransactionId: JsonField,
private val presentmentAmount: JsonField,
@@ -38657,6 +38658,9 @@ private constructor(
@JsonProperty("merchant_state")
@ExcludeMissing
merchantState: JsonField = JsonMissing.of(),
+ @JsonProperty("network")
+ @ExcludeMissing
+ network: JsonField = JsonMissing.of(),
@JsonProperty("network_identifiers")
@ExcludeMissing
networkIdentifiers: JsonField = JsonMissing.of(),
@@ -38691,6 +38695,7 @@ private constructor(
merchantName,
merchantPostalCode,
merchantState,
+ network,
networkIdentifiers,
pendingTransactionId,
presentmentAmount,
@@ -38830,6 +38835,15 @@ private constructor(
*/
fun merchantState(): Optional = merchantState.getOptional("merchant_state")
+ /**
+ * The card network on which this transaction was processed.
+ *
+ * @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 network(): Network = network.getRequired("network")
+
/**
* Network-specific identifiers for this refund.
*
@@ -39031,6 +39045,13 @@ private constructor(
@ExcludeMissing
fun _merchantState(): JsonField = merchantState
+ /**
+ * Returns the raw JSON value of [network].
+ *
+ * Unlike [network], this method doesn't throw if the JSON field has an unexpected type.
+ */
+ @JsonProperty("network") @ExcludeMissing fun _network(): JsonField = network
+
/**
* Returns the raw JSON value of [networkIdentifiers].
*
@@ -39131,6 +39152,7 @@ private constructor(
* .merchantName()
* .merchantPostalCode()
* .merchantState()
+ * .network()
* .networkIdentifiers()
* .pendingTransactionId()
* .presentmentAmount()
@@ -39160,6 +39182,7 @@ private constructor(
private var merchantName: JsonField? = null
private var merchantPostalCode: JsonField? = null
private var merchantState: JsonField? = null
+ private var network: JsonField? = null
private var networkIdentifiers: JsonField? = null
private var pendingTransactionId: JsonField? = null
private var presentmentAmount: JsonField? = null
@@ -39185,6 +39208,7 @@ private constructor(
merchantName = cardSettlement.merchantName
merchantPostalCode = cardSettlement.merchantPostalCode
merchantState = cardSettlement.merchantState
+ network = cardSettlement.network
networkIdentifiers = cardSettlement.networkIdentifiers
pendingTransactionId = cardSettlement.pendingTransactionId
presentmentAmount = cardSettlement.presentmentAmount
@@ -39433,6 +39457,18 @@ private constructor(
this.merchantState = merchantState
}
+ /** The card network on which this transaction was processed. */
+ fun network(network: Network) = network(JsonField.of(network))
+
+ /**
+ * Sets [Builder.network] to an arbitrary JSON value.
+ *
+ * You should usually call [Builder.network] with a well-typed [Network] value
+ * instead. This method is primarily for setting the field to an undocumented or not
+ * yet supported value.
+ */
+ fun network(network: JsonField) = apply { this.network = network }
+
/** Network-specific identifiers for this refund. */
fun networkIdentifiers(networkIdentifiers: NetworkIdentifiers) =
networkIdentifiers(JsonField.of(networkIdentifiers))
@@ -39600,6 +39636,7 @@ private constructor(
* .merchantName()
* .merchantPostalCode()
* .merchantState()
+ * .network()
* .networkIdentifiers()
* .pendingTransactionId()
* .presentmentAmount()
@@ -39627,6 +39664,7 @@ private constructor(
checkRequired("merchantName", merchantName),
checkRequired("merchantPostalCode", merchantPostalCode),
checkRequired("merchantState", merchantState),
+ checkRequired("network", network),
checkRequired("networkIdentifiers", networkIdentifiers),
checkRequired("pendingTransactionId", pendingTransactionId),
checkRequired("presentmentAmount", presentmentAmount),
@@ -39659,6 +39697,7 @@ private constructor(
merchantName()
merchantPostalCode()
merchantState()
+ network().validate()
networkIdentifiers().validate()
pendingTransactionId()
presentmentAmount()
@@ -39699,6 +39738,7 @@ private constructor(
(if (merchantName.asKnown().isPresent) 1 else 0) +
(if (merchantPostalCode.asKnown().isPresent) 1 else 0) +
(if (merchantState.asKnown().isPresent) 1 else 0) +
+ (network.asKnown().getOrNull()?.validity() ?: 0) +
(networkIdentifiers.asKnown().getOrNull()?.validity() ?: 0) +
(if (pendingTransactionId.asKnown().isPresent) 1 else 0) +
(if (presentmentAmount.asKnown().isPresent) 1 else 0) +
@@ -40735,6 +40775,135 @@ private constructor(
"Interchange{amount=$amount, code=$code, currency=$currency, additionalProperties=$additionalProperties}"
}
+ /** The card network on which this transaction was processed. */
+ class Network @JsonCreator private constructor(private val value: JsonField) :
+ Enum {
+
+ /**
+ * Returns this class instance's raw value.
+ *
+ * This is usually only useful if this instance was deserialized from data that
+ * doesn't match any known member, and you want to know that value. For example, if
+ * the SDK is on an older version than the API, then the API may respond with new
+ * members that the SDK is unaware of.
+ */
+ @com.fasterxml.jackson.annotation.JsonValue fun _value(): JsonField = value
+
+ companion object {
+
+ /** Visa */
+ @JvmField val VISA = of("visa")
+
+ @JvmStatic fun of(value: String) = Network(JsonField.of(value))
+ }
+
+ /** An enum containing [Network]'s known values. */
+ enum class Known {
+ /** Visa */
+ VISA
+ }
+
+ /**
+ * An enum containing [Network]'s known values, as well as an [_UNKNOWN] member.
+ *
+ * An instance of [Network] can contain an unknown value in a couple of cases:
+ * - It was deserialized from data that doesn't match any known member. For example,
+ * if the SDK is on an older version than the API, then the API may respond with
+ * new members that the SDK is unaware of.
+ * - It was constructed with an arbitrary value using the [of] method.
+ */
+ enum class Value {
+ /** Visa */
+ VISA,
+ /**
+ * An enum member indicating that [Network] was instantiated with an unknown
+ * value.
+ */
+ _UNKNOWN,
+ }
+
+ /**
+ * Returns an enum member corresponding to this class instance's value, or
+ * [Value._UNKNOWN] if the class was instantiated with an unknown value.
+ *
+ * Use the [known] method instead if you're certain the value is always known or if
+ * you want to throw for the unknown case.
+ */
+ fun value(): Value =
+ when (this) {
+ VISA -> Value.VISA
+ else -> Value._UNKNOWN
+ }
+
+ /**
+ * Returns an enum member corresponding to this class instance's value.
+ *
+ * Use the [value] method instead if you're uncertain the value is always known and
+ * don't want to throw for the unknown case.
+ *
+ * @throws IncreaseInvalidDataException if this class instance's value is a not a
+ * known member.
+ */
+ fun known(): Known =
+ when (this) {
+ VISA -> Known.VISA
+ else -> throw IncreaseInvalidDataException("Unknown Network: $value")
+ }
+
+ /**
+ * Returns this class instance's primitive wire representation.
+ *
+ * This differs from the [toString] method because that method is primarily for
+ * debugging and generally doesn't throw.
+ *
+ * @throws IncreaseInvalidDataException if this class instance's value does not have
+ * the expected primitive type.
+ */
+ fun asString(): String =
+ _value().asString().orElseThrow {
+ IncreaseInvalidDataException("Value is not a String")
+ }
+
+ private var validated: Boolean = false
+
+ fun validate(): Network = apply {
+ if (validated) {
+ return@apply
+ }
+
+ known()
+ validated = true
+ }
+
+ fun isValid(): Boolean =
+ try {
+ validate()
+ true
+ } catch (e: IncreaseInvalidDataException) {
+ false
+ }
+
+ /**
+ * Returns a score indicating how many valid values are contained in this object
+ * recursively.
+ *
+ * Used for best match union deserialization.
+ */
+ @JvmSynthetic internal fun validity(): Int = if (value() == Value._UNKNOWN) 0 else 1
+
+ override fun equals(other: Any?): Boolean {
+ if (this === other) {
+ return true
+ }
+
+ return other is Network && value == other.value
+ }
+
+ override fun hashCode() = value.hashCode()
+
+ override fun toString() = value.toString()
+ }
+
/** Network-specific identifiers for this refund. */
class NetworkIdentifiers
private constructor(
@@ -48166,6 +48335,7 @@ private constructor(
merchantName == other.merchantName &&
merchantPostalCode == other.merchantPostalCode &&
merchantState == other.merchantState &&
+ network == other.network &&
networkIdentifiers == other.networkIdentifiers &&
pendingTransactionId == other.pendingTransactionId &&
presentmentAmount == other.presentmentAmount &&
@@ -48192,6 +48362,7 @@ private constructor(
merchantName,
merchantPostalCode,
merchantState,
+ network,
networkIdentifiers,
pendingTransactionId,
presentmentAmount,
@@ -48206,7 +48377,7 @@ private constructor(
override fun hashCode(): Int = hashCode
override fun toString() =
- "CardSettlement{id=$id, amount=$amount, cardAuthorization=$cardAuthorization, cardPaymentId=$cardPaymentId, cashback=$cashback, currency=$currency, interchange=$interchange, merchantAcceptorId=$merchantAcceptorId, merchantCategoryCode=$merchantCategoryCode, merchantCity=$merchantCity, merchantCountry=$merchantCountry, merchantName=$merchantName, merchantPostalCode=$merchantPostalCode, merchantState=$merchantState, networkIdentifiers=$networkIdentifiers, pendingTransactionId=$pendingTransactionId, presentmentAmount=$presentmentAmount, presentmentCurrency=$presentmentCurrency, purchaseDetails=$purchaseDetails, transactionId=$transactionId, type=$type, additionalProperties=$additionalProperties}"
+ "CardSettlement{id=$id, amount=$amount, cardAuthorization=$cardAuthorization, cardPaymentId=$cardPaymentId, cashback=$cashback, currency=$currency, interchange=$interchange, merchantAcceptorId=$merchantAcceptorId, merchantCategoryCode=$merchantCategoryCode, merchantCity=$merchantCity, merchantCountry=$merchantCountry, merchantName=$merchantName, merchantPostalCode=$merchantPostalCode, merchantState=$merchantState, network=$network, networkIdentifiers=$networkIdentifiers, pendingTransactionId=$pendingTransactionId, presentmentAmount=$presentmentAmount, presentmentCurrency=$presentmentCurrency, purchaseDetails=$purchaseDetails, transactionId=$transactionId, type=$type, additionalProperties=$additionalProperties}"
}
/**
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/Transaction.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/Transaction.kt
index 2bb76286c..a6a02b16b 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/Transaction.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/Transaction.kt
@@ -17657,6 +17657,7 @@ private constructor(
private val merchantName: JsonField,
private val merchantPostalCode: JsonField,
private val merchantState: JsonField,
+ private val network: JsonField,
private val networkIdentifiers: JsonField,
private val pendingTransactionId: JsonField,
private val presentmentAmount: JsonField,
@@ -17707,6 +17708,9 @@ private constructor(
@JsonProperty("merchant_state")
@ExcludeMissing
merchantState: JsonField = JsonMissing.of(),
+ @JsonProperty("network")
+ @ExcludeMissing
+ network: JsonField = JsonMissing.of(),
@JsonProperty("network_identifiers")
@ExcludeMissing
networkIdentifiers: JsonField = JsonMissing.of(),
@@ -17741,6 +17745,7 @@ private constructor(
merchantName,
merchantPostalCode,
merchantState,
+ network,
networkIdentifiers,
pendingTransactionId,
presentmentAmount,
@@ -17880,6 +17885,15 @@ private constructor(
*/
fun merchantState(): Optional = merchantState.getOptional("merchant_state")
+ /**
+ * The card network on which this transaction was processed.
+ *
+ * @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 network(): Network = network.getRequired("network")
+
/**
* Network-specific identifiers for this refund.
*
@@ -18081,6 +18095,13 @@ private constructor(
@ExcludeMissing
fun _merchantState(): JsonField = merchantState
+ /**
+ * Returns the raw JSON value of [network].
+ *
+ * Unlike [network], this method doesn't throw if the JSON field has an unexpected type.
+ */
+ @JsonProperty("network") @ExcludeMissing fun _network(): JsonField = network
+
/**
* Returns the raw JSON value of [networkIdentifiers].
*
@@ -18181,6 +18202,7 @@ private constructor(
* .merchantName()
* .merchantPostalCode()
* .merchantState()
+ * .network()
* .networkIdentifiers()
* .pendingTransactionId()
* .presentmentAmount()
@@ -18210,6 +18232,7 @@ private constructor(
private var merchantName: JsonField? = null
private var merchantPostalCode: JsonField? = null
private var merchantState: JsonField? = null
+ private var network: JsonField? = null
private var networkIdentifiers: JsonField? = null
private var pendingTransactionId: JsonField? = null
private var presentmentAmount: JsonField? = null
@@ -18235,6 +18258,7 @@ private constructor(
merchantName = cardSettlement.merchantName
merchantPostalCode = cardSettlement.merchantPostalCode
merchantState = cardSettlement.merchantState
+ network = cardSettlement.network
networkIdentifiers = cardSettlement.networkIdentifiers
pendingTransactionId = cardSettlement.pendingTransactionId
presentmentAmount = cardSettlement.presentmentAmount
@@ -18483,6 +18507,18 @@ private constructor(
this.merchantState = merchantState
}
+ /** The card network on which this transaction was processed. */
+ fun network(network: Network) = network(JsonField.of(network))
+
+ /**
+ * Sets [Builder.network] to an arbitrary JSON value.
+ *
+ * You should usually call [Builder.network] with a well-typed [Network] value
+ * instead. This method is primarily for setting the field to an undocumented or not
+ * yet supported value.
+ */
+ fun network(network: JsonField) = apply { this.network = network }
+
/** Network-specific identifiers for this refund. */
fun networkIdentifiers(networkIdentifiers: NetworkIdentifiers) =
networkIdentifiers(JsonField.of(networkIdentifiers))
@@ -18650,6 +18686,7 @@ private constructor(
* .merchantName()
* .merchantPostalCode()
* .merchantState()
+ * .network()
* .networkIdentifiers()
* .pendingTransactionId()
* .presentmentAmount()
@@ -18677,6 +18714,7 @@ private constructor(
checkRequired("merchantName", merchantName),
checkRequired("merchantPostalCode", merchantPostalCode),
checkRequired("merchantState", merchantState),
+ checkRequired("network", network),
checkRequired("networkIdentifiers", networkIdentifiers),
checkRequired("pendingTransactionId", pendingTransactionId),
checkRequired("presentmentAmount", presentmentAmount),
@@ -18709,6 +18747,7 @@ private constructor(
merchantName()
merchantPostalCode()
merchantState()
+ network().validate()
networkIdentifiers().validate()
pendingTransactionId()
presentmentAmount()
@@ -18749,6 +18788,7 @@ private constructor(
(if (merchantName.asKnown().isPresent) 1 else 0) +
(if (merchantPostalCode.asKnown().isPresent) 1 else 0) +
(if (merchantState.asKnown().isPresent) 1 else 0) +
+ (network.asKnown().getOrNull()?.validity() ?: 0) +
(networkIdentifiers.asKnown().getOrNull()?.validity() ?: 0) +
(if (pendingTransactionId.asKnown().isPresent) 1 else 0) +
(if (presentmentAmount.asKnown().isPresent) 1 else 0) +
@@ -19785,6 +19825,135 @@ private constructor(
"Interchange{amount=$amount, code=$code, currency=$currency, additionalProperties=$additionalProperties}"
}
+ /** The card network on which this transaction was processed. */
+ class Network @JsonCreator private constructor(private val value: JsonField) :
+ Enum {
+
+ /**
+ * Returns this class instance's raw value.
+ *
+ * This is usually only useful if this instance was deserialized from data that
+ * doesn't match any known member, and you want to know that value. For example, if
+ * the SDK is on an older version than the API, then the API may respond with new
+ * members that the SDK is unaware of.
+ */
+ @com.fasterxml.jackson.annotation.JsonValue fun _value(): JsonField = value
+
+ companion object {
+
+ /** Visa */
+ @JvmField val VISA = of("visa")
+
+ @JvmStatic fun of(value: String) = Network(JsonField.of(value))
+ }
+
+ /** An enum containing [Network]'s known values. */
+ enum class Known {
+ /** Visa */
+ VISA
+ }
+
+ /**
+ * An enum containing [Network]'s known values, as well as an [_UNKNOWN] member.
+ *
+ * An instance of [Network] can contain an unknown value in a couple of cases:
+ * - It was deserialized from data that doesn't match any known member. For example,
+ * if the SDK is on an older version than the API, then the API may respond with
+ * new members that the SDK is unaware of.
+ * - It was constructed with an arbitrary value using the [of] method.
+ */
+ enum class Value {
+ /** Visa */
+ VISA,
+ /**
+ * An enum member indicating that [Network] was instantiated with an unknown
+ * value.
+ */
+ _UNKNOWN,
+ }
+
+ /**
+ * Returns an enum member corresponding to this class instance's value, or
+ * [Value._UNKNOWN] if the class was instantiated with an unknown value.
+ *
+ * Use the [known] method instead if you're certain the value is always known or if
+ * you want to throw for the unknown case.
+ */
+ fun value(): Value =
+ when (this) {
+ VISA -> Value.VISA
+ else -> Value._UNKNOWN
+ }
+
+ /**
+ * Returns an enum member corresponding to this class instance's value.
+ *
+ * Use the [value] method instead if you're uncertain the value is always known and
+ * don't want to throw for the unknown case.
+ *
+ * @throws IncreaseInvalidDataException if this class instance's value is a not a
+ * known member.
+ */
+ fun known(): Known =
+ when (this) {
+ VISA -> Known.VISA
+ else -> throw IncreaseInvalidDataException("Unknown Network: $value")
+ }
+
+ /**
+ * Returns this class instance's primitive wire representation.
+ *
+ * This differs from the [toString] method because that method is primarily for
+ * debugging and generally doesn't throw.
+ *
+ * @throws IncreaseInvalidDataException if this class instance's value does not have
+ * the expected primitive type.
+ */
+ fun asString(): String =
+ _value().asString().orElseThrow {
+ IncreaseInvalidDataException("Value is not a String")
+ }
+
+ private var validated: Boolean = false
+
+ fun validate(): Network = apply {
+ if (validated) {
+ return@apply
+ }
+
+ known()
+ validated = true
+ }
+
+ fun isValid(): Boolean =
+ try {
+ validate()
+ true
+ } catch (e: IncreaseInvalidDataException) {
+ false
+ }
+
+ /**
+ * Returns a score indicating how many valid values are contained in this object
+ * recursively.
+ *
+ * Used for best match union deserialization.
+ */
+ @JvmSynthetic internal fun validity(): Int = if (value() == Value._UNKNOWN) 0 else 1
+
+ override fun equals(other: Any?): Boolean {
+ if (this === other) {
+ return true
+ }
+
+ return other is Network && value == other.value
+ }
+
+ override fun hashCode() = value.hashCode()
+
+ override fun toString() = value.toString()
+ }
+
/** Network-specific identifiers for this refund. */
class NetworkIdentifiers
private constructor(
@@ -27216,6 +27385,7 @@ private constructor(
merchantName == other.merchantName &&
merchantPostalCode == other.merchantPostalCode &&
merchantState == other.merchantState &&
+ network == other.network &&
networkIdentifiers == other.networkIdentifiers &&
pendingTransactionId == other.pendingTransactionId &&
presentmentAmount == other.presentmentAmount &&
@@ -27242,6 +27412,7 @@ private constructor(
merchantName,
merchantPostalCode,
merchantState,
+ network,
networkIdentifiers,
pendingTransactionId,
presentmentAmount,
@@ -27256,7 +27427,7 @@ private constructor(
override fun hashCode(): Int = hashCode
override fun toString() =
- "CardSettlement{id=$id, amount=$amount, cardAuthorization=$cardAuthorization, cardPaymentId=$cardPaymentId, cashback=$cashback, currency=$currency, interchange=$interchange, merchantAcceptorId=$merchantAcceptorId, merchantCategoryCode=$merchantCategoryCode, merchantCity=$merchantCity, merchantCountry=$merchantCountry, merchantName=$merchantName, merchantPostalCode=$merchantPostalCode, merchantState=$merchantState, networkIdentifiers=$networkIdentifiers, pendingTransactionId=$pendingTransactionId, presentmentAmount=$presentmentAmount, presentmentCurrency=$presentmentCurrency, purchaseDetails=$purchaseDetails, transactionId=$transactionId, type=$type, additionalProperties=$additionalProperties}"
+ "CardSettlement{id=$id, amount=$amount, cardAuthorization=$cardAuthorization, cardPaymentId=$cardPaymentId, cashback=$cashback, currency=$currency, interchange=$interchange, merchantAcceptorId=$merchantAcceptorId, merchantCategoryCode=$merchantCategoryCode, merchantCity=$merchantCity, merchantCountry=$merchantCountry, merchantName=$merchantName, merchantPostalCode=$merchantPostalCode, merchantState=$merchantState, network=$network, networkIdentifiers=$networkIdentifiers, pendingTransactionId=$pendingTransactionId, presentmentAmount=$presentmentAmount, presentmentCurrency=$presentmentCurrency, purchaseDetails=$purchaseDetails, transactionId=$transactionId, type=$type, additionalProperties=$additionalProperties}"
}
/**
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 cfbb989d6..e5660f37d 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
@@ -1038,6 +1038,9 @@ internal class CardPaymentListPageResponseTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(
+ CardPayment.Element.CardSettlement.Network.VISA
+ )
.networkIdentifiers(
CardPayment.Element.CardSettlement
.NetworkIdentifiers
@@ -2486,6 +2489,9 @@ internal class CardPaymentListPageResponseTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(
+ CardPayment.Element.CardSettlement.Network.VISA
+ )
.networkIdentifiers(
CardPayment.Element.CardSettlement
.NetworkIdentifiers
@@ -3934,6 +3940,9 @@ internal class CardPaymentListPageResponseTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(
+ CardPayment.Element.CardSettlement.Network.VISA
+ )
.networkIdentifiers(
CardPayment.Element.CardSettlement
.NetworkIdentifiers
@@ -5382,6 +5391,9 @@ internal class CardPaymentListPageResponseTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(
+ CardPayment.Element.CardSettlement.Network.VISA
+ )
.networkIdentifiers(
CardPayment.Element.CardSettlement
.NetworkIdentifiers
@@ -6804,6 +6816,7 @@ internal class CardPaymentListPageResponseTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(CardPayment.Element.CardSettlement.Network.VISA)
.networkIdentifiers(
CardPayment.Element.CardSettlement.NetworkIdentifiers
.builder()
@@ -8181,6 +8194,7 @@ internal class CardPaymentListPageResponseTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(CardPayment.Element.CardSettlement.Network.VISA)
.networkIdentifiers(
CardPayment.Element.CardSettlement.NetworkIdentifiers
.builder()
@@ -9558,6 +9572,7 @@ internal class CardPaymentListPageResponseTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(CardPayment.Element.CardSettlement.Network.VISA)
.networkIdentifiers(
CardPayment.Element.CardSettlement.NetworkIdentifiers
.builder()
@@ -10935,6 +10950,7 @@ internal class CardPaymentListPageResponseTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(CardPayment.Element.CardSettlement.Network.VISA)
.networkIdentifiers(
CardPayment.Element.CardSettlement.NetworkIdentifiers
.builder()
@@ -12398,6 +12414,9 @@ internal class CardPaymentListPageResponseTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(
+ CardPayment.Element.CardSettlement.Network.VISA
+ )
.networkIdentifiers(
CardPayment.Element.CardSettlement
.NetworkIdentifiers
@@ -13846,6 +13865,9 @@ internal class CardPaymentListPageResponseTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(
+ CardPayment.Element.CardSettlement.Network.VISA
+ )
.networkIdentifiers(
CardPayment.Element.CardSettlement
.NetworkIdentifiers
@@ -15294,6 +15316,9 @@ internal class CardPaymentListPageResponseTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(
+ CardPayment.Element.CardSettlement.Network.VISA
+ )
.networkIdentifiers(
CardPayment.Element.CardSettlement
.NetworkIdentifiers
@@ -16742,6 +16767,9 @@ internal class CardPaymentListPageResponseTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(
+ CardPayment.Element.CardSettlement.Network.VISA
+ )
.networkIdentifiers(
CardPayment.Element.CardSettlement
.NetworkIdentifiers
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 ed2e6e9ad..55cda823c 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
@@ -916,6 +916,7 @@ internal class CardPaymentTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(CardPayment.Element.CardSettlement.Network.VISA)
.networkIdentifiers(
CardPayment.Element.CardSettlement.NetworkIdentifiers
.builder()
@@ -2198,6 +2199,7 @@ internal class CardPaymentTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(CardPayment.Element.CardSettlement.Network.VISA)
.networkIdentifiers(
CardPayment.Element.CardSettlement.NetworkIdentifiers
.builder()
@@ -3480,6 +3482,7 @@ internal class CardPaymentTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(CardPayment.Element.CardSettlement.Network.VISA)
.networkIdentifiers(
CardPayment.Element.CardSettlement.NetworkIdentifiers
.builder()
@@ -4762,6 +4765,7 @@ internal class CardPaymentTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(CardPayment.Element.CardSettlement.Network.VISA)
.networkIdentifiers(
CardPayment.Element.CardSettlement.NetworkIdentifiers
.builder()
@@ -5970,6 +5974,7 @@ internal class CardPaymentTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(CardPayment.Element.CardSettlement.Network.VISA)
.networkIdentifiers(
CardPayment.Element.CardSettlement.NetworkIdentifiers.builder()
.acquirerBusinessId("69650702")
@@ -7118,6 +7123,7 @@ internal class CardPaymentTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(CardPayment.Element.CardSettlement.Network.VISA)
.networkIdentifiers(
CardPayment.Element.CardSettlement.NetworkIdentifiers.builder()
.acquirerBusinessId("69650702")
@@ -8266,6 +8272,7 @@ internal class CardPaymentTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(CardPayment.Element.CardSettlement.Network.VISA)
.networkIdentifiers(
CardPayment.Element.CardSettlement.NetworkIdentifiers.builder()
.acquirerBusinessId("69650702")
@@ -9414,6 +9421,7 @@ internal class CardPaymentTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(CardPayment.Element.CardSettlement.Network.VISA)
.networkIdentifiers(
CardPayment.Element.CardSettlement.NetworkIdentifiers.builder()
.acquirerBusinessId("69650702")
@@ -10685,6 +10693,7 @@ internal class CardPaymentTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(CardPayment.Element.CardSettlement.Network.VISA)
.networkIdentifiers(
CardPayment.Element.CardSettlement.NetworkIdentifiers
.builder()
@@ -11967,6 +11976,7 @@ internal class CardPaymentTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(CardPayment.Element.CardSettlement.Network.VISA)
.networkIdentifiers(
CardPayment.Element.CardSettlement.NetworkIdentifiers
.builder()
@@ -13249,6 +13259,7 @@ internal class CardPaymentTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(CardPayment.Element.CardSettlement.Network.VISA)
.networkIdentifiers(
CardPayment.Element.CardSettlement.NetworkIdentifiers
.builder()
@@ -14531,6 +14542,7 @@ internal class CardPaymentTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(CardPayment.Element.CardSettlement.Network.VISA)
.networkIdentifiers(
CardPayment.Element.CardSettlement.NetworkIdentifiers
.builder()
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/transactions/TransactionListPageResponseTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/transactions/TransactionListPageResponseTest.kt
index 67f3de537..900485481 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/transactions/TransactionListPageResponseTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/transactions/TransactionListPageResponseTest.kt
@@ -403,6 +403,7 @@ internal class TransactionListPageResponseTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(Transaction.Source.CardSettlement.Network.VISA)
.networkIdentifiers(
Transaction.Source.CardSettlement.NetworkIdentifiers
.builder()
@@ -1270,6 +1271,7 @@ internal class TransactionListPageResponseTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(Transaction.Source.CardSettlement.Network.VISA)
.networkIdentifiers(
Transaction.Source.CardSettlement.NetworkIdentifiers
.builder()
@@ -2132,6 +2134,7 @@ internal class TransactionListPageResponseTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(Transaction.Source.CardSettlement.Network.VISA)
.networkIdentifiers(
Transaction.Source.CardSettlement.NetworkIdentifiers
.builder()
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/transactions/TransactionTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/transactions/TransactionTest.kt
index 86984f3f6..44c71bbc7 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/transactions/TransactionTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/transactions/TransactionTest.kt
@@ -368,6 +368,7 @@ internal class TransactionTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(Transaction.Source.CardSettlement.Network.VISA)
.networkIdentifiers(
Transaction.Source.CardSettlement.NetworkIdentifiers.builder()
.acquirerBusinessId("69650702")
@@ -1151,6 +1152,7 @@ internal class TransactionTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(Transaction.Source.CardSettlement.Network.VISA)
.networkIdentifiers(
Transaction.Source.CardSettlement.NetworkIdentifiers.builder()
.acquirerBusinessId("69650702")
@@ -1927,6 +1929,7 @@ internal class TransactionTest {
.merchantName("AMAZON.COM")
.merchantPostalCode("10045")
.merchantState("NY")
+ .network(Transaction.Source.CardSettlement.Network.VISA)
.networkIdentifiers(
Transaction.Source.CardSettlement.NetworkIdentifiers.builder()
.acquirerBusinessId("69650702")