From 98447bfddd0351d8277b647941ebfe0ba6dc9ea1 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 19 Aug 2025 04:30:30 +0000 Subject: [PATCH 1/4] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 49e48a70c..1e6dd5822 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 214 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-db453f5a5c4734d0cc56f9f61a1cbfaceb9b51f47076b75595bdc9fdedd439c7.yml -openapi_spec_hash: 0cd9098d2af2b4cee4f6678d01fb9516 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-1a4a3a387e174d09e347540b5d614828b38020d2687f219337783e1f79d42889.yml +openapi_spec_hash: d6259b2fa93b0557413f7a21ae6a7ccd config_hash: b0b366d8c705ea0efe62093bae953e5a From 1946ffd3e43e14c41f588edfbc63d086ceecc141 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 19 Aug 2025 18:27:58 +0000 Subject: [PATCH 2/4] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 1e6dd5822..6c8ed5eb7 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 214 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-1a4a3a387e174d09e347540b5d614828b38020d2687f219337783e1f79d42889.yml -openapi_spec_hash: d6259b2fa93b0557413f7a21ae6a7ccd +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-5d00a1f3cc31adb9e28a09287bc20126f96e6cd866d60603c63ddcd92545b678.yml +openapi_spec_hash: 7ab8de7087209fcf49713651d997d5a2 config_hash: b0b366d8c705ea0efe62093bae953e5a From 3ffde5ddabd9b60cc0e02fb1e789ab02db972999 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 19 Aug 2025 23:32:33 +0000 Subject: [PATCH 3/4] feat(api): api update --- .stats.yml | 4 +- .../InboundWireTransfer.kt | 717 +++++++++++++++++- ...InboundWireTransferListPageResponseTest.kt | 39 + .../InboundWireTransferTest.kt | 39 + 4 files changed, 796 insertions(+), 3 deletions(-) diff --git a/.stats.yml b/.stats.yml index 6c8ed5eb7..18686e944 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 214 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-5d00a1f3cc31adb9e28a09287bc20126f96e6cd866d60603c63ddcd92545b678.yml -openapi_spec_hash: 7ab8de7087209fcf49713651d997d5a2 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-dea7b54f0adc920e4d2bc337bab1133189114389cb1f124b2f9cccedcedf881c.yml +openapi_spec_hash: c1349e34f78bfe5ba28b946fe7bb15dd config_hash: b0b366d8c705ea0efe62093bae953e5a diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransfer.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransfer.kt index 801d5427c..0a5c2fd6d 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransfer.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransfer.kt @@ -32,8 +32,19 @@ private constructor( private val beneficiaryName: JsonField, private val beneficiaryReference: JsonField, private val createdAt: JsonField, + private val creditorAddressLine1: JsonField, + private val creditorAddressLine2: JsonField, + private val creditorAddressLine3: JsonField, + private val creditorName: JsonField, + private val debtorAddressLine1: JsonField, + private val debtorAddressLine2: JsonField, + private val debtorAddressLine3: JsonField, + private val debtorName: JsonField, private val description: JsonField, + private val endToEndIdentification: JsonField, private val inputMessageAccountabilityData: JsonField, + private val instructingAgentRoutingNumber: JsonField, + private val instructionIdentification: JsonField, private val originatorAddressLine1: JsonField, private val originatorAddressLine2: JsonField, private val originatorAddressLine3: JsonField, @@ -48,6 +59,8 @@ private constructor( private val senderReference: JsonField, private val status: JsonField, private val type: JsonField, + private val uniqueEndToEndTransactionReference: JsonField, + private val unstructuredRemittanceInformation: JsonField, private val wireDrawdownRequestId: JsonField, private val additionalProperties: MutableMap, ) { @@ -78,12 +91,45 @@ private constructor( @JsonProperty("created_at") @ExcludeMissing createdAt: JsonField = JsonMissing.of(), + @JsonProperty("creditor_address_line1") + @ExcludeMissing + creditorAddressLine1: JsonField = JsonMissing.of(), + @JsonProperty("creditor_address_line2") + @ExcludeMissing + creditorAddressLine2: JsonField = JsonMissing.of(), + @JsonProperty("creditor_address_line3") + @ExcludeMissing + creditorAddressLine3: JsonField = JsonMissing.of(), + @JsonProperty("creditor_name") + @ExcludeMissing + creditorName: JsonField = JsonMissing.of(), + @JsonProperty("debtor_address_line1") + @ExcludeMissing + debtorAddressLine1: JsonField = JsonMissing.of(), + @JsonProperty("debtor_address_line2") + @ExcludeMissing + debtorAddressLine2: JsonField = JsonMissing.of(), + @JsonProperty("debtor_address_line3") + @ExcludeMissing + debtorAddressLine3: JsonField = JsonMissing.of(), + @JsonProperty("debtor_name") + @ExcludeMissing + debtorName: JsonField = JsonMissing.of(), @JsonProperty("description") @ExcludeMissing description: JsonField = JsonMissing.of(), + @JsonProperty("end_to_end_identification") + @ExcludeMissing + endToEndIdentification: JsonField = JsonMissing.of(), @JsonProperty("input_message_accountability_data") @ExcludeMissing inputMessageAccountabilityData: JsonField = JsonMissing.of(), + @JsonProperty("instructing_agent_routing_number") + @ExcludeMissing + instructingAgentRoutingNumber: JsonField = JsonMissing.of(), + @JsonProperty("instruction_identification") + @ExcludeMissing + instructionIdentification: JsonField = JsonMissing.of(), @JsonProperty("originator_address_line1") @ExcludeMissing originatorAddressLine1: JsonField = JsonMissing.of(), @@ -120,6 +166,12 @@ private constructor( senderReference: JsonField = JsonMissing.of(), @JsonProperty("status") @ExcludeMissing status: JsonField = JsonMissing.of(), @JsonProperty("type") @ExcludeMissing type: JsonField = JsonMissing.of(), + @JsonProperty("unique_end_to_end_transaction_reference") + @ExcludeMissing + uniqueEndToEndTransactionReference: JsonField = JsonMissing.of(), + @JsonProperty("unstructured_remittance_information") + @ExcludeMissing + unstructuredRemittanceInformation: JsonField = JsonMissing.of(), @JsonProperty("wire_drawdown_request_id") @ExcludeMissing wireDrawdownRequestId: JsonField = JsonMissing.of(), @@ -134,8 +186,19 @@ private constructor( beneficiaryName, beneficiaryReference, createdAt, + creditorAddressLine1, + creditorAddressLine2, + creditorAddressLine3, + creditorName, + debtorAddressLine1, + debtorAddressLine2, + debtorAddressLine3, + debtorName, description, + endToEndIdentification, inputMessageAccountabilityData, + instructingAgentRoutingNumber, + instructionIdentification, originatorAddressLine1, originatorAddressLine2, originatorAddressLine3, @@ -150,6 +213,8 @@ private constructor( senderReference, status, type, + uniqueEndToEndTransactionReference, + unstructuredRemittanceInformation, wireDrawdownRequestId, mutableMapOf(), ) @@ -239,6 +304,76 @@ private constructor( */ fun createdAt(): OffsetDateTime = createdAt.getRequired("created_at") + /** + * 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 creditorAddressLine1(): Optional = + creditorAddressLine1.getOptional("creditor_address_line1") + + /** + * A free-form address field set by the sender. + * + * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the + * server responded with an unexpected value). + */ + fun creditorAddressLine2(): Optional = + creditorAddressLine2.getOptional("creditor_address_line2") + + /** + * A free-form address field set by the sender. + * + * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the + * server responded with an unexpected value). + */ + fun creditorAddressLine3(): Optional = + creditorAddressLine3.getOptional("creditor_address_line3") + + /** + * A name set by the sender. + * + * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the + * server responded with an unexpected value). + */ + fun creditorName(): Optional = creditorName.getOptional("creditor_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 debtorAddressLine1(): Optional = + debtorAddressLine1.getOptional("debtor_address_line1") + + /** + * A free-form address field set by the sender. + * + * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the + * server responded with an unexpected value). + */ + fun debtorAddressLine2(): Optional = + debtorAddressLine2.getOptional("debtor_address_line2") + + /** + * A free-form address field set by the sender. + * + * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the + * server responded with an unexpected value). + */ + fun debtorAddressLine3(): Optional = + debtorAddressLine3.getOptional("debtor_address_line3") + + /** + * A name set by the sender. + * + * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the + * server responded with an unexpected value). + */ + fun debtorName(): Optional = debtorName.getOptional("debtor_name") + /** * An Increase-constructed description of the transfer. * @@ -247,6 +382,15 @@ private constructor( */ fun description(): String = description.getRequired("description") + /** + * A free-form reference string set by the sender, to help identify the transfer. + * + * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the + * server responded with an unexpected value). + */ + fun endToEndIdentification(): Optional = + endToEndIdentification.getOptional("end_to_end_identification") + /** * 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 @@ -258,6 +402,24 @@ private constructor( fun inputMessageAccountabilityData(): Optional = inputMessageAccountabilityData.getOptional("input_message_accountability_data") + /** + * The American Banking Association (ABA) routing number of the bank that sent the wire. + * + * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the + * server responded with an unexpected value). + */ + fun instructingAgentRoutingNumber(): Optional = + instructingAgentRoutingNumber.getOptional("instructing_agent_routing_number") + + /** + * The sending bank's identifier for the wire transfer. + * + * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the + * server responded with an unexpected value). + */ + fun instructionIdentification(): Optional = + instructionIdentification.getOptional("instruction_identification") + /** * The address of the wire originator, set by the sending bank. * @@ -388,6 +550,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 transfer. + * + * @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") + /** * The wire drawdown request the inbound wire transfer is fulfilling. * @@ -485,6 +667,82 @@ private constructor( @ExcludeMissing fun _createdAt(): JsonField = createdAt + /** + * Returns the raw JSON value of [creditorAddressLine1]. + * + * Unlike [creditorAddressLine1], this method doesn't throw if the JSON field has an unexpected + * type. + */ + @JsonProperty("creditor_address_line1") + @ExcludeMissing + fun _creditorAddressLine1(): JsonField = creditorAddressLine1 + + /** + * Returns the raw JSON value of [creditorAddressLine2]. + * + * Unlike [creditorAddressLine2], this method doesn't throw if the JSON field has an unexpected + * type. + */ + @JsonProperty("creditor_address_line2") + @ExcludeMissing + fun _creditorAddressLine2(): JsonField = creditorAddressLine2 + + /** + * Returns the raw JSON value of [creditorAddressLine3]. + * + * Unlike [creditorAddressLine3], this method doesn't throw if the JSON field has an unexpected + * type. + */ + @JsonProperty("creditor_address_line3") + @ExcludeMissing + fun _creditorAddressLine3(): JsonField = creditorAddressLine3 + + /** + * Returns the raw JSON value of [creditorName]. + * + * Unlike [creditorName], this method doesn't throw if the JSON field has an unexpected type. + */ + @JsonProperty("creditor_name") + @ExcludeMissing + fun _creditorName(): JsonField = creditorName + + /** + * Returns the raw JSON value of [debtorAddressLine1]. + * + * Unlike [debtorAddressLine1], this method doesn't throw if the JSON field has an unexpected + * type. + */ + @JsonProperty("debtor_address_line1") + @ExcludeMissing + fun _debtorAddressLine1(): JsonField = debtorAddressLine1 + + /** + * Returns the raw JSON value of [debtorAddressLine2]. + * + * Unlike [debtorAddressLine2], this method doesn't throw if the JSON field has an unexpected + * type. + */ + @JsonProperty("debtor_address_line2") + @ExcludeMissing + fun _debtorAddressLine2(): JsonField = debtorAddressLine2 + + /** + * Returns the raw JSON value of [debtorAddressLine3]. + * + * Unlike [debtorAddressLine3], this method doesn't throw if the JSON field has an unexpected + * type. + */ + @JsonProperty("debtor_address_line3") + @ExcludeMissing + fun _debtorAddressLine3(): JsonField = debtorAddressLine3 + + /** + * Returns the raw JSON value of [debtorName]. + * + * Unlike [debtorName], this method doesn't throw if the JSON field has an unexpected type. + */ + @JsonProperty("debtor_name") @ExcludeMissing fun _debtorName(): JsonField = debtorName + /** * Returns the raw JSON value of [description]. * @@ -492,6 +750,16 @@ private constructor( */ @JsonProperty("description") @ExcludeMissing fun _description(): JsonField = description + /** + * Returns the raw JSON value of [endToEndIdentification]. + * + * Unlike [endToEndIdentification], this method doesn't throw if the JSON field has an + * unexpected type. + */ + @JsonProperty("end_to_end_identification") + @ExcludeMissing + fun _endToEndIdentification(): JsonField = endToEndIdentification + /** * Returns the raw JSON value of [inputMessageAccountabilityData]. * @@ -502,6 +770,26 @@ private constructor( @ExcludeMissing fun _inputMessageAccountabilityData(): JsonField = inputMessageAccountabilityData + /** + * Returns the raw JSON value of [instructingAgentRoutingNumber]. + * + * Unlike [instructingAgentRoutingNumber], this method doesn't throw if the JSON field has an + * unexpected type. + */ + @JsonProperty("instructing_agent_routing_number") + @ExcludeMissing + fun _instructingAgentRoutingNumber(): JsonField = instructingAgentRoutingNumber + + /** + * Returns the raw JSON value of [instructionIdentification]. + * + * Unlike [instructionIdentification], this method doesn't throw if the JSON field has an + * unexpected type. + */ + @JsonProperty("instruction_identification") + @ExcludeMissing + fun _instructionIdentification(): JsonField = instructionIdentification + /** * Returns the raw JSON value of [originatorAddressLine1]. * @@ -636,6 +924,27 @@ private constructor( */ @JsonProperty("type") @ExcludeMissing fun _type(): JsonField = type + /** + * Returns the raw JSON value of [uniqueEndToEndTransactionReference]. + * + * Unlike [uniqueEndToEndTransactionReference], this method doesn't throw if the JSON field has + * an unexpected type. + */ + @JsonProperty("unique_end_to_end_transaction_reference") + @ExcludeMissing + fun _uniqueEndToEndTransactionReference(): JsonField = + uniqueEndToEndTransactionReference + + /** + * Returns the raw JSON value of [unstructuredRemittanceInformation]. + * + * Unlike [unstructuredRemittanceInformation], this method doesn't throw if the JSON field has + * an unexpected type. + */ + @JsonProperty("unstructured_remittance_information") + @ExcludeMissing + fun _unstructuredRemittanceInformation(): JsonField = unstructuredRemittanceInformation + /** * Returns the raw JSON value of [wireDrawdownRequestId]. * @@ -675,8 +984,19 @@ private constructor( * .beneficiaryName() * .beneficiaryReference() * .createdAt() + * .creditorAddressLine1() + * .creditorAddressLine2() + * .creditorAddressLine3() + * .creditorName() + * .debtorAddressLine1() + * .debtorAddressLine2() + * .debtorAddressLine3() + * .debtorName() * .description() + * .endToEndIdentification() * .inputMessageAccountabilityData() + * .instructingAgentRoutingNumber() + * .instructionIdentification() * .originatorAddressLine1() * .originatorAddressLine2() * .originatorAddressLine3() @@ -691,6 +1011,8 @@ private constructor( * .senderReference() * .status() * .type() + * .uniqueEndToEndTransactionReference() + * .unstructuredRemittanceInformation() * .wireDrawdownRequestId() * ``` */ @@ -710,8 +1032,19 @@ private constructor( private var beneficiaryName: JsonField? = null private var beneficiaryReference: JsonField? = null private var createdAt: JsonField? = null + private var creditorAddressLine1: JsonField? = null + private var creditorAddressLine2: JsonField? = null + private var creditorAddressLine3: JsonField? = null + private var creditorName: JsonField? = null + private var debtorAddressLine1: JsonField? = null + private var debtorAddressLine2: JsonField? = null + private var debtorAddressLine3: JsonField? = null + private var debtorName: JsonField? = null private var description: JsonField? = null + private var endToEndIdentification: JsonField? = null private var inputMessageAccountabilityData: JsonField? = null + private var instructingAgentRoutingNumber: JsonField? = null + private var instructionIdentification: JsonField? = null private var originatorAddressLine1: JsonField? = null private var originatorAddressLine2: JsonField? = null private var originatorAddressLine3: JsonField? = null @@ -726,6 +1059,8 @@ private constructor( private var senderReference: JsonField? = null private var status: JsonField? = null private var type: JsonField? = null + private var uniqueEndToEndTransactionReference: JsonField? = null + private var unstructuredRemittanceInformation: JsonField? = null private var wireDrawdownRequestId: JsonField? = null private var additionalProperties: MutableMap = mutableMapOf() @@ -741,8 +1076,19 @@ private constructor( beneficiaryName = inboundWireTransfer.beneficiaryName beneficiaryReference = inboundWireTransfer.beneficiaryReference createdAt = inboundWireTransfer.createdAt + creditorAddressLine1 = inboundWireTransfer.creditorAddressLine1 + creditorAddressLine2 = inboundWireTransfer.creditorAddressLine2 + creditorAddressLine3 = inboundWireTransfer.creditorAddressLine3 + creditorName = inboundWireTransfer.creditorName + debtorAddressLine1 = inboundWireTransfer.debtorAddressLine1 + debtorAddressLine2 = inboundWireTransfer.debtorAddressLine2 + debtorAddressLine3 = inboundWireTransfer.debtorAddressLine3 + debtorName = inboundWireTransfer.debtorName description = inboundWireTransfer.description + endToEndIdentification = inboundWireTransfer.endToEndIdentification inputMessageAccountabilityData = inboundWireTransfer.inputMessageAccountabilityData + instructingAgentRoutingNumber = inboundWireTransfer.instructingAgentRoutingNumber + instructionIdentification = inboundWireTransfer.instructionIdentification originatorAddressLine1 = inboundWireTransfer.originatorAddressLine1 originatorAddressLine2 = inboundWireTransfer.originatorAddressLine2 originatorAddressLine3 = inboundWireTransfer.originatorAddressLine3 @@ -762,6 +1108,10 @@ private constructor( senderReference = inboundWireTransfer.senderReference status = inboundWireTransfer.status type = inboundWireTransfer.type + uniqueEndToEndTransactionReference = + inboundWireTransfer.uniqueEndToEndTransactionReference + unstructuredRemittanceInformation = + inboundWireTransfer.unstructuredRemittanceInformation wireDrawdownRequestId = inboundWireTransfer.wireDrawdownRequestId additionalProperties = inboundWireTransfer.additionalProperties.toMutableMap() } @@ -937,6 +1287,167 @@ private constructor( */ fun createdAt(createdAt: JsonField) = apply { this.createdAt = createdAt } + /** A free-form address field set by the sender. */ + fun creditorAddressLine1(creditorAddressLine1: String?) = + creditorAddressLine1(JsonField.ofNullable(creditorAddressLine1)) + + /** + * Alias for calling [Builder.creditorAddressLine1] with + * `creditorAddressLine1.orElse(null)`. + */ + fun creditorAddressLine1(creditorAddressLine1: Optional) = + creditorAddressLine1(creditorAddressLine1.getOrNull()) + + /** + * Sets [Builder.creditorAddressLine1] to an arbitrary JSON 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 creditorAddressLine1(creditorAddressLine1: JsonField) = apply { + this.creditorAddressLine1 = creditorAddressLine1 + } + + /** A free-form address field set by the sender. */ + fun creditorAddressLine2(creditorAddressLine2: String?) = + creditorAddressLine2(JsonField.ofNullable(creditorAddressLine2)) + + /** + * Alias for calling [Builder.creditorAddressLine2] with + * `creditorAddressLine2.orElse(null)`. + */ + fun creditorAddressLine2(creditorAddressLine2: Optional) = + creditorAddressLine2(creditorAddressLine2.getOrNull()) + + /** + * Sets [Builder.creditorAddressLine2] to an arbitrary JSON 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 creditorAddressLine2(creditorAddressLine2: JsonField) = apply { + this.creditorAddressLine2 = creditorAddressLine2 + } + + /** A free-form address field set by the sender. */ + fun creditorAddressLine3(creditorAddressLine3: String?) = + creditorAddressLine3(JsonField.ofNullable(creditorAddressLine3)) + + /** + * Alias for calling [Builder.creditorAddressLine3] with + * `creditorAddressLine3.orElse(null)`. + */ + fun creditorAddressLine3(creditorAddressLine3: Optional) = + creditorAddressLine3(creditorAddressLine3.getOrNull()) + + /** + * Sets [Builder.creditorAddressLine3] to an arbitrary JSON 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 creditorAddressLine3(creditorAddressLine3: JsonField) = apply { + this.creditorAddressLine3 = creditorAddressLine3 + } + + /** 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.creditorName] to an arbitrary JSON value. + * + * You should usually call [Builder.creditorName] with a well-typed [String] value instead. + * This method is primarily for setting the field to an undocumented or not yet supported + * value. + */ + fun creditorName(creditorName: JsonField) = apply { + this.creditorName = creditorName + } + + /** A free-form address field set by the sender. */ + fun debtorAddressLine1(debtorAddressLine1: String?) = + debtorAddressLine1(JsonField.ofNullable(debtorAddressLine1)) + + /** + * Alias for calling [Builder.debtorAddressLine1] with `debtorAddressLine1.orElse(null)`. + */ + fun debtorAddressLine1(debtorAddressLine1: Optional) = + debtorAddressLine1(debtorAddressLine1.getOrNull()) + + /** + * Sets [Builder.debtorAddressLine1] to an arbitrary JSON 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 debtorAddressLine1(debtorAddressLine1: JsonField) = apply { + this.debtorAddressLine1 = debtorAddressLine1 + } + + /** A free-form address field set by the sender. */ + fun debtorAddressLine2(debtorAddressLine2: String?) = + debtorAddressLine2(JsonField.ofNullable(debtorAddressLine2)) + + /** + * Alias for calling [Builder.debtorAddressLine2] with `debtorAddressLine2.orElse(null)`. + */ + fun debtorAddressLine2(debtorAddressLine2: Optional) = + debtorAddressLine2(debtorAddressLine2.getOrNull()) + + /** + * Sets [Builder.debtorAddressLine2] to an arbitrary JSON value. + * + * You should usually call [Builder.debtorAddressLine2] with a well-typed [String] value + * instead. This method is primarily for setting the field to an undocumented or not yet + * supported value. + */ + fun debtorAddressLine2(debtorAddressLine2: JsonField) = apply { + this.debtorAddressLine2 = debtorAddressLine2 + } + + /** A free-form address field set by the sender. */ + fun debtorAddressLine3(debtorAddressLine3: String?) = + debtorAddressLine3(JsonField.ofNullable(debtorAddressLine3)) + + /** + * Alias for calling [Builder.debtorAddressLine3] with `debtorAddressLine3.orElse(null)`. + */ + fun debtorAddressLine3(debtorAddressLine3: Optional) = + debtorAddressLine3(debtorAddressLine3.getOrNull()) + + /** + * Sets [Builder.debtorAddressLine3] to an arbitrary JSON value. + * + * You should usually call [Builder.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 debtorAddressLine3(debtorAddressLine3: JsonField) = apply { + this.debtorAddressLine3 = debtorAddressLine3 + } + + /** A name set by the sender. */ + fun debtorName(debtorName: String?) = debtorName(JsonField.ofNullable(debtorName)) + + /** Alias for calling [Builder.debtorName] with `debtorName.orElse(null)`. */ + fun debtorName(debtorName: Optional) = debtorName(debtorName.getOrNull()) + + /** + * Sets [Builder.debtorName] to an arbitrary JSON value. + * + * You should usually call [Builder.debtorName] with a well-typed [String] value instead. + * This method is primarily for setting the field to an undocumented or not yet supported + * value. + */ + fun debtorName(debtorName: JsonField) = apply { this.debtorName = debtorName } + /** An Increase-constructed description of the transfer. */ fun description(description: String) = description(JsonField.of(description)) @@ -949,6 +1460,28 @@ private constructor( */ fun description(description: JsonField) = apply { this.description = description } + /** A free-form reference string set by the sender, to help identify the transfer. */ + fun endToEndIdentification(endToEndIdentification: String?) = + endToEndIdentification(JsonField.ofNullable(endToEndIdentification)) + + /** + * Alias for calling [Builder.endToEndIdentification] with + * `endToEndIdentification.orElse(null)`. + */ + fun endToEndIdentification(endToEndIdentification: Optional) = + endToEndIdentification(endToEndIdentification.getOrNull()) + + /** + * Sets [Builder.endToEndIdentification] to an arbitrary JSON value. + * + * You should usually call [Builder.endToEndIdentification] with a well-typed [String] value + * instead. This method is primarily for setting the field to an undocumented or not yet + * supported value. + */ + fun endToEndIdentification(endToEndIdentification: JsonField) = apply { + this.endToEndIdentification = endToEndIdentification + } + /** * A unique identifier available to the originating and receiving banks, commonly * abbreviated as IMAD. It is created when the wire is submitted to the Fedwire service and @@ -976,6 +1509,51 @@ private constructor( this.inputMessageAccountabilityData = inputMessageAccountabilityData } + /** The American Banking Association (ABA) routing number of the bank that sent the wire. */ + fun instructingAgentRoutingNumber(instructingAgentRoutingNumber: String?) = + instructingAgentRoutingNumber(JsonField.ofNullable(instructingAgentRoutingNumber)) + + /** + * Alias for calling [Builder.instructingAgentRoutingNumber] with + * `instructingAgentRoutingNumber.orElse(null)`. + */ + fun instructingAgentRoutingNumber(instructingAgentRoutingNumber: Optional) = + instructingAgentRoutingNumber(instructingAgentRoutingNumber.getOrNull()) + + /** + * Sets [Builder.instructingAgentRoutingNumber] to an arbitrary JSON 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 instructingAgentRoutingNumber(instructingAgentRoutingNumber: JsonField) = + apply { + this.instructingAgentRoutingNumber = instructingAgentRoutingNumber + } + + /** The sending bank's identifier for the wire transfer. */ + fun instructionIdentification(instructionIdentification: String?) = + instructionIdentification(JsonField.ofNullable(instructionIdentification)) + + /** + * Alias for calling [Builder.instructionIdentification] with + * `instructionIdentification.orElse(null)`. + */ + fun instructionIdentification(instructionIdentification: Optional) = + instructionIdentification(instructionIdentification.getOrNull()) + + /** + * Sets [Builder.instructionIdentification] to an arbitrary JSON 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 instructionIdentification(instructionIdentification: JsonField) = apply { + this.instructionIdentification = instructionIdentification + } + /** The address of the wire originator, set by the sending bank. */ fun originatorAddressLine1(originatorAddressLine1: String?) = originatorAddressLine1(JsonField.ofNullable(originatorAddressLine1)) @@ -1298,6 +1876,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 transfer. + */ + 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 } + /** The wire drawdown request the inbound wire transfer is fulfilling. */ fun wireDrawdownRequestId(wireDrawdownRequestId: String?) = wireDrawdownRequestId(JsonField.ofNullable(wireDrawdownRequestId)) @@ -1356,8 +1987,19 @@ private constructor( * .beneficiaryName() * .beneficiaryReference() * .createdAt() + * .creditorAddressLine1() + * .creditorAddressLine2() + * .creditorAddressLine3() + * .creditorName() + * .debtorAddressLine1() + * .debtorAddressLine2() + * .debtorAddressLine3() + * .debtorName() * .description() + * .endToEndIdentification() * .inputMessageAccountabilityData() + * .instructingAgentRoutingNumber() + * .instructionIdentification() * .originatorAddressLine1() * .originatorAddressLine2() * .originatorAddressLine3() @@ -1372,6 +2014,8 @@ private constructor( * .senderReference() * .status() * .type() + * .uniqueEndToEndTransactionReference() + * .unstructuredRemittanceInformation() * .wireDrawdownRequestId() * ``` * @@ -1389,8 +2033,19 @@ private constructor( checkRequired("beneficiaryName", beneficiaryName), checkRequired("beneficiaryReference", beneficiaryReference), checkRequired("createdAt", createdAt), + checkRequired("creditorAddressLine1", creditorAddressLine1), + checkRequired("creditorAddressLine2", creditorAddressLine2), + checkRequired("creditorAddressLine3", creditorAddressLine3), + checkRequired("creditorName", creditorName), + checkRequired("debtorAddressLine1", debtorAddressLine1), + checkRequired("debtorAddressLine2", debtorAddressLine2), + checkRequired("debtorAddressLine3", debtorAddressLine3), + checkRequired("debtorName", debtorName), checkRequired("description", description), + checkRequired("endToEndIdentification", endToEndIdentification), checkRequired("inputMessageAccountabilityData", inputMessageAccountabilityData), + checkRequired("instructingAgentRoutingNumber", instructingAgentRoutingNumber), + checkRequired("instructionIdentification", instructionIdentification), checkRequired("originatorAddressLine1", originatorAddressLine1), checkRequired("originatorAddressLine2", originatorAddressLine2), checkRequired("originatorAddressLine3", originatorAddressLine3), @@ -1420,6 +2075,14 @@ private constructor( checkRequired("senderReference", senderReference), checkRequired("status", status), checkRequired("type", type), + checkRequired( + "uniqueEndToEndTransactionReference", + uniqueEndToEndTransactionReference, + ), + checkRequired( + "unstructuredRemittanceInformation", + unstructuredRemittanceInformation, + ), checkRequired("wireDrawdownRequestId", wireDrawdownRequestId), additionalProperties.toMutableMap(), ) @@ -1442,8 +2105,19 @@ private constructor( beneficiaryName() beneficiaryReference() createdAt() + creditorAddressLine1() + creditorAddressLine2() + creditorAddressLine3() + creditorName() + debtorAddressLine1() + debtorAddressLine2() + debtorAddressLine3() + debtorName() description() + endToEndIdentification() inputMessageAccountabilityData() + instructingAgentRoutingNumber() + instructionIdentification() originatorAddressLine1() originatorAddressLine2() originatorAddressLine3() @@ -1458,6 +2132,8 @@ private constructor( senderReference() status().validate() type().validate() + uniqueEndToEndTransactionReference() + unstructuredRemittanceInformation() wireDrawdownRequestId() validated = true } @@ -1487,8 +2163,19 @@ private constructor( (if (beneficiaryName.asKnown().isPresent) 1 else 0) + (if (beneficiaryReference.asKnown().isPresent) 1 else 0) + (if (createdAt.asKnown().isPresent) 1 else 0) + + (if (creditorAddressLine1.asKnown().isPresent) 1 else 0) + + (if (creditorAddressLine2.asKnown().isPresent) 1 else 0) + + (if (creditorAddressLine3.asKnown().isPresent) 1 else 0) + + (if (creditorName.asKnown().isPresent) 1 else 0) + + (if (debtorAddressLine1.asKnown().isPresent) 1 else 0) + + (if (debtorAddressLine2.asKnown().isPresent) 1 else 0) + + (if (debtorAddressLine3.asKnown().isPresent) 1 else 0) + + (if (debtorName.asKnown().isPresent) 1 else 0) + (if (description.asKnown().isPresent) 1 else 0) + + (if (endToEndIdentification.asKnown().isPresent) 1 else 0) + (if (inputMessageAccountabilityData.asKnown().isPresent) 1 else 0) + + (if (instructingAgentRoutingNumber.asKnown().isPresent) 1 else 0) + + (if (instructionIdentification.asKnown().isPresent) 1 else 0) + (if (originatorAddressLine1.asKnown().isPresent) 1 else 0) + (if (originatorAddressLine2.asKnown().isPresent) 1 else 0) + (if (originatorAddressLine3.asKnown().isPresent) 1 else 0) + @@ -1503,6 +2190,8 @@ private constructor( (if (senderReference.asKnown().isPresent) 1 else 0) + (status.asKnown().getOrNull()?.validity() ?: 0) + (type.asKnown().getOrNull()?.validity() ?: 0) + + (if (uniqueEndToEndTransactionReference.asKnown().isPresent) 1 else 0) + + (if (unstructuredRemittanceInformation.asKnown().isPresent) 1 else 0) + (if (wireDrawdownRequestId.asKnown().isPresent) 1 else 0) /** Information about the reversal of the inbound wire transfer if it has been reversed. */ @@ -2157,8 +2846,19 @@ private constructor( beneficiaryName == other.beneficiaryName && beneficiaryReference == other.beneficiaryReference && createdAt == other.createdAt && + creditorAddressLine1 == other.creditorAddressLine1 && + creditorAddressLine2 == other.creditorAddressLine2 && + creditorAddressLine3 == other.creditorAddressLine3 && + creditorName == other.creditorName && + debtorAddressLine1 == other.debtorAddressLine1 && + debtorAddressLine2 == other.debtorAddressLine2 && + debtorAddressLine3 == other.debtorAddressLine3 && + debtorName == other.debtorName && description == other.description && + endToEndIdentification == other.endToEndIdentification && inputMessageAccountabilityData == other.inputMessageAccountabilityData && + instructingAgentRoutingNumber == other.instructingAgentRoutingNumber && + instructionIdentification == other.instructionIdentification && originatorAddressLine1 == other.originatorAddressLine1 && originatorAddressLine2 == other.originatorAddressLine2 && originatorAddressLine3 == other.originatorAddressLine3 && @@ -2177,6 +2877,8 @@ private constructor( senderReference == other.senderReference && status == other.status && type == other.type && + uniqueEndToEndTransactionReference == other.uniqueEndToEndTransactionReference && + unstructuredRemittanceInformation == other.unstructuredRemittanceInformation && wireDrawdownRequestId == other.wireDrawdownRequestId && additionalProperties == other.additionalProperties } @@ -2193,8 +2895,19 @@ private constructor( beneficiaryName, beneficiaryReference, createdAt, + creditorAddressLine1, + creditorAddressLine2, + creditorAddressLine3, + creditorName, + debtorAddressLine1, + debtorAddressLine2, + debtorAddressLine3, + debtorName, description, + endToEndIdentification, inputMessageAccountabilityData, + instructingAgentRoutingNumber, + instructionIdentification, originatorAddressLine1, originatorAddressLine2, originatorAddressLine3, @@ -2209,6 +2922,8 @@ private constructor( senderReference, status, type, + uniqueEndToEndTransactionReference, + unstructuredRemittanceInformation, wireDrawdownRequestId, additionalProperties, ) @@ -2217,5 +2932,5 @@ private constructor( override fun hashCode(): Int = hashCode override fun toString() = - "InboundWireTransfer{id=$id, accountId=$accountId, accountNumberId=$accountNumberId, amount=$amount, beneficiaryAddressLine1=$beneficiaryAddressLine1, beneficiaryAddressLine2=$beneficiaryAddressLine2, beneficiaryAddressLine3=$beneficiaryAddressLine3, beneficiaryName=$beneficiaryName, beneficiaryReference=$beneficiaryReference, createdAt=$createdAt, description=$description, inputMessageAccountabilityData=$inputMessageAccountabilityData, originatorAddressLine1=$originatorAddressLine1, originatorAddressLine2=$originatorAddressLine2, originatorAddressLine3=$originatorAddressLine3, originatorName=$originatorName, originatorRoutingNumber=$originatorRoutingNumber, originatorToBeneficiaryInformation=$originatorToBeneficiaryInformation, originatorToBeneficiaryInformationLine1=$originatorToBeneficiaryInformationLine1, originatorToBeneficiaryInformationLine2=$originatorToBeneficiaryInformationLine2, originatorToBeneficiaryInformationLine3=$originatorToBeneficiaryInformationLine3, originatorToBeneficiaryInformationLine4=$originatorToBeneficiaryInformationLine4, reversal=$reversal, senderReference=$senderReference, status=$status, type=$type, wireDrawdownRequestId=$wireDrawdownRequestId, additionalProperties=$additionalProperties}" + "InboundWireTransfer{id=$id, accountId=$accountId, accountNumberId=$accountNumberId, amount=$amount, beneficiaryAddressLine1=$beneficiaryAddressLine1, beneficiaryAddressLine2=$beneficiaryAddressLine2, beneficiaryAddressLine3=$beneficiaryAddressLine3, beneficiaryName=$beneficiaryName, beneficiaryReference=$beneficiaryReference, createdAt=$createdAt, creditorAddressLine1=$creditorAddressLine1, creditorAddressLine2=$creditorAddressLine2, creditorAddressLine3=$creditorAddressLine3, creditorName=$creditorName, debtorAddressLine1=$debtorAddressLine1, debtorAddressLine2=$debtorAddressLine2, debtorAddressLine3=$debtorAddressLine3, debtorName=$debtorName, description=$description, endToEndIdentification=$endToEndIdentification, inputMessageAccountabilityData=$inputMessageAccountabilityData, instructingAgentRoutingNumber=$instructingAgentRoutingNumber, instructionIdentification=$instructionIdentification, originatorAddressLine1=$originatorAddressLine1, originatorAddressLine2=$originatorAddressLine2, originatorAddressLine3=$originatorAddressLine3, originatorName=$originatorName, originatorRoutingNumber=$originatorRoutingNumber, originatorToBeneficiaryInformation=$originatorToBeneficiaryInformation, originatorToBeneficiaryInformationLine1=$originatorToBeneficiaryInformationLine1, originatorToBeneficiaryInformationLine2=$originatorToBeneficiaryInformationLine2, originatorToBeneficiaryInformationLine3=$originatorToBeneficiaryInformationLine3, originatorToBeneficiaryInformationLine4=$originatorToBeneficiaryInformationLine4, reversal=$reversal, senderReference=$senderReference, status=$status, type=$type, uniqueEndToEndTransactionReference=$uniqueEndToEndTransactionReference, unstructuredRemittanceInformation=$unstructuredRemittanceInformation, wireDrawdownRequestId=$wireDrawdownRequestId, additionalProperties=$additionalProperties}" } diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferListPageResponseTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferListPageResponseTest.kt index 158fae788..7cccc94ec 100644 --- a/increase-java-core/src/test/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferListPageResponseTest.kt +++ b/increase-java-core/src/test/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferListPageResponseTest.kt @@ -26,8 +26,19 @@ internal class InboundWireTransferListPageResponseTest { .beneficiaryName(null) .beneficiaryReference(null) .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z")) + .creditorAddressLine1(null) + .creditorAddressLine2(null) + .creditorAddressLine3(null) + .creditorName(null) + .debtorAddressLine1(null) + .debtorAddressLine2(null) + .debtorAddressLine3(null) + .debtorName(null) .description("Inbound wire transfer") + .endToEndIdentification(null) .inputMessageAccountabilityData(null) + .instructingAgentRoutingNumber(null) + .instructionIdentification(null) .originatorAddressLine1(null) .originatorAddressLine2(null) .originatorAddressLine3(null) @@ -47,6 +58,8 @@ internal class InboundWireTransferListPageResponseTest { .senderReference(null) .status(InboundWireTransfer.Status.ACCEPTED) .type(InboundWireTransfer.Type.INBOUND_WIRE_TRANSFER) + .uniqueEndToEndTransactionReference(null) + .unstructuredRemittanceInformation(null) .wireDrawdownRequestId(null) .build() ) @@ -66,8 +79,19 @@ internal class InboundWireTransferListPageResponseTest { .beneficiaryName(null) .beneficiaryReference(null) .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z")) + .creditorAddressLine1(null) + .creditorAddressLine2(null) + .creditorAddressLine3(null) + .creditorName(null) + .debtorAddressLine1(null) + .debtorAddressLine2(null) + .debtorAddressLine3(null) + .debtorName(null) .description("Inbound wire transfer") + .endToEndIdentification(null) .inputMessageAccountabilityData(null) + .instructingAgentRoutingNumber(null) + .instructionIdentification(null) .originatorAddressLine1(null) .originatorAddressLine2(null) .originatorAddressLine3(null) @@ -87,6 +111,8 @@ internal class InboundWireTransferListPageResponseTest { .senderReference(null) .status(InboundWireTransfer.Status.ACCEPTED) .type(InboundWireTransfer.Type.INBOUND_WIRE_TRANSFER) + .uniqueEndToEndTransactionReference(null) + .unstructuredRemittanceInformation(null) .wireDrawdownRequestId(null) .build() ) @@ -110,8 +136,19 @@ internal class InboundWireTransferListPageResponseTest { .beneficiaryName(null) .beneficiaryReference(null) .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z")) + .creditorAddressLine1(null) + .creditorAddressLine2(null) + .creditorAddressLine3(null) + .creditorName(null) + .debtorAddressLine1(null) + .debtorAddressLine2(null) + .debtorAddressLine3(null) + .debtorName(null) .description("Inbound wire transfer") + .endToEndIdentification(null) .inputMessageAccountabilityData(null) + .instructingAgentRoutingNumber(null) + .instructionIdentification(null) .originatorAddressLine1(null) .originatorAddressLine2(null) .originatorAddressLine3(null) @@ -131,6 +168,8 @@ internal class InboundWireTransferListPageResponseTest { .senderReference(null) .status(InboundWireTransfer.Status.ACCEPTED) .type(InboundWireTransfer.Type.INBOUND_WIRE_TRANSFER) + .uniqueEndToEndTransactionReference(null) + .unstructuredRemittanceInformation(null) .wireDrawdownRequestId(null) .build() ) diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferTest.kt index bf80324d4..bd9cfc336 100644 --- a/increase-java-core/src/test/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferTest.kt +++ b/increase-java-core/src/test/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferTest.kt @@ -24,8 +24,19 @@ internal class InboundWireTransferTest { .beneficiaryName(null) .beneficiaryReference(null) .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z")) + .creditorAddressLine1(null) + .creditorAddressLine2(null) + .creditorAddressLine3(null) + .creditorName(null) + .debtorAddressLine1(null) + .debtorAddressLine2(null) + .debtorAddressLine3(null) + .debtorName(null) .description("Inbound wire transfer") + .endToEndIdentification(null) .inputMessageAccountabilityData(null) + .instructingAgentRoutingNumber(null) + .instructionIdentification(null) .originatorAddressLine1(null) .originatorAddressLine2(null) .originatorAddressLine3(null) @@ -45,6 +56,8 @@ internal class InboundWireTransferTest { .senderReference(null) .status(InboundWireTransfer.Status.ACCEPTED) .type(InboundWireTransfer.Type.INBOUND_WIRE_TRANSFER) + .uniqueEndToEndTransactionReference(null) + .unstructuredRemittanceInformation(null) .wireDrawdownRequestId(null) .build() @@ -60,8 +73,19 @@ internal class InboundWireTransferTest { assertThat(inboundWireTransfer.beneficiaryReference()).isEmpty assertThat(inboundWireTransfer.createdAt()) .isEqualTo(OffsetDateTime.parse("2020-01-31T23:59:59Z")) + assertThat(inboundWireTransfer.creditorAddressLine1()).isEmpty + assertThat(inboundWireTransfer.creditorAddressLine2()).isEmpty + assertThat(inboundWireTransfer.creditorAddressLine3()).isEmpty + assertThat(inboundWireTransfer.creditorName()).isEmpty + assertThat(inboundWireTransfer.debtorAddressLine1()).isEmpty + assertThat(inboundWireTransfer.debtorAddressLine2()).isEmpty + assertThat(inboundWireTransfer.debtorAddressLine3()).isEmpty + assertThat(inboundWireTransfer.debtorName()).isEmpty assertThat(inboundWireTransfer.description()).isEqualTo("Inbound wire transfer") + assertThat(inboundWireTransfer.endToEndIdentification()).isEmpty assertThat(inboundWireTransfer.inputMessageAccountabilityData()).isEmpty + assertThat(inboundWireTransfer.instructingAgentRoutingNumber()).isEmpty + assertThat(inboundWireTransfer.instructionIdentification()).isEmpty assertThat(inboundWireTransfer.originatorAddressLine1()).isEmpty assertThat(inboundWireTransfer.originatorAddressLine2()).isEmpty assertThat(inboundWireTransfer.originatorAddressLine3()).isEmpty @@ -83,6 +107,8 @@ internal class InboundWireTransferTest { assertThat(inboundWireTransfer.status()).isEqualTo(InboundWireTransfer.Status.ACCEPTED) assertThat(inboundWireTransfer.type()) .isEqualTo(InboundWireTransfer.Type.INBOUND_WIRE_TRANSFER) + assertThat(inboundWireTransfer.uniqueEndToEndTransactionReference()).isEmpty + assertThat(inboundWireTransfer.unstructuredRemittanceInformation()).isEmpty assertThat(inboundWireTransfer.wireDrawdownRequestId()).isEmpty } @@ -101,8 +127,19 @@ internal class InboundWireTransferTest { .beneficiaryName(null) .beneficiaryReference(null) .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z")) + .creditorAddressLine1(null) + .creditorAddressLine2(null) + .creditorAddressLine3(null) + .creditorName(null) + .debtorAddressLine1(null) + .debtorAddressLine2(null) + .debtorAddressLine3(null) + .debtorName(null) .description("Inbound wire transfer") + .endToEndIdentification(null) .inputMessageAccountabilityData(null) + .instructingAgentRoutingNumber(null) + .instructionIdentification(null) .originatorAddressLine1(null) .originatorAddressLine2(null) .originatorAddressLine3(null) @@ -122,6 +159,8 @@ internal class InboundWireTransferTest { .senderReference(null) .status(InboundWireTransfer.Status.ACCEPTED) .type(InboundWireTransfer.Type.INBOUND_WIRE_TRANSFER) + .uniqueEndToEndTransactionReference(null) + .unstructuredRemittanceInformation(null) .wireDrawdownRequestId(null) .build() From 5aa7178a9c8d10fdc38fcdeac8fd96c9c548a04e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 19 Aug 2025 23:33:01 +0000 Subject: [PATCH 4/4] release: 0.286.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ README.md | 10 +++++----- build.gradle.kts | 2 +- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 182fd7857..eaf24516e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.285.0" + ".": "0.286.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f905c312..7f812f12f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.286.0 (2025-08-19) + +Full Changelog: [v0.285.0...v0.286.0](https://github.com/Increase/increase-java/compare/v0.285.0...v0.286.0) + +### Features + +* **api:** api update ([3ffde5d](https://github.com/Increase/increase-java/commit/3ffde5ddabd9b60cc0e02fb1e789ab02db972999)) + ## 0.285.0 (2025-08-19) Full Changelog: [v0.284.0...v0.285.0](https://github.com/Increase/increase-java/compare/v0.284.0...v0.285.0) diff --git a/README.md b/README.md index 1ee96a0dd..71b9fc98a 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.285.0) -[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.285.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.285.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.286.0) +[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.286.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.286.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.285.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.286.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.285.0") +implementation("com.increase.api:increase-java:0.286.0") ``` ### Maven @@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.285.0") com.increase.api increase-java - 0.285.0 + 0.286.0 ``` diff --git a/build.gradle.kts b/build.gradle.kts index af2a928de..2d09b0e32 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ repositories { allprojects { group = "com.increase.api" - version = "0.285.0" // x-release-please-version + version = "0.286.0" // x-release-please-version } subprojects {