diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 0c3706a77..db7ac1523 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.292.0" + ".": "0.293.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 7e9d89ef1..372ce8332 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 215 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-b6af0e334922042aa3906776c1e9ddf8cd789c43597cf1c1afd1ed331c350586.yml -openapi_spec_hash: c65d4f39d2a971c60c9671444282ebe9 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-ead33c34bfbcc450c88d09e7d880fa5be57c504a66102e098ac03c5b220dea80.yml +openapi_spec_hash: 1544de50d73f80b843d5761009764ab6 config_hash: 0b0a2503208283b283fc5bc6df6a07a5 diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d80a5c56..90731d7a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.293.0 (2025-08-21) + +Full Changelog: [v0.292.0...v0.293.0](https://github.com/Increase/increase-java/compare/v0.292.0...v0.293.0) + +### Features + +* **api:** api update ([5000323](https://github.com/Increase/increase-java/commit/50003233fed300b42fa24f890aac4026c226bdc0)) + ## 0.292.0 (2025-08-21) Full Changelog: [v0.291.0...v0.292.0](https://github.com/Increase/increase-java/compare/v0.291.0...v0.292.0) diff --git a/README.md b/README.md index 0efbc2d4e..5186abdfb 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ -[![Maven Central](https://img.shields.io/maven-central/v/com.increase.api/increase-java)](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.292.0) -[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.292.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.292.0) +[![Maven Central](https://img.shields.io/maven-central/v/com.increase.api/increase-java)](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.293.0) +[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.293.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.293.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.292.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.293.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.292.0") +implementation("com.increase.api:increase-java:0.293.0") ``` ### Maven @@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.292.0") com.increase.api increase-java - 0.292.0 + 0.293.0 ``` diff --git a/build.gradle.kts b/build.gradle.kts index 86b2234f4..b2667d595 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ repositories { allprojects { group = "com.increase.api" - version = "0.292.0" // x-release-please-version + version = "0.293.0" // x-release-please-version } subprojects { 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 4eed3e0e8..9c2a1b173 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 @@ -36637,104 +36637,94 @@ private constructor( class InboundWireTransfer private constructor( 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 creditorAddressLine1: JsonField, + private val creditorAddressLine2: JsonField, + private val creditorAddressLine3: JsonField, + private val creditorName: JsonField, + private val debtorAddressLine1: JsonField, + private val debtorAddressLine2: JsonField, + private val debtorAddressLine3: JsonField, + private val debtorName: JsonField, private val description: JsonField, + private val endToEndIdentification: JsonField, private val inputMessageAccountabilityData: 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 instructingAgentRoutingNumber: JsonField, + private val instructionIdentification: JsonField, private val transferId: JsonField, + private val uniqueEndToEndTransactionReference: JsonField, + private val unstructuredRemittanceInformation: JsonField, private val additionalProperties: MutableMap, ) { @JsonCreator private constructor( @JsonProperty("amount") @ExcludeMissing amount: JsonField = JsonMissing.of(), - @JsonProperty("beneficiary_address_line1") + @JsonProperty("creditor_address_line1") @ExcludeMissing - beneficiaryAddressLine1: JsonField = JsonMissing.of(), - @JsonProperty("beneficiary_address_line2") + creditorAddressLine1: JsonField = JsonMissing.of(), + @JsonProperty("creditor_address_line2") @ExcludeMissing - beneficiaryAddressLine2: JsonField = JsonMissing.of(), - @JsonProperty("beneficiary_address_line3") + creditorAddressLine2: JsonField = JsonMissing.of(), + @JsonProperty("creditor_address_line3") @ExcludeMissing - beneficiaryAddressLine3: JsonField = JsonMissing.of(), - @JsonProperty("beneficiary_name") - @ExcludeMissing - beneficiaryName: JsonField = JsonMissing.of(), - @JsonProperty("beneficiary_reference") - @ExcludeMissing - beneficiaryReference: JsonField = JsonMissing.of(), - @JsonProperty("description") - @ExcludeMissing - description: JsonField = JsonMissing.of(), - @JsonProperty("input_message_accountability_data") - @ExcludeMissing - inputMessageAccountabilityData: JsonField = JsonMissing.of(), - @JsonProperty("originator_address_line1") + creditorAddressLine3: JsonField = JsonMissing.of(), + @JsonProperty("creditor_name") @ExcludeMissing - originatorAddressLine1: JsonField = JsonMissing.of(), - @JsonProperty("originator_address_line2") + creditorName: JsonField = JsonMissing.of(), + @JsonProperty("debtor_address_line1") @ExcludeMissing - originatorAddressLine2: JsonField = JsonMissing.of(), - @JsonProperty("originator_address_line3") + debtorAddressLine1: JsonField = JsonMissing.of(), + @JsonProperty("debtor_address_line2") @ExcludeMissing - originatorAddressLine3: JsonField = JsonMissing.of(), - @JsonProperty("originator_name") + debtorAddressLine2: JsonField = JsonMissing.of(), + @JsonProperty("debtor_address_line3") @ExcludeMissing - originatorName: JsonField = JsonMissing.of(), - @JsonProperty("originator_routing_number") + debtorAddressLine3: JsonField = JsonMissing.of(), + @JsonProperty("debtor_name") @ExcludeMissing - originatorRoutingNumber: JsonField = JsonMissing.of(), - @JsonProperty("originator_to_beneficiary_information") + debtorName: JsonField = JsonMissing.of(), + @JsonProperty("description") @ExcludeMissing - originatorToBeneficiaryInformation: JsonField = JsonMissing.of(), - @JsonProperty("originator_to_beneficiary_information_line1") + description: JsonField = JsonMissing.of(), + @JsonProperty("end_to_end_identification") @ExcludeMissing - originatorToBeneficiaryInformationLine1: JsonField = JsonMissing.of(), - @JsonProperty("originator_to_beneficiary_information_line2") + endToEndIdentification: JsonField = JsonMissing.of(), + @JsonProperty("input_message_accountability_data") @ExcludeMissing - originatorToBeneficiaryInformationLine2: JsonField = JsonMissing.of(), - @JsonProperty("originator_to_beneficiary_information_line3") + inputMessageAccountabilityData: JsonField = JsonMissing.of(), + @JsonProperty("instructing_agent_routing_number") @ExcludeMissing - originatorToBeneficiaryInformationLine3: JsonField = JsonMissing.of(), - @JsonProperty("originator_to_beneficiary_information_line4") + instructingAgentRoutingNumber: JsonField = JsonMissing.of(), + @JsonProperty("instruction_identification") @ExcludeMissing - originatorToBeneficiaryInformationLine4: JsonField = JsonMissing.of(), + instructionIdentification: JsonField = JsonMissing.of(), @JsonProperty("transfer_id") @ExcludeMissing transferId: JsonField = JsonMissing.of(), + @JsonProperty("unique_end_to_end_transaction_reference") + @ExcludeMissing + uniqueEndToEndTransactionReference: JsonField = JsonMissing.of(), + @JsonProperty("unstructured_remittance_information") + @ExcludeMissing + unstructuredRemittanceInformation: JsonField = JsonMissing.of(), ) : this( amount, - beneficiaryAddressLine1, - beneficiaryAddressLine2, - beneficiaryAddressLine3, - beneficiaryName, - beneficiaryReference, + creditorAddressLine1, + creditorAddressLine2, + creditorAddressLine3, + creditorName, + debtorAddressLine1, + debtorAddressLine2, + debtorAddressLine3, + debtorName, description, + endToEndIdentification, inputMessageAccountabilityData, - originatorAddressLine1, - originatorAddressLine2, - originatorAddressLine3, - originatorName, - originatorRoutingNumber, - originatorToBeneficiaryInformation, - originatorToBeneficiaryInformationLine1, - originatorToBeneficiaryInformationLine2, - originatorToBeneficiaryInformationLine3, - originatorToBeneficiaryInformationLine4, + instructingAgentRoutingNumber, + instructionIdentification, transferId, + uniqueEndToEndTransactionReference, + unstructuredRemittanceInformation, mutableMapOf(), ) @@ -36753,8 +36743,8 @@ private constructor( * @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") + fun creditorAddressLine1(): Optional = + creditorAddressLine1.getOptional("creditor_address_line1") /** * A free-form address field set by the sender. @@ -36762,8 +36752,8 @@ private constructor( * @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") + fun creditorAddressLine2(): Optional = + creditorAddressLine2.getOptional("creditor_address_line2") /** * A free-form address field set by the sender. @@ -36771,8 +36761,8 @@ private constructor( * @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") + fun creditorAddressLine3(): Optional = + creditorAddressLine3.getOptional("creditor_address_line3") /** * A name set by the sender. @@ -36780,146 +36770,120 @@ private constructor( * @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") + fun creditorName(): Optional = creditorName.getOptional("creditor_name") /** - * A free-form reference string set by the sender, to help identify the transfer. + * 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 beneficiaryReference(): Optional = - beneficiaryReference.getOptional("beneficiary_reference") + fun debtorAddressLine1(): Optional = + debtorAddressLine1.getOptional("debtor_address_line1") /** - * An Increase-constructed description of the transfer. - * - * @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 description(): String = description.getRequired("description") - - /** - * A unique identifier available to the originating and receiving banks, commonly - * abbreviated as IMAD. It is created when the wire is submitted to the Fedwire service - * and is helpful when debugging wires with the originating bank. + * 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 inputMessageAccountabilityData(): Optional = - inputMessageAccountabilityData.getOptional("input_message_accountability_data") + fun debtorAddressLine2(): Optional = + debtorAddressLine2.getOptional("debtor_address_line2") /** - * The address of the wire originator, set by the sending bank. + * 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 originatorAddressLine1(): Optional = - originatorAddressLine1.getOptional("originator_address_line1") + fun debtorAddressLine3(): Optional = + debtorAddressLine3.getOptional("debtor_address_line3") /** - * The address of the wire originator, set by the sending bank. + * 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 originatorAddressLine2(): Optional = - originatorAddressLine2.getOptional("originator_address_line2") + fun debtorName(): Optional = debtorName.getOptional("debtor_name") /** - * The address of the wire originator, set by the sending bank. + * An Increase-constructed description of the transfer. * - * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. - * if the server responded with an unexpected value). + * @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 originatorAddressLine3(): Optional = - originatorAddressLine3.getOptional("originator_address_line3") + fun description(): String = description.getRequired("description") /** - * The originator of the wire, set by the sending bank. + * 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 originatorName(): Optional = originatorName.getOptional("originator_name") + fun endToEndIdentification(): Optional = + endToEndIdentification.getOptional("end_to_end_identification") /** - * The American Banking Association (ABA) routing number of the bank originating the - * transfer. + * A unique identifier available to the originating and receiving banks, commonly + * abbreviated as IMAD. It is created when the wire is submitted to the Fedwire service + * and is helpful when debugging wires with the originating bank. * * @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") + fun inputMessageAccountabilityData(): Optional = + inputMessageAccountabilityData.getOptional("input_message_accountability_data") /** - * An Increase-created concatenation of the Originator-to-Beneficiary lines. + * The American Banking Association (ABA) routing number of the bank that sent the wire. * * @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" - ) + fun instructingAgentRoutingNumber(): Optional = + instructingAgentRoutingNumber.getOptional("instructing_agent_routing_number") /** - * A free-form message set by the wire originator. + * The sending bank's identifier 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 originatorToBeneficiaryInformationLine1(): Optional = - originatorToBeneficiaryInformationLine1.getOptional( - "originator_to_beneficiary_information_line1" - ) + fun instructionIdentification(): Optional = + instructionIdentification.getOptional("instruction_identification") /** - * A free-form message set by the wire originator. + * The ID of the Inbound Wire Transfer object that resulted in this Transaction. * - * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. - * if the server responded with an unexpected value). + * @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 originatorToBeneficiaryInformationLine2(): Optional = - originatorToBeneficiaryInformationLine2.getOptional( - "originator_to_beneficiary_information_line2" - ) + fun transferId(): String = transferId.getRequired("transfer_id") /** - * A free-form message set by the wire originator. + * The Unique End-to-end Transaction Reference + * ([UETR](https://www.swift.com/payments/what-unique-end-end-transaction-reference-uetr)) + * of the transfer. * * @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" + fun uniqueEndToEndTransactionReference(): Optional = + uniqueEndToEndTransactionReference.getOptional( + "unique_end_to_end_transaction_reference" ) /** - * A free-form message set by the wire originator. + * A free-form message 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 originatorToBeneficiaryInformationLine4(): Optional = - originatorToBeneficiaryInformationLine4.getOptional( - "originator_to_beneficiary_information_line4" - ) - - /** - * The ID of the Inbound Wire Transfer object that resulted in this Transaction. - * - * @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 transferId(): String = transferId.getRequired("transfer_id") + fun unstructuredRemittanceInformation(): Optional = + unstructuredRemittanceInformation.getOptional("unstructured_remittance_information") /** * Returns the raw JSON value of [amount]. @@ -36929,190 +36893,167 @@ 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]. + * Returns the raw JSON value of [creditorAddressLine1]. * - * Unlike [beneficiaryAddressLine3], this method doesn't throw if the JSON field has an + * Unlike [creditorAddressLine1], this method doesn't throw if the JSON field has an * unexpected type. */ - @JsonProperty("beneficiary_address_line3") + @JsonProperty("creditor_address_line1") @ExcludeMissing - fun _beneficiaryAddressLine3(): JsonField = beneficiaryAddressLine3 + fun _creditorAddressLine1(): JsonField = creditorAddressLine1 /** - * Returns the raw JSON value of [beneficiaryName]. + * Returns the raw JSON value of [creditorAddressLine2]. * - * Unlike [beneficiaryName], this method doesn't throw if the JSON field has an + * Unlike [creditorAddressLine2], this method doesn't throw if the JSON field has an * unexpected type. */ - @JsonProperty("beneficiary_name") + @JsonProperty("creditor_address_line2") @ExcludeMissing - fun _beneficiaryName(): JsonField = beneficiaryName + fun _creditorAddressLine2(): JsonField = creditorAddressLine2 /** - * Returns the raw JSON value of [beneficiaryReference]. + * Returns the raw JSON value of [creditorAddressLine3]. * - * Unlike [beneficiaryReference], this method doesn't throw if the JSON field has an + * Unlike [creditorAddressLine3], this method doesn't throw if the JSON field has an * unexpected type. */ - @JsonProperty("beneficiary_reference") + @JsonProperty("creditor_address_line3") @ExcludeMissing - fun _beneficiaryReference(): JsonField = beneficiaryReference + fun _creditorAddressLine3(): JsonField = creditorAddressLine3 /** - * Returns the raw JSON value of [description]. + * Returns the raw JSON value of [creditorName]. * - * Unlike [description], this method doesn't throw if the JSON field has an unexpected + * Unlike [creditorName], this method doesn't throw if the JSON field has an unexpected * type. */ - @JsonProperty("description") + @JsonProperty("creditor_name") @ExcludeMissing - fun _description(): JsonField = description + fun _creditorName(): JsonField = creditorName /** - * Returns the raw JSON value of [inputMessageAccountabilityData]. + * Returns the raw JSON value of [debtorAddressLine1]. * - * Unlike [inputMessageAccountabilityData], this method doesn't throw if the JSON field - * has an unexpected type. + * Unlike [debtorAddressLine1], this method doesn't throw if the JSON field has an + * unexpected type. */ - @JsonProperty("input_message_accountability_data") + @JsonProperty("debtor_address_line1") @ExcludeMissing - fun _inputMessageAccountabilityData(): JsonField = - inputMessageAccountabilityData + fun _debtorAddressLine1(): JsonField = debtorAddressLine1 /** - * Returns the raw JSON value of [originatorAddressLine1]. + * Returns the raw JSON value of [debtorAddressLine2]. * - * Unlike [originatorAddressLine1], this method doesn't throw if the JSON field has an + * Unlike [debtorAddressLine2], this method doesn't throw if the JSON field has an * unexpected type. */ - @JsonProperty("originator_address_line1") + @JsonProperty("debtor_address_line2") @ExcludeMissing - fun _originatorAddressLine1(): JsonField = originatorAddressLine1 + fun _debtorAddressLine2(): JsonField = debtorAddressLine2 /** - * Returns the raw JSON value of [originatorAddressLine2]. + * Returns the raw JSON value of [debtorAddressLine3]. * - * Unlike [originatorAddressLine2], this method doesn't throw if the JSON field has an + * Unlike [debtorAddressLine3], this method doesn't throw if the JSON field has an * unexpected type. */ - @JsonProperty("originator_address_line2") + @JsonProperty("debtor_address_line3") @ExcludeMissing - fun _originatorAddressLine2(): JsonField = originatorAddressLine2 + fun _debtorAddressLine3(): JsonField = debtorAddressLine3 /** - * Returns the raw JSON value of [originatorAddressLine3]. + * Returns the raw JSON value of [debtorName]. * - * Unlike [originatorAddressLine3], this method doesn't throw if the JSON field has an - * unexpected type. + * Unlike [debtorName], this method doesn't throw if the JSON field has an unexpected + * type. */ - @JsonProperty("originator_address_line3") + @JsonProperty("debtor_name") @ExcludeMissing - fun _originatorAddressLine3(): JsonField = originatorAddressLine3 + fun _debtorName(): JsonField = debtorName /** - * Returns the raw JSON value of [originatorName]. + * Returns the raw JSON value of [description]. * - * Unlike [originatorName], this method doesn't throw if the JSON field has an - * unexpected type. + * Unlike [description], this method doesn't throw if the JSON field has an unexpected + * type. */ - @JsonProperty("originator_name") + @JsonProperty("description") @ExcludeMissing - fun _originatorName(): JsonField = originatorName + fun _description(): JsonField = description /** - * Returns the raw JSON value of [originatorRoutingNumber]. + * Returns the raw JSON value of [endToEndIdentification]. * - * Unlike [originatorRoutingNumber], this method doesn't throw if the JSON field has an + * Unlike [endToEndIdentification], this method doesn't throw if the JSON field has an * unexpected type. */ - @JsonProperty("originator_routing_number") + @JsonProperty("end_to_end_identification") @ExcludeMissing - fun _originatorRoutingNumber(): JsonField = originatorRoutingNumber + fun _endToEndIdentification(): JsonField = endToEndIdentification /** - * Returns the raw JSON value of [originatorToBeneficiaryInformation]. + * Returns the raw JSON value of [inputMessageAccountabilityData]. * - * Unlike [originatorToBeneficiaryInformation], this method doesn't throw if the JSON - * field has an unexpected type. + * Unlike [inputMessageAccountabilityData], this method doesn't throw if the JSON field + * has an unexpected type. */ - @JsonProperty("originator_to_beneficiary_information") + @JsonProperty("input_message_accountability_data") @ExcludeMissing - fun _originatorToBeneficiaryInformation(): JsonField = - originatorToBeneficiaryInformation + fun _inputMessageAccountabilityData(): JsonField = + inputMessageAccountabilityData /** - * Returns the raw JSON value of [originatorToBeneficiaryInformationLine1]. + * Returns the raw JSON value of [instructingAgentRoutingNumber]. * - * Unlike [originatorToBeneficiaryInformationLine1], this method doesn't throw if the - * JSON field has an unexpected type. + * Unlike [instructingAgentRoutingNumber], this method doesn't throw if the JSON field + * has an unexpected type. */ - @JsonProperty("originator_to_beneficiary_information_line1") + @JsonProperty("instructing_agent_routing_number") @ExcludeMissing - fun _originatorToBeneficiaryInformationLine1(): JsonField = - originatorToBeneficiaryInformationLine1 + fun _instructingAgentRoutingNumber(): JsonField = instructingAgentRoutingNumber /** - * Returns the raw JSON value of [originatorToBeneficiaryInformationLine2]. + * Returns the raw JSON value of [instructionIdentification]. * - * Unlike [originatorToBeneficiaryInformationLine2], this method doesn't throw if the - * JSON field has an unexpected type. + * Unlike [instructionIdentification], this method doesn't throw if the JSON field has + * an unexpected type. */ - @JsonProperty("originator_to_beneficiary_information_line2") + @JsonProperty("instruction_identification") @ExcludeMissing - fun _originatorToBeneficiaryInformationLine2(): JsonField = - originatorToBeneficiaryInformationLine2 + fun _instructionIdentification(): JsonField = instructionIdentification /** - * Returns the raw JSON value of [originatorToBeneficiaryInformationLine3]. + * Returns the raw JSON value of [transferId]. * - * Unlike [originatorToBeneficiaryInformationLine3], this method doesn't throw if the - * JSON field has an unexpected type. + * Unlike [transferId], this method doesn't throw if the JSON field has an unexpected + * type. */ - @JsonProperty("originator_to_beneficiary_information_line3") + @JsonProperty("transfer_id") @ExcludeMissing - fun _originatorToBeneficiaryInformationLine3(): JsonField = - originatorToBeneficiaryInformationLine3 + fun _transferId(): JsonField = transferId /** - * Returns the raw JSON value of [originatorToBeneficiaryInformationLine4]. + * Returns the raw JSON value of [uniqueEndToEndTransactionReference]. * - * Unlike [originatorToBeneficiaryInformationLine4], this method doesn't throw if the - * JSON field has an unexpected type. + * Unlike [uniqueEndToEndTransactionReference], this method doesn't throw if the JSON + * field has an unexpected type. */ - @JsonProperty("originator_to_beneficiary_information_line4") + @JsonProperty("unique_end_to_end_transaction_reference") @ExcludeMissing - fun _originatorToBeneficiaryInformationLine4(): JsonField = - originatorToBeneficiaryInformationLine4 + fun _uniqueEndToEndTransactionReference(): JsonField = + uniqueEndToEndTransactionReference /** - * Returns the raw JSON value of [transferId]. + * Returns the raw JSON value of [unstructuredRemittanceInformation]. * - * Unlike [transferId], this method doesn't throw if the JSON field has an unexpected - * type. + * Unlike [unstructuredRemittanceInformation], this method doesn't throw if the JSON + * field has an unexpected type. */ - @JsonProperty("transfer_id") + @JsonProperty("unstructured_remittance_information") @ExcludeMissing - fun _transferId(): JsonField = transferId + fun _unstructuredRemittanceInformation(): JsonField = + unstructuredRemittanceInformation @JsonAnySetter private fun putAdditionalProperty(key: String, value: JsonValue) { @@ -37134,24 +37075,22 @@ private constructor( * The following fields are required: * ```java * .amount() - * .beneficiaryAddressLine1() - * .beneficiaryAddressLine2() - * .beneficiaryAddressLine3() - * .beneficiaryName() - * .beneficiaryReference() + * .creditorAddressLine1() + * .creditorAddressLine2() + * .creditorAddressLine3() + * .creditorName() + * .debtorAddressLine1() + * .debtorAddressLine2() + * .debtorAddressLine3() + * .debtorName() * .description() + * .endToEndIdentification() * .inputMessageAccountabilityData() - * .originatorAddressLine1() - * .originatorAddressLine2() - * .originatorAddressLine3() - * .originatorName() - * .originatorRoutingNumber() - * .originatorToBeneficiaryInformation() - * .originatorToBeneficiaryInformationLine1() - * .originatorToBeneficiaryInformationLine2() - * .originatorToBeneficiaryInformationLine3() - * .originatorToBeneficiaryInformationLine4() + * .instructingAgentRoutingNumber() + * .instructionIdentification() * .transferId() + * .uniqueEndToEndTransactionReference() + * .unstructuredRemittanceInformation() * ``` */ @JvmStatic fun builder() = Builder() @@ -37161,53 +37100,47 @@ private constructor( class Builder internal constructor() { 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 creditorAddressLine1: JsonField? = null + private var creditorAddressLine2: JsonField? = null + private var creditorAddressLine3: JsonField? = null + private var creditorName: JsonField? = null + private var debtorAddressLine1: JsonField? = null + private var debtorAddressLine2: JsonField? = null + private var debtorAddressLine3: JsonField? = null + private var debtorName: JsonField? = null private var description: JsonField? = null + private var endToEndIdentification: JsonField? = null private var inputMessageAccountabilityData: 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 instructingAgentRoutingNumber: JsonField? = null + private var instructionIdentification: JsonField? = null private var transferId: JsonField? = null + private var uniqueEndToEndTransactionReference: JsonField? = null + private var unstructuredRemittanceInformation: JsonField? = null private var additionalProperties: MutableMap = mutableMapOf() @JvmSynthetic internal fun from(inboundWireTransfer: InboundWireTransfer) = apply { amount = inboundWireTransfer.amount - beneficiaryAddressLine1 = inboundWireTransfer.beneficiaryAddressLine1 - beneficiaryAddressLine2 = inboundWireTransfer.beneficiaryAddressLine2 - beneficiaryAddressLine3 = inboundWireTransfer.beneficiaryAddressLine3 - beneficiaryName = inboundWireTransfer.beneficiaryName - beneficiaryReference = inboundWireTransfer.beneficiaryReference + creditorAddressLine1 = inboundWireTransfer.creditorAddressLine1 + creditorAddressLine2 = inboundWireTransfer.creditorAddressLine2 + creditorAddressLine3 = inboundWireTransfer.creditorAddressLine3 + creditorName = inboundWireTransfer.creditorName + debtorAddressLine1 = inboundWireTransfer.debtorAddressLine1 + debtorAddressLine2 = inboundWireTransfer.debtorAddressLine2 + debtorAddressLine3 = inboundWireTransfer.debtorAddressLine3 + debtorName = inboundWireTransfer.debtorName description = inboundWireTransfer.description + endToEndIdentification = inboundWireTransfer.endToEndIdentification inputMessageAccountabilityData = inboundWireTransfer.inputMessageAccountabilityData - 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 + instructingAgentRoutingNumber = + inboundWireTransfer.instructingAgentRoutingNumber + instructionIdentification = inboundWireTransfer.instructionIdentification transferId = inboundWireTransfer.transferId + uniqueEndToEndTransactionReference = + inboundWireTransfer.uniqueEndToEndTransactionReference + unstructuredRemittanceInformation = + inboundWireTransfer.unstructuredRemittanceInformation additionalProperties = inboundWireTransfer.additionalProperties.toMutableMap() } @@ -37224,114 +37157,171 @@ 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)) + fun creditorAddressLine1(creditorAddressLine1: String?) = + creditorAddressLine1(JsonField.ofNullable(creditorAddressLine1)) /** - * Alias for calling [Builder.beneficiaryAddressLine1] with - * `beneficiaryAddressLine1.orElse(null)`. + * Alias for calling [Builder.creditorAddressLine1] with + * `creditorAddressLine1.orElse(null)`. */ - fun beneficiaryAddressLine1(beneficiaryAddressLine1: Optional) = - beneficiaryAddressLine1(beneficiaryAddressLine1.getOrNull()) + fun creditorAddressLine1(creditorAddressLine1: Optional) = + creditorAddressLine1(creditorAddressLine1.getOrNull()) /** - * Sets [Builder.beneficiaryAddressLine1] to an arbitrary JSON value. + * Sets [Builder.creditorAddressLine1] 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. + * You should usually call [Builder.creditorAddressLine1] 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 + fun creditorAddressLine1(creditorAddressLine1: JsonField) = apply { + this.creditorAddressLine1 = creditorAddressLine1 } /** A free-form address field set by the sender. */ - fun beneficiaryAddressLine2(beneficiaryAddressLine2: String?) = - beneficiaryAddressLine2(JsonField.ofNullable(beneficiaryAddressLine2)) + fun creditorAddressLine2(creditorAddressLine2: String?) = + creditorAddressLine2(JsonField.ofNullable(creditorAddressLine2)) /** - * Alias for calling [Builder.beneficiaryAddressLine2] with - * `beneficiaryAddressLine2.orElse(null)`. + * Alias for calling [Builder.creditorAddressLine2] with + * `creditorAddressLine2.orElse(null)`. */ - fun beneficiaryAddressLine2(beneficiaryAddressLine2: Optional) = - beneficiaryAddressLine2(beneficiaryAddressLine2.getOrNull()) + fun creditorAddressLine2(creditorAddressLine2: Optional) = + creditorAddressLine2(creditorAddressLine2.getOrNull()) /** - * Sets [Builder.beneficiaryAddressLine2] to an arbitrary JSON value. + * Sets [Builder.creditorAddressLine2] 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. + * You should usually call [Builder.creditorAddressLine2] 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 + fun creditorAddressLine2(creditorAddressLine2: JsonField) = apply { + this.creditorAddressLine2 = creditorAddressLine2 } /** A free-form address field set by the sender. */ - fun beneficiaryAddressLine3(beneficiaryAddressLine3: String?) = - beneficiaryAddressLine3(JsonField.ofNullable(beneficiaryAddressLine3)) + fun creditorAddressLine3(creditorAddressLine3: String?) = + creditorAddressLine3(JsonField.ofNullable(creditorAddressLine3)) /** - * Alias for calling [Builder.beneficiaryAddressLine3] with - * `beneficiaryAddressLine3.orElse(null)`. + * Alias for calling [Builder.creditorAddressLine3] with + * `creditorAddressLine3.orElse(null)`. */ - fun beneficiaryAddressLine3(beneficiaryAddressLine3: Optional) = - beneficiaryAddressLine3(beneficiaryAddressLine3.getOrNull()) + fun creditorAddressLine3(creditorAddressLine3: Optional) = + creditorAddressLine3(creditorAddressLine3.getOrNull()) /** - * Sets [Builder.beneficiaryAddressLine3] to an arbitrary JSON value. + * Sets [Builder.creditorAddressLine3] 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. + * You should usually call [Builder.creditorAddressLine3] 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 + fun creditorAddressLine3(creditorAddressLine3: JsonField) = apply { + this.creditorAddressLine3 = creditorAddressLine3 } /** A name set by the sender. */ - fun beneficiaryName(beneficiaryName: String?) = - beneficiaryName(JsonField.ofNullable(beneficiaryName)) + fun creditorName(creditorName: String?) = + creditorName(JsonField.ofNullable(creditorName)) + + /** Alias for calling [Builder.creditorName] with `creditorName.orElse(null)`. */ + fun creditorName(creditorName: Optional) = + creditorName(creditorName.getOrNull()) /** - * Alias for calling [Builder.beneficiaryName] with `beneficiaryName.orElse(null)`. + * Sets [Builder.creditorName] to an arbitrary JSON value. + * + * You should usually call [Builder.creditorName] 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: Optional) = - beneficiaryName(beneficiaryName.getOrNull()) + fun creditorName(creditorName: JsonField) = apply { + this.creditorName = creditorName + } + + /** A free-form address field set by the sender. */ + fun debtorAddressLine1(debtorAddressLine1: String?) = + debtorAddressLine1(JsonField.ofNullable(debtorAddressLine1)) + + /** + * Alias for calling [Builder.debtorAddressLine1] with + * `debtorAddressLine1.orElse(null)`. + */ + fun debtorAddressLine1(debtorAddressLine1: Optional) = + debtorAddressLine1(debtorAddressLine1.getOrNull()) /** - * Sets [Builder.beneficiaryName] to an arbitrary JSON value. + * Sets [Builder.debtorAddressLine1] to an arbitrary JSON value. * - * You should usually call [Builder.beneficiaryName] with a well-typed [String] + * You should usually call [Builder.debtorAddressLine1] 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 + fun debtorAddressLine1(debtorAddressLine1: JsonField) = apply { + this.debtorAddressLine1 = debtorAddressLine1 } + /** A free-form address field set by the sender. */ + fun debtorAddressLine2(debtorAddressLine2: String?) = + debtorAddressLine2(JsonField.ofNullable(debtorAddressLine2)) + /** - * A free-form reference string set by the sender, to help identify the transfer. + * Alias for calling [Builder.debtorAddressLine2] with + * `debtorAddressLine2.orElse(null)`. */ - fun beneficiaryReference(beneficiaryReference: String?) = - beneficiaryReference(JsonField.ofNullable(beneficiaryReference)) + fun debtorAddressLine2(debtorAddressLine2: Optional) = + debtorAddressLine2(debtorAddressLine2.getOrNull()) /** - * Alias for calling [Builder.beneficiaryReference] with - * `beneficiaryReference.orElse(null)`. + * Sets [Builder.debtorAddressLine2] to an arbitrary JSON value. + * + * You should usually call [Builder.debtorAddressLine2] 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: Optional) = - beneficiaryReference(beneficiaryReference.getOrNull()) + fun debtorAddressLine2(debtorAddressLine2: JsonField) = apply { + this.debtorAddressLine2 = debtorAddressLine2 + } + + /** A free-form address field set by the sender. */ + fun debtorAddressLine3(debtorAddressLine3: String?) = + debtorAddressLine3(JsonField.ofNullable(debtorAddressLine3)) /** - * Sets [Builder.beneficiaryReference] to an arbitrary JSON value. + * Alias for calling [Builder.debtorAddressLine3] with + * `debtorAddressLine3.orElse(null)`. + */ + fun debtorAddressLine3(debtorAddressLine3: Optional) = + debtorAddressLine3(debtorAddressLine3.getOrNull()) + + /** + * Sets [Builder.debtorAddressLine3] to an arbitrary JSON value. * - * You should usually call [Builder.beneficiaryReference] with a well-typed [String] + * You should usually call [Builder.debtorAddressLine3] 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 + fun debtorAddressLine3(debtorAddressLine3: JsonField) = apply { + this.debtorAddressLine3 = debtorAddressLine3 + } + + /** A name set by the sender. */ + fun debtorName(debtorName: String?) = debtorName(JsonField.ofNullable(debtorName)) + + /** Alias for calling [Builder.debtorName] with `debtorName.orElse(null)`. */ + fun debtorName(debtorName: Optional) = debtorName(debtorName.getOrNull()) + + /** + * Sets [Builder.debtorName] to an arbitrary JSON value. + * + * You should usually call [Builder.debtorName] with a well-typed [String] value + * instead. This method is primarily for setting the field to an undocumented or not + * yet supported value. + */ + fun debtorName(debtorName: JsonField) = apply { + this.debtorName = debtorName } /** An Increase-constructed description of the transfer. */ @@ -37348,6 +37338,30 @@ private constructor( this.description = description } + /** + * A free-form reference string set by the sender, to help identify the transfer. + */ + fun endToEndIdentification(endToEndIdentification: String?) = + endToEndIdentification(JsonField.ofNullable(endToEndIdentification)) + + /** + * Alias for calling [Builder.endToEndIdentification] with + * `endToEndIdentification.orElse(null)`. + */ + fun endToEndIdentification(endToEndIdentification: Optional) = + endToEndIdentification(endToEndIdentification.getOrNull()) + + /** + * Sets [Builder.endToEndIdentification] to an arbitrary JSON value. + * + * You should usually call [Builder.endToEndIdentification] with a well-typed + * [String] value instead. This method is primarily for setting the field to an + * undocumented or not yet supported value. + */ + fun endToEndIdentification(endToEndIdentification: JsonField) = apply { + this.endToEndIdentification = endToEndIdentification + } + /** * A unique identifier available to the originating and receiving banks, commonly * abbreviated as IMAD. It is created when the wire is submitted to the Fedwire @@ -37377,298 +37391,131 @@ private constructor( inputMessageAccountabilityData: JsonField ) = apply { this.inputMessageAccountabilityData = inputMessageAccountabilityData } - /** 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)`. + * The American Banking Association (ABA) routing number of the bank that sent the + * wire. */ - 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)) + fun instructingAgentRoutingNumber(instructingAgentRoutingNumber: String?) = + instructingAgentRoutingNumber( + JsonField.ofNullable(instructingAgentRoutingNumber) + ) /** - * Alias for calling [Builder.originatorAddressLine2] with - * `originatorAddressLine2.orElse(null)`. + * Alias for calling [Builder.instructingAgentRoutingNumber] with + * `instructingAgentRoutingNumber.orElse(null)`. */ - fun originatorAddressLine2(originatorAddressLine2: Optional) = - originatorAddressLine2(originatorAddressLine2.getOrNull()) + fun instructingAgentRoutingNumber(instructingAgentRoutingNumber: Optional) = + instructingAgentRoutingNumber(instructingAgentRoutingNumber.getOrNull()) /** - * Sets [Builder.originatorAddressLine2] to an arbitrary JSON value. + * Sets [Builder.instructingAgentRoutingNumber] to an arbitrary JSON value. * - * You should usually call [Builder.originatorAddressLine2] with a well-typed + * You should usually call [Builder.instructingAgentRoutingNumber] 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 - } + fun instructingAgentRoutingNumber( + instructingAgentRoutingNumber: JsonField + ) = apply { this.instructingAgentRoutingNumber = instructingAgentRoutingNumber } - /** The address of the wire originator, set by the sending bank. */ - fun originatorAddressLine3(originatorAddressLine3: String?) = - originatorAddressLine3(JsonField.ofNullable(originatorAddressLine3)) + /** The sending bank's identifier for the wire transfer. */ + fun instructionIdentification(instructionIdentification: String?) = + instructionIdentification(JsonField.ofNullable(instructionIdentification)) /** - * Alias for calling [Builder.originatorAddressLine3] with - * `originatorAddressLine3.orElse(null)`. + * Alias for calling [Builder.instructionIdentification] with + * `instructionIdentification.orElse(null)`. */ - fun originatorAddressLine3(originatorAddressLine3: Optional) = - originatorAddressLine3(originatorAddressLine3.getOrNull()) + fun instructionIdentification(instructionIdentification: Optional) = + instructionIdentification(instructionIdentification.getOrNull()) /** - * Sets [Builder.originatorAddressLine3] to an arbitrary JSON value. + * Sets [Builder.instructionIdentification] to an arbitrary JSON value. * - * You should usually call [Builder.originatorAddressLine3] with a well-typed + * You should usually call [Builder.instructionIdentification] 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)) + fun instructionIdentification(instructionIdentification: JsonField) = + apply { + this.instructionIdentification = instructionIdentification + } - /** - * Alias for calling [Builder.originatorName] with `originatorName.orElse(null)`. - */ - fun originatorName(originatorName: Optional) = - originatorName(originatorName.getOrNull()) + /** The ID of the Inbound Wire Transfer object that resulted in this Transaction. */ + fun transferId(transferId: String) = transferId(JsonField.of(transferId)) /** - * Sets [Builder.originatorName] to an arbitrary JSON value. + * Sets [Builder.transferId] to an arbitrary JSON value. * - * You should usually call [Builder.originatorName] with a well-typed [String] value + * You should usually call [Builder.transferId] 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 + fun transferId(transferId: JsonField) = apply { + this.transferId = transferId } - /** 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)`. + * The Unique End-to-end Transaction Reference + * ([UETR](https://www.swift.com/payments/what-unique-end-end-transaction-reference-uetr)) + * of the transfer. */ - fun originatorToBeneficiaryInformationLine2( - originatorToBeneficiaryInformationLine2: Optional + fun uniqueEndToEndTransactionReference( + uniqueEndToEndTransactionReference: String? ) = - originatorToBeneficiaryInformationLine2( - originatorToBeneficiaryInformationLine2.getOrNull() + uniqueEndToEndTransactionReference( + JsonField.ofNullable(uniqueEndToEndTransactionReference) ) /** - * 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)`. + * Alias for calling [Builder.uniqueEndToEndTransactionReference] with + * `uniqueEndToEndTransactionReference.orElse(null)`. */ - fun originatorToBeneficiaryInformationLine3( - originatorToBeneficiaryInformationLine3: Optional + fun uniqueEndToEndTransactionReference( + uniqueEndToEndTransactionReference: Optional ) = - originatorToBeneficiaryInformationLine3( - originatorToBeneficiaryInformationLine3.getOrNull() + uniqueEndToEndTransactionReference( + uniqueEndToEndTransactionReference.getOrNull() ) /** - * Sets [Builder.originatorToBeneficiaryInformationLine3] to an arbitrary JSON - * value. + * Sets [Builder.uniqueEndToEndTransactionReference] to an arbitrary JSON value. * - * You should usually call [Builder.originatorToBeneficiaryInformationLine3] with a + * You should usually call [Builder.uniqueEndToEndTransactionReference] 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 + fun uniqueEndToEndTransactionReference( + uniqueEndToEndTransactionReference: JsonField ) = apply { - this.originatorToBeneficiaryInformationLine3 = - originatorToBeneficiaryInformationLine3 + this.uniqueEndToEndTransactionReference = uniqueEndToEndTransactionReference } - /** A free-form message set by the wire originator. */ - fun originatorToBeneficiaryInformationLine4( - originatorToBeneficiaryInformationLine4: String? - ) = - originatorToBeneficiaryInformationLine4( - JsonField.ofNullable(originatorToBeneficiaryInformationLine4) + /** A free-form message set by the sender. */ + fun unstructuredRemittanceInformation(unstructuredRemittanceInformation: String?) = + unstructuredRemittanceInformation( + JsonField.ofNullable(unstructuredRemittanceInformation) ) /** - * Alias for calling [Builder.originatorToBeneficiaryInformationLine4] with - * `originatorToBeneficiaryInformationLine4.orElse(null)`. + * Alias for calling [Builder.unstructuredRemittanceInformation] with + * `unstructuredRemittanceInformation.orElse(null)`. */ - fun originatorToBeneficiaryInformationLine4( - originatorToBeneficiaryInformationLine4: Optional - ) = - originatorToBeneficiaryInformationLine4( - originatorToBeneficiaryInformationLine4.getOrNull() - ) + fun unstructuredRemittanceInformation( + unstructuredRemittanceInformation: Optional + ) = unstructuredRemittanceInformation(unstructuredRemittanceInformation.getOrNull()) /** - * Sets [Builder.originatorToBeneficiaryInformationLine4] to an arbitrary JSON - * value. + * Sets [Builder.unstructuredRemittanceInformation] to an arbitrary JSON value. * - * You should usually call [Builder.originatorToBeneficiaryInformationLine4] with a + * You should usually call [Builder.unstructuredRemittanceInformation] 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 + fun unstructuredRemittanceInformation( + unstructuredRemittanceInformation: JsonField ) = apply { - this.originatorToBeneficiaryInformationLine4 = - originatorToBeneficiaryInformationLine4 - } - - /** The ID of the Inbound Wire Transfer object that resulted in this Transaction. */ - fun transferId(transferId: String) = transferId(JsonField.of(transferId)) - - /** - * Sets [Builder.transferId] to an arbitrary JSON value. - * - * You should usually call [Builder.transferId] with a well-typed [String] value - * instead. This method is primarily for setting the field to an undocumented or not - * yet supported value. - */ - fun transferId(transferId: JsonField) = apply { - this.transferId = transferId + this.unstructuredRemittanceInformation = unstructuredRemittanceInformation } fun additionalProperties(additionalProperties: Map) = apply { @@ -37701,24 +37548,22 @@ private constructor( * The following fields are required: * ```java * .amount() - * .beneficiaryAddressLine1() - * .beneficiaryAddressLine2() - * .beneficiaryAddressLine3() - * .beneficiaryName() - * .beneficiaryReference() + * .creditorAddressLine1() + * .creditorAddressLine2() + * .creditorAddressLine3() + * .creditorName() + * .debtorAddressLine1() + * .debtorAddressLine2() + * .debtorAddressLine3() + * .debtorName() * .description() + * .endToEndIdentification() * .inputMessageAccountabilityData() - * .originatorAddressLine1() - * .originatorAddressLine2() - * .originatorAddressLine3() - * .originatorName() - * .originatorRoutingNumber() - * .originatorToBeneficiaryInformation() - * .originatorToBeneficiaryInformationLine1() - * .originatorToBeneficiaryInformationLine2() - * .originatorToBeneficiaryInformationLine3() - * .originatorToBeneficiaryInformationLine4() + * .instructingAgentRoutingNumber() + * .instructionIdentification() * .transferId() + * .uniqueEndToEndTransactionReference() + * .unstructuredRemittanceInformation() * ``` * * @throws IllegalStateException if any required field is unset. @@ -37726,42 +37571,34 @@ private constructor( fun build(): InboundWireTransfer = InboundWireTransfer( checkRequired("amount", amount), - checkRequired("beneficiaryAddressLine1", beneficiaryAddressLine1), - checkRequired("beneficiaryAddressLine2", beneficiaryAddressLine2), - checkRequired("beneficiaryAddressLine3", beneficiaryAddressLine3), - checkRequired("beneficiaryName", beneficiaryName), - checkRequired("beneficiaryReference", beneficiaryReference), + checkRequired("creditorAddressLine1", creditorAddressLine1), + checkRequired("creditorAddressLine2", creditorAddressLine2), + checkRequired("creditorAddressLine3", creditorAddressLine3), + checkRequired("creditorName", creditorName), + checkRequired("debtorAddressLine1", debtorAddressLine1), + checkRequired("debtorAddressLine2", debtorAddressLine2), + checkRequired("debtorAddressLine3", debtorAddressLine3), + checkRequired("debtorName", debtorName), checkRequired("description", description), + checkRequired("endToEndIdentification", endToEndIdentification), checkRequired( "inputMessageAccountabilityData", inputMessageAccountabilityData, ), - checkRequired("originatorAddressLine1", originatorAddressLine1), - checkRequired("originatorAddressLine2", originatorAddressLine2), - checkRequired("originatorAddressLine3", originatorAddressLine3), - checkRequired("originatorName", originatorName), - checkRequired("originatorRoutingNumber", originatorRoutingNumber), - checkRequired( - "originatorToBeneficiaryInformation", - originatorToBeneficiaryInformation, - ), - checkRequired( - "originatorToBeneficiaryInformationLine1", - originatorToBeneficiaryInformationLine1, - ), checkRequired( - "originatorToBeneficiaryInformationLine2", - originatorToBeneficiaryInformationLine2, + "instructingAgentRoutingNumber", + instructingAgentRoutingNumber, ), + checkRequired("instructionIdentification", instructionIdentification), + checkRequired("transferId", transferId), checkRequired( - "originatorToBeneficiaryInformationLine3", - originatorToBeneficiaryInformationLine3, + "uniqueEndToEndTransactionReference", + uniqueEndToEndTransactionReference, ), checkRequired( - "originatorToBeneficiaryInformationLine4", - originatorToBeneficiaryInformationLine4, + "unstructuredRemittanceInformation", + unstructuredRemittanceInformation, ), - checkRequired("transferId", transferId), additionalProperties.toMutableMap(), ) } @@ -37774,24 +37611,22 @@ private constructor( } amount() - beneficiaryAddressLine1() - beneficiaryAddressLine2() - beneficiaryAddressLine3() - beneficiaryName() - beneficiaryReference() + creditorAddressLine1() + creditorAddressLine2() + creditorAddressLine3() + creditorName() + debtorAddressLine1() + debtorAddressLine2() + debtorAddressLine3() + debtorName() description() + endToEndIdentification() inputMessageAccountabilityData() - originatorAddressLine1() - originatorAddressLine2() - originatorAddressLine3() - originatorName() - originatorRoutingNumber() - originatorToBeneficiaryInformation() - originatorToBeneficiaryInformationLine1() - originatorToBeneficiaryInformationLine2() - originatorToBeneficiaryInformationLine3() - originatorToBeneficiaryInformationLine4() + instructingAgentRoutingNumber() + instructionIdentification() transferId() + uniqueEndToEndTransactionReference() + unstructuredRemittanceInformation() validated = true } @@ -37812,24 +37647,22 @@ private constructor( @JvmSynthetic internal fun validity(): Int = (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 (creditorAddressLine1.asKnown().isPresent) 1 else 0) + + (if (creditorAddressLine2.asKnown().isPresent) 1 else 0) + + (if (creditorAddressLine3.asKnown().isPresent) 1 else 0) + + (if (creditorName.asKnown().isPresent) 1 else 0) + + (if (debtorAddressLine1.asKnown().isPresent) 1 else 0) + + (if (debtorAddressLine2.asKnown().isPresent) 1 else 0) + + (if (debtorAddressLine3.asKnown().isPresent) 1 else 0) + + (if (debtorName.asKnown().isPresent) 1 else 0) + (if (description.asKnown().isPresent) 1 else 0) + + (if (endToEndIdentification.asKnown().isPresent) 1 else 0) + (if (inputMessageAccountabilityData.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) + - (if (transferId.asKnown().isPresent) 1 else 0) + (if (instructingAgentRoutingNumber.asKnown().isPresent) 1 else 0) + + (if (instructionIdentification.asKnown().isPresent) 1 else 0) + + (if (transferId.asKnown().isPresent) 1 else 0) + + (if (uniqueEndToEndTransactionReference.asKnown().isPresent) 1 else 0) + + (if (unstructuredRemittanceInformation.asKnown().isPresent) 1 else 0) override fun equals(other: Any?): Boolean { if (this === other) { @@ -37838,53 +37671,45 @@ private constructor( return other is InboundWireTransfer && amount == other.amount && - beneficiaryAddressLine1 == other.beneficiaryAddressLine1 && - beneficiaryAddressLine2 == other.beneficiaryAddressLine2 && - beneficiaryAddressLine3 == other.beneficiaryAddressLine3 && - beneficiaryName == other.beneficiaryName && - beneficiaryReference == other.beneficiaryReference && + creditorAddressLine1 == other.creditorAddressLine1 && + creditorAddressLine2 == other.creditorAddressLine2 && + creditorAddressLine3 == other.creditorAddressLine3 && + creditorName == other.creditorName && + debtorAddressLine1 == other.debtorAddressLine1 && + debtorAddressLine2 == other.debtorAddressLine2 && + debtorAddressLine3 == other.debtorAddressLine3 && + debtorName == other.debtorName && description == other.description && + endToEndIdentification == other.endToEndIdentification && inputMessageAccountabilityData == other.inputMessageAccountabilityData && - 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 && + instructingAgentRoutingNumber == other.instructingAgentRoutingNumber && + instructionIdentification == other.instructionIdentification && transferId == other.transferId && + uniqueEndToEndTransactionReference == + other.uniqueEndToEndTransactionReference && + unstructuredRemittanceInformation == other.unstructuredRemittanceInformation && additionalProperties == other.additionalProperties } private val hashCode: Int by lazy { Objects.hash( amount, - beneficiaryAddressLine1, - beneficiaryAddressLine2, - beneficiaryAddressLine3, - beneficiaryName, - beneficiaryReference, + creditorAddressLine1, + creditorAddressLine2, + creditorAddressLine3, + creditorName, + debtorAddressLine1, + debtorAddressLine2, + debtorAddressLine3, + debtorName, description, + endToEndIdentification, inputMessageAccountabilityData, - originatorAddressLine1, - originatorAddressLine2, - originatorAddressLine3, - originatorName, - originatorRoutingNumber, - originatorToBeneficiaryInformation, - originatorToBeneficiaryInformationLine1, - originatorToBeneficiaryInformationLine2, - originatorToBeneficiaryInformationLine3, - originatorToBeneficiaryInformationLine4, + instructingAgentRoutingNumber, + instructionIdentification, transferId, + uniqueEndToEndTransactionReference, + unstructuredRemittanceInformation, additionalProperties, ) } @@ -37892,7 +37717,7 @@ private constructor( override fun hashCode(): Int = hashCode override fun toString() = - "InboundWireTransfer{amount=$amount, beneficiaryAddressLine1=$beneficiaryAddressLine1, beneficiaryAddressLine2=$beneficiaryAddressLine2, beneficiaryAddressLine3=$beneficiaryAddressLine3, beneficiaryName=$beneficiaryName, beneficiaryReference=$beneficiaryReference, description=$description, inputMessageAccountabilityData=$inputMessageAccountabilityData, originatorAddressLine1=$originatorAddressLine1, originatorAddressLine2=$originatorAddressLine2, originatorAddressLine3=$originatorAddressLine3, originatorName=$originatorName, originatorRoutingNumber=$originatorRoutingNumber, originatorToBeneficiaryInformation=$originatorToBeneficiaryInformation, originatorToBeneficiaryInformationLine1=$originatorToBeneficiaryInformationLine1, originatorToBeneficiaryInformationLine2=$originatorToBeneficiaryInformationLine2, originatorToBeneficiaryInformationLine3=$originatorToBeneficiaryInformationLine3, originatorToBeneficiaryInformationLine4=$originatorToBeneficiaryInformationLine4, transferId=$transferId, additionalProperties=$additionalProperties}" + "InboundWireTransfer{amount=$amount, 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, transferId=$transferId, uniqueEndToEndTransactionReference=$uniqueEndToEndTransactionReference, unstructuredRemittanceInformation=$unstructuredRemittanceInformation, additionalProperties=$additionalProperties}" } /** 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 24751efb0..0eb4f0040 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 @@ -838,24 +838,22 @@ internal class TransactionListPageResponseTest { .inboundWireTransfer( Transaction.Source.InboundWireTransfer.builder() .amount(100L) - .beneficiaryAddressLine1(null) - .beneficiaryAddressLine2(null) - .beneficiaryAddressLine3(null) - .beneficiaryName(null) - .beneficiaryReference(null) + .creditorAddressLine1(null) + .creditorAddressLine2(null) + .creditorAddressLine3(null) + .creditorName(null) + .debtorAddressLine1(null) + .debtorAddressLine2(null) + .debtorAddressLine3(null) + .debtorName(null) .description("Inbound wire transfer") + .endToEndIdentification(null) .inputMessageAccountabilityData(null) - .originatorAddressLine1(null) - .originatorAddressLine2(null) - .originatorAddressLine3(null) - .originatorName(null) - .originatorRoutingNumber(null) - .originatorToBeneficiaryInformation(null) - .originatorToBeneficiaryInformationLine1(null) - .originatorToBeneficiaryInformationLine2(null) - .originatorToBeneficiaryInformationLine3(null) - .originatorToBeneficiaryInformationLine4(null) + .instructingAgentRoutingNumber(null) + .instructionIdentification(null) .transferId("inbound_wire_transfer_f228m6bmhtcxjco9pwp0") + .uniqueEndToEndTransactionReference(null) + .unstructuredRemittanceInformation(null) .build() ) .inboundWireTransferReversal( @@ -1714,24 +1712,22 @@ internal class TransactionListPageResponseTest { .inboundWireTransfer( Transaction.Source.InboundWireTransfer.builder() .amount(100L) - .beneficiaryAddressLine1(null) - .beneficiaryAddressLine2(null) - .beneficiaryAddressLine3(null) - .beneficiaryName(null) - .beneficiaryReference(null) + .creditorAddressLine1(null) + .creditorAddressLine2(null) + .creditorAddressLine3(null) + .creditorName(null) + .debtorAddressLine1(null) + .debtorAddressLine2(null) + .debtorAddressLine3(null) + .debtorName(null) .description("Inbound wire transfer") + .endToEndIdentification(null) .inputMessageAccountabilityData(null) - .originatorAddressLine1(null) - .originatorAddressLine2(null) - .originatorAddressLine3(null) - .originatorName(null) - .originatorRoutingNumber(null) - .originatorToBeneficiaryInformation(null) - .originatorToBeneficiaryInformationLine1(null) - .originatorToBeneficiaryInformationLine2(null) - .originatorToBeneficiaryInformationLine3(null) - .originatorToBeneficiaryInformationLine4(null) + .instructingAgentRoutingNumber(null) + .instructionIdentification(null) .transferId("inbound_wire_transfer_f228m6bmhtcxjco9pwp0") + .uniqueEndToEndTransactionReference(null) + .unstructuredRemittanceInformation(null) .build() ) .inboundWireTransferReversal( @@ -2626,24 +2622,22 @@ internal class TransactionListPageResponseTest { .inboundWireTransfer( Transaction.Source.InboundWireTransfer.builder() .amount(100L) - .beneficiaryAddressLine1(null) - .beneficiaryAddressLine2(null) - .beneficiaryAddressLine3(null) - .beneficiaryName(null) - .beneficiaryReference(null) + .creditorAddressLine1(null) + .creditorAddressLine2(null) + .creditorAddressLine3(null) + .creditorName(null) + .debtorAddressLine1(null) + .debtorAddressLine2(null) + .debtorAddressLine3(null) + .debtorName(null) .description("Inbound wire transfer") + .endToEndIdentification(null) .inputMessageAccountabilityData(null) - .originatorAddressLine1(null) - .originatorAddressLine2(null) - .originatorAddressLine3(null) - .originatorName(null) - .originatorRoutingNumber(null) - .originatorToBeneficiaryInformation(null) - .originatorToBeneficiaryInformationLine1(null) - .originatorToBeneficiaryInformationLine2(null) - .originatorToBeneficiaryInformationLine3(null) - .originatorToBeneficiaryInformationLine4(null) + .instructingAgentRoutingNumber(null) + .instructionIdentification(null) .transferId("inbound_wire_transfer_f228m6bmhtcxjco9pwp0") + .uniqueEndToEndTransactionReference(null) + .unstructuredRemittanceInformation(null) .build() ) .inboundWireTransferReversal( 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 fc74a687c..fb8393fa6 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 @@ -761,24 +761,22 @@ internal class TransactionTest { .inboundWireTransfer( Transaction.Source.InboundWireTransfer.builder() .amount(100L) - .beneficiaryAddressLine1(null) - .beneficiaryAddressLine2(null) - .beneficiaryAddressLine3(null) - .beneficiaryName(null) - .beneficiaryReference(null) + .creditorAddressLine1(null) + .creditorAddressLine2(null) + .creditorAddressLine3(null) + .creditorName(null) + .debtorAddressLine1(null) + .debtorAddressLine2(null) + .debtorAddressLine3(null) + .debtorName(null) .description("Inbound wire transfer") + .endToEndIdentification(null) .inputMessageAccountabilityData(null) - .originatorAddressLine1(null) - .originatorAddressLine2(null) - .originatorAddressLine3(null) - .originatorName(null) - .originatorRoutingNumber(null) - .originatorToBeneficiaryInformation(null) - .originatorToBeneficiaryInformationLine1(null) - .originatorToBeneficiaryInformationLine2(null) - .originatorToBeneficiaryInformationLine3(null) - .originatorToBeneficiaryInformationLine4(null) + .instructingAgentRoutingNumber(null) + .instructionIdentification(null) .transferId("inbound_wire_transfer_f228m6bmhtcxjco9pwp0") + .uniqueEndToEndTransactionReference(null) + .unstructuredRemittanceInformation(null) .build() ) .inboundWireTransferReversal( @@ -1539,24 +1537,22 @@ internal class TransactionTest { .inboundWireTransfer( Transaction.Source.InboundWireTransfer.builder() .amount(100L) - .beneficiaryAddressLine1(null) - .beneficiaryAddressLine2(null) - .beneficiaryAddressLine3(null) - .beneficiaryName(null) - .beneficiaryReference(null) + .creditorAddressLine1(null) + .creditorAddressLine2(null) + .creditorAddressLine3(null) + .creditorName(null) + .debtorAddressLine1(null) + .debtorAddressLine2(null) + .debtorAddressLine3(null) + .debtorName(null) .description("Inbound wire transfer") + .endToEndIdentification(null) .inputMessageAccountabilityData(null) - .originatorAddressLine1(null) - .originatorAddressLine2(null) - .originatorAddressLine3(null) - .originatorName(null) - .originatorRoutingNumber(null) - .originatorToBeneficiaryInformation(null) - .originatorToBeneficiaryInformationLine1(null) - .originatorToBeneficiaryInformationLine2(null) - .originatorToBeneficiaryInformationLine3(null) - .originatorToBeneficiaryInformationLine4(null) + .instructingAgentRoutingNumber(null) + .instructionIdentification(null) .transferId("inbound_wire_transfer_f228m6bmhtcxjco9pwp0") + .uniqueEndToEndTransactionReference(null) + .unstructuredRemittanceInformation(null) .build() ) .inboundWireTransferReversal( @@ -2367,24 +2363,22 @@ internal class TransactionTest { .inboundWireTransfer( Transaction.Source.InboundWireTransfer.builder() .amount(100L) - .beneficiaryAddressLine1(null) - .beneficiaryAddressLine2(null) - .beneficiaryAddressLine3(null) - .beneficiaryName(null) - .beneficiaryReference(null) + .creditorAddressLine1(null) + .creditorAddressLine2(null) + .creditorAddressLine3(null) + .creditorName(null) + .debtorAddressLine1(null) + .debtorAddressLine2(null) + .debtorAddressLine3(null) + .debtorName(null) .description("Inbound wire transfer") + .endToEndIdentification(null) .inputMessageAccountabilityData(null) - .originatorAddressLine1(null) - .originatorAddressLine2(null) - .originatorAddressLine3(null) - .originatorName(null) - .originatorRoutingNumber(null) - .originatorToBeneficiaryInformation(null) - .originatorToBeneficiaryInformationLine1(null) - .originatorToBeneficiaryInformationLine2(null) - .originatorToBeneficiaryInformationLine3(null) - .originatorToBeneficiaryInformationLine4(null) + .instructingAgentRoutingNumber(null) + .instructionIdentification(null) .transferId("inbound_wire_transfer_f228m6bmhtcxjco9pwp0") + .uniqueEndToEndTransactionReference(null) + .unstructuredRemittanceInformation(null) .build() ) .inboundWireTransferReversal(