diff --git a/.release-please-manifest.json b/.release-please-manifest.json index bb57c8a49..0c3706a77 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.291.0" + ".": "0.292.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index fd1dcd264..7e9d89ef1 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-3db2c20491e1218b324938f048e489f800270f608505ac2293f66d1691294f4f.yml -openapi_spec_hash: d821b4d13c8fc8257b34a544515e91f7 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-b6af0e334922042aa3906776c1e9ddf8cd789c43597cf1c1afd1ed331c350586.yml +openapi_spec_hash: c65d4f39d2a971c60c9671444282ebe9 config_hash: 0b0a2503208283b283fc5bc6df6a07a5 diff --git a/CHANGELOG.md b/CHANGELOG.md index 8937371fa..1d80a5c56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 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) + +### Features + +* **api:** api update ([c6023da](https://github.com/Increase/increase-java/commit/c6023da7af7387079f103d2366d8d161603e0abc)) + ## 0.291.0 (2025-08-20) Full Changelog: [v0.290.0...v0.291.0](https://github.com/Increase/increase-java/compare/v0.290.0...v0.291.0) diff --git a/README.md b/README.md index d3cbbeec8..0efbc2d4e 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.291.0) -[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.291.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.291.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.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) @@ -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.291.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.292.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.291.0") +implementation("com.increase.api:increase-java:0.292.0") ``` ### Maven @@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.291.0") com.increase.api increase-java - 0.291.0 + 0.292.0 ``` diff --git a/build.gradle.kts b/build.gradle.kts index 1bc75e736..86b2234f4 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ repositories { allprojects { group = "com.increase.api" - version = "0.291.0" // x-release-please-version + version = "0.292.0" // x-release-please-version } subprojects { diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundwiretransfers/InboundWireTransferCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundwiretransfers/InboundWireTransferCreateParams.kt index fba1e30d4..d958d1d97 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundwiretransfers/InboundWireTransferCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundwiretransfers/InboundWireTransferCreateParams.kt @@ -44,140 +44,121 @@ private constructor( fun amount(): Long = body.amount() /** - * The sending bank will set beneficiary_address_line1 in production. You can simulate any value + * The sending bank will set creditor_address_line1 in production. You can simulate any value * here. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the * server responded with an unexpected value). */ - fun beneficiaryAddressLine1(): Optional = body.beneficiaryAddressLine1() + fun creditorAddressLine1(): Optional = body.creditorAddressLine1() /** - * The sending bank will set beneficiary_address_line2 in production. You can simulate any value + * The sending bank will set creditor_address_line2 in production. You can simulate any value * here. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the * server responded with an unexpected value). */ - fun beneficiaryAddressLine2(): Optional = body.beneficiaryAddressLine2() + fun creditorAddressLine2(): Optional = body.creditorAddressLine2() /** - * The sending bank will set beneficiary_address_line3 in production. You can simulate any value + * The sending bank will set creditor_address_line3 in production. You can simulate any value * here. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the * server responded with an unexpected value). */ - fun beneficiaryAddressLine3(): Optional = body.beneficiaryAddressLine3() + fun creditorAddressLine3(): Optional = body.creditorAddressLine3() /** - * The sending bank will set beneficiary_name in production. You can simulate any value here. + * The sending bank will set creditor_name in production. You can simulate any value here. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the * server responded with an unexpected value). */ - fun beneficiaryName(): Optional = body.beneficiaryName() + fun creditorName(): Optional = body.creditorName() /** - * The sending bank will set beneficiary_reference in production. You can simulate any value + * The sending bank will set debtor_address_line1 in production. You can simulate any value * here. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the * server responded with an unexpected value). */ - fun beneficiaryReference(): Optional = body.beneficiaryReference() + fun debtorAddressLine1(): Optional = body.debtorAddressLine1() /** - * The sending bank will set originator_address_line1 in production. You can simulate any value + * The sending bank will set debtor_address_line2 in production. You can simulate any value * here. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the * server responded with an unexpected value). */ - fun originatorAddressLine1(): Optional = body.originatorAddressLine1() + fun debtorAddressLine2(): Optional = body.debtorAddressLine2() /** - * The sending bank will set originator_address_line2 in production. You can simulate any value + * The sending bank will set debtor_address_line3 in production. You can simulate any value * here. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the * server responded with an unexpected value). */ - fun originatorAddressLine2(): Optional = body.originatorAddressLine2() + fun debtorAddressLine3(): Optional = body.debtorAddressLine3() /** - * The sending bank will set originator_address_line3 in production. You can simulate any value - * here. - * - * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the - * server responded with an unexpected value). - */ - fun originatorAddressLine3(): Optional = body.originatorAddressLine3() - - /** - * The sending bank will set originator_name in production. You can simulate any value here. + * The sending bank will set debtor_name in production. You can simulate any value here. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the * server responded with an unexpected value). */ - fun originatorName(): Optional = body.originatorName() + fun debtorName(): Optional = body.debtorName() /** - * The sending bank will set originator_routing_number in production. You can simulate any value + * The sending bank will set end_to_end_identification in production. You can simulate any value * here. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the * server responded with an unexpected value). */ - fun originatorRoutingNumber(): Optional = body.originatorRoutingNumber() + fun endToEndIdentification(): Optional = body.endToEndIdentification() /** - * The sending bank will set originator_to_beneficiary_information_line1 in production. You can - * simulate any value here. + * The sending bank will set instructing_agent_routing_number in production. You can simulate + * any value here. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the * server responded with an unexpected value). */ - fun originatorToBeneficiaryInformationLine1(): Optional = - body.originatorToBeneficiaryInformationLine1() + fun instructingAgentRoutingNumber(): Optional = body.instructingAgentRoutingNumber() /** - * The sending bank will set originator_to_beneficiary_information_line2 in production. You can - * simulate any value here. + * The sending bank will set instruction_identification in production. You can simulate any + * value here. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the * server responded with an unexpected value). */ - fun originatorToBeneficiaryInformationLine2(): Optional = - body.originatorToBeneficiaryInformationLine2() + fun instructionIdentification(): Optional = body.instructionIdentification() /** - * The sending bank will set originator_to_beneficiary_information_line3 in production. You can + * The sending bank will set unique_end_to_end_transaction_reference in production. You can * simulate any value here. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the * server responded with an unexpected value). */ - fun originatorToBeneficiaryInformationLine3(): Optional = - body.originatorToBeneficiaryInformationLine3() + fun uniqueEndToEndTransactionReference(): Optional = + body.uniqueEndToEndTransactionReference() /** - * The sending bank will set originator_to_beneficiary_information_line4 in production. You can - * simulate any value here. + * The sending bank will set unstructured_remittance_information in production. You can simulate + * any value here. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the * server responded with an unexpected value). */ - fun originatorToBeneficiaryInformationLine4(): Optional = - body.originatorToBeneficiaryInformationLine4() - - /** - * The sending bank will set sender_reference in production. You can simulate any value here. - * - * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the - * server responded with an unexpected value). - */ - fun senderReference(): Optional = body.senderReference() + fun unstructuredRemittanceInformation(): Optional = + body.unstructuredRemittanceInformation() /** * The identifier of a Wire Drawdown Request the inbound Wire Transfer is fulfilling. @@ -202,125 +183,108 @@ private constructor( fun _amount(): JsonField = body._amount() /** - * Returns the raw JSON value of [beneficiaryAddressLine1]. + * Returns the raw JSON value of [creditorAddressLine1]. * - * Unlike [beneficiaryAddressLine1], this method doesn't throw if the JSON field has an - * unexpected type. + * Unlike [creditorAddressLine1], this method doesn't throw if the JSON field has an unexpected + * type. */ - fun _beneficiaryAddressLine1(): JsonField = body._beneficiaryAddressLine1() + fun _creditorAddressLine1(): JsonField = body._creditorAddressLine1() /** - * Returns the raw JSON value of [beneficiaryAddressLine2]. + * Returns the raw JSON value of [creditorAddressLine2]. * - * Unlike [beneficiaryAddressLine2], this method doesn't throw if the JSON field has an - * unexpected type. + * Unlike [creditorAddressLine2], this method doesn't throw if the JSON field has an unexpected + * type. */ - fun _beneficiaryAddressLine2(): JsonField = body._beneficiaryAddressLine2() + fun _creditorAddressLine2(): JsonField = body._creditorAddressLine2() /** - * Returns the raw JSON value of [beneficiaryAddressLine3]. + * Returns the raw JSON value of [creditorAddressLine3]. * - * Unlike [beneficiaryAddressLine3], this method doesn't throw if the JSON field has an - * unexpected type. + * Unlike [creditorAddressLine3], this method doesn't throw if the JSON field has an unexpected + * type. */ - fun _beneficiaryAddressLine3(): JsonField = body._beneficiaryAddressLine3() + fun _creditorAddressLine3(): JsonField = body._creditorAddressLine3() /** - * Returns the raw JSON value of [beneficiaryName]. + * Returns the raw JSON value of [creditorName]. * - * Unlike [beneficiaryName], this method doesn't throw if the JSON field has an unexpected type. + * Unlike [creditorName], this method doesn't throw if the JSON field has an unexpected type. */ - fun _beneficiaryName(): JsonField = body._beneficiaryName() + fun _creditorName(): JsonField = body._creditorName() /** - * Returns the raw JSON value of [beneficiaryReference]. + * Returns the raw JSON value of [debtorAddressLine1]. * - * Unlike [beneficiaryReference], this method doesn't throw if the JSON field has an unexpected + * Unlike [debtorAddressLine1], this method doesn't throw if the JSON field has an unexpected * type. */ - fun _beneficiaryReference(): JsonField = body._beneficiaryReference() + fun _debtorAddressLine1(): JsonField = body._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 - * unexpected type. - */ - fun _originatorAddressLine1(): JsonField = body._originatorAddressLine1() - - /** - * Returns the raw JSON value of [originatorAddressLine2]. - * - * Unlike [originatorAddressLine2], this method doesn't throw if the JSON field has an - * unexpected type. + * Unlike [debtorAddressLine2], this method doesn't throw if the JSON field has an unexpected + * type. */ - fun _originatorAddressLine2(): JsonField = body._originatorAddressLine2() + fun _debtorAddressLine2(): JsonField = body._debtorAddressLine2() /** - * Returns the raw JSON value of [originatorAddressLine3]. + * Returns the raw JSON value of [debtorAddressLine3]. * - * Unlike [originatorAddressLine3], this method doesn't throw if the JSON field has an - * unexpected type. + * Unlike [debtorAddressLine3], this method doesn't throw if the JSON field has an unexpected + * type. */ - fun _originatorAddressLine3(): JsonField = body._originatorAddressLine3() + fun _debtorAddressLine3(): JsonField = body._debtorAddressLine3() /** - * Returns the raw JSON value of [originatorName]. + * Returns the raw JSON value of [debtorName]. * - * Unlike [originatorName], 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. */ - fun _originatorName(): JsonField = body._originatorName() + fun _debtorName(): JsonField = body._debtorName() /** - * 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. */ - fun _originatorRoutingNumber(): JsonField = body._originatorRoutingNumber() + fun _endToEndIdentification(): JsonField = body._endToEndIdentification() /** - * 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. - */ - fun _originatorToBeneficiaryInformationLine1(): JsonField = - body._originatorToBeneficiaryInformationLine1() - - /** - * Returns the raw JSON value of [originatorToBeneficiaryInformationLine2]. - * - * Unlike [originatorToBeneficiaryInformationLine2], 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. */ - fun _originatorToBeneficiaryInformationLine2(): JsonField = - body._originatorToBeneficiaryInformationLine2() + fun _instructingAgentRoutingNumber(): JsonField = body._instructingAgentRoutingNumber() /** - * Returns the raw JSON value of [originatorToBeneficiaryInformationLine3]. + * Returns the raw JSON value of [instructionIdentification]. * - * Unlike [originatorToBeneficiaryInformationLine3], 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. */ - fun _originatorToBeneficiaryInformationLine3(): JsonField = - body._originatorToBeneficiaryInformationLine3() + fun _instructionIdentification(): JsonField = body._instructionIdentification() /** - * 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. */ - fun _originatorToBeneficiaryInformationLine4(): JsonField = - body._originatorToBeneficiaryInformationLine4() + fun _uniqueEndToEndTransactionReference(): JsonField = + body._uniqueEndToEndTransactionReference() /** - * Returns the raw JSON value of [senderReference]. + * Returns the raw JSON value of [unstructuredRemittanceInformation]. * - * Unlike [senderReference], 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. */ - fun _senderReference(): JsonField = body._senderReference() + fun _unstructuredRemittanceInformation(): JsonField = + body._unstructuredRemittanceInformation() /** * Returns the raw JSON value of [wireDrawdownRequestId]. @@ -378,9 +342,9 @@ private constructor( * Otherwise, it's more convenient to use the top-level setters instead: * - [accountNumberId] * - [amount] - * - [beneficiaryAddressLine1] - * - [beneficiaryAddressLine2] - * - [beneficiaryAddressLine3] + * - [creditorAddressLine1] + * - [creditorAddressLine2] + * - [creditorAddressLine3] * - etc. */ fun body(body: Body) = apply { this.body = body.toBuilder() } @@ -413,302 +377,242 @@ private constructor( fun amount(amount: JsonField) = apply { body.amount(amount) } /** - * The sending bank will set beneficiary_address_line1 in production. You can simulate any + * The sending bank will set creditor_address_line1 in production. You can simulate any * value here. */ - fun beneficiaryAddressLine1(beneficiaryAddressLine1: String) = apply { - body.beneficiaryAddressLine1(beneficiaryAddressLine1) + fun creditorAddressLine1(creditorAddressLine1: String) = apply { + body.creditorAddressLine1(creditorAddressLine1) } /** - * 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 { - body.beneficiaryAddressLine1(beneficiaryAddressLine1) + fun creditorAddressLine1(creditorAddressLine1: JsonField) = apply { + body.creditorAddressLine1(creditorAddressLine1) } /** - * The sending bank will set beneficiary_address_line2 in production. You can simulate any + * The sending bank will set creditor_address_line2 in production. You can simulate any * value here. */ - fun beneficiaryAddressLine2(beneficiaryAddressLine2: String) = apply { - body.beneficiaryAddressLine2(beneficiaryAddressLine2) + fun creditorAddressLine2(creditorAddressLine2: String) = apply { + body.creditorAddressLine2(creditorAddressLine2) } /** - * 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 { - body.beneficiaryAddressLine2(beneficiaryAddressLine2) + fun creditorAddressLine2(creditorAddressLine2: JsonField) = apply { + body.creditorAddressLine2(creditorAddressLine2) } /** - * The sending bank will set beneficiary_address_line3 in production. You can simulate any + * The sending bank will set creditor_address_line3 in production. You can simulate any * value here. */ - fun beneficiaryAddressLine3(beneficiaryAddressLine3: String) = apply { - body.beneficiaryAddressLine3(beneficiaryAddressLine3) + fun creditorAddressLine3(creditorAddressLine3: String) = apply { + body.creditorAddressLine3(creditorAddressLine3) } /** - * 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 { - body.beneficiaryAddressLine3(beneficiaryAddressLine3) + fun creditorAddressLine3(creditorAddressLine3: JsonField) = apply { + body.creditorAddressLine3(creditorAddressLine3) } /** - * The sending bank will set beneficiary_name in production. You can simulate any value - * here. + * The sending bank will set creditor_name in production. You can simulate any value here. */ - fun beneficiaryName(beneficiaryName: String) = apply { - body.beneficiaryName(beneficiaryName) - } + fun creditorName(creditorName: String) = apply { body.creditorName(creditorName) } /** - * Sets [Builder.beneficiaryName] to an arbitrary JSON value. + * Sets [Builder.creditorName] 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. + * 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: JsonField) = apply { - body.beneficiaryName(beneficiaryName) + fun creditorName(creditorName: JsonField) = apply { + body.creditorName(creditorName) } /** - * The sending bank will set beneficiary_reference in production. You can simulate any value + * The sending bank will set debtor_address_line1 in production. You can simulate any value * here. */ - fun beneficiaryReference(beneficiaryReference: String) = apply { - body.beneficiaryReference(beneficiaryReference) + fun debtorAddressLine1(debtorAddressLine1: String) = apply { + body.debtorAddressLine1(debtorAddressLine1) } /** - * Sets [Builder.beneficiaryReference] to an arbitrary JSON value. + * Sets [Builder.debtorAddressLine1] to an arbitrary JSON value. * - * You should usually call [Builder.beneficiaryReference] with a well-typed [String] value + * 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 beneficiaryReference(beneficiaryReference: JsonField) = apply { - body.beneficiaryReference(beneficiaryReference) + fun debtorAddressLine1(debtorAddressLine1: JsonField) = apply { + body.debtorAddressLine1(debtorAddressLine1) } /** - * The sending bank will set originator_address_line1 in production. You can simulate any - * value here. + * The sending bank will set debtor_address_line2 in production. You can simulate any value + * here. */ - fun originatorAddressLine1(originatorAddressLine1: String) = apply { - body.originatorAddressLine1(originatorAddressLine1) + fun debtorAddressLine2(debtorAddressLine2: String) = apply { + body.debtorAddressLine2(debtorAddressLine2) } /** - * Sets [Builder.originatorAddressLine1] to an arbitrary JSON value. + * Sets [Builder.debtorAddressLine2] to an arbitrary JSON value. * - * You should usually call [Builder.originatorAddressLine1] with a well-typed [String] 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 originatorAddressLine1(originatorAddressLine1: JsonField) = apply { - body.originatorAddressLine1(originatorAddressLine1) + fun debtorAddressLine2(debtorAddressLine2: JsonField) = apply { + body.debtorAddressLine2(debtorAddressLine2) } /** - * The sending bank will set originator_address_line2 in production. You can simulate any - * value here. + * The sending bank will set debtor_address_line3 in production. You can simulate any value + * here. */ - fun originatorAddressLine2(originatorAddressLine2: String) = apply { - body.originatorAddressLine2(originatorAddressLine2) + fun debtorAddressLine3(debtorAddressLine3: String) = apply { + body.debtorAddressLine3(debtorAddressLine3) } /** - * Sets [Builder.originatorAddressLine2] to an arbitrary JSON value. + * Sets [Builder.debtorAddressLine3] to an arbitrary JSON value. * - * You should usually call [Builder.originatorAddressLine2] with a well-typed [String] value + * 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 originatorAddressLine2(originatorAddressLine2: JsonField) = apply { - body.originatorAddressLine2(originatorAddressLine2) + fun debtorAddressLine3(debtorAddressLine3: JsonField) = apply { + body.debtorAddressLine3(debtorAddressLine3) } - /** - * The sending bank will set originator_address_line3 in production. You can simulate any - * value here. - */ - fun originatorAddressLine3(originatorAddressLine3: String) = apply { - body.originatorAddressLine3(originatorAddressLine3) - } + /** The sending bank will set debtor_name in production. You can simulate any value here. */ + fun debtorName(debtorName: String) = apply { body.debtorName(debtorName) } /** - * Sets [Builder.originatorAddressLine3] to an arbitrary JSON value. + * Sets [Builder.debtorName] 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. + * 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 originatorAddressLine3(originatorAddressLine3: JsonField) = apply { - body.originatorAddressLine3(originatorAddressLine3) - } + fun debtorName(debtorName: JsonField) = apply { body.debtorName(debtorName) } /** - * The sending bank will set originator_name in production. You can simulate any value here. + * The sending bank will set end_to_end_identification in production. You can simulate any + * value here. */ - fun originatorName(originatorName: String) = apply { body.originatorName(originatorName) } + fun endToEndIdentification(endToEndIdentification: String) = apply { + body.endToEndIdentification(endToEndIdentification) + } /** - * Sets [Builder.originatorName] to an arbitrary JSON value. + * Sets [Builder.endToEndIdentification] to an arbitrary JSON value. * - * You should usually call [Builder.originatorName] with a well-typed [String] 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 originatorName(originatorName: JsonField) = apply { - body.originatorName(originatorName) + fun endToEndIdentification(endToEndIdentification: JsonField) = apply { + body.endToEndIdentification(endToEndIdentification) } /** - * The sending bank will set originator_routing_number in production. You can simulate any - * value here. + * The sending bank will set instructing_agent_routing_number in production. You can + * simulate any value here. */ - fun originatorRoutingNumber(originatorRoutingNumber: String) = apply { - body.originatorRoutingNumber(originatorRoutingNumber) + fun instructingAgentRoutingNumber(instructingAgentRoutingNumber: String) = apply { + body.instructingAgentRoutingNumber(instructingAgentRoutingNumber) } /** - * Sets [Builder.originatorRoutingNumber] to an arbitrary JSON value. + * Sets [Builder.instructingAgentRoutingNumber] 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. + * 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 originatorRoutingNumber(originatorRoutingNumber: JsonField) = apply { - body.originatorRoutingNumber(originatorRoutingNumber) - } + fun instructingAgentRoutingNumber(instructingAgentRoutingNumber: JsonField) = + apply { + body.instructingAgentRoutingNumber(instructingAgentRoutingNumber) + } /** - * The sending bank will set originator_to_beneficiary_information_line1 in production. You - * can simulate any value here. + * The sending bank will set instruction_identification in production. You can simulate any + * value here. */ - fun originatorToBeneficiaryInformationLine1( - originatorToBeneficiaryInformationLine1: String - ) = apply { - body.originatorToBeneficiaryInformationLine1(originatorToBeneficiaryInformationLine1) + fun instructionIdentification(instructionIdentification: String) = apply { + body.instructionIdentification(instructionIdentification) } /** - * Sets [Builder.originatorToBeneficiaryInformationLine1] to an arbitrary JSON value. + * Sets [Builder.instructionIdentification] 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 { - body.originatorToBeneficiaryInformationLine1(originatorToBeneficiaryInformationLine1) - } - - /** - * The sending bank will set originator_to_beneficiary_information_line2 in production. You - * can simulate any value here. + * 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 originatorToBeneficiaryInformationLine2( - originatorToBeneficiaryInformationLine2: String - ) = apply { - body.originatorToBeneficiaryInformationLine2(originatorToBeneficiaryInformationLine2) - } - - /** - * 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 { - body.originatorToBeneficiaryInformationLine2(originatorToBeneficiaryInformationLine2) + fun instructionIdentification(instructionIdentification: JsonField) = apply { + body.instructionIdentification(instructionIdentification) } /** - * The sending bank will set originator_to_beneficiary_information_line3 in production. You - * can simulate any value here. + * The sending bank will set unique_end_to_end_transaction_reference in production. You can + * simulate any value here. */ - fun originatorToBeneficiaryInformationLine3( - originatorToBeneficiaryInformationLine3: String - ) = apply { - body.originatorToBeneficiaryInformationLine3(originatorToBeneficiaryInformationLine3) + fun uniqueEndToEndTransactionReference(uniqueEndToEndTransactionReference: String) = apply { + body.uniqueEndToEndTransactionReference(uniqueEndToEndTransactionReference) } /** - * Sets [Builder.originatorToBeneficiaryInformationLine3] to an arbitrary JSON value. + * Sets [Builder.uniqueEndToEndTransactionReference] 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 { - body.originatorToBeneficiaryInformationLine3(originatorToBeneficiaryInformationLine3) - } - - /** - * The sending bank will set originator_to_beneficiary_information_line4 in production. You - * can simulate any value here. + * 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 originatorToBeneficiaryInformationLine4( - originatorToBeneficiaryInformationLine4: String - ) = apply { - body.originatorToBeneficiaryInformationLine4(originatorToBeneficiaryInformationLine4) - } + fun uniqueEndToEndTransactionReference( + uniqueEndToEndTransactionReference: JsonField + ) = apply { body.uniqueEndToEndTransactionReference(uniqueEndToEndTransactionReference) } /** - * 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 { - body.originatorToBeneficiaryInformationLine4(originatorToBeneficiaryInformationLine4) - } - - /** - * The sending bank will set sender_reference in production. You can simulate any value - * here. + * The sending bank will set unstructured_remittance_information in production. You can + * simulate any value here. */ - fun senderReference(senderReference: String) = apply { - body.senderReference(senderReference) + fun unstructuredRemittanceInformation(unstructuredRemittanceInformation: String) = apply { + body.unstructuredRemittanceInformation(unstructuredRemittanceInformation) } /** - * Sets [Builder.senderReference] to an arbitrary JSON value. + * Sets [Builder.unstructuredRemittanceInformation] 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. + * 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 senderReference(senderReference: JsonField) = apply { - body.senderReference(senderReference) - } + fun unstructuredRemittanceInformation( + unstructuredRemittanceInformation: JsonField + ) = apply { body.unstructuredRemittanceInformation(unstructuredRemittanceInformation) } /** The identifier of a Wire Drawdown Request the inbound Wire Transfer is fulfilling. */ fun wireDrawdownRequestId(wireDrawdownRequestId: String) = apply { @@ -874,21 +778,19 @@ private constructor( private constructor( 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 originatorAddressLine1: JsonField, - private val originatorAddressLine2: JsonField, - private val originatorAddressLine3: JsonField, - private val originatorName: JsonField, - private val originatorRoutingNumber: JsonField, - private val originatorToBeneficiaryInformationLine1: JsonField, - private val originatorToBeneficiaryInformationLine2: JsonField, - private val originatorToBeneficiaryInformationLine3: JsonField, - private val originatorToBeneficiaryInformationLine4: JsonField, - private val senderReference: 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 endToEndIdentification: JsonField, + private val instructingAgentRoutingNumber: JsonField, + private val instructionIdentification: JsonField, + private val uniqueEndToEndTransactionReference: JsonField, + private val unstructuredRemittanceInformation: JsonField, private val wireDrawdownRequestId: JsonField, private val additionalProperties: MutableMap, ) { @@ -899,72 +801,64 @@ 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") + @JsonProperty("creditor_address_line1") @ExcludeMissing - beneficiaryAddressLine2: JsonField = JsonMissing.of(), - @JsonProperty("beneficiary_address_line3") + creditorAddressLine1: JsonField = JsonMissing.of(), + @JsonProperty("creditor_address_line2") @ExcludeMissing - beneficiaryAddressLine3: JsonField = JsonMissing.of(), - @JsonProperty("beneficiary_name") + creditorAddressLine2: JsonField = JsonMissing.of(), + @JsonProperty("creditor_address_line3") @ExcludeMissing - beneficiaryName: JsonField = JsonMissing.of(), - @JsonProperty("beneficiary_reference") + creditorAddressLine3: JsonField = JsonMissing.of(), + @JsonProperty("creditor_name") @ExcludeMissing - beneficiaryReference: JsonField = JsonMissing.of(), - @JsonProperty("originator_address_line1") + creditorName: JsonField = JsonMissing.of(), + @JsonProperty("debtor_address_line1") @ExcludeMissing - originatorAddressLine1: JsonField = JsonMissing.of(), - @JsonProperty("originator_address_line2") + debtorAddressLine1: JsonField = JsonMissing.of(), + @JsonProperty("debtor_address_line2") @ExcludeMissing - originatorAddressLine2: JsonField = JsonMissing.of(), - @JsonProperty("originator_address_line3") + debtorAddressLine2: JsonField = JsonMissing.of(), + @JsonProperty("debtor_address_line3") @ExcludeMissing - originatorAddressLine3: JsonField = JsonMissing.of(), - @JsonProperty("originator_name") + debtorAddressLine3: JsonField = JsonMissing.of(), + @JsonProperty("debtor_name") @ExcludeMissing - originatorName: JsonField = JsonMissing.of(), - @JsonProperty("originator_routing_number") + debtorName: JsonField = JsonMissing.of(), + @JsonProperty("end_to_end_identification") @ExcludeMissing - originatorRoutingNumber: JsonField = JsonMissing.of(), - @JsonProperty("originator_to_beneficiary_information_line1") + endToEndIdentification: JsonField = JsonMissing.of(), + @JsonProperty("instructing_agent_routing_number") @ExcludeMissing - originatorToBeneficiaryInformationLine1: JsonField = JsonMissing.of(), - @JsonProperty("originator_to_beneficiary_information_line2") + instructingAgentRoutingNumber: JsonField = JsonMissing.of(), + @JsonProperty("instruction_identification") @ExcludeMissing - originatorToBeneficiaryInformationLine2: JsonField = JsonMissing.of(), - @JsonProperty("originator_to_beneficiary_information_line3") + instructionIdentification: JsonField = JsonMissing.of(), + @JsonProperty("unique_end_to_end_transaction_reference") @ExcludeMissing - originatorToBeneficiaryInformationLine3: JsonField = JsonMissing.of(), - @JsonProperty("originator_to_beneficiary_information_line4") + uniqueEndToEndTransactionReference: JsonField = JsonMissing.of(), + @JsonProperty("unstructured_remittance_information") @ExcludeMissing - originatorToBeneficiaryInformationLine4: JsonField = JsonMissing.of(), - @JsonProperty("sender_reference") - @ExcludeMissing - senderReference: JsonField = JsonMissing.of(), + unstructuredRemittanceInformation: JsonField = JsonMissing.of(), @JsonProperty("wire_drawdown_request_id") @ExcludeMissing wireDrawdownRequestId: JsonField = JsonMissing.of(), ) : this( accountNumberId, amount, - beneficiaryAddressLine1, - beneficiaryAddressLine2, - beneficiaryAddressLine3, - beneficiaryName, - beneficiaryReference, - originatorAddressLine1, - originatorAddressLine2, - originatorAddressLine3, - originatorName, - originatorRoutingNumber, - originatorToBeneficiaryInformationLine1, - originatorToBeneficiaryInformationLine2, - originatorToBeneficiaryInformationLine3, - originatorToBeneficiaryInformationLine4, - senderReference, + creditorAddressLine1, + creditorAddressLine2, + creditorAddressLine3, + creditorName, + debtorAddressLine1, + debtorAddressLine2, + debtorAddressLine3, + debtorName, + endToEndIdentification, + instructingAgentRoutingNumber, + instructionIdentification, + uniqueEndToEndTransactionReference, + unstructuredRemittanceInformation, wireDrawdownRequestId, mutableMapOf(), ) @@ -986,158 +880,132 @@ private constructor( fun amount(): Long = amount.getRequired("amount") /** - * The sending bank will set beneficiary_address_line1 in production. You can simulate any + * The sending bank will set creditor_address_line1 in production. You can simulate any * value here. * * @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") /** - * The sending bank will set beneficiary_address_line2 in production. You can simulate any + * The sending bank will set creditor_address_line2 in production. You can simulate any * value here. * * @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") /** - * The sending bank will set beneficiary_address_line3 in production. You can simulate any + * The sending bank will set creditor_address_line3 in production. You can simulate any * value here. * * @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") /** - * The sending bank will set beneficiary_name in production. You can simulate any value - * here. + * The sending bank will set creditor_name in production. You can simulate any value here. * * @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") /** - * The sending bank will set beneficiary_reference in production. You can simulate any value + * The sending bank will set debtor_address_line1 in production. You can simulate any value * here. * * @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") /** - * The sending bank will set originator_address_line1 in production. You can simulate any - * value here. - * - * @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 sending bank will set originator_address_line2 in production. You can simulate any - * value here. + * The sending bank will set debtor_address_line2 in production. You can simulate any value + * here. * * @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 debtorAddressLine2(): Optional = + debtorAddressLine2.getOptional("debtor_address_line2") /** - * The sending bank will set originator_address_line3 in production. You can simulate any - * value here. + * The sending bank will set debtor_address_line3 in production. You can simulate any value + * here. * * @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") + fun debtorAddressLine3(): Optional = + debtorAddressLine3.getOptional("debtor_address_line3") /** - * The sending bank will set originator_name in production. You can simulate any value here. + * The sending bank will set debtor_name in production. You can simulate any value here. * * @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 debtorName(): Optional = debtorName.getOptional("debtor_name") /** - * The sending bank will set originator_routing_number in production. You can simulate any + * The sending bank will set end_to_end_identification in production. You can simulate any * value here. * * @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 endToEndIdentification(): Optional = + endToEndIdentification.getOptional("end_to_end_identification") /** - * The sending bank will set originator_to_beneficiary_information_line1 in production. You - * can simulate any value here. + * The sending bank will set instructing_agent_routing_number in production. You can + * simulate any value here. * * @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 instructingAgentRoutingNumber(): Optional = + instructingAgentRoutingNumber.getOptional("instructing_agent_routing_number") /** - * The sending bank will set originator_to_beneficiary_information_line2 in production. You - * can simulate any value here. - * - * @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" - ) - - /** - * The sending bank will set originator_to_beneficiary_information_line3 in production. You - * can simulate any value here. + * The sending bank will set instruction_identification in production. You can simulate any + * value here. * * @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 instructionIdentification(): Optional = + instructionIdentification.getOptional("instruction_identification") /** - * The sending bank will set originator_to_beneficiary_information_line4 in production. You - * can simulate any value here. + * The sending bank will set unique_end_to_end_transaction_reference in production. You can + * simulate any value here. * * @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" + fun uniqueEndToEndTransactionReference(): Optional = + uniqueEndToEndTransactionReference.getOptional( + "unique_end_to_end_transaction_reference" ) /** - * The sending bank will set sender_reference in production. You can simulate any value - * here. + * The sending bank will set unstructured_remittance_information in production. You can + * simulate any value here. * * @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") + fun unstructuredRemittanceInformation(): Optional = + unstructuredRemittanceInformation.getOptional("unstructured_remittance_information") /** * The identifier of a Wire Drawdown Request the inbound Wire Transfer is fulfilling. @@ -1166,158 +1034,135 @@ private constructor( @JsonProperty("amount") @ExcludeMissing fun _amount(): JsonField = amount /** - * Returns the raw JSON value of [beneficiaryAddressLine1]. + * Returns the raw JSON value of [creditorAddressLine1]. * - * Unlike [beneficiaryAddressLine1], 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_line1") + @JsonProperty("creditor_address_line1") @ExcludeMissing - fun _beneficiaryAddressLine1(): JsonField = beneficiaryAddressLine1 + fun _creditorAddressLine1(): JsonField = creditorAddressLine1 /** - * Returns the raw JSON value of [beneficiaryAddressLine2]. + * Returns the raw JSON value of [creditorAddressLine2]. * - * Unlike [beneficiaryAddressLine2], 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_address_line2") + @JsonProperty("creditor_address_line2") @ExcludeMissing - fun _beneficiaryAddressLine2(): JsonField = beneficiaryAddressLine2 + fun _creditorAddressLine2(): JsonField = creditorAddressLine2 /** - * Returns the raw JSON value of [beneficiaryAddressLine3]. + * Returns the raw JSON value of [creditorAddressLine3]. * - * Unlike [beneficiaryAddressLine3], 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_address_line3") + @JsonProperty("creditor_address_line3") @ExcludeMissing - fun _beneficiaryAddressLine3(): JsonField = beneficiaryAddressLine3 + fun _creditorAddressLine3(): JsonField = creditorAddressLine3 /** - * Returns the raw JSON value of [beneficiaryName]. + * Returns the raw JSON value of [creditorName]. * - * Unlike [beneficiaryName], 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("beneficiary_name") + @JsonProperty("creditor_name") @ExcludeMissing - fun _beneficiaryName(): JsonField = beneficiaryName + fun _creditorName(): JsonField = creditorName /** - * Returns the raw JSON value of [beneficiaryReference]. + * Returns the raw JSON value of [debtorAddressLine1]. * - * Unlike [beneficiaryReference], this method doesn't throw if the JSON field has an + * Unlike [debtorAddressLine1], this method doesn't throw if the JSON field has an * unexpected type. */ - @JsonProperty("beneficiary_reference") + @JsonProperty("debtor_address_line1") @ExcludeMissing - fun _beneficiaryReference(): JsonField = beneficiaryReference + 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 [endToEndIdentification]. * - * 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 + * Unlike [endToEndIdentification], 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 [originatorToBeneficiaryInformationLine1]. - * - * Unlike [originatorToBeneficiaryInformationLine1], this method doesn't throw if the JSON - * field has an unexpected type. - */ - @JsonProperty("originator_to_beneficiary_information_line1") + @JsonProperty("end_to_end_identification") @ExcludeMissing - fun _originatorToBeneficiaryInformationLine1(): JsonField = - originatorToBeneficiaryInformationLine1 + fun _endToEndIdentification(): JsonField = endToEndIdentification /** - * Returns the raw JSON value of [originatorToBeneficiaryInformationLine2]. + * Returns the raw JSON value of [instructingAgentRoutingNumber]. * - * Unlike [originatorToBeneficiaryInformationLine2], 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_line2") + @JsonProperty("instructing_agent_routing_number") @ExcludeMissing - fun _originatorToBeneficiaryInformationLine2(): JsonField = - originatorToBeneficiaryInformationLine2 + fun _instructingAgentRoutingNumber(): JsonField = instructingAgentRoutingNumber /** - * Returns the raw JSON value of [originatorToBeneficiaryInformationLine3]. + * Returns the raw JSON value of [instructionIdentification]. * - * Unlike [originatorToBeneficiaryInformationLine3], 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_line3") + @JsonProperty("instruction_identification") @ExcludeMissing - fun _originatorToBeneficiaryInformationLine3(): JsonField = - originatorToBeneficiaryInformationLine3 + fun _instructionIdentification(): JsonField = instructionIdentification /** - * 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 [senderReference]. + * Returns the raw JSON value of [unstructuredRemittanceInformation]. * - * Unlike [senderReference], 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("sender_reference") + @JsonProperty("unstructured_remittance_information") @ExcludeMissing - fun _senderReference(): JsonField = senderReference + fun _unstructuredRemittanceInformation(): JsonField = + unstructuredRemittanceInformation /** * Returns the raw JSON value of [wireDrawdownRequestId]. @@ -1360,25 +1205,19 @@ private constructor( private var accountNumberId: JsonField? = null private var amount: JsonField? = null - private var beneficiaryAddressLine1: JsonField = JsonMissing.of() - private var beneficiaryAddressLine2: JsonField = JsonMissing.of() - private var beneficiaryAddressLine3: JsonField = JsonMissing.of() - private var beneficiaryName: JsonField = JsonMissing.of() - private var beneficiaryReference: JsonField = JsonMissing.of() - private var originatorAddressLine1: JsonField = JsonMissing.of() - private var originatorAddressLine2: JsonField = JsonMissing.of() - private var originatorAddressLine3: JsonField = JsonMissing.of() - private var originatorName: JsonField = JsonMissing.of() - private var originatorRoutingNumber: JsonField = JsonMissing.of() - private var originatorToBeneficiaryInformationLine1: JsonField = - JsonMissing.of() - private var originatorToBeneficiaryInformationLine2: JsonField = - JsonMissing.of() - private var originatorToBeneficiaryInformationLine3: JsonField = - JsonMissing.of() - private var originatorToBeneficiaryInformationLine4: JsonField = - JsonMissing.of() - private var senderReference: JsonField = JsonMissing.of() + private var creditorAddressLine1: JsonField = JsonMissing.of() + private var creditorAddressLine2: JsonField = JsonMissing.of() + private var creditorAddressLine3: JsonField = JsonMissing.of() + private var creditorName: JsonField = JsonMissing.of() + private var debtorAddressLine1: JsonField = JsonMissing.of() + private var debtorAddressLine2: JsonField = JsonMissing.of() + private var debtorAddressLine3: JsonField = JsonMissing.of() + private var debtorName: JsonField = JsonMissing.of() + private var endToEndIdentification: JsonField = JsonMissing.of() + private var instructingAgentRoutingNumber: JsonField = JsonMissing.of() + private var instructionIdentification: JsonField = JsonMissing.of() + private var uniqueEndToEndTransactionReference: JsonField = JsonMissing.of() + private var unstructuredRemittanceInformation: JsonField = JsonMissing.of() private var wireDrawdownRequestId: JsonField = JsonMissing.of() private var additionalProperties: MutableMap = mutableMapOf() @@ -1386,25 +1225,19 @@ private constructor( internal fun from(body: Body) = apply { accountNumberId = body.accountNumberId amount = body.amount - beneficiaryAddressLine1 = body.beneficiaryAddressLine1 - beneficiaryAddressLine2 = body.beneficiaryAddressLine2 - beneficiaryAddressLine3 = body.beneficiaryAddressLine3 - beneficiaryName = body.beneficiaryName - beneficiaryReference = body.beneficiaryReference - originatorAddressLine1 = body.originatorAddressLine1 - originatorAddressLine2 = body.originatorAddressLine2 - originatorAddressLine3 = body.originatorAddressLine3 - originatorName = body.originatorName - originatorRoutingNumber = body.originatorRoutingNumber - originatorToBeneficiaryInformationLine1 = - body.originatorToBeneficiaryInformationLine1 - originatorToBeneficiaryInformationLine2 = - body.originatorToBeneficiaryInformationLine2 - originatorToBeneficiaryInformationLine3 = - body.originatorToBeneficiaryInformationLine3 - originatorToBeneficiaryInformationLine4 = - body.originatorToBeneficiaryInformationLine4 - senderReference = body.senderReference + creditorAddressLine1 = body.creditorAddressLine1 + creditorAddressLine2 = body.creditorAddressLine2 + creditorAddressLine3 = body.creditorAddressLine3 + creditorName = body.creditorName + debtorAddressLine1 = body.debtorAddressLine1 + debtorAddressLine2 = body.debtorAddressLine2 + debtorAddressLine3 = body.debtorAddressLine3 + debtorName = body.debtorName + endToEndIdentification = body.endToEndIdentification + instructingAgentRoutingNumber = body.instructingAgentRoutingNumber + instructionIdentification = body.instructionIdentification + uniqueEndToEndTransactionReference = body.uniqueEndToEndTransactionReference + unstructuredRemittanceInformation = body.unstructuredRemittanceInformation wireDrawdownRequestId = body.wireDrawdownRequestId additionalProperties = body.additionalProperties.toMutableMap() } @@ -1437,302 +1270,236 @@ private constructor( fun amount(amount: JsonField) = apply { this.amount = amount } /** - * The sending bank will set beneficiary_address_line1 in production. You can simulate - * any value here. + * The sending bank will set creditor_address_line1 in production. You can simulate any + * value here. */ - fun beneficiaryAddressLine1(beneficiaryAddressLine1: String) = - beneficiaryAddressLine1(JsonField.of(beneficiaryAddressLine1)) + fun creditorAddressLine1(creditorAddressLine1: String) = + creditorAddressLine1(JsonField.of(creditorAddressLine1)) /** - * 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] + * 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 } /** - * The sending bank will set beneficiary_address_line2 in production. You can simulate - * any value here. + * The sending bank will set creditor_address_line2 in production. You can simulate any + * value here. */ - fun beneficiaryAddressLine2(beneficiaryAddressLine2: String) = - beneficiaryAddressLine2(JsonField.of(beneficiaryAddressLine2)) + fun creditorAddressLine2(creditorAddressLine2: String) = + creditorAddressLine2(JsonField.of(creditorAddressLine2)) /** - * 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] + * 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 } /** - * The sending bank will set beneficiary_address_line3 in production. You can simulate - * any value here. + * The sending bank will set creditor_address_line3 in production. You can simulate any + * value here. */ - fun beneficiaryAddressLine3(beneficiaryAddressLine3: String) = - beneficiaryAddressLine3(JsonField.of(beneficiaryAddressLine3)) + fun creditorAddressLine3(creditorAddressLine3: String) = + creditorAddressLine3(JsonField.of(creditorAddressLine3)) /** - * 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] + * 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 } /** - * The sending bank will set beneficiary_name in production. You can simulate any value + * The sending bank will set creditor_name in production. You can simulate any value * here. */ - fun beneficiaryName(beneficiaryName: String) = - beneficiaryName(JsonField.of(beneficiaryName)) + fun creditorName(creditorName: String) = creditorName(JsonField.of(creditorName)) /** - * Sets [Builder.beneficiaryName] to an arbitrary JSON value. + * Sets [Builder.creditorName] to an arbitrary JSON value. * - * You should usually call [Builder.beneficiaryName] with a well-typed [String] 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: JsonField) = apply { - this.beneficiaryName = beneficiaryName + fun creditorName(creditorName: JsonField) = apply { + this.creditorName = creditorName } /** - * The sending bank will set beneficiary_reference in production. You can simulate any + * The sending bank will set debtor_address_line1 in production. You can simulate any * value here. */ - fun beneficiaryReference(beneficiaryReference: String) = - beneficiaryReference(JsonField.of(beneficiaryReference)) + fun debtorAddressLine1(debtorAddressLine1: String) = + debtorAddressLine1(JsonField.of(debtorAddressLine1)) /** - * Sets [Builder.beneficiaryReference] to an arbitrary JSON value. + * Sets [Builder.debtorAddressLine1] 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 sending bank will set originator_address_line1 in production. You can simulate - * any value here. - */ - fun originatorAddressLine1(originatorAddressLine1: String) = - originatorAddressLine1(JsonField.of(originatorAddressLine1)) - - /** - * 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. + * 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 originatorAddressLine1(originatorAddressLine1: JsonField) = apply { - this.originatorAddressLine1 = originatorAddressLine1 + fun debtorAddressLine1(debtorAddressLine1: JsonField) = apply { + this.debtorAddressLine1 = debtorAddressLine1 } /** - * The sending bank will set originator_address_line2 in production. You can simulate - * any value here. + * The sending bank will set debtor_address_line2 in production. You can simulate any + * value here. */ - fun originatorAddressLine2(originatorAddressLine2: String) = - originatorAddressLine2(JsonField.of(originatorAddressLine2)) + fun debtorAddressLine2(debtorAddressLine2: String) = + debtorAddressLine2(JsonField.of(debtorAddressLine2)) /** - * Sets [Builder.originatorAddressLine2] to an arbitrary JSON value. + * Sets [Builder.debtorAddressLine2] 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. + * 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 originatorAddressLine2(originatorAddressLine2: JsonField) = apply { - this.originatorAddressLine2 = originatorAddressLine2 + fun debtorAddressLine2(debtorAddressLine2: JsonField) = apply { + this.debtorAddressLine2 = debtorAddressLine2 } /** - * The sending bank will set originator_address_line3 in production. You can simulate - * any value here. + * The sending bank will set debtor_address_line3 in production. You can simulate any + * value here. */ - fun originatorAddressLine3(originatorAddressLine3: String) = - originatorAddressLine3(JsonField.of(originatorAddressLine3)) + fun debtorAddressLine3(debtorAddressLine3: String) = + debtorAddressLine3(JsonField.of(debtorAddressLine3)) /** - * Sets [Builder.originatorAddressLine3] to an arbitrary JSON value. + * Sets [Builder.debtorAddressLine3] 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. + * 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 originatorAddressLine3(originatorAddressLine3: JsonField) = apply { - this.originatorAddressLine3 = originatorAddressLine3 + fun debtorAddressLine3(debtorAddressLine3: JsonField) = apply { + this.debtorAddressLine3 = debtorAddressLine3 } /** - * The sending bank will set originator_name in production. You can simulate any value - * here. + * The sending bank will set debtor_name in production. You can simulate any value here. */ - fun originatorName(originatorName: String) = - originatorName(JsonField.of(originatorName)) + fun debtorName(debtorName: String) = debtorName(JsonField.of(debtorName)) /** - * Sets [Builder.originatorName] to an arbitrary JSON value. + * Sets [Builder.debtorName] to an arbitrary JSON value. * - * You should usually call [Builder.originatorName] with a well-typed [String] 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 originatorName(originatorName: JsonField) = apply { - this.originatorName = originatorName - } + fun debtorName(debtorName: JsonField) = apply { this.debtorName = debtorName } /** - * The sending bank will set originator_routing_number in production. You can simulate + * The sending bank will set end_to_end_identification in production. You can simulate * any value here. */ - fun originatorRoutingNumber(originatorRoutingNumber: String) = - originatorRoutingNumber(JsonField.of(originatorRoutingNumber)) + fun endToEndIdentification(endToEndIdentification: String) = + endToEndIdentification(JsonField.of(endToEndIdentification)) /** - * Sets [Builder.originatorRoutingNumber] to an arbitrary JSON value. + * Sets [Builder.endToEndIdentification] to an arbitrary JSON value. * - * You should usually call [Builder.originatorRoutingNumber] with a well-typed [String] + * 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 originatorRoutingNumber(originatorRoutingNumber: JsonField) = apply { - this.originatorRoutingNumber = originatorRoutingNumber - } - - /** - * The sending bank will set originator_to_beneficiary_information_line1 in production. - * You can simulate any value here. - */ - fun originatorToBeneficiaryInformationLine1( - originatorToBeneficiaryInformationLine1: String - ) = - originatorToBeneficiaryInformationLine1( - JsonField.of(originatorToBeneficiaryInformationLine1) - ) - - /** - * 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 endToEndIdentification(endToEndIdentification: JsonField) = apply { + this.endToEndIdentification = endToEndIdentification } /** - * The sending bank will set originator_to_beneficiary_information_line2 in production. - * You can simulate any value here. + * The sending bank will set instructing_agent_routing_number in production. You can + * simulate any value here. */ - fun originatorToBeneficiaryInformationLine2( - originatorToBeneficiaryInformationLine2: String - ) = - originatorToBeneficiaryInformationLine2( - JsonField.of(originatorToBeneficiaryInformationLine2) - ) + fun instructingAgentRoutingNumber(instructingAgentRoutingNumber: String) = + instructingAgentRoutingNumber(JsonField.of(instructingAgentRoutingNumber)) /** - * Sets [Builder.originatorToBeneficiaryInformationLine2] to an arbitrary JSON value. + * Sets [Builder.instructingAgentRoutingNumber] 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. + * 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 originatorToBeneficiaryInformationLine2( - originatorToBeneficiaryInformationLine2: JsonField - ) = apply { - this.originatorToBeneficiaryInformationLine2 = - originatorToBeneficiaryInformationLine2 - } + fun instructingAgentRoutingNumber(instructingAgentRoutingNumber: JsonField) = + apply { + this.instructingAgentRoutingNumber = instructingAgentRoutingNumber + } /** - * The sending bank will set originator_to_beneficiary_information_line3 in production. - * You can simulate any value here. + * The sending bank will set instruction_identification in production. You can simulate + * any value here. */ - fun originatorToBeneficiaryInformationLine3( - originatorToBeneficiaryInformationLine3: String - ) = - originatorToBeneficiaryInformationLine3( - JsonField.of(originatorToBeneficiaryInformationLine3) - ) + fun instructionIdentification(instructionIdentification: String) = + instructionIdentification(JsonField.of(instructionIdentification)) /** - * Sets [Builder.originatorToBeneficiaryInformationLine3] to an arbitrary JSON value. + * Sets [Builder.instructionIdentification] 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. + * 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 originatorToBeneficiaryInformationLine3( - originatorToBeneficiaryInformationLine3: JsonField - ) = apply { - this.originatorToBeneficiaryInformationLine3 = - originatorToBeneficiaryInformationLine3 + fun instructionIdentification(instructionIdentification: JsonField) = apply { + this.instructionIdentification = instructionIdentification } /** - * The sending bank will set originator_to_beneficiary_information_line4 in production. - * You can simulate any value here. + * The sending bank will set unique_end_to_end_transaction_reference in production. You + * can simulate any value here. */ - fun originatorToBeneficiaryInformationLine4( - originatorToBeneficiaryInformationLine4: String - ) = - originatorToBeneficiaryInformationLine4( - JsonField.of(originatorToBeneficiaryInformationLine4) - ) + fun uniqueEndToEndTransactionReference(uniqueEndToEndTransactionReference: String) = + uniqueEndToEndTransactionReference(JsonField.of(uniqueEndToEndTransactionReference)) /** - * Sets [Builder.originatorToBeneficiaryInformationLine4] to an arbitrary JSON value. + * Sets [Builder.uniqueEndToEndTransactionReference] to an arbitrary JSON value. * - * You should usually call [Builder.originatorToBeneficiaryInformationLine4] 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 originatorToBeneficiaryInformationLine4( - originatorToBeneficiaryInformationLine4: JsonField + fun uniqueEndToEndTransactionReference( + uniqueEndToEndTransactionReference: JsonField ) = apply { - this.originatorToBeneficiaryInformationLine4 = - originatorToBeneficiaryInformationLine4 + this.uniqueEndToEndTransactionReference = uniqueEndToEndTransactionReference } /** - * The sending bank will set sender_reference in production. You can simulate any value - * here. + * The sending bank will set unstructured_remittance_information in production. You can + * simulate any value here. */ - fun senderReference(senderReference: String) = - senderReference(JsonField.of(senderReference)) + fun unstructuredRemittanceInformation(unstructuredRemittanceInformation: String) = + unstructuredRemittanceInformation(JsonField.of(unstructuredRemittanceInformation)) /** - * Sets [Builder.senderReference] to an arbitrary JSON value. + * Sets [Builder.unstructuredRemittanceInformation] 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. + * 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 senderReference(senderReference: JsonField) = apply { - this.senderReference = senderReference - } + fun unstructuredRemittanceInformation( + unstructuredRemittanceInformation: JsonField + ) = apply { this.unstructuredRemittanceInformation = unstructuredRemittanceInformation } /** * The identifier of a Wire Drawdown Request the inbound Wire Transfer is fulfilling. @@ -1787,21 +1554,19 @@ private constructor( Body( checkRequired("accountNumberId", accountNumberId), checkRequired("amount", amount), - beneficiaryAddressLine1, - beneficiaryAddressLine2, - beneficiaryAddressLine3, - beneficiaryName, - beneficiaryReference, - originatorAddressLine1, - originatorAddressLine2, - originatorAddressLine3, - originatorName, - originatorRoutingNumber, - originatorToBeneficiaryInformationLine1, - originatorToBeneficiaryInformationLine2, - originatorToBeneficiaryInformationLine3, - originatorToBeneficiaryInformationLine4, - senderReference, + creditorAddressLine1, + creditorAddressLine2, + creditorAddressLine3, + creditorName, + debtorAddressLine1, + debtorAddressLine2, + debtorAddressLine3, + debtorName, + endToEndIdentification, + instructingAgentRoutingNumber, + instructionIdentification, + uniqueEndToEndTransactionReference, + unstructuredRemittanceInformation, wireDrawdownRequestId, additionalProperties.toMutableMap(), ) @@ -1816,21 +1581,19 @@ private constructor( accountNumberId() amount() - beneficiaryAddressLine1() - beneficiaryAddressLine2() - beneficiaryAddressLine3() - beneficiaryName() - beneficiaryReference() - originatorAddressLine1() - originatorAddressLine2() - originatorAddressLine3() - originatorName() - originatorRoutingNumber() - originatorToBeneficiaryInformationLine1() - originatorToBeneficiaryInformationLine2() - originatorToBeneficiaryInformationLine3() - originatorToBeneficiaryInformationLine4() - senderReference() + creditorAddressLine1() + creditorAddressLine2() + creditorAddressLine3() + creditorName() + debtorAddressLine1() + debtorAddressLine2() + debtorAddressLine3() + debtorName() + endToEndIdentification() + instructingAgentRoutingNumber() + instructionIdentification() + uniqueEndToEndTransactionReference() + unstructuredRemittanceInformation() wireDrawdownRequestId() validated = true } @@ -1853,21 +1616,19 @@ private constructor( internal fun validity(): Int = (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 (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 (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 (senderReference.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 (endToEndIdentification.asKnown().isPresent) 1 else 0) + + (if (instructingAgentRoutingNumber.asKnown().isPresent) 1 else 0) + + (if (instructionIdentification.asKnown().isPresent) 1 else 0) + + (if (uniqueEndToEndTransactionReference.asKnown().isPresent) 1 else 0) + + (if (unstructuredRemittanceInformation.asKnown().isPresent) 1 else 0) + (if (wireDrawdownRequestId.asKnown().isPresent) 1 else 0) override fun equals(other: Any?): Boolean { @@ -1878,25 +1639,19 @@ private constructor( return other is Body && accountNumberId == other.accountNumberId && amount == other.amount && - beneficiaryAddressLine1 == other.beneficiaryAddressLine1 && - beneficiaryAddressLine2 == other.beneficiaryAddressLine2 && - beneficiaryAddressLine3 == other.beneficiaryAddressLine3 && - beneficiaryName == other.beneficiaryName && - beneficiaryReference == other.beneficiaryReference && - originatorAddressLine1 == other.originatorAddressLine1 && - originatorAddressLine2 == other.originatorAddressLine2 && - originatorAddressLine3 == other.originatorAddressLine3 && - originatorName == other.originatorName && - originatorRoutingNumber == other.originatorRoutingNumber && - originatorToBeneficiaryInformationLine1 == - other.originatorToBeneficiaryInformationLine1 && - originatorToBeneficiaryInformationLine2 == - other.originatorToBeneficiaryInformationLine2 && - originatorToBeneficiaryInformationLine3 == - other.originatorToBeneficiaryInformationLine3 && - originatorToBeneficiaryInformationLine4 == - other.originatorToBeneficiaryInformationLine4 && - senderReference == other.senderReference && + creditorAddressLine1 == other.creditorAddressLine1 && + creditorAddressLine2 == other.creditorAddressLine2 && + creditorAddressLine3 == other.creditorAddressLine3 && + creditorName == other.creditorName && + debtorAddressLine1 == other.debtorAddressLine1 && + debtorAddressLine2 == other.debtorAddressLine2 && + debtorAddressLine3 == other.debtorAddressLine3 && + debtorName == other.debtorName && + endToEndIdentification == other.endToEndIdentification && + instructingAgentRoutingNumber == other.instructingAgentRoutingNumber && + instructionIdentification == other.instructionIdentification && + uniqueEndToEndTransactionReference == other.uniqueEndToEndTransactionReference && + unstructuredRemittanceInformation == other.unstructuredRemittanceInformation && wireDrawdownRequestId == other.wireDrawdownRequestId && additionalProperties == other.additionalProperties } @@ -1905,21 +1660,19 @@ private constructor( Objects.hash( accountNumberId, amount, - beneficiaryAddressLine1, - beneficiaryAddressLine2, - beneficiaryAddressLine3, - beneficiaryName, - beneficiaryReference, - originatorAddressLine1, - originatorAddressLine2, - originatorAddressLine3, - originatorName, - originatorRoutingNumber, - originatorToBeneficiaryInformationLine1, - originatorToBeneficiaryInformationLine2, - originatorToBeneficiaryInformationLine3, - originatorToBeneficiaryInformationLine4, - senderReference, + creditorAddressLine1, + creditorAddressLine2, + creditorAddressLine3, + creditorName, + debtorAddressLine1, + debtorAddressLine2, + debtorAddressLine3, + debtorName, + endToEndIdentification, + instructingAgentRoutingNumber, + instructionIdentification, + uniqueEndToEndTransactionReference, + unstructuredRemittanceInformation, wireDrawdownRequestId, additionalProperties, ) @@ -1928,7 +1681,7 @@ private constructor( override fun hashCode(): Int = hashCode override fun toString() = - "Body{accountNumberId=$accountNumberId, amount=$amount, beneficiaryAddressLine1=$beneficiaryAddressLine1, beneficiaryAddressLine2=$beneficiaryAddressLine2, beneficiaryAddressLine3=$beneficiaryAddressLine3, beneficiaryName=$beneficiaryName, beneficiaryReference=$beneficiaryReference, originatorAddressLine1=$originatorAddressLine1, originatorAddressLine2=$originatorAddressLine2, originatorAddressLine3=$originatorAddressLine3, originatorName=$originatorName, originatorRoutingNumber=$originatorRoutingNumber, originatorToBeneficiaryInformationLine1=$originatorToBeneficiaryInformationLine1, originatorToBeneficiaryInformationLine2=$originatorToBeneficiaryInformationLine2, originatorToBeneficiaryInformationLine3=$originatorToBeneficiaryInformationLine3, originatorToBeneficiaryInformationLine4=$originatorToBeneficiaryInformationLine4, senderReference=$senderReference, wireDrawdownRequestId=$wireDrawdownRequestId, additionalProperties=$additionalProperties}" + "Body{accountNumberId=$accountNumberId, amount=$amount, creditorAddressLine1=$creditorAddressLine1, creditorAddressLine2=$creditorAddressLine2, creditorAddressLine3=$creditorAddressLine3, creditorName=$creditorName, debtorAddressLine1=$debtorAddressLine1, debtorAddressLine2=$debtorAddressLine2, debtorAddressLine3=$debtorAddressLine3, debtorName=$debtorName, endToEndIdentification=$endToEndIdentification, instructingAgentRoutingNumber=$instructingAgentRoutingNumber, instructionIdentification=$instructionIdentification, uniqueEndToEndTransactionReference=$uniqueEndToEndTransactionReference, unstructuredRemittanceInformation=$unstructuredRemittanceInformation, wireDrawdownRequestId=$wireDrawdownRequestId, additionalProperties=$additionalProperties}" } override fun equals(other: Any?): Boolean { diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/simulations/inboundwiretransfers/InboundWireTransferCreateParamsTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/simulations/inboundwiretransfers/InboundWireTransferCreateParamsTest.kt index 63735b78c..35d382446 100644 --- a/increase-java-core/src/test/kotlin/com/increase/api/models/simulations/inboundwiretransfers/InboundWireTransferCreateParamsTest.kt +++ b/increase-java-core/src/test/kotlin/com/increase/api/models/simulations/inboundwiretransfers/InboundWireTransferCreateParamsTest.kt @@ -12,21 +12,19 @@ internal class InboundWireTransferCreateParamsTest { InboundWireTransferCreateParams.builder() .accountNumberId("account_number_v18nkfqm6afpsrvy82b2") .amount(1000L) - .beneficiaryAddressLine1("x") - .beneficiaryAddressLine2("x") - .beneficiaryAddressLine3("x") - .beneficiaryName("x") - .beneficiaryReference("x") - .originatorAddressLine1("x") - .originatorAddressLine2("x") - .originatorAddressLine3("x") - .originatorName("x") - .originatorRoutingNumber("x") - .originatorToBeneficiaryInformationLine1("x") - .originatorToBeneficiaryInformationLine2("x") - .originatorToBeneficiaryInformationLine3("x") - .originatorToBeneficiaryInformationLine4("x") - .senderReference("x") + .creditorAddressLine1("x") + .creditorAddressLine2("x") + .creditorAddressLine3("x") + .creditorName("x") + .debtorAddressLine1("x") + .debtorAddressLine2("x") + .debtorAddressLine3("x") + .debtorName("x") + .endToEndIdentification("x") + .instructingAgentRoutingNumber("x") + .instructionIdentification("x") + .uniqueEndToEndTransactionReference("x") + .unstructuredRemittanceInformation("x") .wireDrawdownRequestId("wire_drawdown_request_id") .build() } @@ -37,21 +35,19 @@ internal class InboundWireTransferCreateParamsTest { InboundWireTransferCreateParams.builder() .accountNumberId("account_number_v18nkfqm6afpsrvy82b2") .amount(1000L) - .beneficiaryAddressLine1("x") - .beneficiaryAddressLine2("x") - .beneficiaryAddressLine3("x") - .beneficiaryName("x") - .beneficiaryReference("x") - .originatorAddressLine1("x") - .originatorAddressLine2("x") - .originatorAddressLine3("x") - .originatorName("x") - .originatorRoutingNumber("x") - .originatorToBeneficiaryInformationLine1("x") - .originatorToBeneficiaryInformationLine2("x") - .originatorToBeneficiaryInformationLine3("x") - .originatorToBeneficiaryInformationLine4("x") - .senderReference("x") + .creditorAddressLine1("x") + .creditorAddressLine2("x") + .creditorAddressLine3("x") + .creditorName("x") + .debtorAddressLine1("x") + .debtorAddressLine2("x") + .debtorAddressLine3("x") + .debtorName("x") + .endToEndIdentification("x") + .instructingAgentRoutingNumber("x") + .instructionIdentification("x") + .uniqueEndToEndTransactionReference("x") + .unstructuredRemittanceInformation("x") .wireDrawdownRequestId("wire_drawdown_request_id") .build() @@ -59,21 +55,19 @@ internal class InboundWireTransferCreateParamsTest { assertThat(body.accountNumberId()).isEqualTo("account_number_v18nkfqm6afpsrvy82b2") assertThat(body.amount()).isEqualTo(1000L) - assertThat(body.beneficiaryAddressLine1()).contains("x") - assertThat(body.beneficiaryAddressLine2()).contains("x") - assertThat(body.beneficiaryAddressLine3()).contains("x") - assertThat(body.beneficiaryName()).contains("x") - assertThat(body.beneficiaryReference()).contains("x") - assertThat(body.originatorAddressLine1()).contains("x") - assertThat(body.originatorAddressLine2()).contains("x") - assertThat(body.originatorAddressLine3()).contains("x") - assertThat(body.originatorName()).contains("x") - assertThat(body.originatorRoutingNumber()).contains("x") - assertThat(body.originatorToBeneficiaryInformationLine1()).contains("x") - assertThat(body.originatorToBeneficiaryInformationLine2()).contains("x") - assertThat(body.originatorToBeneficiaryInformationLine3()).contains("x") - assertThat(body.originatorToBeneficiaryInformationLine4()).contains("x") - assertThat(body.senderReference()).contains("x") + assertThat(body.creditorAddressLine1()).contains("x") + assertThat(body.creditorAddressLine2()).contains("x") + assertThat(body.creditorAddressLine3()).contains("x") + assertThat(body.creditorName()).contains("x") + assertThat(body.debtorAddressLine1()).contains("x") + assertThat(body.debtorAddressLine2()).contains("x") + assertThat(body.debtorAddressLine3()).contains("x") + assertThat(body.debtorName()).contains("x") + assertThat(body.endToEndIdentification()).contains("x") + assertThat(body.instructingAgentRoutingNumber()).contains("x") + assertThat(body.instructionIdentification()).contains("x") + assertThat(body.uniqueEndToEndTransactionReference()).contains("x") + assertThat(body.unstructuredRemittanceInformation()).contains("x") assertThat(body.wireDrawdownRequestId()).contains("wire_drawdown_request_id") } diff --git a/increase-java-core/src/test/kotlin/com/increase/api/services/async/simulations/InboundWireTransferServiceAsyncTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/services/async/simulations/InboundWireTransferServiceAsyncTest.kt index 319e56c3c..1897ebda7 100644 --- a/increase-java-core/src/test/kotlin/com/increase/api/services/async/simulations/InboundWireTransferServiceAsyncTest.kt +++ b/increase-java-core/src/test/kotlin/com/increase/api/services/async/simulations/InboundWireTransferServiceAsyncTest.kt @@ -25,21 +25,19 @@ internal class InboundWireTransferServiceAsyncTest { InboundWireTransferCreateParams.builder() .accountNumberId("account_number_v18nkfqm6afpsrvy82b2") .amount(1000L) - .beneficiaryAddressLine1("x") - .beneficiaryAddressLine2("x") - .beneficiaryAddressLine3("x") - .beneficiaryName("x") - .beneficiaryReference("x") - .originatorAddressLine1("x") - .originatorAddressLine2("x") - .originatorAddressLine3("x") - .originatorName("x") - .originatorRoutingNumber("x") - .originatorToBeneficiaryInformationLine1("x") - .originatorToBeneficiaryInformationLine2("x") - .originatorToBeneficiaryInformationLine3("x") - .originatorToBeneficiaryInformationLine4("x") - .senderReference("x") + .creditorAddressLine1("x") + .creditorAddressLine2("x") + .creditorAddressLine3("x") + .creditorName("x") + .debtorAddressLine1("x") + .debtorAddressLine2("x") + .debtorAddressLine3("x") + .debtorName("x") + .endToEndIdentification("x") + .instructingAgentRoutingNumber("x") + .instructionIdentification("x") + .uniqueEndToEndTransactionReference("x") + .unstructuredRemittanceInformation("x") .wireDrawdownRequestId("wire_drawdown_request_id") .build() ) diff --git a/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/simulations/InboundWireTransferServiceTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/simulations/InboundWireTransferServiceTest.kt index fe7e089c7..d7a1a62b5 100644 --- a/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/simulations/InboundWireTransferServiceTest.kt +++ b/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/simulations/InboundWireTransferServiceTest.kt @@ -25,21 +25,19 @@ internal class InboundWireTransferServiceTest { InboundWireTransferCreateParams.builder() .accountNumberId("account_number_v18nkfqm6afpsrvy82b2") .amount(1000L) - .beneficiaryAddressLine1("x") - .beneficiaryAddressLine2("x") - .beneficiaryAddressLine3("x") - .beneficiaryName("x") - .beneficiaryReference("x") - .originatorAddressLine1("x") - .originatorAddressLine2("x") - .originatorAddressLine3("x") - .originatorName("x") - .originatorRoutingNumber("x") - .originatorToBeneficiaryInformationLine1("x") - .originatorToBeneficiaryInformationLine2("x") - .originatorToBeneficiaryInformationLine3("x") - .originatorToBeneficiaryInformationLine4("x") - .senderReference("x") + .creditorAddressLine1("x") + .creditorAddressLine2("x") + .creditorAddressLine3("x") + .creditorName("x") + .debtorAddressLine1("x") + .debtorAddressLine2("x") + .debtorAddressLine3("x") + .debtorName("x") + .endToEndIdentification("x") + .instructingAgentRoutingNumber("x") + .instructionIdentification("x") + .uniqueEndToEndTransactionReference("x") + .unstructuredRemittanceInformation("x") .wireDrawdownRequestId("wire_drawdown_request_id") .build() )