diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index eaf24516e..bc9e45054 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.286.0"
+ ".": "0.287.0"
}
\ No newline at end of file
diff --git a/.stats.yml b/.stats.yml
index 18686e944..ebd672bf3 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 214
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-dea7b54f0adc920e4d2bc337bab1133189114389cb1f124b2f9cccedcedf881c.yml
-openapi_spec_hash: c1349e34f78bfe5ba28b946fe7bb15dd
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-e37d9eb06122e71071da98a7375420ce776ad9aa05176bed89a232bd6854f26b.yml
+openapi_spec_hash: 8ffb1a0fd8523b24113105717c5d85d8
config_hash: b0b366d8c705ea0efe62093bae953e5a
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7f812f12f..fd6eaa00e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+## 0.287.0 (2025-08-20)
+
+Full Changelog: [v0.286.0...v0.287.0](https://github.com/Increase/increase-java/compare/v0.286.0...v0.287.0)
+
+### Features
+
+* **api:** api update ([e04dbf1](https://github.com/Increase/increase-java/commit/e04dbf1959dc3d704777f79a0049f84e5a9287fa))
+
## 0.286.0 (2025-08-19)
Full Changelog: [v0.285.0...v0.286.0](https://github.com/Increase/increase-java/compare/v0.285.0...v0.286.0)
diff --git a/README.md b/README.md
index 71b9fc98a..853f574ae 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
-[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.286.0)
-[](https://javadoc.io/doc/com.increase.api/increase-java/0.286.0)
+[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.287.0)
+[](https://javadoc.io/doc/com.increase.api/increase-java/0.287.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.286.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.287.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.286.0")
+implementation("com.increase.api:increase-java:0.287.0")
```
### Maven
@@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.286.0")
com.increase.api
increase-java
- 0.286.0
+ 0.287.0
```
diff --git a/build.gradle.kts b/build.gradle.kts
index 2d09b0e32..6f9d28dfd 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -8,7 +8,7 @@ repositories {
allprojects {
group = "com.increase.api"
- version = "0.286.0" // x-release-please-version
+ version = "0.287.0" // x-release-please-version
}
subprojects {
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransfer.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransfer.kt
index 0a5c2fd6d..538a01ca5 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransfer.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransfer.kt
@@ -26,11 +26,6 @@ private constructor(
private val accountId: JsonField,
private val accountNumberId: JsonField,
private val amount: JsonField,
- private val beneficiaryAddressLine1: JsonField,
- private val beneficiaryAddressLine2: JsonField,
- private val beneficiaryAddressLine3: JsonField,
- private val beneficiaryName: JsonField,
- private val beneficiaryReference: JsonField,
private val createdAt: JsonField,
private val creditorAddressLine1: JsonField,
private val creditorAddressLine2: JsonField,
@@ -45,18 +40,7 @@ private constructor(
private val inputMessageAccountabilityData: JsonField,
private val instructingAgentRoutingNumber: JsonField,
private val instructionIdentification: JsonField,
- private val originatorAddressLine1: JsonField,
- private val originatorAddressLine2: JsonField,
- private val originatorAddressLine3: JsonField,
- private val originatorName: JsonField,
- private val originatorRoutingNumber: JsonField,
- private val originatorToBeneficiaryInformation: JsonField,
- private val originatorToBeneficiaryInformationLine1: JsonField,
- private val originatorToBeneficiaryInformationLine2: JsonField,
- private val originatorToBeneficiaryInformationLine3: JsonField,
- private val originatorToBeneficiaryInformationLine4: JsonField,
private val reversal: JsonField,
- private val senderReference: JsonField,
private val status: JsonField,
private val type: JsonField,
private val uniqueEndToEndTransactionReference: JsonField,
@@ -73,21 +57,6 @@ private constructor(
@ExcludeMissing
accountNumberId: JsonField = JsonMissing.of(),
@JsonProperty("amount") @ExcludeMissing amount: JsonField = JsonMissing.of(),
- @JsonProperty("beneficiary_address_line1")
- @ExcludeMissing
- beneficiaryAddressLine1: JsonField = JsonMissing.of(),
- @JsonProperty("beneficiary_address_line2")
- @ExcludeMissing
- beneficiaryAddressLine2: JsonField = JsonMissing.of(),
- @JsonProperty("beneficiary_address_line3")
- @ExcludeMissing
- beneficiaryAddressLine3: JsonField = JsonMissing.of(),
- @JsonProperty("beneficiary_name")
- @ExcludeMissing
- beneficiaryName: JsonField = JsonMissing.of(),
- @JsonProperty("beneficiary_reference")
- @ExcludeMissing
- beneficiaryReference: JsonField = JsonMissing.of(),
@JsonProperty("created_at")
@ExcludeMissing
createdAt: JsonField = JsonMissing.of(),
@@ -130,40 +99,7 @@ private constructor(
@JsonProperty("instruction_identification")
@ExcludeMissing
instructionIdentification: JsonField = JsonMissing.of(),
- @JsonProperty("originator_address_line1")
- @ExcludeMissing
- originatorAddressLine1: JsonField = JsonMissing.of(),
- @JsonProperty("originator_address_line2")
- @ExcludeMissing
- originatorAddressLine2: JsonField = JsonMissing.of(),
- @JsonProperty("originator_address_line3")
- @ExcludeMissing
- originatorAddressLine3: JsonField = JsonMissing.of(),
- @JsonProperty("originator_name")
- @ExcludeMissing
- originatorName: JsonField = JsonMissing.of(),
- @JsonProperty("originator_routing_number")
- @ExcludeMissing
- originatorRoutingNumber: JsonField = JsonMissing.of(),
- @JsonProperty("originator_to_beneficiary_information")
- @ExcludeMissing
- originatorToBeneficiaryInformation: JsonField = JsonMissing.of(),
- @JsonProperty("originator_to_beneficiary_information_line1")
- @ExcludeMissing
- originatorToBeneficiaryInformationLine1: JsonField = JsonMissing.of(),
- @JsonProperty("originator_to_beneficiary_information_line2")
- @ExcludeMissing
- originatorToBeneficiaryInformationLine2: JsonField = JsonMissing.of(),
- @JsonProperty("originator_to_beneficiary_information_line3")
- @ExcludeMissing
- originatorToBeneficiaryInformationLine3: JsonField = JsonMissing.of(),
- @JsonProperty("originator_to_beneficiary_information_line4")
- @ExcludeMissing
- originatorToBeneficiaryInformationLine4: JsonField = JsonMissing.of(),
@JsonProperty("reversal") @ExcludeMissing reversal: JsonField = JsonMissing.of(),
- @JsonProperty("sender_reference")
- @ExcludeMissing
- senderReference: JsonField = JsonMissing.of(),
@JsonProperty("status") @ExcludeMissing status: JsonField = JsonMissing.of(),
@JsonProperty("type") @ExcludeMissing type: JsonField = JsonMissing.of(),
@JsonProperty("unique_end_to_end_transaction_reference")
@@ -180,11 +116,6 @@ private constructor(
accountId,
accountNumberId,
amount,
- beneficiaryAddressLine1,
- beneficiaryAddressLine2,
- beneficiaryAddressLine3,
- beneficiaryName,
- beneficiaryReference,
createdAt,
creditorAddressLine1,
creditorAddressLine2,
@@ -199,18 +130,7 @@ private constructor(
inputMessageAccountabilityData,
instructingAgentRoutingNumber,
instructionIdentification,
- originatorAddressLine1,
- originatorAddressLine2,
- originatorAddressLine3,
- originatorName,
- originatorRoutingNumber,
- originatorToBeneficiaryInformation,
- originatorToBeneficiaryInformationLine1,
- originatorToBeneficiaryInformationLine2,
- originatorToBeneficiaryInformationLine3,
- originatorToBeneficiaryInformationLine4,
reversal,
- senderReference,
status,
type,
uniqueEndToEndTransactionReference,
@@ -251,50 +171,6 @@ private constructor(
*/
fun amount(): Long = amount.getRequired("amount")
- /**
- * A free-form address field set by the sender.
- *
- * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
- * server responded with an unexpected value).
- */
- fun beneficiaryAddressLine1(): Optional =
- beneficiaryAddressLine1.getOptional("beneficiary_address_line1")
-
- /**
- * A free-form address field set by the sender.
- *
- * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
- * server responded with an unexpected value).
- */
- fun beneficiaryAddressLine2(): Optional =
- beneficiaryAddressLine2.getOptional("beneficiary_address_line2")
-
- /**
- * A free-form address field set by the sender.
- *
- * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
- * server responded with an unexpected value).
- */
- fun beneficiaryAddressLine3(): Optional =
- beneficiaryAddressLine3.getOptional("beneficiary_address_line3")
-
- /**
- * A name set by the sender.
- *
- * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
- * server responded with an unexpected value).
- */
- fun beneficiaryName(): Optional = beneficiaryName.getOptional("beneficiary_name")
-
- /**
- * A free-form reference string set by the sender, to help identify the transfer.
- *
- * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
- * server responded with an unexpected value).
- */
- fun beneficiaryReference(): Optional =
- beneficiaryReference.getOptional("beneficiary_reference")
-
/**
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which the inbound
* wire transfer was created.
@@ -420,103 +296,6 @@ private constructor(
fun instructionIdentification(): Optional =
instructionIdentification.getOptional("instruction_identification")
- /**
- * The address of the wire originator, set by the sending bank.
- *
- * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
- * server responded with an unexpected value).
- */
- fun originatorAddressLine1(): Optional =
- originatorAddressLine1.getOptional("originator_address_line1")
-
- /**
- * The address of the wire originator, set by the sending bank.
- *
- * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
- * server responded with an unexpected value).
- */
- fun originatorAddressLine2(): Optional =
- originatorAddressLine2.getOptional("originator_address_line2")
-
- /**
- * The address of the wire originator, set by the sending bank.
- *
- * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
- * server responded with an unexpected value).
- */
- fun originatorAddressLine3(): Optional =
- originatorAddressLine3.getOptional("originator_address_line3")
-
- /**
- * The originator of the wire, set by the sending bank.
- *
- * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
- * server responded with an unexpected value).
- */
- fun originatorName(): Optional = originatorName.getOptional("originator_name")
-
- /**
- * The American Banking Association (ABA) routing number of the bank originating the transfer.
- *
- * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
- * server responded with an unexpected value).
- */
- fun originatorRoutingNumber(): Optional =
- originatorRoutingNumber.getOptional("originator_routing_number")
-
- /**
- * An Increase-created concatenation of the Originator-to-Beneficiary lines.
- *
- * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
- * server responded with an unexpected value).
- */
- fun originatorToBeneficiaryInformation(): Optional =
- originatorToBeneficiaryInformation.getOptional("originator_to_beneficiary_information")
-
- /**
- * A free-form message set by the wire originator.
- *
- * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
- * server responded with an unexpected value).
- */
- fun originatorToBeneficiaryInformationLine1(): Optional =
- originatorToBeneficiaryInformationLine1.getOptional(
- "originator_to_beneficiary_information_line1"
- )
-
- /**
- * A free-form message set by the wire originator.
- *
- * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
- * server responded with an unexpected value).
- */
- fun originatorToBeneficiaryInformationLine2(): Optional =
- originatorToBeneficiaryInformationLine2.getOptional(
- "originator_to_beneficiary_information_line2"
- )
-
- /**
- * A free-form message set by the wire originator.
- *
- * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
- * server responded with an unexpected value).
- */
- fun originatorToBeneficiaryInformationLine3(): Optional =
- originatorToBeneficiaryInformationLine3.getOptional(
- "originator_to_beneficiary_information_line3"
- )
-
- /**
- * A free-form message set by the wire originator.
- *
- * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
- * server responded with an unexpected value).
- */
- fun originatorToBeneficiaryInformationLine4(): Optional =
- originatorToBeneficiaryInformationLine4.getOptional(
- "originator_to_beneficiary_information_line4"
- )
-
/**
* Information about the reversal of the inbound wire transfer if it has been reversed.
*
@@ -525,14 +304,6 @@ private constructor(
*/
fun reversal(): Optional = reversal.getOptional("reversal")
- /**
- * The sending bank's reference number for the wire transfer.
- *
- * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
- * server responded with an unexpected value).
- */
- fun senderReference(): Optional = senderReference.getOptional("sender_reference")
-
/**
* The status of the transfer.
*
@@ -609,55 +380,6 @@ private constructor(
*/
@JsonProperty("amount") @ExcludeMissing fun _amount(): JsonField = amount
- /**
- * Returns the raw JSON value of [beneficiaryAddressLine1].
- *
- * Unlike [beneficiaryAddressLine1], this method doesn't throw if the JSON field has an
- * unexpected type.
- */
- @JsonProperty("beneficiary_address_line1")
- @ExcludeMissing
- fun _beneficiaryAddressLine1(): JsonField = beneficiaryAddressLine1
-
- /**
- * Returns the raw JSON value of [beneficiaryAddressLine2].
- *
- * Unlike [beneficiaryAddressLine2], this method doesn't throw if the JSON field has an
- * unexpected type.
- */
- @JsonProperty("beneficiary_address_line2")
- @ExcludeMissing
- fun _beneficiaryAddressLine2(): JsonField = beneficiaryAddressLine2
-
- /**
- * Returns the raw JSON value of [beneficiaryAddressLine3].
- *
- * Unlike [beneficiaryAddressLine3], this method doesn't throw if the JSON field has an
- * unexpected type.
- */
- @JsonProperty("beneficiary_address_line3")
- @ExcludeMissing
- fun _beneficiaryAddressLine3(): JsonField = beneficiaryAddressLine3
-
- /**
- * Returns the raw JSON value of [beneficiaryName].
- *
- * Unlike [beneficiaryName], this method doesn't throw if the JSON field has an unexpected type.
- */
- @JsonProperty("beneficiary_name")
- @ExcludeMissing
- fun _beneficiaryName(): JsonField = beneficiaryName
-
- /**
- * Returns the raw JSON value of [beneficiaryReference].
- *
- * Unlike [beneficiaryReference], this method doesn't throw if the JSON field has an unexpected
- * type.
- */
- @JsonProperty("beneficiary_reference")
- @ExcludeMissing
- fun _beneficiaryReference(): JsonField = beneficiaryReference
-
/**
* Returns the raw JSON value of [createdAt].
*
@@ -790,110 +512,6 @@ private constructor(
@ExcludeMissing
fun _instructionIdentification(): JsonField = instructionIdentification
- /**
- * Returns the raw JSON value of [originatorAddressLine1].
- *
- * Unlike [originatorAddressLine1], this method doesn't throw if the JSON field has an
- * unexpected type.
- */
- @JsonProperty("originator_address_line1")
- @ExcludeMissing
- fun _originatorAddressLine1(): JsonField = originatorAddressLine1
-
- /**
- * Returns the raw JSON value of [originatorAddressLine2].
- *
- * Unlike [originatorAddressLine2], this method doesn't throw if the JSON field has an
- * unexpected type.
- */
- @JsonProperty("originator_address_line2")
- @ExcludeMissing
- fun _originatorAddressLine2(): JsonField = originatorAddressLine2
-
- /**
- * Returns the raw JSON value of [originatorAddressLine3].
- *
- * Unlike [originatorAddressLine3], this method doesn't throw if the JSON field has an
- * unexpected type.
- */
- @JsonProperty("originator_address_line3")
- @ExcludeMissing
- fun _originatorAddressLine3(): JsonField = originatorAddressLine3
-
- /**
- * Returns the raw JSON value of [originatorName].
- *
- * Unlike [originatorName], this method doesn't throw if the JSON field has an unexpected type.
- */
- @JsonProperty("originator_name")
- @ExcludeMissing
- fun _originatorName(): JsonField = originatorName
-
- /**
- * Returns the raw JSON value of [originatorRoutingNumber].
- *
- * Unlike [originatorRoutingNumber], this method doesn't throw if the JSON field has an
- * unexpected type.
- */
- @JsonProperty("originator_routing_number")
- @ExcludeMissing
- fun _originatorRoutingNumber(): JsonField = originatorRoutingNumber
-
- /**
- * Returns the raw JSON value of [originatorToBeneficiaryInformation].
- *
- * Unlike [originatorToBeneficiaryInformation], this method doesn't throw if the JSON field has
- * an unexpected type.
- */
- @JsonProperty("originator_to_beneficiary_information")
- @ExcludeMissing
- fun _originatorToBeneficiaryInformation(): JsonField =
- originatorToBeneficiaryInformation
-
- /**
- * Returns the raw JSON value of [originatorToBeneficiaryInformationLine1].
- *
- * Unlike [originatorToBeneficiaryInformationLine1], this method doesn't throw if the JSON field
- * has an unexpected type.
- */
- @JsonProperty("originator_to_beneficiary_information_line1")
- @ExcludeMissing
- fun _originatorToBeneficiaryInformationLine1(): JsonField =
- originatorToBeneficiaryInformationLine1
-
- /**
- * Returns the raw JSON value of [originatorToBeneficiaryInformationLine2].
- *
- * Unlike [originatorToBeneficiaryInformationLine2], this method doesn't throw if the JSON field
- * has an unexpected type.
- */
- @JsonProperty("originator_to_beneficiary_information_line2")
- @ExcludeMissing
- fun _originatorToBeneficiaryInformationLine2(): JsonField =
- originatorToBeneficiaryInformationLine2
-
- /**
- * Returns the raw JSON value of [originatorToBeneficiaryInformationLine3].
- *
- * Unlike [originatorToBeneficiaryInformationLine3], this method doesn't throw if the JSON field
- * has an unexpected type.
- */
- @JsonProperty("originator_to_beneficiary_information_line3")
- @ExcludeMissing
- fun _originatorToBeneficiaryInformationLine3(): JsonField =
- originatorToBeneficiaryInformationLine3
-
- /**
- * Returns the raw JSON value of [originatorToBeneficiaryInformationLine4].
- *
- * Unlike [originatorToBeneficiaryInformationLine4], this method doesn't throw if the JSON field
- * has an unexpected type.
- */
- @JsonProperty("originator_to_beneficiary_information_line4")
- @ExcludeMissing
- fun _originatorToBeneficiaryInformationLine4(): JsonField =
- originatorToBeneficiaryInformationLine4
-
/**
* Returns the raw JSON value of [reversal].
*
@@ -901,15 +519,6 @@ private constructor(
*/
@JsonProperty("reversal") @ExcludeMissing fun _reversal(): JsonField = reversal
- /**
- * Returns the raw JSON value of [senderReference].
- *
- * Unlike [senderReference], this method doesn't throw if the JSON field has an unexpected type.
- */
- @JsonProperty("sender_reference")
- @ExcludeMissing
- fun _senderReference(): JsonField = senderReference
-
/**
* Returns the raw JSON value of [status].
*
@@ -978,11 +587,6 @@ private constructor(
* .accountId()
* .accountNumberId()
* .amount()
- * .beneficiaryAddressLine1()
- * .beneficiaryAddressLine2()
- * .beneficiaryAddressLine3()
- * .beneficiaryName()
- * .beneficiaryReference()
* .createdAt()
* .creditorAddressLine1()
* .creditorAddressLine2()
@@ -997,18 +601,7 @@ private constructor(
* .inputMessageAccountabilityData()
* .instructingAgentRoutingNumber()
* .instructionIdentification()
- * .originatorAddressLine1()
- * .originatorAddressLine2()
- * .originatorAddressLine3()
- * .originatorName()
- * .originatorRoutingNumber()
- * .originatorToBeneficiaryInformation()
- * .originatorToBeneficiaryInformationLine1()
- * .originatorToBeneficiaryInformationLine2()
- * .originatorToBeneficiaryInformationLine3()
- * .originatorToBeneficiaryInformationLine4()
* .reversal()
- * .senderReference()
* .status()
* .type()
* .uniqueEndToEndTransactionReference()
@@ -1026,11 +619,6 @@ private constructor(
private var accountId: JsonField? = null
private var accountNumberId: JsonField? = null
private var amount: JsonField? = null
- private var beneficiaryAddressLine1: JsonField? = null
- private var beneficiaryAddressLine2: JsonField? = null
- private var beneficiaryAddressLine3: JsonField? = null
- private var beneficiaryName: JsonField? = null
- private var beneficiaryReference: JsonField? = null
private var createdAt: JsonField? = null
private var creditorAddressLine1: JsonField? = null
private var creditorAddressLine2: JsonField? = null
@@ -1045,18 +633,7 @@ private constructor(
private var inputMessageAccountabilityData: JsonField? = null
private var instructingAgentRoutingNumber: JsonField? = null
private var instructionIdentification: JsonField? = null
- private var originatorAddressLine1: JsonField? = null
- private var originatorAddressLine2: JsonField? = null
- private var originatorAddressLine3: JsonField? = null
- private var originatorName: JsonField? = null
- private var originatorRoutingNumber: JsonField? = null
- private var originatorToBeneficiaryInformation: JsonField? = null
- private var originatorToBeneficiaryInformationLine1: JsonField? = null
- private var originatorToBeneficiaryInformationLine2: JsonField? = null
- private var originatorToBeneficiaryInformationLine3: JsonField? = null
- private var originatorToBeneficiaryInformationLine4: JsonField? = null
private var reversal: JsonField? = null
- private var senderReference: JsonField? = null
private var status: JsonField? = null
private var type: JsonField? = null
private var uniqueEndToEndTransactionReference: JsonField? = null
@@ -1070,11 +647,6 @@ private constructor(
accountId = inboundWireTransfer.accountId
accountNumberId = inboundWireTransfer.accountNumberId
amount = inboundWireTransfer.amount
- beneficiaryAddressLine1 = inboundWireTransfer.beneficiaryAddressLine1
- beneficiaryAddressLine2 = inboundWireTransfer.beneficiaryAddressLine2
- beneficiaryAddressLine3 = inboundWireTransfer.beneficiaryAddressLine3
- beneficiaryName = inboundWireTransfer.beneficiaryName
- beneficiaryReference = inboundWireTransfer.beneficiaryReference
createdAt = inboundWireTransfer.createdAt
creditorAddressLine1 = inboundWireTransfer.creditorAddressLine1
creditorAddressLine2 = inboundWireTransfer.creditorAddressLine2
@@ -1089,23 +661,7 @@ private constructor(
inputMessageAccountabilityData = inboundWireTransfer.inputMessageAccountabilityData
instructingAgentRoutingNumber = inboundWireTransfer.instructingAgentRoutingNumber
instructionIdentification = inboundWireTransfer.instructionIdentification
- originatorAddressLine1 = inboundWireTransfer.originatorAddressLine1
- originatorAddressLine2 = inboundWireTransfer.originatorAddressLine2
- originatorAddressLine3 = inboundWireTransfer.originatorAddressLine3
- originatorName = inboundWireTransfer.originatorName
- originatorRoutingNumber = inboundWireTransfer.originatorRoutingNumber
- originatorToBeneficiaryInformation =
- inboundWireTransfer.originatorToBeneficiaryInformation
- originatorToBeneficiaryInformationLine1 =
- inboundWireTransfer.originatorToBeneficiaryInformationLine1
- originatorToBeneficiaryInformationLine2 =
- inboundWireTransfer.originatorToBeneficiaryInformationLine2
- originatorToBeneficiaryInformationLine3 =
- inboundWireTransfer.originatorToBeneficiaryInformationLine3
- originatorToBeneficiaryInformationLine4 =
- inboundWireTransfer.originatorToBeneficiaryInformationLine4
reversal = inboundWireTransfer.reversal
- senderReference = inboundWireTransfer.senderReference
status = inboundWireTransfer.status
type = inboundWireTransfer.type
uniqueEndToEndTransactionReference =
@@ -1165,113 +721,6 @@ private constructor(
*/
fun amount(amount: JsonField) = apply { this.amount = amount }
- /** A free-form address field set by the sender. */
- fun beneficiaryAddressLine1(beneficiaryAddressLine1: String?) =
- beneficiaryAddressLine1(JsonField.ofNullable(beneficiaryAddressLine1))
-
- /**
- * Alias for calling [Builder.beneficiaryAddressLine1] with
- * `beneficiaryAddressLine1.orElse(null)`.
- */
- fun beneficiaryAddressLine1(beneficiaryAddressLine1: Optional) =
- beneficiaryAddressLine1(beneficiaryAddressLine1.getOrNull())
-
- /**
- * Sets [Builder.beneficiaryAddressLine1] to an arbitrary JSON value.
- *
- * You should usually call [Builder.beneficiaryAddressLine1] with a well-typed [String]
- * value instead. This method is primarily for setting the field to an undocumented or not
- * yet supported value.
- */
- fun beneficiaryAddressLine1(beneficiaryAddressLine1: JsonField) = apply {
- this.beneficiaryAddressLine1 = beneficiaryAddressLine1
- }
-
- /** A free-form address field set by the sender. */
- fun beneficiaryAddressLine2(beneficiaryAddressLine2: String?) =
- beneficiaryAddressLine2(JsonField.ofNullable(beneficiaryAddressLine2))
-
- /**
- * Alias for calling [Builder.beneficiaryAddressLine2] with
- * `beneficiaryAddressLine2.orElse(null)`.
- */
- fun beneficiaryAddressLine2(beneficiaryAddressLine2: Optional) =
- beneficiaryAddressLine2(beneficiaryAddressLine2.getOrNull())
-
- /**
- * Sets [Builder.beneficiaryAddressLine2] to an arbitrary JSON value.
- *
- * You should usually call [Builder.beneficiaryAddressLine2] with a well-typed [String]
- * value instead. This method is primarily for setting the field to an undocumented or not
- * yet supported value.
- */
- fun beneficiaryAddressLine2(beneficiaryAddressLine2: JsonField) = apply {
- this.beneficiaryAddressLine2 = beneficiaryAddressLine2
- }
-
- /** A free-form address field set by the sender. */
- fun beneficiaryAddressLine3(beneficiaryAddressLine3: String?) =
- beneficiaryAddressLine3(JsonField.ofNullable(beneficiaryAddressLine3))
-
- /**
- * Alias for calling [Builder.beneficiaryAddressLine3] with
- * `beneficiaryAddressLine3.orElse(null)`.
- */
- fun beneficiaryAddressLine3(beneficiaryAddressLine3: Optional) =
- beneficiaryAddressLine3(beneficiaryAddressLine3.getOrNull())
-
- /**
- * Sets [Builder.beneficiaryAddressLine3] to an arbitrary JSON value.
- *
- * You should usually call [Builder.beneficiaryAddressLine3] with a well-typed [String]
- * value instead. This method is primarily for setting the field to an undocumented or not
- * yet supported value.
- */
- fun beneficiaryAddressLine3(beneficiaryAddressLine3: JsonField) = apply {
- this.beneficiaryAddressLine3 = beneficiaryAddressLine3
- }
-
- /** A name set by the sender. */
- fun beneficiaryName(beneficiaryName: String?) =
- beneficiaryName(JsonField.ofNullable(beneficiaryName))
-
- /** Alias for calling [Builder.beneficiaryName] with `beneficiaryName.orElse(null)`. */
- fun beneficiaryName(beneficiaryName: Optional) =
- beneficiaryName(beneficiaryName.getOrNull())
-
- /**
- * Sets [Builder.beneficiaryName] to an arbitrary JSON value.
- *
- * You should usually call [Builder.beneficiaryName] with a well-typed [String] value
- * instead. This method is primarily for setting the field to an undocumented or not yet
- * supported value.
- */
- fun beneficiaryName(beneficiaryName: JsonField) = apply {
- this.beneficiaryName = beneficiaryName
- }
-
- /** A free-form reference string set by the sender, to help identify the transfer. */
- fun beneficiaryReference(beneficiaryReference: String?) =
- beneficiaryReference(JsonField.ofNullable(beneficiaryReference))
-
- /**
- * Alias for calling [Builder.beneficiaryReference] with
- * `beneficiaryReference.orElse(null)`.
- */
- fun beneficiaryReference(beneficiaryReference: Optional) =
- beneficiaryReference(beneficiaryReference.getOrNull())
-
- /**
- * Sets [Builder.beneficiaryReference] to an arbitrary JSON value.
- *
- * You should usually call [Builder.beneficiaryReference] with a well-typed [String] value
- * instead. This method is primarily for setting the field to an undocumented or not yet
- * supported value.
- */
- fun beneficiaryReference(beneficiaryReference: JsonField) = apply {
- this.beneficiaryReference = beneficiaryReference
- }
-
/**
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which the inbound
* wire transfer was created.
@@ -1554,269 +1003,6 @@ private constructor(
this.instructionIdentification = instructionIdentification
}
- /** The address of the wire originator, set by the sending bank. */
- fun originatorAddressLine1(originatorAddressLine1: String?) =
- originatorAddressLine1(JsonField.ofNullable(originatorAddressLine1))
-
- /**
- * Alias for calling [Builder.originatorAddressLine1] with
- * `originatorAddressLine1.orElse(null)`.
- */
- fun originatorAddressLine1(originatorAddressLine1: Optional) =
- originatorAddressLine1(originatorAddressLine1.getOrNull())
-
- /**
- * Sets [Builder.originatorAddressLine1] to an arbitrary JSON value.
- *
- * You should usually call [Builder.originatorAddressLine1] with a well-typed [String] value
- * instead. This method is primarily for setting the field to an undocumented or not yet
- * supported value.
- */
- fun originatorAddressLine1(originatorAddressLine1: JsonField) = apply {
- this.originatorAddressLine1 = originatorAddressLine1
- }
-
- /** The address of the wire originator, set by the sending bank. */
- fun originatorAddressLine2(originatorAddressLine2: String?) =
- originatorAddressLine2(JsonField.ofNullable(originatorAddressLine2))
-
- /**
- * Alias for calling [Builder.originatorAddressLine2] with
- * `originatorAddressLine2.orElse(null)`.
- */
- fun originatorAddressLine2(originatorAddressLine2: Optional) =
- originatorAddressLine2(originatorAddressLine2.getOrNull())
-
- /**
- * Sets [Builder.originatorAddressLine2] to an arbitrary JSON value.
- *
- * You should usually call [Builder.originatorAddressLine2] with a well-typed [String] value
- * instead. This method is primarily for setting the field to an undocumented or not yet
- * supported value.
- */
- fun originatorAddressLine2(originatorAddressLine2: JsonField) = apply {
- this.originatorAddressLine2 = originatorAddressLine2
- }
-
- /** The address of the wire originator, set by the sending bank. */
- fun originatorAddressLine3(originatorAddressLine3: String?) =
- originatorAddressLine3(JsonField.ofNullable(originatorAddressLine3))
-
- /**
- * Alias for calling [Builder.originatorAddressLine3] with
- * `originatorAddressLine3.orElse(null)`.
- */
- fun originatorAddressLine3(originatorAddressLine3: Optional) =
- originatorAddressLine3(originatorAddressLine3.getOrNull())
-
- /**
- * Sets [Builder.originatorAddressLine3] to an arbitrary JSON value.
- *
- * You should usually call [Builder.originatorAddressLine3] with a well-typed [String] value
- * instead. This method is primarily for setting the field to an undocumented or not yet
- * supported value.
- */
- fun originatorAddressLine3(originatorAddressLine3: JsonField) = apply {
- this.originatorAddressLine3 = originatorAddressLine3
- }
-
- /** The originator of the wire, set by the sending bank. */
- fun originatorName(originatorName: String?) =
- originatorName(JsonField.ofNullable(originatorName))
-
- /** Alias for calling [Builder.originatorName] with `originatorName.orElse(null)`. */
- fun originatorName(originatorName: Optional) =
- originatorName(originatorName.getOrNull())
-
- /**
- * Sets [Builder.originatorName] to an arbitrary JSON value.
- *
- * You should usually call [Builder.originatorName] with a well-typed [String] value
- * instead. This method is primarily for setting the field to an undocumented or not yet
- * supported value.
- */
- fun originatorName(originatorName: JsonField) = apply {
- this.originatorName = originatorName
- }
-
- /**
- * The American Banking Association (ABA) routing number of the bank originating the
- * transfer.
- */
- fun originatorRoutingNumber(originatorRoutingNumber: String?) =
- originatorRoutingNumber(JsonField.ofNullable(originatorRoutingNumber))
-
- /**
- * Alias for calling [Builder.originatorRoutingNumber] with
- * `originatorRoutingNumber.orElse(null)`.
- */
- fun originatorRoutingNumber(originatorRoutingNumber: Optional) =
- originatorRoutingNumber(originatorRoutingNumber.getOrNull())
-
- /**
- * Sets [Builder.originatorRoutingNumber] to an arbitrary JSON value.
- *
- * You should usually call [Builder.originatorRoutingNumber] with a well-typed [String]
- * value instead. This method is primarily for setting the field to an undocumented or not
- * yet supported value.
- */
- fun originatorRoutingNumber(originatorRoutingNumber: JsonField) = apply {
- this.originatorRoutingNumber = originatorRoutingNumber
- }
-
- /** An Increase-created concatenation of the Originator-to-Beneficiary lines. */
- fun originatorToBeneficiaryInformation(originatorToBeneficiaryInformation: String?) =
- originatorToBeneficiaryInformation(
- JsonField.ofNullable(originatorToBeneficiaryInformation)
- )
-
- /**
- * Alias for calling [Builder.originatorToBeneficiaryInformation] with
- * `originatorToBeneficiaryInformation.orElse(null)`.
- */
- fun originatorToBeneficiaryInformation(
- originatorToBeneficiaryInformation: Optional
- ) = originatorToBeneficiaryInformation(originatorToBeneficiaryInformation.getOrNull())
-
- /**
- * Sets [Builder.originatorToBeneficiaryInformation] to an arbitrary JSON value.
- *
- * You should usually call [Builder.originatorToBeneficiaryInformation] with a well-typed
- * [String] value instead. This method is primarily for setting the field to an undocumented
- * or not yet supported value.
- */
- fun originatorToBeneficiaryInformation(
- originatorToBeneficiaryInformation: JsonField
- ) = apply { this.originatorToBeneficiaryInformation = originatorToBeneficiaryInformation }
-
- /** A free-form message set by the wire originator. */
- fun originatorToBeneficiaryInformationLine1(
- originatorToBeneficiaryInformationLine1: String?
- ) =
- originatorToBeneficiaryInformationLine1(
- JsonField.ofNullable(originatorToBeneficiaryInformationLine1)
- )
-
- /**
- * Alias for calling [Builder.originatorToBeneficiaryInformationLine1] with
- * `originatorToBeneficiaryInformationLine1.orElse(null)`.
- */
- fun originatorToBeneficiaryInformationLine1(
- originatorToBeneficiaryInformationLine1: Optional
- ) =
- originatorToBeneficiaryInformationLine1(
- originatorToBeneficiaryInformationLine1.getOrNull()
- )
-
- /**
- * Sets [Builder.originatorToBeneficiaryInformationLine1] to an arbitrary JSON value.
- *
- * You should usually call [Builder.originatorToBeneficiaryInformationLine1] with a
- * well-typed [String] value instead. This method is primarily for setting the field to an
- * undocumented or not yet supported value.
- */
- fun originatorToBeneficiaryInformationLine1(
- originatorToBeneficiaryInformationLine1: JsonField
- ) = apply {
- this.originatorToBeneficiaryInformationLine1 = originatorToBeneficiaryInformationLine1
- }
-
- /** A free-form message set by the wire originator. */
- fun originatorToBeneficiaryInformationLine2(
- originatorToBeneficiaryInformationLine2: String?
- ) =
- originatorToBeneficiaryInformationLine2(
- JsonField.ofNullable(originatorToBeneficiaryInformationLine2)
- )
-
- /**
- * Alias for calling [Builder.originatorToBeneficiaryInformationLine2] with
- * `originatorToBeneficiaryInformationLine2.orElse(null)`.
- */
- fun originatorToBeneficiaryInformationLine2(
- originatorToBeneficiaryInformationLine2: Optional
- ) =
- originatorToBeneficiaryInformationLine2(
- originatorToBeneficiaryInformationLine2.getOrNull()
- )
-
- /**
- * Sets [Builder.originatorToBeneficiaryInformationLine2] to an arbitrary JSON value.
- *
- * You should usually call [Builder.originatorToBeneficiaryInformationLine2] with a
- * well-typed [String] value instead. This method is primarily for setting the field to an
- * undocumented or not yet supported value.
- */
- fun originatorToBeneficiaryInformationLine2(
- originatorToBeneficiaryInformationLine2: JsonField
- ) = apply {
- this.originatorToBeneficiaryInformationLine2 = originatorToBeneficiaryInformationLine2
- }
-
- /** A free-form message set by the wire originator. */
- fun originatorToBeneficiaryInformationLine3(
- originatorToBeneficiaryInformationLine3: String?
- ) =
- originatorToBeneficiaryInformationLine3(
- JsonField.ofNullable(originatorToBeneficiaryInformationLine3)
- )
-
- /**
- * Alias for calling [Builder.originatorToBeneficiaryInformationLine3] with
- * `originatorToBeneficiaryInformationLine3.orElse(null)`.
- */
- fun originatorToBeneficiaryInformationLine3(
- originatorToBeneficiaryInformationLine3: Optional
- ) =
- originatorToBeneficiaryInformationLine3(
- originatorToBeneficiaryInformationLine3.getOrNull()
- )
-
- /**
- * Sets [Builder.originatorToBeneficiaryInformationLine3] to an arbitrary JSON value.
- *
- * You should usually call [Builder.originatorToBeneficiaryInformationLine3] with a
- * well-typed [String] value instead. This method is primarily for setting the field to an
- * undocumented or not yet supported value.
- */
- fun originatorToBeneficiaryInformationLine3(
- originatorToBeneficiaryInformationLine3: JsonField
- ) = apply {
- this.originatorToBeneficiaryInformationLine3 = originatorToBeneficiaryInformationLine3
- }
-
- /** A free-form message set by the wire originator. */
- fun originatorToBeneficiaryInformationLine4(
- originatorToBeneficiaryInformationLine4: String?
- ) =
- originatorToBeneficiaryInformationLine4(
- JsonField.ofNullable(originatorToBeneficiaryInformationLine4)
- )
-
- /**
- * Alias for calling [Builder.originatorToBeneficiaryInformationLine4] with
- * `originatorToBeneficiaryInformationLine4.orElse(null)`.
- */
- fun originatorToBeneficiaryInformationLine4(
- originatorToBeneficiaryInformationLine4: Optional
- ) =
- originatorToBeneficiaryInformationLine4(
- originatorToBeneficiaryInformationLine4.getOrNull()
- )
-
- /**
- * Sets [Builder.originatorToBeneficiaryInformationLine4] to an arbitrary JSON value.
- *
- * You should usually call [Builder.originatorToBeneficiaryInformationLine4] with a
- * well-typed [String] value instead. This method is primarily for setting the field to an
- * undocumented or not yet supported value.
- */
- fun originatorToBeneficiaryInformationLine4(
- originatorToBeneficiaryInformationLine4: JsonField
- ) = apply {
- this.originatorToBeneficiaryInformationLine4 = originatorToBeneficiaryInformationLine4
- }
-
/** Information about the reversal of the inbound wire transfer if it has been reversed. */
fun reversal(reversal: Reversal?) = reversal(JsonField.ofNullable(reversal))
@@ -1832,25 +1018,6 @@ private constructor(
*/
fun reversal(reversal: JsonField) = apply { this.reversal = reversal }
- /** The sending bank's reference number for the wire transfer. */
- fun senderReference(senderReference: String?) =
- senderReference(JsonField.ofNullable(senderReference))
-
- /** Alias for calling [Builder.senderReference] with `senderReference.orElse(null)`. */
- fun senderReference(senderReference: Optional) =
- senderReference(senderReference.getOrNull())
-
- /**
- * Sets [Builder.senderReference] to an arbitrary JSON value.
- *
- * You should usually call [Builder.senderReference] with a well-typed [String] value
- * instead. This method is primarily for setting the field to an undocumented or not yet
- * supported value.
- */
- fun senderReference(senderReference: JsonField) = apply {
- this.senderReference = senderReference
- }
-
/** The status of the transfer. */
fun status(status: Status) = status(JsonField.of(status))
@@ -1981,11 +1148,6 @@ private constructor(
* .accountId()
* .accountNumberId()
* .amount()
- * .beneficiaryAddressLine1()
- * .beneficiaryAddressLine2()
- * .beneficiaryAddressLine3()
- * .beneficiaryName()
- * .beneficiaryReference()
* .createdAt()
* .creditorAddressLine1()
* .creditorAddressLine2()
@@ -2000,18 +1162,7 @@ private constructor(
* .inputMessageAccountabilityData()
* .instructingAgentRoutingNumber()
* .instructionIdentification()
- * .originatorAddressLine1()
- * .originatorAddressLine2()
- * .originatorAddressLine3()
- * .originatorName()
- * .originatorRoutingNumber()
- * .originatorToBeneficiaryInformation()
- * .originatorToBeneficiaryInformationLine1()
- * .originatorToBeneficiaryInformationLine2()
- * .originatorToBeneficiaryInformationLine3()
- * .originatorToBeneficiaryInformationLine4()
* .reversal()
- * .senderReference()
* .status()
* .type()
* .uniqueEndToEndTransactionReference()
@@ -2027,11 +1178,6 @@ private constructor(
checkRequired("accountId", accountId),
checkRequired("accountNumberId", accountNumberId),
checkRequired("amount", amount),
- checkRequired("beneficiaryAddressLine1", beneficiaryAddressLine1),
- checkRequired("beneficiaryAddressLine2", beneficiaryAddressLine2),
- checkRequired("beneficiaryAddressLine3", beneficiaryAddressLine3),
- checkRequired("beneficiaryName", beneficiaryName),
- checkRequired("beneficiaryReference", beneficiaryReference),
checkRequired("createdAt", createdAt),
checkRequired("creditorAddressLine1", creditorAddressLine1),
checkRequired("creditorAddressLine2", creditorAddressLine2),
@@ -2046,33 +1192,7 @@ private constructor(
checkRequired("inputMessageAccountabilityData", inputMessageAccountabilityData),
checkRequired("instructingAgentRoutingNumber", instructingAgentRoutingNumber),
checkRequired("instructionIdentification", instructionIdentification),
- checkRequired("originatorAddressLine1", originatorAddressLine1),
- checkRequired("originatorAddressLine2", originatorAddressLine2),
- checkRequired("originatorAddressLine3", originatorAddressLine3),
- checkRequired("originatorName", originatorName),
- checkRequired("originatorRoutingNumber", originatorRoutingNumber),
- checkRequired(
- "originatorToBeneficiaryInformation",
- originatorToBeneficiaryInformation,
- ),
- checkRequired(
- "originatorToBeneficiaryInformationLine1",
- originatorToBeneficiaryInformationLine1,
- ),
- checkRequired(
- "originatorToBeneficiaryInformationLine2",
- originatorToBeneficiaryInformationLine2,
- ),
- checkRequired(
- "originatorToBeneficiaryInformationLine3",
- originatorToBeneficiaryInformationLine3,
- ),
- checkRequired(
- "originatorToBeneficiaryInformationLine4",
- originatorToBeneficiaryInformationLine4,
- ),
checkRequired("reversal", reversal),
- checkRequired("senderReference", senderReference),
checkRequired("status", status),
checkRequired("type", type),
checkRequired(
@@ -2099,11 +1219,6 @@ private constructor(
accountId()
accountNumberId()
amount()
- beneficiaryAddressLine1()
- beneficiaryAddressLine2()
- beneficiaryAddressLine3()
- beneficiaryName()
- beneficiaryReference()
createdAt()
creditorAddressLine1()
creditorAddressLine2()
@@ -2118,18 +1233,7 @@ private constructor(
inputMessageAccountabilityData()
instructingAgentRoutingNumber()
instructionIdentification()
- originatorAddressLine1()
- originatorAddressLine2()
- originatorAddressLine3()
- originatorName()
- originatorRoutingNumber()
- originatorToBeneficiaryInformation()
- originatorToBeneficiaryInformationLine1()
- originatorToBeneficiaryInformationLine2()
- originatorToBeneficiaryInformationLine3()
- originatorToBeneficiaryInformationLine4()
reversal().ifPresent { it.validate() }
- senderReference()
status().validate()
type().validate()
uniqueEndToEndTransactionReference()
@@ -2157,11 +1261,6 @@ private constructor(
(if (accountId.asKnown().isPresent) 1 else 0) +
(if (accountNumberId.asKnown().isPresent) 1 else 0) +
(if (amount.asKnown().isPresent) 1 else 0) +
- (if (beneficiaryAddressLine1.asKnown().isPresent) 1 else 0) +
- (if (beneficiaryAddressLine2.asKnown().isPresent) 1 else 0) +
- (if (beneficiaryAddressLine3.asKnown().isPresent) 1 else 0) +
- (if (beneficiaryName.asKnown().isPresent) 1 else 0) +
- (if (beneficiaryReference.asKnown().isPresent) 1 else 0) +
(if (createdAt.asKnown().isPresent) 1 else 0) +
(if (creditorAddressLine1.asKnown().isPresent) 1 else 0) +
(if (creditorAddressLine2.asKnown().isPresent) 1 else 0) +
@@ -2176,18 +1275,7 @@ private constructor(
(if (inputMessageAccountabilityData.asKnown().isPresent) 1 else 0) +
(if (instructingAgentRoutingNumber.asKnown().isPresent) 1 else 0) +
(if (instructionIdentification.asKnown().isPresent) 1 else 0) +
- (if (originatorAddressLine1.asKnown().isPresent) 1 else 0) +
- (if (originatorAddressLine2.asKnown().isPresent) 1 else 0) +
- (if (originatorAddressLine3.asKnown().isPresent) 1 else 0) +
- (if (originatorName.asKnown().isPresent) 1 else 0) +
- (if (originatorRoutingNumber.asKnown().isPresent) 1 else 0) +
- (if (originatorToBeneficiaryInformation.asKnown().isPresent) 1 else 0) +
- (if (originatorToBeneficiaryInformationLine1.asKnown().isPresent) 1 else 0) +
- (if (originatorToBeneficiaryInformationLine2.asKnown().isPresent) 1 else 0) +
- (if (originatorToBeneficiaryInformationLine3.asKnown().isPresent) 1 else 0) +
- (if (originatorToBeneficiaryInformationLine4.asKnown().isPresent) 1 else 0) +
(reversal.asKnown().getOrNull()?.validity() ?: 0) +
- (if (senderReference.asKnown().isPresent) 1 else 0) +
(status.asKnown().getOrNull()?.validity() ?: 0) +
(type.asKnown().getOrNull()?.validity() ?: 0) +
(if (uniqueEndToEndTransactionReference.asKnown().isPresent) 1 else 0) +
@@ -2840,11 +1928,6 @@ private constructor(
accountId == other.accountId &&
accountNumberId == other.accountNumberId &&
amount == other.amount &&
- beneficiaryAddressLine1 == other.beneficiaryAddressLine1 &&
- beneficiaryAddressLine2 == other.beneficiaryAddressLine2 &&
- beneficiaryAddressLine3 == other.beneficiaryAddressLine3 &&
- beneficiaryName == other.beneficiaryName &&
- beneficiaryReference == other.beneficiaryReference &&
createdAt == other.createdAt &&
creditorAddressLine1 == other.creditorAddressLine1 &&
creditorAddressLine2 == other.creditorAddressLine2 &&
@@ -2859,22 +1942,7 @@ private constructor(
inputMessageAccountabilityData == other.inputMessageAccountabilityData &&
instructingAgentRoutingNumber == other.instructingAgentRoutingNumber &&
instructionIdentification == other.instructionIdentification &&
- originatorAddressLine1 == other.originatorAddressLine1 &&
- originatorAddressLine2 == other.originatorAddressLine2 &&
- originatorAddressLine3 == other.originatorAddressLine3 &&
- originatorName == other.originatorName &&
- originatorRoutingNumber == other.originatorRoutingNumber &&
- originatorToBeneficiaryInformation == other.originatorToBeneficiaryInformation &&
- originatorToBeneficiaryInformationLine1 ==
- other.originatorToBeneficiaryInformationLine1 &&
- originatorToBeneficiaryInformationLine2 ==
- other.originatorToBeneficiaryInformationLine2 &&
- originatorToBeneficiaryInformationLine3 ==
- other.originatorToBeneficiaryInformationLine3 &&
- originatorToBeneficiaryInformationLine4 ==
- other.originatorToBeneficiaryInformationLine4 &&
reversal == other.reversal &&
- senderReference == other.senderReference &&
status == other.status &&
type == other.type &&
uniqueEndToEndTransactionReference == other.uniqueEndToEndTransactionReference &&
@@ -2889,11 +1957,6 @@ private constructor(
accountId,
accountNumberId,
amount,
- beneficiaryAddressLine1,
- beneficiaryAddressLine2,
- beneficiaryAddressLine3,
- beneficiaryName,
- beneficiaryReference,
createdAt,
creditorAddressLine1,
creditorAddressLine2,
@@ -2908,18 +1971,7 @@ private constructor(
inputMessageAccountabilityData,
instructingAgentRoutingNumber,
instructionIdentification,
- originatorAddressLine1,
- originatorAddressLine2,
- originatorAddressLine3,
- originatorName,
- originatorRoutingNumber,
- originatorToBeneficiaryInformation,
- originatorToBeneficiaryInformationLine1,
- originatorToBeneficiaryInformationLine2,
- originatorToBeneficiaryInformationLine3,
- originatorToBeneficiaryInformationLine4,
reversal,
- senderReference,
status,
type,
uniqueEndToEndTransactionReference,
@@ -2932,5 +1984,5 @@ private constructor(
override fun hashCode(): Int = hashCode
override fun toString() =
- "InboundWireTransfer{id=$id, accountId=$accountId, accountNumberId=$accountNumberId, amount=$amount, beneficiaryAddressLine1=$beneficiaryAddressLine1, beneficiaryAddressLine2=$beneficiaryAddressLine2, beneficiaryAddressLine3=$beneficiaryAddressLine3, beneficiaryName=$beneficiaryName, beneficiaryReference=$beneficiaryReference, createdAt=$createdAt, creditorAddressLine1=$creditorAddressLine1, creditorAddressLine2=$creditorAddressLine2, creditorAddressLine3=$creditorAddressLine3, creditorName=$creditorName, debtorAddressLine1=$debtorAddressLine1, debtorAddressLine2=$debtorAddressLine2, debtorAddressLine3=$debtorAddressLine3, debtorName=$debtorName, description=$description, endToEndIdentification=$endToEndIdentification, inputMessageAccountabilityData=$inputMessageAccountabilityData, instructingAgentRoutingNumber=$instructingAgentRoutingNumber, instructionIdentification=$instructionIdentification, originatorAddressLine1=$originatorAddressLine1, originatorAddressLine2=$originatorAddressLine2, originatorAddressLine3=$originatorAddressLine3, originatorName=$originatorName, originatorRoutingNumber=$originatorRoutingNumber, originatorToBeneficiaryInformation=$originatorToBeneficiaryInformation, originatorToBeneficiaryInformationLine1=$originatorToBeneficiaryInformationLine1, originatorToBeneficiaryInformationLine2=$originatorToBeneficiaryInformationLine2, originatorToBeneficiaryInformationLine3=$originatorToBeneficiaryInformationLine3, originatorToBeneficiaryInformationLine4=$originatorToBeneficiaryInformationLine4, reversal=$reversal, senderReference=$senderReference, status=$status, type=$type, uniqueEndToEndTransactionReference=$uniqueEndToEndTransactionReference, unstructuredRemittanceInformation=$unstructuredRemittanceInformation, wireDrawdownRequestId=$wireDrawdownRequestId, additionalProperties=$additionalProperties}"
+ "InboundWireTransfer{id=$id, accountId=$accountId, accountNumberId=$accountNumberId, amount=$amount, createdAt=$createdAt, creditorAddressLine1=$creditorAddressLine1, creditorAddressLine2=$creditorAddressLine2, creditorAddressLine3=$creditorAddressLine3, creditorName=$creditorName, debtorAddressLine1=$debtorAddressLine1, debtorAddressLine2=$debtorAddressLine2, debtorAddressLine3=$debtorAddressLine3, debtorName=$debtorName, description=$description, endToEndIdentification=$endToEndIdentification, inputMessageAccountabilityData=$inputMessageAccountabilityData, instructingAgentRoutingNumber=$instructingAgentRoutingNumber, instructionIdentification=$instructionIdentification, reversal=$reversal, status=$status, type=$type, uniqueEndToEndTransactionReference=$uniqueEndToEndTransactionReference, unstructuredRemittanceInformation=$unstructuredRemittanceInformation, wireDrawdownRequestId=$wireDrawdownRequestId, additionalProperties=$additionalProperties}"
}
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferListPageResponseTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferListPageResponseTest.kt
index 7cccc94ec..384936e4e 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferListPageResponseTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferListPageResponseTest.kt
@@ -20,11 +20,6 @@ internal class InboundWireTransferListPageResponseTest {
.accountId("account_in71c4amph0vgo2qllky")
.accountNumberId("account_number_v18nkfqm6afpsrvy82b2")
.amount(100L)
- .beneficiaryAddressLine1(null)
- .beneficiaryAddressLine2(null)
- .beneficiaryAddressLine3(null)
- .beneficiaryName(null)
- .beneficiaryReference(null)
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.creditorAddressLine1(null)
.creditorAddressLine2(null)
@@ -39,23 +34,12 @@ internal class InboundWireTransferListPageResponseTest {
.inputMessageAccountabilityData(null)
.instructingAgentRoutingNumber(null)
.instructionIdentification(null)
- .originatorAddressLine1(null)
- .originatorAddressLine2(null)
- .originatorAddressLine3(null)
- .originatorName(null)
- .originatorRoutingNumber(null)
- .originatorToBeneficiaryInformation(null)
- .originatorToBeneficiaryInformationLine1(null)
- .originatorToBeneficiaryInformationLine2(null)
- .originatorToBeneficiaryInformationLine3(null)
- .originatorToBeneficiaryInformationLine4(null)
.reversal(
InboundWireTransfer.Reversal.builder()
.reason(InboundWireTransfer.Reversal.Reason.DUPLICATE)
.reversedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.build()
)
- .senderReference(null)
.status(InboundWireTransfer.Status.ACCEPTED)
.type(InboundWireTransfer.Type.INBOUND_WIRE_TRANSFER)
.uniqueEndToEndTransactionReference(null)
@@ -73,11 +57,6 @@ internal class InboundWireTransferListPageResponseTest {
.accountId("account_in71c4amph0vgo2qllky")
.accountNumberId("account_number_v18nkfqm6afpsrvy82b2")
.amount(100L)
- .beneficiaryAddressLine1(null)
- .beneficiaryAddressLine2(null)
- .beneficiaryAddressLine3(null)
- .beneficiaryName(null)
- .beneficiaryReference(null)
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.creditorAddressLine1(null)
.creditorAddressLine2(null)
@@ -92,23 +71,12 @@ internal class InboundWireTransferListPageResponseTest {
.inputMessageAccountabilityData(null)
.instructingAgentRoutingNumber(null)
.instructionIdentification(null)
- .originatorAddressLine1(null)
- .originatorAddressLine2(null)
- .originatorAddressLine3(null)
- .originatorName(null)
- .originatorRoutingNumber(null)
- .originatorToBeneficiaryInformation(null)
- .originatorToBeneficiaryInformationLine1(null)
- .originatorToBeneficiaryInformationLine2(null)
- .originatorToBeneficiaryInformationLine3(null)
- .originatorToBeneficiaryInformationLine4(null)
.reversal(
InboundWireTransfer.Reversal.builder()
.reason(InboundWireTransfer.Reversal.Reason.DUPLICATE)
.reversedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.build()
)
- .senderReference(null)
.status(InboundWireTransfer.Status.ACCEPTED)
.type(InboundWireTransfer.Type.INBOUND_WIRE_TRANSFER)
.uniqueEndToEndTransactionReference(null)
@@ -130,11 +98,6 @@ internal class InboundWireTransferListPageResponseTest {
.accountId("account_in71c4amph0vgo2qllky")
.accountNumberId("account_number_v18nkfqm6afpsrvy82b2")
.amount(100L)
- .beneficiaryAddressLine1(null)
- .beneficiaryAddressLine2(null)
- .beneficiaryAddressLine3(null)
- .beneficiaryName(null)
- .beneficiaryReference(null)
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.creditorAddressLine1(null)
.creditorAddressLine2(null)
@@ -149,23 +112,12 @@ internal class InboundWireTransferListPageResponseTest {
.inputMessageAccountabilityData(null)
.instructingAgentRoutingNumber(null)
.instructionIdentification(null)
- .originatorAddressLine1(null)
- .originatorAddressLine2(null)
- .originatorAddressLine3(null)
- .originatorName(null)
- .originatorRoutingNumber(null)
- .originatorToBeneficiaryInformation(null)
- .originatorToBeneficiaryInformationLine1(null)
- .originatorToBeneficiaryInformationLine2(null)
- .originatorToBeneficiaryInformationLine3(null)
- .originatorToBeneficiaryInformationLine4(null)
.reversal(
InboundWireTransfer.Reversal.builder()
.reason(InboundWireTransfer.Reversal.Reason.DUPLICATE)
.reversedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.build()
)
- .senderReference(null)
.status(InboundWireTransfer.Status.ACCEPTED)
.type(InboundWireTransfer.Type.INBOUND_WIRE_TRANSFER)
.uniqueEndToEndTransactionReference(null)
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferTest.kt
index bd9cfc336..67af0cb41 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferTest.kt
@@ -18,11 +18,6 @@ internal class InboundWireTransferTest {
.accountId("account_in71c4amph0vgo2qllky")
.accountNumberId("account_number_v18nkfqm6afpsrvy82b2")
.amount(100L)
- .beneficiaryAddressLine1(null)
- .beneficiaryAddressLine2(null)
- .beneficiaryAddressLine3(null)
- .beneficiaryName(null)
- .beneficiaryReference(null)
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.creditorAddressLine1(null)
.creditorAddressLine2(null)
@@ -37,23 +32,12 @@ internal class InboundWireTransferTest {
.inputMessageAccountabilityData(null)
.instructingAgentRoutingNumber(null)
.instructionIdentification(null)
- .originatorAddressLine1(null)
- .originatorAddressLine2(null)
- .originatorAddressLine3(null)
- .originatorName(null)
- .originatorRoutingNumber(null)
- .originatorToBeneficiaryInformation(null)
- .originatorToBeneficiaryInformationLine1(null)
- .originatorToBeneficiaryInformationLine2(null)
- .originatorToBeneficiaryInformationLine3(null)
- .originatorToBeneficiaryInformationLine4(null)
.reversal(
InboundWireTransfer.Reversal.builder()
.reason(InboundWireTransfer.Reversal.Reason.DUPLICATE)
.reversedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.build()
)
- .senderReference(null)
.status(InboundWireTransfer.Status.ACCEPTED)
.type(InboundWireTransfer.Type.INBOUND_WIRE_TRANSFER)
.uniqueEndToEndTransactionReference(null)
@@ -66,11 +50,6 @@ internal class InboundWireTransferTest {
assertThat(inboundWireTransfer.accountNumberId())
.isEqualTo("account_number_v18nkfqm6afpsrvy82b2")
assertThat(inboundWireTransfer.amount()).isEqualTo(100L)
- assertThat(inboundWireTransfer.beneficiaryAddressLine1()).isEmpty
- assertThat(inboundWireTransfer.beneficiaryAddressLine2()).isEmpty
- assertThat(inboundWireTransfer.beneficiaryAddressLine3()).isEmpty
- assertThat(inboundWireTransfer.beneficiaryName()).isEmpty
- assertThat(inboundWireTransfer.beneficiaryReference()).isEmpty
assertThat(inboundWireTransfer.createdAt())
.isEqualTo(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
assertThat(inboundWireTransfer.creditorAddressLine1()).isEmpty
@@ -86,16 +65,6 @@ internal class InboundWireTransferTest {
assertThat(inboundWireTransfer.inputMessageAccountabilityData()).isEmpty
assertThat(inboundWireTransfer.instructingAgentRoutingNumber()).isEmpty
assertThat(inboundWireTransfer.instructionIdentification()).isEmpty
- assertThat(inboundWireTransfer.originatorAddressLine1()).isEmpty
- assertThat(inboundWireTransfer.originatorAddressLine2()).isEmpty
- assertThat(inboundWireTransfer.originatorAddressLine3()).isEmpty
- assertThat(inboundWireTransfer.originatorName()).isEmpty
- assertThat(inboundWireTransfer.originatorRoutingNumber()).isEmpty
- assertThat(inboundWireTransfer.originatorToBeneficiaryInformation()).isEmpty
- assertThat(inboundWireTransfer.originatorToBeneficiaryInformationLine1()).isEmpty
- assertThat(inboundWireTransfer.originatorToBeneficiaryInformationLine2()).isEmpty
- assertThat(inboundWireTransfer.originatorToBeneficiaryInformationLine3()).isEmpty
- assertThat(inboundWireTransfer.originatorToBeneficiaryInformationLine4()).isEmpty
assertThat(inboundWireTransfer.reversal())
.contains(
InboundWireTransfer.Reversal.builder()
@@ -103,7 +72,6 @@ internal class InboundWireTransferTest {
.reversedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.build()
)
- assertThat(inboundWireTransfer.senderReference()).isEmpty
assertThat(inboundWireTransfer.status()).isEqualTo(InboundWireTransfer.Status.ACCEPTED)
assertThat(inboundWireTransfer.type())
.isEqualTo(InboundWireTransfer.Type.INBOUND_WIRE_TRANSFER)
@@ -121,11 +89,6 @@ internal class InboundWireTransferTest {
.accountId("account_in71c4amph0vgo2qllky")
.accountNumberId("account_number_v18nkfqm6afpsrvy82b2")
.amount(100L)
- .beneficiaryAddressLine1(null)
- .beneficiaryAddressLine2(null)
- .beneficiaryAddressLine3(null)
- .beneficiaryName(null)
- .beneficiaryReference(null)
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.creditorAddressLine1(null)
.creditorAddressLine2(null)
@@ -140,23 +103,12 @@ internal class InboundWireTransferTest {
.inputMessageAccountabilityData(null)
.instructingAgentRoutingNumber(null)
.instructionIdentification(null)
- .originatorAddressLine1(null)
- .originatorAddressLine2(null)
- .originatorAddressLine3(null)
- .originatorName(null)
- .originatorRoutingNumber(null)
- .originatorToBeneficiaryInformation(null)
- .originatorToBeneficiaryInformationLine1(null)
- .originatorToBeneficiaryInformationLine2(null)
- .originatorToBeneficiaryInformationLine3(null)
- .originatorToBeneficiaryInformationLine4(null)
.reversal(
InboundWireTransfer.Reversal.builder()
.reason(InboundWireTransfer.Reversal.Reason.DUPLICATE)
.reversedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.build()
)
- .senderReference(null)
.status(InboundWireTransfer.Status.ACCEPTED)
.type(InboundWireTransfer.Type.INBOUND_WIRE_TRANSFER)
.uniqueEndToEndTransactionReference(null)