diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 869c71652..5739e4841 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.296.0"
+ ".": "0.297.0"
}
\ No newline at end of file
diff --git a/.stats.yml b/.stats.yml
index f4bfa5a9c..c4ea22888 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 216
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-e692ae6a744df0b2e6df643237f2338fb9afc9f55d456afde4fc392bc61ac438.yml
-openapi_spec_hash: 121549528ff41d1a1f7ddb76a3c391de
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-658e39148e80216f2f6064ec405b424afb64c63842e8f6c61f14100bb149d069.yml
+openapi_spec_hash: 38618257a4272f341695cd522f3e6dce
config_hash: 29e452035e915a07cd64333b10a83077
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 727d04cd4..37df74fc3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+## 0.297.0 (2025-08-25)
+
+Full Changelog: [v0.296.0...v0.297.0](https://github.com/Increase/increase-java/compare/v0.296.0...v0.297.0)
+
+### Features
+
+* **api:** api update ([9b20d89](https://github.com/Increase/increase-java/commit/9b20d89fc05b930d847996c048159c97ac718bbf))
+
## 0.296.0 (2025-08-25)
Full Changelog: [v0.295.1...v0.296.0](https://github.com/Increase/increase-java/compare/v0.295.1...v0.296.0)
diff --git a/README.md b/README.md
index 0712e30ce..ce6162614 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
-[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.296.0)
-[](https://javadoc.io/doc/com.increase.api/increase-java/0.296.0)
+[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.297.0)
+[](https://javadoc.io/doc/com.increase.api/increase-java/0.297.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.296.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.297.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.296.0")
+implementation("com.increase.api:increase-java:0.297.0")
```
### Maven
@@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.296.0")
com.increase.api
increase-java
- 0.296.0
+ 0.297.0
```
diff --git a/build.gradle.kts b/build.gradle.kts
index 2e123a04e..6ab1f3a9a 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -8,7 +8,7 @@ repositories {
allprojects {
group = "com.increase.api"
- version = "0.296.0" // x-release-please-version
+ version = "0.297.0" // x-release-please-version
}
subprojects {
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiredrawdownrequests/InboundWireDrawdownRequest.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiredrawdownrequests/InboundWireDrawdownRequest.kt
index 3ff076b8b..174240702 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiredrawdownrequests/InboundWireDrawdownRequest.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiredrawdownrequests/InboundWireDrawdownRequest.kt
@@ -28,27 +28,25 @@ class InboundWireDrawdownRequest
private constructor(
private val id: JsonField,
private val amount: JsonField,
- private val beneficiaryAccountNumber: JsonField,
- private val beneficiaryAddressLine1: JsonField,
- private val beneficiaryAddressLine2: JsonField,
- private val beneficiaryAddressLine3: JsonField,
- private val beneficiaryName: JsonField,
- private val beneficiaryRoutingNumber: JsonField,
private val createdAt: JsonField,
+ private val creditorAccountNumber: JsonField,
+ private val creditorAddressLine1: JsonField,
+ private val creditorAddressLine2: JsonField,
+ private val creditorAddressLine3: JsonField,
+ private val creditorName: JsonField,
+ private val creditorRoutingNumber: JsonField,
private val currency: JsonField,
- private val messageToRecipient: JsonField,
- private val originatorAccountNumber: 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 debtorAddressLine1: JsonField,
+ private val debtorAddressLine2: JsonField,
+ private val debtorAddressLine3: JsonField,
+ private val debtorName: JsonField,
+ private val endToEndIdentification: JsonField,
+ private val inputMessageAccountabilityData: JsonField,
+ private val instructionIdentification: JsonField,
private val recipientAccountNumberId: JsonField,
private val type: JsonField,
+ private val uniqueEndToEndTransactionReference: JsonField,
+ private val unstructuredRemittanceInformation: JsonField,
private val additionalProperties: MutableMap,
) {
@@ -56,89 +54,81 @@ private constructor(
private constructor(
@JsonProperty("id") @ExcludeMissing id: JsonField = JsonMissing.of(),
@JsonProperty("amount") @ExcludeMissing amount: JsonField = JsonMissing.of(),
- @JsonProperty("beneficiary_account_number")
+ @JsonProperty("created_at")
@ExcludeMissing
- beneficiaryAccountNumber: JsonField = JsonMissing.of(),
- @JsonProperty("beneficiary_address_line1")
+ createdAt: JsonField = JsonMissing.of(),
+ @JsonProperty("creditor_account_number")
@ExcludeMissing
- beneficiaryAddressLine1: JsonField = JsonMissing.of(),
- @JsonProperty("beneficiary_address_line2")
+ creditorAccountNumber: JsonField = JsonMissing.of(),
+ @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_routing_number")
+ creditorAddressLine3: JsonField = JsonMissing.of(),
+ @JsonProperty("creditor_name")
@ExcludeMissing
- beneficiaryRoutingNumber: JsonField = JsonMissing.of(),
- @JsonProperty("created_at")
+ creditorName: JsonField = JsonMissing.of(),
+ @JsonProperty("creditor_routing_number")
@ExcludeMissing
- createdAt: JsonField = JsonMissing.of(),
+ creditorRoutingNumber: JsonField = JsonMissing.of(),
@JsonProperty("currency") @ExcludeMissing currency: JsonField = JsonMissing.of(),
- @JsonProperty("message_to_recipient")
- @ExcludeMissing
- messageToRecipient: JsonField = JsonMissing.of(),
- @JsonProperty("originator_account_number")
- @ExcludeMissing
- originatorAccountNumber: JsonField = JsonMissing.of(),
- @JsonProperty("originator_address_line1")
- @ExcludeMissing
- originatorAddressLine1: JsonField = JsonMissing.of(),
- @JsonProperty("originator_address_line2")
- @ExcludeMissing
- originatorAddressLine2: JsonField = JsonMissing.of(),
- @JsonProperty("originator_address_line3")
+ @JsonProperty("debtor_address_line1")
@ExcludeMissing
- originatorAddressLine3: JsonField = JsonMissing.of(),
- @JsonProperty("originator_name")
+ debtorAddressLine1: JsonField = JsonMissing.of(),
+ @JsonProperty("debtor_address_line2")
@ExcludeMissing
- originatorName: JsonField = JsonMissing.of(),
- @JsonProperty("originator_routing_number")
+ debtorAddressLine2: JsonField = JsonMissing.of(),
+ @JsonProperty("debtor_address_line3")
@ExcludeMissing
- originatorRoutingNumber: JsonField = JsonMissing.of(),
- @JsonProperty("originator_to_beneficiary_information_line1")
+ debtorAddressLine3: JsonField = JsonMissing.of(),
+ @JsonProperty("debtor_name")
@ExcludeMissing
- originatorToBeneficiaryInformationLine1: JsonField = JsonMissing.of(),
- @JsonProperty("originator_to_beneficiary_information_line2")
+ debtorName: JsonField = JsonMissing.of(),
+ @JsonProperty("end_to_end_identification")
@ExcludeMissing
- originatorToBeneficiaryInformationLine2: JsonField = JsonMissing.of(),
- @JsonProperty("originator_to_beneficiary_information_line3")
+ endToEndIdentification: JsonField = JsonMissing.of(),
+ @JsonProperty("input_message_accountability_data")
@ExcludeMissing
- originatorToBeneficiaryInformationLine3: JsonField = JsonMissing.of(),
- @JsonProperty("originator_to_beneficiary_information_line4")
+ inputMessageAccountabilityData: JsonField = JsonMissing.of(),
+ @JsonProperty("instruction_identification")
@ExcludeMissing
- originatorToBeneficiaryInformationLine4: JsonField = JsonMissing.of(),
+ instructionIdentification: JsonField = JsonMissing.of(),
@JsonProperty("recipient_account_number_id")
@ExcludeMissing
recipientAccountNumberId: JsonField = JsonMissing.of(),
@JsonProperty("type") @ExcludeMissing type: JsonField = JsonMissing.of(),
+ @JsonProperty("unique_end_to_end_transaction_reference")
+ @ExcludeMissing
+ uniqueEndToEndTransactionReference: JsonField = JsonMissing.of(),
+ @JsonProperty("unstructured_remittance_information")
+ @ExcludeMissing
+ unstructuredRemittanceInformation: JsonField = JsonMissing.of(),
) : this(
id,
amount,
- beneficiaryAccountNumber,
- beneficiaryAddressLine1,
- beneficiaryAddressLine2,
- beneficiaryAddressLine3,
- beneficiaryName,
- beneficiaryRoutingNumber,
createdAt,
+ creditorAccountNumber,
+ creditorAddressLine1,
+ creditorAddressLine2,
+ creditorAddressLine3,
+ creditorName,
+ creditorRoutingNumber,
currency,
- messageToRecipient,
- originatorAccountNumber,
- originatorAddressLine1,
- originatorAddressLine2,
- originatorAddressLine3,
- originatorName,
- originatorRoutingNumber,
- originatorToBeneficiaryInformationLine1,
- originatorToBeneficiaryInformationLine2,
- originatorToBeneficiaryInformationLine3,
- originatorToBeneficiaryInformationLine4,
+ debtorAddressLine1,
+ debtorAddressLine2,
+ debtorAddressLine3,
+ debtorName,
+ endToEndIdentification,
+ inputMessageAccountabilityData,
+ instructionIdentification,
recipientAccountNumberId,
type,
+ uniqueEndToEndTransactionReference,
+ unstructuredRemittanceInformation,
mutableMapOf(),
)
@@ -159,66 +149,66 @@ private constructor(
fun amount(): Long = amount.getRequired("amount")
/**
- * The drawdown request's beneficiary's account number.
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which the inbound
+ * wire drawdown requested was created.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
*/
- fun beneficiaryAccountNumber(): String =
- beneficiaryAccountNumber.getRequired("beneficiary_account_number")
+ fun createdAt(): OffsetDateTime = createdAt.getRequired("created_at")
/**
- * Line 1 of the drawdown request's beneficiary's address.
+ * The creditor's account number.
*
- * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
- * server responded with an unexpected value).
+ * @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
+ * unexpectedly missing or null (e.g. if the server responded with an unexpected value).
*/
- fun beneficiaryAddressLine1(): Optional =
- beneficiaryAddressLine1.getOptional("beneficiary_address_line1")
+ fun creditorAccountNumber(): String =
+ creditorAccountNumber.getRequired("creditor_account_number")
/**
- * Line 2 of the drawdown request's beneficiary's address.
+ * A free-form address field set by the sender.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
*/
- fun beneficiaryAddressLine2(): Optional =
- beneficiaryAddressLine2.getOptional("beneficiary_address_line2")
+ fun creditorAddressLine1(): Optional =
+ creditorAddressLine1.getOptional("creditor_address_line1")
/**
- * Line 3 of the drawdown request's beneficiary's address.
+ * A free-form address field set by the sender.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
*/
- fun beneficiaryAddressLine3(): Optional =
- beneficiaryAddressLine3.getOptional("beneficiary_address_line3")
+ fun creditorAddressLine2(): Optional =
+ creditorAddressLine2.getOptional("creditor_address_line2")
/**
- * The drawdown request's beneficiary's name.
+ * A free-form address field set by the sender.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
*/
- fun beneficiaryName(): Optional = beneficiaryName.getOptional("beneficiary_name")
+ fun creditorAddressLine3(): Optional =
+ creditorAddressLine3.getOptional("creditor_address_line3")
/**
- * The drawdown request's beneficiary's routing number.
+ * A name set by the sender.
*
- * @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
- * unexpectedly missing or null (e.g. if the server responded with an unexpected value).
+ * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
+ * server responded with an unexpected value).
*/
- fun beneficiaryRoutingNumber(): String =
- beneficiaryRoutingNumber.getRequired("beneficiary_routing_number")
+ fun creditorName(): Optional = creditorName.getOptional("creditor_name")
/**
- * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which the inbound
- * wire drawdown requested was created.
+ * The creditor's routing number.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
*/
- fun createdAt(): OffsetDateTime = createdAt.getRequired("created_at")
+ fun creditorRoutingNumber(): String =
+ creditorRoutingNumber.getRequired("creditor_routing_number")
/**
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being requested.
@@ -230,110 +220,68 @@ private constructor(
fun currency(): String = currency.getRequired("currency")
/**
- * A message from the drawdown request's originator.
+ * A free-form address field set by the sender.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
*/
- fun messageToRecipient(): Optional =
- messageToRecipient.getOptional("message_to_recipient")
+ fun debtorAddressLine1(): Optional =
+ debtorAddressLine1.getOptional("debtor_address_line1")
/**
- * The drawdown request's originator's account number.
+ * A free-form address field set by the sender.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
*/
- fun originatorAccountNumber(): Optional =
- originatorAccountNumber.getOptional("originator_account_number")
+ fun debtorAddressLine2(): Optional =
+ debtorAddressLine2.getOptional("debtor_address_line2")
/**
- * Line 1 of the drawdown request's originator's address.
+ * A free-form address field set by the sender.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
*/
- fun originatorAddressLine1(): Optional =
- originatorAddressLine1.getOptional("originator_address_line1")
+ fun debtorAddressLine3(): Optional =
+ debtorAddressLine3.getOptional("debtor_address_line3")
/**
- * Line 2 of the drawdown request's originator's address.
+ * A name set by the sender.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
*/
- fun originatorAddressLine2(): Optional =
- originatorAddressLine2.getOptional("originator_address_line2")
+ fun debtorName(): Optional = debtorName.getOptional("debtor_name")
/**
- * Line 3 of the drawdown request's originator's address.
+ * A free-form reference string set by the sender, to help identify the drawdown request.
*
* @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 endToEndIdentification(): Optional =
+ endToEndIdentification.getOptional("end_to_end_identification")
/**
- * The drawdown request's originator's name.
+ * A unique identifier available to the originating and receiving banks, commonly abbreviated as
+ * IMAD. It is created when the wire is submitted to the Fedwire service and is helpful when
+ * debugging wires with the originating bank.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
*/
- fun originatorName(): Optional = originatorName.getOptional("originator_name")
+ fun inputMessageAccountabilityData(): Optional =
+ inputMessageAccountabilityData.getOptional("input_message_accountability_data")
/**
- * The drawdown request's originator's routing number.
- *
- * @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
- * unexpectedly missing or null (e.g. if the server responded with an unexpected value).
- */
- fun originatorRoutingNumber(): String =
- originatorRoutingNumber.getRequired("originator_routing_number")
-
- /**
- * Line 1 of the information conveyed from the originator of the message to the beneficiary.
+ * The sending bank's identifier for the drawdown request.
*
* @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"
- )
-
- /**
- * Line 2 of the information conveyed from the originator of the message to the beneficiary.
- *
- * @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"
- )
-
- /**
- * Line 3 of the information conveyed from the originator of the message to the beneficiary.
- *
- * @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"
- )
-
- /**
- * Line 4 of the information conveyed from the originator of the message to the beneficiary.
- *
- * @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 instructionIdentification(): Optional =
+ instructionIdentification.getOptional("instruction_identification")
/**
* The Account Number from which the recipient of this request is being requested to send funds.
@@ -353,6 +301,26 @@ private constructor(
*/
fun type(): Type = type.getRequired("type")
+ /**
+ * The Unique End-to-end Transaction Reference
+ * ([UETR](https://www.swift.com/payments/what-unique-end-end-transaction-reference-uetr)) of
+ * the drawdown request.
+ *
+ * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
+ * server responded with an unexpected value).
+ */
+ fun uniqueEndToEndTransactionReference(): Optional =
+ uniqueEndToEndTransactionReference.getOptional("unique_end_to_end_transaction_reference")
+
+ /**
+ * A free-form message set by the sender.
+ *
+ * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
+ * server responded with an unexpected value).
+ */
+ fun unstructuredRemittanceInformation(): Optional =
+ unstructuredRemittanceInformation.getOptional("unstructured_remittance_information")
+
/**
* Returns the raw JSON value of [id].
*
@@ -368,72 +336,72 @@ private constructor(
@JsonProperty("amount") @ExcludeMissing fun _amount(): JsonField = amount
/**
- * Returns the raw JSON value of [beneficiaryAccountNumber].
+ * Returns the raw JSON value of [createdAt].
*
- * Unlike [beneficiaryAccountNumber], this method doesn't throw if the JSON field has an
- * unexpected type.
+ * Unlike [createdAt], this method doesn't throw if the JSON field has an unexpected type.
*/
- @JsonProperty("beneficiary_account_number")
+ @JsonProperty("created_at")
@ExcludeMissing
- fun _beneficiaryAccountNumber(): JsonField = beneficiaryAccountNumber
+ fun _createdAt(): JsonField = createdAt
/**
- * Returns the raw JSON value of [beneficiaryAddressLine1].
+ * Returns the raw JSON value of [creditorAccountNumber].
*
- * Unlike [beneficiaryAddressLine1], this method doesn't throw if the JSON field has an
- * unexpected type.
+ * Unlike [creditorAccountNumber], this method doesn't throw if the JSON field has an unexpected
+ * type.
*/
- @JsonProperty("beneficiary_address_line1")
+ @JsonProperty("creditor_account_number")
@ExcludeMissing
- fun _beneficiaryAddressLine1(): JsonField = beneficiaryAddressLine1
+ fun _creditorAccountNumber(): JsonField = creditorAccountNumber
/**
- * Returns the raw JSON value of [beneficiaryAddressLine2].
+ * Returns the raw JSON value of [creditorAddressLine1].
*
- * Unlike [beneficiaryAddressLine2], 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.
*/
- @JsonProperty("beneficiary_address_line2")
+ @JsonProperty("creditor_address_line1")
@ExcludeMissing
- fun _beneficiaryAddressLine2(): JsonField = beneficiaryAddressLine2
+ fun _creditorAddressLine1(): JsonField = creditorAddressLine1
/**
- * Returns the raw JSON value of [beneficiaryAddressLine3].
+ * Returns the raw JSON value of [creditorAddressLine2].
*
- * Unlike [beneficiaryAddressLine3], 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.
*/
- @JsonProperty("beneficiary_address_line3")
+ @JsonProperty("creditor_address_line2")
@ExcludeMissing
- fun _beneficiaryAddressLine3(): JsonField = beneficiaryAddressLine3
+ fun _creditorAddressLine2(): JsonField = creditorAddressLine2
/**
- * Returns the raw JSON value of [beneficiaryName].
+ * Returns the raw JSON value of [creditorAddressLine3].
*
- * Unlike [beneficiaryName], 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.
*/
- @JsonProperty("beneficiary_name")
+ @JsonProperty("creditor_address_line3")
@ExcludeMissing
- fun _beneficiaryName(): JsonField = beneficiaryName
+ fun _creditorAddressLine3(): JsonField = creditorAddressLine3
/**
- * Returns the raw JSON value of [beneficiaryRoutingNumber].
+ * Returns the raw JSON value of [creditorName].
*
- * Unlike [beneficiaryRoutingNumber], 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.
*/
- @JsonProperty("beneficiary_routing_number")
+ @JsonProperty("creditor_name")
@ExcludeMissing
- fun _beneficiaryRoutingNumber(): JsonField = beneficiaryRoutingNumber
+ fun _creditorName(): JsonField = creditorName
/**
- * Returns the raw JSON value of [createdAt].
+ * Returns the raw JSON value of [creditorRoutingNumber].
*
- * Unlike [createdAt], this method doesn't throw if the JSON field has an unexpected type.
+ * Unlike [creditorRoutingNumber], this method doesn't throw if the JSON field has an unexpected
+ * type.
*/
- @JsonProperty("created_at")
+ @JsonProperty("creditor_routing_number")
@ExcludeMissing
- fun _createdAt(): JsonField = createdAt
+ fun _creditorRoutingNumber(): JsonField = creditorRoutingNumber
/**
* Returns the raw JSON value of [currency].
@@ -443,134 +411,109 @@ private constructor(
@JsonProperty("currency") @ExcludeMissing fun _currency(): JsonField = currency
/**
- * Returns the raw JSON value of [messageToRecipient].
+ * Returns the raw JSON value of [debtorAddressLine1].
*
- * Unlike [messageToRecipient], 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.
*/
- @JsonProperty("message_to_recipient")
+ @JsonProperty("debtor_address_line1")
@ExcludeMissing
- fun _messageToRecipient(): JsonField = messageToRecipient
+ fun _debtorAddressLine1(): JsonField = debtorAddressLine1
/**
- * Returns the raw JSON value of [originatorAccountNumber].
+ * Returns the raw JSON value of [debtorAddressLine2].
*
- * Unlike [originatorAccountNumber], 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.
*/
- @JsonProperty("originator_account_number")
+ @JsonProperty("debtor_address_line2")
@ExcludeMissing
- fun _originatorAccountNumber(): JsonField = originatorAccountNumber
+ fun _debtorAddressLine2(): JsonField = debtorAddressLine2
/**
- * Returns the raw JSON value of [originatorAddressLine1].
+ * Returns the raw JSON value of [debtorAddressLine3].
*
- * Unlike [originatorAddressLine1], 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.
*/
- @JsonProperty("originator_address_line1")
+ @JsonProperty("debtor_address_line3")
@ExcludeMissing
- fun _originatorAddressLine1(): JsonField = originatorAddressLine1
+ fun _debtorAddressLine3(): JsonField = debtorAddressLine3
/**
- * Returns the raw JSON value of [originatorAddressLine2].
+ * Returns the raw JSON value of [debtorName].
*
- * Unlike [originatorAddressLine2], 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_line2")
- @ExcludeMissing
- fun _originatorAddressLine2(): JsonField = originatorAddressLine2
+ @JsonProperty("debtor_name") @ExcludeMissing fun _debtorName(): JsonField = debtorName
/**
- * Returns the raw JSON value of [originatorAddressLine3].
+ * Returns the raw JSON value of [endToEndIdentification].
*
- * Unlike [originatorAddressLine3], 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_address_line3")
+ @JsonProperty("end_to_end_identification")
@ExcludeMissing
- fun _originatorAddressLine3(): JsonField = originatorAddressLine3
+ fun _endToEndIdentification(): JsonField = endToEndIdentification
/**
- * Returns the raw JSON value of [originatorName].
+ * Returns the raw JSON value of [inputMessageAccountabilityData].
*
- * 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 [inputMessageAccountabilityData], this method doesn't throw if the JSON field has an
* unexpected type.
*/
- @JsonProperty("originator_routing_number")
+ @JsonProperty("input_message_accountability_data")
@ExcludeMissing
- fun _originatorRoutingNumber(): JsonField = originatorRoutingNumber
+ fun _inputMessageAccountabilityData(): JsonField = inputMessageAccountabilityData
/**
- * Returns the raw JSON value of [originatorToBeneficiaryInformationLine1].
+ * Returns the raw JSON value of [instructionIdentification].
*
- * Unlike [originatorToBeneficiaryInformationLine1], 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_line1")
+ @JsonProperty("instruction_identification")
@ExcludeMissing
- fun _originatorToBeneficiaryInformationLine1(): JsonField =
- originatorToBeneficiaryInformationLine1
+ fun _instructionIdentification(): JsonField = instructionIdentification
/**
- * Returns the raw JSON value of [originatorToBeneficiaryInformationLine2].
+ * Returns the raw JSON value of [recipientAccountNumberId].
*
- * Unlike [originatorToBeneficiaryInformationLine2], this method doesn't throw if the JSON field
- * has an unexpected type.
+ * Unlike [recipientAccountNumberId], this method doesn't throw if the JSON field has an
+ * unexpected type.
*/
- @JsonProperty("originator_to_beneficiary_information_line2")
+ @JsonProperty("recipient_account_number_id")
@ExcludeMissing
- fun _originatorToBeneficiaryInformationLine2(): JsonField =
- originatorToBeneficiaryInformationLine2
+ fun _recipientAccountNumberId(): JsonField = recipientAccountNumberId
/**
- * Returns the raw JSON value of [originatorToBeneficiaryInformationLine3].
+ * Returns the raw JSON value of [type].
*
- * Unlike [originatorToBeneficiaryInformationLine3], this method doesn't throw if the JSON field
- * has an unexpected type.
+ * Unlike [type], this method doesn't throw if the JSON field has an unexpected type.
*/
- @JsonProperty("originator_to_beneficiary_information_line3")
- @ExcludeMissing
- fun _originatorToBeneficiaryInformationLine3(): JsonField =
- originatorToBeneficiaryInformationLine3
+ @JsonProperty("type") @ExcludeMissing fun _type(): JsonField = type
/**
- * 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 [recipientAccountNumberId].
+ * Returns the raw JSON value of [unstructuredRemittanceInformation].
*
- * Unlike [recipientAccountNumberId], 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("recipient_account_number_id")
+ @JsonProperty("unstructured_remittance_information")
@ExcludeMissing
- fun _recipientAccountNumberId(): JsonField = recipientAccountNumberId
-
- /**
- * Returns the raw JSON value of [type].
- *
- * Unlike [type], this method doesn't throw if the JSON field has an unexpected type.
- */
- @JsonProperty("type") @ExcludeMissing fun _type(): JsonField = type
+ fun _unstructuredRemittanceInformation(): JsonField = unstructuredRemittanceInformation
@JsonAnySetter
private fun putAdditionalProperty(key: String, value: JsonValue) {
@@ -593,27 +536,25 @@ private constructor(
* ```java
* .id()
* .amount()
- * .beneficiaryAccountNumber()
- * .beneficiaryAddressLine1()
- * .beneficiaryAddressLine2()
- * .beneficiaryAddressLine3()
- * .beneficiaryName()
- * .beneficiaryRoutingNumber()
* .createdAt()
+ * .creditorAccountNumber()
+ * .creditorAddressLine1()
+ * .creditorAddressLine2()
+ * .creditorAddressLine3()
+ * .creditorName()
+ * .creditorRoutingNumber()
* .currency()
- * .messageToRecipient()
- * .originatorAccountNumber()
- * .originatorAddressLine1()
- * .originatorAddressLine2()
- * .originatorAddressLine3()
- * .originatorName()
- * .originatorRoutingNumber()
- * .originatorToBeneficiaryInformationLine1()
- * .originatorToBeneficiaryInformationLine2()
- * .originatorToBeneficiaryInformationLine3()
- * .originatorToBeneficiaryInformationLine4()
+ * .debtorAddressLine1()
+ * .debtorAddressLine2()
+ * .debtorAddressLine3()
+ * .debtorName()
+ * .endToEndIdentification()
+ * .inputMessageAccountabilityData()
+ * .instructionIdentification()
* .recipientAccountNumberId()
* .type()
+ * .uniqueEndToEndTransactionReference()
+ * .unstructuredRemittanceInformation()
* ```
*/
@JvmStatic fun builder() = Builder()
@@ -624,58 +565,53 @@ private constructor(
private var id: JsonField? = null
private var amount: JsonField? = null
- private var beneficiaryAccountNumber: JsonField? = null
- private var beneficiaryAddressLine1: JsonField? = null
- private var beneficiaryAddressLine2: JsonField? = null
- private var beneficiaryAddressLine3: JsonField? = null
- private var beneficiaryName: JsonField? = null
- private var beneficiaryRoutingNumber: JsonField? = null
private var createdAt: JsonField? = null
+ private var creditorAccountNumber: JsonField? = null
+ private var creditorAddressLine1: JsonField? = null
+ private var creditorAddressLine2: JsonField? = null
+ private var creditorAddressLine3: JsonField? = null
+ private var creditorName: JsonField? = null
+ private var creditorRoutingNumber: JsonField? = null
private var currency: JsonField? = null
- private var messageToRecipient: JsonField? = null
- private var originatorAccountNumber: JsonField? = null
- private var originatorAddressLine1: JsonField? = null
- private var originatorAddressLine2: JsonField? = null
- private var originatorAddressLine3: JsonField? = null
- private var originatorName: JsonField? = null
- private var originatorRoutingNumber: JsonField? = null
- private var originatorToBeneficiaryInformationLine1: JsonField? = null
- private var originatorToBeneficiaryInformationLine2: JsonField? = null
- private var originatorToBeneficiaryInformationLine3: JsonField? = null
- private var originatorToBeneficiaryInformationLine4: JsonField? = null
+ private var debtorAddressLine1: JsonField? = null
+ private var debtorAddressLine2: JsonField? = null
+ private var debtorAddressLine3: JsonField? = null
+ private var debtorName: JsonField? = null
+ private var endToEndIdentification: JsonField? = null
+ private var inputMessageAccountabilityData: JsonField? = null
+ private var instructionIdentification: JsonField? = null
private var recipientAccountNumberId: JsonField? = null
private var type: JsonField? = null
+ private var uniqueEndToEndTransactionReference: JsonField? = null
+ private var unstructuredRemittanceInformation: JsonField? = null
private var additionalProperties: MutableMap = mutableMapOf()
@JvmSynthetic
internal fun from(inboundWireDrawdownRequest: InboundWireDrawdownRequest) = apply {
id = inboundWireDrawdownRequest.id
amount = inboundWireDrawdownRequest.amount
- beneficiaryAccountNumber = inboundWireDrawdownRequest.beneficiaryAccountNumber
- beneficiaryAddressLine1 = inboundWireDrawdownRequest.beneficiaryAddressLine1
- beneficiaryAddressLine2 = inboundWireDrawdownRequest.beneficiaryAddressLine2
- beneficiaryAddressLine3 = inboundWireDrawdownRequest.beneficiaryAddressLine3
- beneficiaryName = inboundWireDrawdownRequest.beneficiaryName
- beneficiaryRoutingNumber = inboundWireDrawdownRequest.beneficiaryRoutingNumber
createdAt = inboundWireDrawdownRequest.createdAt
+ creditorAccountNumber = inboundWireDrawdownRequest.creditorAccountNumber
+ creditorAddressLine1 = inboundWireDrawdownRequest.creditorAddressLine1
+ creditorAddressLine2 = inboundWireDrawdownRequest.creditorAddressLine2
+ creditorAddressLine3 = inboundWireDrawdownRequest.creditorAddressLine3
+ creditorName = inboundWireDrawdownRequest.creditorName
+ creditorRoutingNumber = inboundWireDrawdownRequest.creditorRoutingNumber
currency = inboundWireDrawdownRequest.currency
- messageToRecipient = inboundWireDrawdownRequest.messageToRecipient
- originatorAccountNumber = inboundWireDrawdownRequest.originatorAccountNumber
- originatorAddressLine1 = inboundWireDrawdownRequest.originatorAddressLine1
- originatorAddressLine2 = inboundWireDrawdownRequest.originatorAddressLine2
- originatorAddressLine3 = inboundWireDrawdownRequest.originatorAddressLine3
- originatorName = inboundWireDrawdownRequest.originatorName
- originatorRoutingNumber = inboundWireDrawdownRequest.originatorRoutingNumber
- originatorToBeneficiaryInformationLine1 =
- inboundWireDrawdownRequest.originatorToBeneficiaryInformationLine1
- originatorToBeneficiaryInformationLine2 =
- inboundWireDrawdownRequest.originatorToBeneficiaryInformationLine2
- originatorToBeneficiaryInformationLine3 =
- inboundWireDrawdownRequest.originatorToBeneficiaryInformationLine3
- originatorToBeneficiaryInformationLine4 =
- inboundWireDrawdownRequest.originatorToBeneficiaryInformationLine4
+ debtorAddressLine1 = inboundWireDrawdownRequest.debtorAddressLine1
+ debtorAddressLine2 = inboundWireDrawdownRequest.debtorAddressLine2
+ debtorAddressLine3 = inboundWireDrawdownRequest.debtorAddressLine3
+ debtorName = inboundWireDrawdownRequest.debtorName
+ endToEndIdentification = inboundWireDrawdownRequest.endToEndIdentification
+ inputMessageAccountabilityData =
+ inboundWireDrawdownRequest.inputMessageAccountabilityData
+ instructionIdentification = inboundWireDrawdownRequest.instructionIdentification
recipientAccountNumberId = inboundWireDrawdownRequest.recipientAccountNumberId
type = inboundWireDrawdownRequest.type
+ uniqueEndToEndTransactionReference =
+ inboundWireDrawdownRequest.uniqueEndToEndTransactionReference
+ unstructuredRemittanceInformation =
+ inboundWireDrawdownRequest.unstructuredRemittanceInformation
additionalProperties = inboundWireDrawdownRequest.additionalProperties.toMutableMap()
}
@@ -701,135 +637,133 @@ private constructor(
*/
fun amount(amount: JsonField) = apply { this.amount = amount }
- /** The drawdown request's beneficiary's account number. */
- fun beneficiaryAccountNumber(beneficiaryAccountNumber: String) =
- beneficiaryAccountNumber(JsonField.of(beneficiaryAccountNumber))
-
/**
- * Sets [Builder.beneficiaryAccountNumber] to an arbitrary JSON value.
- *
- * You should usually call [Builder.beneficiaryAccountNumber] with a well-typed [String]
- * value instead. This method is primarily for setting the field to an undocumented or not
- * yet supported value.
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which the inbound
+ * wire drawdown requested was created.
*/
- fun beneficiaryAccountNumber(beneficiaryAccountNumber: JsonField) = apply {
- this.beneficiaryAccountNumber = beneficiaryAccountNumber
- }
-
- /** Line 1 of the drawdown request's beneficiary's address. */
- fun beneficiaryAddressLine1(beneficiaryAddressLine1: String?) =
- beneficiaryAddressLine1(JsonField.ofNullable(beneficiaryAddressLine1))
+ fun createdAt(createdAt: OffsetDateTime) = createdAt(JsonField.of(createdAt))
/**
- * Alias for calling [Builder.beneficiaryAddressLine1] with
- * `beneficiaryAddressLine1.orElse(null)`.
+ * Sets [Builder.createdAt] to an arbitrary JSON value.
+ *
+ * You should usually call [Builder.createdAt] with a well-typed [OffsetDateTime] value
+ * instead. This method is primarily for setting the field to an undocumented or not yet
+ * supported value.
*/
- fun beneficiaryAddressLine1(beneficiaryAddressLine1: Optional) =
- beneficiaryAddressLine1(beneficiaryAddressLine1.getOrNull())
+ fun createdAt(createdAt: JsonField) = apply { this.createdAt = createdAt }
+
+ /** The creditor's account number. */
+ fun creditorAccountNumber(creditorAccountNumber: String) =
+ creditorAccountNumber(JsonField.of(creditorAccountNumber))
/**
- * Sets [Builder.beneficiaryAddressLine1] to an arbitrary JSON value.
+ * Sets [Builder.creditorAccountNumber] 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.creditorAccountNumber] 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 creditorAccountNumber(creditorAccountNumber: JsonField) = apply {
+ this.creditorAccountNumber = creditorAccountNumber
}
- /** Line 2 of the drawdown request's beneficiary's address. */
- fun beneficiaryAddressLine2(beneficiaryAddressLine2: String?) =
- beneficiaryAddressLine2(JsonField.ofNullable(beneficiaryAddressLine2))
+ /** A free-form address field set by the sender. */
+ fun creditorAddressLine1(creditorAddressLine1: String?) =
+ creditorAddressLine1(JsonField.ofNullable(creditorAddressLine1))
/**
- * Alias for calling [Builder.beneficiaryAddressLine2] with
- * `beneficiaryAddressLine2.orElse(null)`.
+ * Alias for calling [Builder.creditorAddressLine1] with
+ * `creditorAddressLine1.orElse(null)`.
*/
- fun beneficiaryAddressLine2(beneficiaryAddressLine2: Optional) =
- beneficiaryAddressLine2(beneficiaryAddressLine2.getOrNull())
+ fun creditorAddressLine1(creditorAddressLine1: Optional) =
+ creditorAddressLine1(creditorAddressLine1.getOrNull())
/**
- * Sets [Builder.beneficiaryAddressLine2] to an arbitrary JSON value.
+ * Sets [Builder.creditorAddressLine1] 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.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 beneficiaryAddressLine2(beneficiaryAddressLine2: JsonField) = apply {
- this.beneficiaryAddressLine2 = beneficiaryAddressLine2
+ fun creditorAddressLine1(creditorAddressLine1: JsonField) = apply {
+ this.creditorAddressLine1 = creditorAddressLine1
}
- /** Line 3 of the drawdown request's beneficiary's address. */
- fun beneficiaryAddressLine3(beneficiaryAddressLine3: String?) =
- beneficiaryAddressLine3(JsonField.ofNullable(beneficiaryAddressLine3))
+ /** A free-form address field set by the sender. */
+ fun creditorAddressLine2(creditorAddressLine2: String?) =
+ creditorAddressLine2(JsonField.ofNullable(creditorAddressLine2))
/**
- * Alias for calling [Builder.beneficiaryAddressLine3] with
- * `beneficiaryAddressLine3.orElse(null)`.
+ * Alias for calling [Builder.creditorAddressLine2] with
+ * `creditorAddressLine2.orElse(null)`.
*/
- fun beneficiaryAddressLine3(beneficiaryAddressLine3: Optional) =
- beneficiaryAddressLine3(beneficiaryAddressLine3.getOrNull())
+ fun creditorAddressLine2(creditorAddressLine2: Optional) =
+ creditorAddressLine2(creditorAddressLine2.getOrNull())
/**
- * Sets [Builder.beneficiaryAddressLine3] to an arbitrary JSON value.
+ * Sets [Builder.creditorAddressLine2] 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.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 beneficiaryAddressLine3(beneficiaryAddressLine3: JsonField) = apply {
- this.beneficiaryAddressLine3 = beneficiaryAddressLine3
+ fun creditorAddressLine2(creditorAddressLine2: JsonField) = apply {
+ this.creditorAddressLine2 = creditorAddressLine2
}
- /** The drawdown request's beneficiary's name. */
- fun beneficiaryName(beneficiaryName: String?) =
- beneficiaryName(JsonField.ofNullable(beneficiaryName))
+ /** A free-form address field set by the sender. */
+ fun creditorAddressLine3(creditorAddressLine3: String?) =
+ creditorAddressLine3(JsonField.ofNullable(creditorAddressLine3))
- /** Alias for calling [Builder.beneficiaryName] with `beneficiaryName.orElse(null)`. */
- fun beneficiaryName(beneficiaryName: Optional) =
- beneficiaryName(beneficiaryName.getOrNull())
+ /**
+ * Alias for calling [Builder.creditorAddressLine3] with
+ * `creditorAddressLine3.orElse(null)`.
+ */
+ fun creditorAddressLine3(creditorAddressLine3: Optional) =
+ creditorAddressLine3(creditorAddressLine3.getOrNull())
/**
- * Sets [Builder.beneficiaryName] to an arbitrary JSON value.
+ * Sets [Builder.creditorAddressLine3] to an arbitrary JSON value.
*
- * You should usually call [Builder.beneficiaryName] with a well-typed [String] 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 beneficiaryName(beneficiaryName: JsonField) = apply {
- this.beneficiaryName = beneficiaryName
+ fun creditorAddressLine3(creditorAddressLine3: JsonField) = apply {
+ this.creditorAddressLine3 = creditorAddressLine3
}
- /** The drawdown request's beneficiary's routing number. */
- fun beneficiaryRoutingNumber(beneficiaryRoutingNumber: String) =
- beneficiaryRoutingNumber(JsonField.of(beneficiaryRoutingNumber))
+ /** A name set by the sender. */
+ fun creditorName(creditorName: String?) = creditorName(JsonField.ofNullable(creditorName))
+
+ /** Alias for calling [Builder.creditorName] with `creditorName.orElse(null)`. */
+ fun creditorName(creditorName: Optional) = creditorName(creditorName.getOrNull())
/**
- * Sets [Builder.beneficiaryRoutingNumber] to an arbitrary JSON value.
+ * Sets [Builder.creditorName] to an arbitrary JSON value.
*
- * You should usually call [Builder.beneficiaryRoutingNumber] 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 beneficiaryRoutingNumber(beneficiaryRoutingNumber: JsonField) = apply {
- this.beneficiaryRoutingNumber = beneficiaryRoutingNumber
+ fun creditorName(creditorName: JsonField) = apply {
+ this.creditorName = creditorName
}
- /**
- * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which the inbound
- * wire drawdown requested was created.
- */
- fun createdAt(createdAt: OffsetDateTime) = createdAt(JsonField.of(createdAt))
+ /** The creditor's routing number. */
+ fun creditorRoutingNumber(creditorRoutingNumber: String) =
+ creditorRoutingNumber(JsonField.of(creditorRoutingNumber))
/**
- * Sets [Builder.createdAt] to an arbitrary JSON value.
+ * Sets [Builder.creditorRoutingNumber] to an arbitrary JSON value.
*
- * You should usually call [Builder.createdAt] with a well-typed [OffsetDateTime] value
+ * You should usually call [Builder.creditorRoutingNumber] with a well-typed [String] value
* instead. This method is primarily for setting the field to an undocumented or not yet
* supported value.
*/
- fun createdAt(createdAt: JsonField) = apply { this.createdAt = createdAt }
+ fun creditorRoutingNumber(creditorRoutingNumber: JsonField) = apply {
+ this.creditorRoutingNumber = creditorRoutingNumber
+ }
/**
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being
@@ -845,283 +779,155 @@ private constructor(
*/
fun currency(currency: JsonField) = apply { this.currency = currency }
- /** A message from the drawdown request's originator. */
- fun messageToRecipient(messageToRecipient: String?) =
- messageToRecipient(JsonField.ofNullable(messageToRecipient))
-
- /**
- * Alias for calling [Builder.messageToRecipient] with `messageToRecipient.orElse(null)`.
- */
- fun messageToRecipient(messageToRecipient: Optional) =
- messageToRecipient(messageToRecipient.getOrNull())
-
- /**
- * Sets [Builder.messageToRecipient] to an arbitrary JSON value.
- *
- * You should usually call [Builder.messageToRecipient] with a well-typed [String] value
- * instead. This method is primarily for setting the field to an undocumented or not yet
- * supported value.
- */
- fun messageToRecipient(messageToRecipient: JsonField) = apply {
- this.messageToRecipient = messageToRecipient
- }
-
- /** The drawdown request's originator's account number. */
- fun originatorAccountNumber(originatorAccountNumber: String?) =
- originatorAccountNumber(JsonField.ofNullable(originatorAccountNumber))
+ /** A free-form address field set by the sender. */
+ fun debtorAddressLine1(debtorAddressLine1: String?) =
+ debtorAddressLine1(JsonField.ofNullable(debtorAddressLine1))
/**
- * Alias for calling [Builder.originatorAccountNumber] with
- * `originatorAccountNumber.orElse(null)`.
+ * Alias for calling [Builder.debtorAddressLine1] with `debtorAddressLine1.orElse(null)`.
*/
- fun originatorAccountNumber(originatorAccountNumber: Optional) =
- originatorAccountNumber(originatorAccountNumber.getOrNull())
+ fun debtorAddressLine1(debtorAddressLine1: Optional) =
+ debtorAddressLine1(debtorAddressLine1.getOrNull())
/**
- * Sets [Builder.originatorAccountNumber] to an arbitrary JSON value.
+ * Sets [Builder.debtorAddressLine1] to an arbitrary JSON value.
*
- * You should usually call [Builder.originatorAccountNumber] with a well-typed [String]
- * value instead. This method is primarily for setting the field to an undocumented or not
- * yet supported value.
- */
- fun originatorAccountNumber(originatorAccountNumber: JsonField) = apply {
- this.originatorAccountNumber = originatorAccountNumber
- }
-
- /** Line 1 of the drawdown request's originator's address. */
- fun originatorAddressLine1(originatorAddressLine1: String?) =
- originatorAddressLine1(JsonField.ofNullable(originatorAddressLine1))
-
- /**
- * Alias for calling [Builder.originatorAddressLine1] with
- * `originatorAddressLine1.orElse(null)`.
- */
- fun originatorAddressLine1(originatorAddressLine1: Optional) =
- originatorAddressLine1(originatorAddressLine1.getOrNull())
-
- /**
- * Sets [Builder.originatorAddressLine1] to an arbitrary JSON value.
- *
- * You should usually call [Builder.originatorAddressLine1] with a well-typed [String] value
+ * 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
}
- /** Line 2 of the drawdown request's originator's address. */
- fun originatorAddressLine2(originatorAddressLine2: String?) =
- originatorAddressLine2(JsonField.ofNullable(originatorAddressLine2))
+ /** A free-form address field set by the sender. */
+ fun debtorAddressLine2(debtorAddressLine2: String?) =
+ debtorAddressLine2(JsonField.ofNullable(debtorAddressLine2))
/**
- * Alias for calling [Builder.originatorAddressLine2] with
- * `originatorAddressLine2.orElse(null)`.
+ * Alias for calling [Builder.debtorAddressLine2] with `debtorAddressLine2.orElse(null)`.
*/
- fun originatorAddressLine2(originatorAddressLine2: Optional) =
- originatorAddressLine2(originatorAddressLine2.getOrNull())
+ fun debtorAddressLine2(debtorAddressLine2: Optional) =
+ debtorAddressLine2(debtorAddressLine2.getOrNull())
/**
- * 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
+ * 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
}
- /** Line 3 of the drawdown request's originator's address. */
- fun originatorAddressLine3(originatorAddressLine3: String?) =
- originatorAddressLine3(JsonField.ofNullable(originatorAddressLine3))
+ /** A free-form address field set by the sender. */
+ fun debtorAddressLine3(debtorAddressLine3: String?) =
+ debtorAddressLine3(JsonField.ofNullable(debtorAddressLine3))
/**
- * Alias for calling [Builder.originatorAddressLine3] with
- * `originatorAddressLine3.orElse(null)`.
- */
- fun originatorAddressLine3(originatorAddressLine3: Optional) =
- originatorAddressLine3(originatorAddressLine3.getOrNull())
-
- /**
- * Sets [Builder.originatorAddressLine3] to an arbitrary JSON value.
- *
- * You should usually call [Builder.originatorAddressLine3] with a well-typed [String] value
- * instead. This method is primarily for setting the field to an undocumented or not yet
- * supported value.
+ * Alias for calling [Builder.debtorAddressLine3] with `debtorAddressLine3.orElse(null)`.
*/
- fun originatorAddressLine3(originatorAddressLine3: JsonField) = apply {
- this.originatorAddressLine3 = originatorAddressLine3
- }
-
- /** The drawdown request's originator's name. */
- fun originatorName(originatorName: String?) =
- originatorName(JsonField.ofNullable(originatorName))
-
- /** Alias for calling [Builder.originatorName] with `originatorName.orElse(null)`. */
- fun originatorName(originatorName: Optional) =
- originatorName(originatorName.getOrNull())
+ fun debtorAddressLine3(debtorAddressLine3: Optional) =
+ debtorAddressLine3(debtorAddressLine3.getOrNull())
/**
- * Sets [Builder.originatorName] to an arbitrary JSON value.
+ * Sets [Builder.debtorAddressLine3] to an arbitrary JSON value.
*
- * You should usually call [Builder.originatorName] 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 originatorName(originatorName: JsonField) = apply {
- this.originatorName = originatorName
+ fun debtorAddressLine3(debtorAddressLine3: JsonField) = apply {
+ this.debtorAddressLine3 = debtorAddressLine3
}
- /** The drawdown request's originator's routing number. */
- fun originatorRoutingNumber(originatorRoutingNumber: String) =
- originatorRoutingNumber(JsonField.of(originatorRoutingNumber))
-
- /**
- * Sets [Builder.originatorRoutingNumber] to an arbitrary JSON value.
- *
- * You should usually call [Builder.originatorRoutingNumber] with a well-typed [String]
- * value instead. This method is primarily for setting the field to an undocumented or not
- * yet supported value.
- */
- fun originatorRoutingNumber(originatorRoutingNumber: JsonField) = apply {
- this.originatorRoutingNumber = originatorRoutingNumber
- }
+ /** A name set by the sender. */
+ fun debtorName(debtorName: String?) = debtorName(JsonField.ofNullable(debtorName))
- /**
- * Line 1 of the information conveyed from the originator of the message to the beneficiary.
- */
- fun originatorToBeneficiaryInformationLine1(
- originatorToBeneficiaryInformationLine1: String?
- ) =
- originatorToBeneficiaryInformationLine1(
- JsonField.ofNullable(originatorToBeneficiaryInformationLine1)
- )
+ /** Alias for calling [Builder.debtorName] with `debtorName.orElse(null)`. */
+ fun debtorName(debtorName: Optional) = debtorName(debtorName.getOrNull())
/**
- * Alias for calling [Builder.originatorToBeneficiaryInformationLine1] with
- * `originatorToBeneficiaryInformationLine1.orElse(null)`.
- */
- fun originatorToBeneficiaryInformationLine1(
- originatorToBeneficiaryInformationLine1: Optional
- ) =
- originatorToBeneficiaryInformationLine1(
- originatorToBeneficiaryInformationLine1.getOrNull()
- )
-
- /**
- * Sets [Builder.originatorToBeneficiaryInformationLine1] to an arbitrary JSON value.
+ * Sets [Builder.debtorName] 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.
+ * 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 originatorToBeneficiaryInformationLine1(
- originatorToBeneficiaryInformationLine1: JsonField
- ) = apply {
- this.originatorToBeneficiaryInformationLine1 = originatorToBeneficiaryInformationLine1
- }
+ fun debtorName(debtorName: JsonField) = apply { this.debtorName = debtorName }
/**
- * Line 2 of the information conveyed from the originator of the message to the beneficiary.
+ * A free-form reference string set by the sender, to help identify the drawdown request.
*/
- fun originatorToBeneficiaryInformationLine2(
- originatorToBeneficiaryInformationLine2: String?
- ) =
- originatorToBeneficiaryInformationLine2(
- JsonField.ofNullable(originatorToBeneficiaryInformationLine2)
- )
+ fun endToEndIdentification(endToEndIdentification: String?) =
+ endToEndIdentification(JsonField.ofNullable(endToEndIdentification))
/**
- * Alias for calling [Builder.originatorToBeneficiaryInformationLine2] with
- * `originatorToBeneficiaryInformationLine2.orElse(null)`.
+ * Alias for calling [Builder.endToEndIdentification] with
+ * `endToEndIdentification.orElse(null)`.
*/
- fun originatorToBeneficiaryInformationLine2(
- originatorToBeneficiaryInformationLine2: Optional
- ) =
- originatorToBeneficiaryInformationLine2(
- originatorToBeneficiaryInformationLine2.getOrNull()
- )
+ fun endToEndIdentification(endToEndIdentification: Optional) =
+ endToEndIdentification(endToEndIdentification.getOrNull())
/**
- * Sets [Builder.originatorToBeneficiaryInformationLine2] to an arbitrary JSON value.
+ * Sets [Builder.endToEndIdentification] 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.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 originatorToBeneficiaryInformationLine2(
- originatorToBeneficiaryInformationLine2: JsonField
- ) = apply {
- this.originatorToBeneficiaryInformationLine2 = originatorToBeneficiaryInformationLine2
+ fun endToEndIdentification(endToEndIdentification: JsonField) = apply {
+ this.endToEndIdentification = endToEndIdentification
}
/**
- * Line 3 of the information conveyed from the originator of the message to the beneficiary.
+ * A unique identifier available to the originating and receiving banks, commonly
+ * abbreviated as IMAD. It is created when the wire is submitted to the Fedwire service and
+ * is helpful when debugging wires with the originating bank.
*/
- fun originatorToBeneficiaryInformationLine3(
- originatorToBeneficiaryInformationLine3: String?
- ) =
- originatorToBeneficiaryInformationLine3(
- JsonField.ofNullable(originatorToBeneficiaryInformationLine3)
- )
+ fun inputMessageAccountabilityData(inputMessageAccountabilityData: String?) =
+ inputMessageAccountabilityData(JsonField.ofNullable(inputMessageAccountabilityData))
/**
- * Alias for calling [Builder.originatorToBeneficiaryInformationLine3] with
- * `originatorToBeneficiaryInformationLine3.orElse(null)`.
+ * Alias for calling [Builder.inputMessageAccountabilityData] with
+ * `inputMessageAccountabilityData.orElse(null)`.
*/
- fun originatorToBeneficiaryInformationLine3(
- originatorToBeneficiaryInformationLine3: Optional
- ) =
- originatorToBeneficiaryInformationLine3(
- originatorToBeneficiaryInformationLine3.getOrNull()
- )
+ fun inputMessageAccountabilityData(inputMessageAccountabilityData: Optional) =
+ inputMessageAccountabilityData(inputMessageAccountabilityData.getOrNull())
/**
- * Sets [Builder.originatorToBeneficiaryInformationLine3] to an arbitrary JSON value.
+ * Sets [Builder.inputMessageAccountabilityData] 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.inputMessageAccountabilityData] 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 inputMessageAccountabilityData(inputMessageAccountabilityData: JsonField) =
+ apply {
+ this.inputMessageAccountabilityData = inputMessageAccountabilityData
+ }
- /**
- * Line 4 of the information conveyed from the originator of the message to the beneficiary.
- */
- fun originatorToBeneficiaryInformationLine4(
- originatorToBeneficiaryInformationLine4: String?
- ) =
- originatorToBeneficiaryInformationLine4(
- JsonField.ofNullable(originatorToBeneficiaryInformationLine4)
- )
+ /** The sending bank's identifier for the drawdown request. */
+ fun instructionIdentification(instructionIdentification: String?) =
+ instructionIdentification(JsonField.ofNullable(instructionIdentification))
/**
- * Alias for calling [Builder.originatorToBeneficiaryInformationLine4] with
- * `originatorToBeneficiaryInformationLine4.orElse(null)`.
+ * Alias for calling [Builder.instructionIdentification] with
+ * `instructionIdentification.orElse(null)`.
*/
- fun originatorToBeneficiaryInformationLine4(
- originatorToBeneficiaryInformationLine4: Optional
- ) =
- originatorToBeneficiaryInformationLine4(
- originatorToBeneficiaryInformationLine4.getOrNull()
- )
+ fun instructionIdentification(instructionIdentification: Optional) =
+ instructionIdentification(instructionIdentification.getOrNull())
/**
- * Sets [Builder.originatorToBeneficiaryInformationLine4] to an arbitrary JSON value.
+ * Sets [Builder.instructionIdentification] 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.
+ * 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 originatorToBeneficiaryInformationLine4(
- originatorToBeneficiaryInformationLine4: JsonField
- ) = apply {
- this.originatorToBeneficiaryInformationLine4 = originatorToBeneficiaryInformationLine4
+ fun instructionIdentification(instructionIdentification: JsonField) = apply {
+ this.instructionIdentification = instructionIdentification
}
/**
@@ -1156,6 +962,59 @@ private constructor(
*/
fun type(type: JsonField) = apply { this.type = type }
+ /**
+ * The Unique End-to-end Transaction Reference
+ * ([UETR](https://www.swift.com/payments/what-unique-end-end-transaction-reference-uetr))
+ * of the drawdown request.
+ */
+ fun uniqueEndToEndTransactionReference(uniqueEndToEndTransactionReference: String?) =
+ uniqueEndToEndTransactionReference(
+ JsonField.ofNullable(uniqueEndToEndTransactionReference)
+ )
+
+ /**
+ * Alias for calling [Builder.uniqueEndToEndTransactionReference] with
+ * `uniqueEndToEndTransactionReference.orElse(null)`.
+ */
+ fun uniqueEndToEndTransactionReference(
+ uniqueEndToEndTransactionReference: Optional
+ ) = uniqueEndToEndTransactionReference(uniqueEndToEndTransactionReference.getOrNull())
+
+ /**
+ * Sets [Builder.uniqueEndToEndTransactionReference] to an arbitrary JSON value.
+ *
+ * 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 uniqueEndToEndTransactionReference(
+ uniqueEndToEndTransactionReference: JsonField
+ ) = apply { this.uniqueEndToEndTransactionReference = uniqueEndToEndTransactionReference }
+
+ /** A free-form message set by the sender. */
+ fun unstructuredRemittanceInformation(unstructuredRemittanceInformation: String?) =
+ unstructuredRemittanceInformation(
+ JsonField.ofNullable(unstructuredRemittanceInformation)
+ )
+
+ /**
+ * Alias for calling [Builder.unstructuredRemittanceInformation] with
+ * `unstructuredRemittanceInformation.orElse(null)`.
+ */
+ fun unstructuredRemittanceInformation(unstructuredRemittanceInformation: Optional) =
+ unstructuredRemittanceInformation(unstructuredRemittanceInformation.getOrNull())
+
+ /**
+ * Sets [Builder.unstructuredRemittanceInformation] to an arbitrary JSON 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 unstructuredRemittanceInformation(
+ unstructuredRemittanceInformation: JsonField
+ ) = apply { this.unstructuredRemittanceInformation = unstructuredRemittanceInformation }
+
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
putAllAdditionalProperties(additionalProperties)
@@ -1184,27 +1043,25 @@ private constructor(
* ```java
* .id()
* .amount()
- * .beneficiaryAccountNumber()
- * .beneficiaryAddressLine1()
- * .beneficiaryAddressLine2()
- * .beneficiaryAddressLine3()
- * .beneficiaryName()
- * .beneficiaryRoutingNumber()
* .createdAt()
+ * .creditorAccountNumber()
+ * .creditorAddressLine1()
+ * .creditorAddressLine2()
+ * .creditorAddressLine3()
+ * .creditorName()
+ * .creditorRoutingNumber()
* .currency()
- * .messageToRecipient()
- * .originatorAccountNumber()
- * .originatorAddressLine1()
- * .originatorAddressLine2()
- * .originatorAddressLine3()
- * .originatorName()
- * .originatorRoutingNumber()
- * .originatorToBeneficiaryInformationLine1()
- * .originatorToBeneficiaryInformationLine2()
- * .originatorToBeneficiaryInformationLine3()
- * .originatorToBeneficiaryInformationLine4()
+ * .debtorAddressLine1()
+ * .debtorAddressLine2()
+ * .debtorAddressLine3()
+ * .debtorName()
+ * .endToEndIdentification()
+ * .inputMessageAccountabilityData()
+ * .instructionIdentification()
* .recipientAccountNumberId()
* .type()
+ * .uniqueEndToEndTransactionReference()
+ * .unstructuredRemittanceInformation()
* ```
*
* @throws IllegalStateException if any required field is unset.
@@ -1213,39 +1070,31 @@ private constructor(
InboundWireDrawdownRequest(
checkRequired("id", id),
checkRequired("amount", amount),
- checkRequired("beneficiaryAccountNumber", beneficiaryAccountNumber),
- checkRequired("beneficiaryAddressLine1", beneficiaryAddressLine1),
- checkRequired("beneficiaryAddressLine2", beneficiaryAddressLine2),
- checkRequired("beneficiaryAddressLine3", beneficiaryAddressLine3),
- checkRequired("beneficiaryName", beneficiaryName),
- checkRequired("beneficiaryRoutingNumber", beneficiaryRoutingNumber),
checkRequired("createdAt", createdAt),
+ checkRequired("creditorAccountNumber", creditorAccountNumber),
+ checkRequired("creditorAddressLine1", creditorAddressLine1),
+ checkRequired("creditorAddressLine2", creditorAddressLine2),
+ checkRequired("creditorAddressLine3", creditorAddressLine3),
+ checkRequired("creditorName", creditorName),
+ checkRequired("creditorRoutingNumber", creditorRoutingNumber),
checkRequired("currency", currency),
- checkRequired("messageToRecipient", messageToRecipient),
- checkRequired("originatorAccountNumber", originatorAccountNumber),
- checkRequired("originatorAddressLine1", originatorAddressLine1),
- checkRequired("originatorAddressLine2", originatorAddressLine2),
- checkRequired("originatorAddressLine3", originatorAddressLine3),
- checkRequired("originatorName", originatorName),
- checkRequired("originatorRoutingNumber", originatorRoutingNumber),
- checkRequired(
- "originatorToBeneficiaryInformationLine1",
- originatorToBeneficiaryInformationLine1,
- ),
- checkRequired(
- "originatorToBeneficiaryInformationLine2",
- originatorToBeneficiaryInformationLine2,
- ),
+ checkRequired("debtorAddressLine1", debtorAddressLine1),
+ checkRequired("debtorAddressLine2", debtorAddressLine2),
+ checkRequired("debtorAddressLine3", debtorAddressLine3),
+ checkRequired("debtorName", debtorName),
+ checkRequired("endToEndIdentification", endToEndIdentification),
+ checkRequired("inputMessageAccountabilityData", inputMessageAccountabilityData),
+ checkRequired("instructionIdentification", instructionIdentification),
+ checkRequired("recipientAccountNumberId", recipientAccountNumberId),
+ checkRequired("type", type),
checkRequired(
- "originatorToBeneficiaryInformationLine3",
- originatorToBeneficiaryInformationLine3,
+ "uniqueEndToEndTransactionReference",
+ uniqueEndToEndTransactionReference,
),
checkRequired(
- "originatorToBeneficiaryInformationLine4",
- originatorToBeneficiaryInformationLine4,
+ "unstructuredRemittanceInformation",
+ unstructuredRemittanceInformation,
),
- checkRequired("recipientAccountNumberId", recipientAccountNumberId),
- checkRequired("type", type),
additionalProperties.toMutableMap(),
)
}
@@ -1259,27 +1108,25 @@ private constructor(
id()
amount()
- beneficiaryAccountNumber()
- beneficiaryAddressLine1()
- beneficiaryAddressLine2()
- beneficiaryAddressLine3()
- beneficiaryName()
- beneficiaryRoutingNumber()
createdAt()
+ creditorAccountNumber()
+ creditorAddressLine1()
+ creditorAddressLine2()
+ creditorAddressLine3()
+ creditorName()
+ creditorRoutingNumber()
currency()
- messageToRecipient()
- originatorAccountNumber()
- originatorAddressLine1()
- originatorAddressLine2()
- originatorAddressLine3()
- originatorName()
- originatorRoutingNumber()
- originatorToBeneficiaryInformationLine1()
- originatorToBeneficiaryInformationLine2()
- originatorToBeneficiaryInformationLine3()
- originatorToBeneficiaryInformationLine4()
+ debtorAddressLine1()
+ debtorAddressLine2()
+ debtorAddressLine3()
+ debtorName()
+ endToEndIdentification()
+ inputMessageAccountabilityData()
+ instructionIdentification()
recipientAccountNumberId()
type().validate()
+ uniqueEndToEndTransactionReference()
+ unstructuredRemittanceInformation()
validated = true
}
@@ -1300,27 +1147,25 @@ private constructor(
internal fun validity(): Int =
(if (id.asKnown().isPresent) 1 else 0) +
(if (amount.asKnown().isPresent) 1 else 0) +
- (if (beneficiaryAccountNumber.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 (beneficiaryRoutingNumber.asKnown().isPresent) 1 else 0) +
(if (createdAt.asKnown().isPresent) 1 else 0) +
+ (if (creditorAccountNumber.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 (creditorRoutingNumber.asKnown().isPresent) 1 else 0) +
(if (currency.asKnown().isPresent) 1 else 0) +
- (if (messageToRecipient.asKnown().isPresent) 1 else 0) +
- (if (originatorAccountNumber.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 (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 (inputMessageAccountabilityData.asKnown().isPresent) 1 else 0) +
+ (if (instructionIdentification.asKnown().isPresent) 1 else 0) +
(if (recipientAccountNumberId.asKnown().isPresent) 1 else 0) +
- (type.asKnown().getOrNull()?.validity() ?: 0)
+ (type.asKnown().getOrNull()?.validity() ?: 0) +
+ (if (uniqueEndToEndTransactionReference.asKnown().isPresent) 1 else 0) +
+ (if (unstructuredRemittanceInformation.asKnown().isPresent) 1 else 0)
/**
* A constant representing the object's type. For this resource it will always be
@@ -1455,31 +1300,25 @@ private constructor(
return other is InboundWireDrawdownRequest &&
id == other.id &&
amount == other.amount &&
- beneficiaryAccountNumber == other.beneficiaryAccountNumber &&
- beneficiaryAddressLine1 == other.beneficiaryAddressLine1 &&
- beneficiaryAddressLine2 == other.beneficiaryAddressLine2 &&
- beneficiaryAddressLine3 == other.beneficiaryAddressLine3 &&
- beneficiaryName == other.beneficiaryName &&
- beneficiaryRoutingNumber == other.beneficiaryRoutingNumber &&
createdAt == other.createdAt &&
+ creditorAccountNumber == other.creditorAccountNumber &&
+ creditorAddressLine1 == other.creditorAddressLine1 &&
+ creditorAddressLine2 == other.creditorAddressLine2 &&
+ creditorAddressLine3 == other.creditorAddressLine3 &&
+ creditorName == other.creditorName &&
+ creditorRoutingNumber == other.creditorRoutingNumber &&
currency == other.currency &&
- messageToRecipient == other.messageToRecipient &&
- originatorAccountNumber == other.originatorAccountNumber &&
- 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 &&
+ debtorAddressLine1 == other.debtorAddressLine1 &&
+ debtorAddressLine2 == other.debtorAddressLine2 &&
+ debtorAddressLine3 == other.debtorAddressLine3 &&
+ debtorName == other.debtorName &&
+ endToEndIdentification == other.endToEndIdentification &&
+ inputMessageAccountabilityData == other.inputMessageAccountabilityData &&
+ instructionIdentification == other.instructionIdentification &&
recipientAccountNumberId == other.recipientAccountNumberId &&
type == other.type &&
+ uniqueEndToEndTransactionReference == other.uniqueEndToEndTransactionReference &&
+ unstructuredRemittanceInformation == other.unstructuredRemittanceInformation &&
additionalProperties == other.additionalProperties
}
@@ -1487,27 +1326,25 @@ private constructor(
Objects.hash(
id,
amount,
- beneficiaryAccountNumber,
- beneficiaryAddressLine1,
- beneficiaryAddressLine2,
- beneficiaryAddressLine3,
- beneficiaryName,
- beneficiaryRoutingNumber,
createdAt,
+ creditorAccountNumber,
+ creditorAddressLine1,
+ creditorAddressLine2,
+ creditorAddressLine3,
+ creditorName,
+ creditorRoutingNumber,
currency,
- messageToRecipient,
- originatorAccountNumber,
- originatorAddressLine1,
- originatorAddressLine2,
- originatorAddressLine3,
- originatorName,
- originatorRoutingNumber,
- originatorToBeneficiaryInformationLine1,
- originatorToBeneficiaryInformationLine2,
- originatorToBeneficiaryInformationLine3,
- originatorToBeneficiaryInformationLine4,
+ debtorAddressLine1,
+ debtorAddressLine2,
+ debtorAddressLine3,
+ debtorName,
+ endToEndIdentification,
+ inputMessageAccountabilityData,
+ instructionIdentification,
recipientAccountNumberId,
type,
+ uniqueEndToEndTransactionReference,
+ unstructuredRemittanceInformation,
additionalProperties,
)
}
@@ -1515,5 +1352,5 @@ private constructor(
override fun hashCode(): Int = hashCode
override fun toString() =
- "InboundWireDrawdownRequest{id=$id, amount=$amount, beneficiaryAccountNumber=$beneficiaryAccountNumber, beneficiaryAddressLine1=$beneficiaryAddressLine1, beneficiaryAddressLine2=$beneficiaryAddressLine2, beneficiaryAddressLine3=$beneficiaryAddressLine3, beneficiaryName=$beneficiaryName, beneficiaryRoutingNumber=$beneficiaryRoutingNumber, createdAt=$createdAt, currency=$currency, messageToRecipient=$messageToRecipient, originatorAccountNumber=$originatorAccountNumber, originatorAddressLine1=$originatorAddressLine1, originatorAddressLine2=$originatorAddressLine2, originatorAddressLine3=$originatorAddressLine3, originatorName=$originatorName, originatorRoutingNumber=$originatorRoutingNumber, originatorToBeneficiaryInformationLine1=$originatorToBeneficiaryInformationLine1, originatorToBeneficiaryInformationLine2=$originatorToBeneficiaryInformationLine2, originatorToBeneficiaryInformationLine3=$originatorToBeneficiaryInformationLine3, originatorToBeneficiaryInformationLine4=$originatorToBeneficiaryInformationLine4, recipientAccountNumberId=$recipientAccountNumberId, type=$type, additionalProperties=$additionalProperties}"
+ "InboundWireDrawdownRequest{id=$id, amount=$amount, createdAt=$createdAt, creditorAccountNumber=$creditorAccountNumber, creditorAddressLine1=$creditorAddressLine1, creditorAddressLine2=$creditorAddressLine2, creditorAddressLine3=$creditorAddressLine3, creditorName=$creditorName, creditorRoutingNumber=$creditorRoutingNumber, currency=$currency, debtorAddressLine1=$debtorAddressLine1, debtorAddressLine2=$debtorAddressLine2, debtorAddressLine3=$debtorAddressLine3, debtorName=$debtorName, endToEndIdentification=$endToEndIdentification, inputMessageAccountabilityData=$inputMessageAccountabilityData, instructionIdentification=$instructionIdentification, recipientAccountNumberId=$recipientAccountNumberId, type=$type, uniqueEndToEndTransactionReference=$uniqueEndToEndTransactionReference, unstructuredRemittanceInformation=$unstructuredRemittanceInformation, additionalProperties=$additionalProperties}"
}
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundwiredrawdownrequests/InboundWireDrawdownRequestCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundwiredrawdownrequests/InboundWireDrawdownRequestCreateParams.kt
index 30c377adf..3745af942 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundwiredrawdownrequests/InboundWireDrawdownRequestCreateParams.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundwiredrawdownrequests/InboundWireDrawdownRequestCreateParams.kt
@@ -36,20 +36,20 @@ private constructor(
fun amount(): Long = body.amount()
/**
- * The drawdown request's beneficiary's account number.
+ * The creditor's account number.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
*/
- fun beneficiaryAccountNumber(): String = body.beneficiaryAccountNumber()
+ fun creditorAccountNumber(): String = body.creditorAccountNumber()
/**
- * The drawdown request's beneficiary's routing number.
+ * The creditor's routing number.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
*/
- fun beneficiaryRoutingNumber(): String = body.beneficiaryRoutingNumber()
+ fun creditorRoutingNumber(): String = body.creditorRoutingNumber()
/**
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being requested.
@@ -61,137 +61,134 @@ private constructor(
fun currency(): String = body.currency()
/**
- * A message from the drawdown request's originator.
- *
- * @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
- * unexpectedly missing or null (e.g. if the server responded with an unexpected value).
- */
- fun messageToRecipient(): String = body.messageToRecipient()
-
- /**
- * The drawdown request's originator's account number.
+ * The Account Number to which the recipient of this request is being requested to send funds
+ * from.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
*/
- fun originatorAccountNumber(): String = body.originatorAccountNumber()
+ fun recipientAccountNumberId(): String = body.recipientAccountNumberId()
/**
- * The drawdown request's originator's routing number.
+ * A free-form address field set by the sender representing the first line of the creditor's
+ * address.
*
- * @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
- * unexpectedly missing or null (e.g. if the server responded with an unexpected value).
+ * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
+ * server responded with an unexpected value).
*/
- fun originatorRoutingNumber(): String = body.originatorRoutingNumber()
+ fun creditorAddressLine1(): Optional = body.creditorAddressLine1()
/**
- * The Account Number to which the recipient of this request is being requested to send funds
- * from.
+ * A free-form address field set by the sender representing the second line of the creditor's
+ * address.
*
- * @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
- * unexpectedly missing or null (e.g. if the server responded with an unexpected value).
+ * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
+ * server responded with an unexpected value).
*/
- fun recipientAccountNumberId(): String = body.recipientAccountNumberId()
+ fun creditorAddressLine2(): Optional = body.creditorAddressLine2()
/**
- * Line 1 of the drawdown request's beneficiary's address.
+ * A free-form address field set by the sender representing the third line of the creditor's
+ * address.
*
* @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 creditorAddressLine3(): Optional = body.creditorAddressLine3()
/**
- * Line 2 of the drawdown request's beneficiary's address.
+ * A free-form name field set by the sender representing the creditor's name.
*
* @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 creditorName(): Optional