diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
index 6c9d27e0..bd8e2619 100644
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -1,14 +1,14 @@
# syntax=docker/dockerfile:1
FROM debian:bookworm-slim
-RUN apt-get update && apt-get install -y \
+RUN apt-get update && apt-get install -y --no-install-recommends \
libxkbcommon0 \
ca-certificates \
ca-certificates-java \
make \
curl \
git \
- openjdk-17-jdk \
+ openjdk-17-jdk-headless \
unzip \
libc++1 \
vim \
diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 9533e9ef..26b25a25 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "2.19.1"
+ ".": "2.20.0"
}
\ No newline at end of file
diff --git a/.stats.yml b/.stats.yml
index 10279b1b..b2ba6543 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,2 +1,2 @@
configured_endpoints: 158
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/modern-treasury-34dac66291f3cebd2c9d5014ab36b160c41c6fe80ae522d9264b1c62e68c7888.yml
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/modern-treasury-ba137e3fad353dee1cafda15945e8afa536149db4ae7175f5b55c827d3e635ea.yml
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 177e54fe..24de96a7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,19 @@
# Changelog
+## 2.20.0 (2024-09-09)
+
+Full Changelog: [v2.19.1...v2.20.0](https://github.com/Modern-Treasury/modern-treasury-java/compare/v2.19.1...v2.20.0)
+
+### Features
+
+* **api:** add us_bank RTP ID's as reference_number_type ([#216](https://github.com/Modern-Treasury/modern-treasury-java/issues/216)) ([6b00b30](https://github.com/Modern-Treasury/modern-treasury-java/commit/6b00b30c66d5595a07e575e8a6fad3c077654068))
+
+
+### Chores
+
+* **docs:** update description of `bankgirot` to `se_bankgirot` ([#217](https://github.com/Modern-Treasury/modern-treasury-java/issues/217)) ([171457c](https://github.com/Modern-Treasury/modern-treasury-java/commit/171457c7b4bf923ad3ce8163a0598ec117f2c189))
+* use headless jdk for containers ([#214](https://github.com/Modern-Treasury/modern-treasury-java/issues/214)) ([c85baed](https://github.com/Modern-Treasury/modern-treasury-java/commit/c85baed75d47d2a24dd591b1d95925a941963674))
+
## 2.19.1 (2024-08-22)
Full Changelog: [v2.19.0...v2.19.1](https://github.com/Modern-Treasury/modern-treasury-java/compare/v2.19.0...v2.19.1)
diff --git a/README.md b/README.md
index 00ab798c..8589aa19 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
-[![Maven Central](https://img.shields.io/maven-central/v/com.moderntreasury.api/modern-treasury-java)](https://central.sonatype.com/artifact/com.moderntreasury.api/modern-treasury-java/2.19.1)
+[![Maven Central](https://img.shields.io/maven-central/v/com.moderntreasury.api/modern-treasury-java)](https://central.sonatype.com/artifact/com.moderntreasury.api/modern-treasury-java/2.20.0)
@@ -25,7 +25,7 @@ The REST API documentation can be foundĀ on [docs.moderntreasury.com](https://do
```kotlin
-implementation("com.moderntreasury:modern-treasury-java:2.19.1")
+implementation("com.moderntreasury:modern-treasury-java:2.20.0")
```
#### Maven
@@ -34,7 +34,7 @@ implementation("com.moderntreasury:modern-treasury-java:2.19.1")
com.moderntreasury
modern-treasury-java
- 2.19.1
+ 2.20.0
```
diff --git a/build.gradle.kts b/build.gradle.kts
index 5af57e5d..2ba1fa1e 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -4,7 +4,7 @@ plugins {
allprojects {
group = "com.moderntreasury"
- version = "2.19.1" // x-release-please-version
+ version = "2.20.0" // x-release-please-version
}
nexusPublishing {
diff --git a/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/BulkRequestCreateParams.kt b/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/BulkRequestCreateParams.kt
index 3a4695d1..74fb7105 100644
--- a/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/BulkRequestCreateParams.kt
+++ b/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/BulkRequestCreateParams.kt
@@ -914,7 +914,7 @@ constructor(
private var hashCode: Int = 0
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
* `bacs`, `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`,
* `signet`, `provexchange`, `zengin`.
*/
@@ -1167,7 +1167,7 @@ constructor(
)
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
* `bacs`, `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`,
* `signet`, `provexchange`, `zengin`.
*/
@@ -1648,16 +1648,16 @@ constructor(
}
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
- * `bacs`, `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`,
- * `signet`, `provexchange`, `zengin`.
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`,
+ * `sepa`, `bacs`, `au_becs`, `interac`, `neft`, `nics`,
+ * `nz_national_clearing_code`, `sic`, `signet`, `provexchange`, `zengin`.
*/
fun type(type: PaymentOrderType) = type(JsonField.of(type))
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
- * `bacs`, `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`,
- * `signet`, `provexchange`, `zengin`.
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`,
+ * `sepa`, `bacs`, `au_becs`, `interac`, `neft`, `nics`,
+ * `nz_national_clearing_code`, `sic`, `signet`, `provexchange`, `zengin`.
*/
@JsonProperty("type")
@ExcludeMissing
@@ -11632,7 +11632,7 @@ constructor(
private var hashCode: Int = 0
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
* `bacs`, `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`,
* `signet`, `provexchange`, `zengin`.
*/
@@ -11889,7 +11889,7 @@ constructor(
fun id(): Optional = Optional.ofNullable(id.getNullable("id"))
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
* `bacs`, `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`,
* `signet`, `provexchange`, `zengin`.
*/
@@ -12364,16 +12364,16 @@ constructor(
}
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
- * `bacs`, `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`,
- * `signet`, `provexchange`, `zengin`.
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`,
+ * `sepa`, `bacs`, `au_becs`, `interac`, `neft`, `nics`,
+ * `nz_national_clearing_code`, `sic`, `signet`, `provexchange`, `zengin`.
*/
fun type(type: PaymentOrderType) = type(JsonField.of(type))
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
- * `bacs`, `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`,
- * `signet`, `provexchange`, `zengin`.
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`,
+ * `sepa`, `bacs`, `au_becs`, `interac`, `neft`, `nics`,
+ * `nz_national_clearing_code`, `sic`, `signet`, `provexchange`, `zengin`.
*/
@JsonProperty("type")
@ExcludeMissing
diff --git a/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/InvoiceCreateParams.kt b/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/InvoiceCreateParams.kt
index 20502c6d..20623a10 100644
--- a/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/InvoiceCreateParams.kt
+++ b/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/InvoiceCreateParams.kt
@@ -258,9 +258,9 @@ constructor(
@JsonProperty("payment_method") fun paymentMethod(): PaymentMethod? = paymentMethod
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`, `bacs`,
- * `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`, `signet`,
- * `provexchange`, `zengin`.
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
+ * `bacs`, `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`,
+ * `signet`, `provexchange`, `zengin`.
*/
@JsonProperty("payment_type") fun paymentType(): PaymentOrderType? = paymentType
@@ -550,7 +550,7 @@ constructor(
}
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
* `bacs`, `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`,
* `signet`, `provexchange`, `zengin`.
*/
@@ -918,9 +918,9 @@ constructor(
}
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`, `bacs`,
- * `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`, `signet`,
- * `provexchange`, `zengin`.
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
+ * `bacs`, `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`,
+ * `signet`, `provexchange`, `zengin`.
*/
fun paymentType(paymentType: PaymentOrderType) = apply { this.paymentType = paymentType }
diff --git a/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/InvoiceUpdateParams.kt b/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/InvoiceUpdateParams.kt
index ba40917c..b0ab9744 100644
--- a/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/InvoiceUpdateParams.kt
+++ b/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/InvoiceUpdateParams.kt
@@ -273,9 +273,9 @@ constructor(
@JsonProperty("payment_method") fun paymentMethod(): PaymentMethod? = paymentMethod
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`, `bacs`,
- * `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`, `signet`,
- * `provexchange`, `zengin`.
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
+ * `bacs`, `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`,
+ * `signet`, `provexchange`, `zengin`.
*/
@JsonProperty("payment_type") fun paymentType(): PaymentOrderType? = paymentType
@@ -576,7 +576,7 @@ constructor(
}
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
* `bacs`, `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`,
* `signet`, `provexchange`, `zengin`.
*/
@@ -960,9 +960,9 @@ constructor(
}
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`, `bacs`,
- * `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`, `signet`,
- * `provexchange`, `zengin`.
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
+ * `bacs`, `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`,
+ * `signet`, `provexchange`, `zengin`.
*/
fun paymentType(paymentType: PaymentOrderType) = apply { this.paymentType = paymentType }
diff --git a/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/PaymentOrder.kt b/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/PaymentOrder.kt
index 38148e9d..880a59a0 100644
--- a/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/PaymentOrder.kt
+++ b/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/PaymentOrder.kt
@@ -105,7 +105,7 @@ private constructor(
fun updatedAt(): OffsetDateTime = updatedAt.getRequired("updated_at")
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`, `bacs`,
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`, `bacs`,
* `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`, `signet`,
* `provexchange`, `zengin`.
*/
@@ -373,7 +373,7 @@ private constructor(
@JsonProperty("updated_at") @ExcludeMissing fun _updatedAt() = updatedAt
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`, `bacs`,
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`, `bacs`,
* `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`, `signet`,
* `provexchange`, `zengin`.
*/
@@ -976,16 +976,16 @@ private constructor(
fun updatedAt(updatedAt: JsonField) = apply { this.updatedAt = updatedAt }
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`, `bacs`,
- * `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`, `signet`,
- * `provexchange`, `zengin`.
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
+ * `bacs`, `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`,
+ * `signet`, `provexchange`, `zengin`.
*/
fun type(type: PaymentOrderType) = type(JsonField.of(type))
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`, `bacs`,
- * `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`, `signet`,
- * `provexchange`, `zengin`.
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
+ * `bacs`, `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`,
+ * `signet`, `provexchange`, `zengin`.
*/
@JsonProperty("type")
@ExcludeMissing
@@ -3035,6 +3035,14 @@ private constructor(
@JvmField
val USBANK_PAYMENT_ID = ReferenceNumberType(JsonField.of("usbank_payment_id"))
+ @JvmField
+ val USBANK_PENDING_RTP_PAYMENT_ID =
+ ReferenceNumberType(JsonField.of("usbank_pending_rtp_payment_id"))
+
+ @JvmField
+ val USBANK_POSTED_RTP_PAYMENT_ID =
+ ReferenceNumberType(JsonField.of("usbank_posted_rtp_payment_id"))
+
@JvmField
val WELLS_FARGO_END_TO_END_ID =
ReferenceNumberType(JsonField.of("wells_fargo_end_to_end_id"))
@@ -3117,6 +3125,8 @@ private constructor(
SWIFT_UETR,
UMB_PRODUCT_PARTNER_ACCOUNT_NUMBER,
USBANK_PAYMENT_ID,
+ USBANK_PENDING_RTP_PAYMENT_ID,
+ USBANK_POSTED_RTP_PAYMENT_ID,
WELLS_FARGO_END_TO_END_ID,
WELLS_FARGO_PAYMENT_ID,
WELLS_FARGO_TRACE_NUMBER,
@@ -3187,6 +3197,8 @@ private constructor(
SWIFT_UETR,
UMB_PRODUCT_PARTNER_ACCOUNT_NUMBER,
USBANK_PAYMENT_ID,
+ USBANK_PENDING_RTP_PAYMENT_ID,
+ USBANK_POSTED_RTP_PAYMENT_ID,
WELLS_FARGO_END_TO_END_ID,
WELLS_FARGO_PAYMENT_ID,
WELLS_FARGO_TRACE_NUMBER,
@@ -3262,6 +3274,8 @@ private constructor(
SWIFT_UETR -> Value.SWIFT_UETR
UMB_PRODUCT_PARTNER_ACCOUNT_NUMBER -> Value.UMB_PRODUCT_PARTNER_ACCOUNT_NUMBER
USBANK_PAYMENT_ID -> Value.USBANK_PAYMENT_ID
+ USBANK_PENDING_RTP_PAYMENT_ID -> Value.USBANK_PENDING_RTP_PAYMENT_ID
+ USBANK_POSTED_RTP_PAYMENT_ID -> Value.USBANK_POSTED_RTP_PAYMENT_ID
WELLS_FARGO_END_TO_END_ID -> Value.WELLS_FARGO_END_TO_END_ID
WELLS_FARGO_PAYMENT_ID -> Value.WELLS_FARGO_PAYMENT_ID
WELLS_FARGO_TRACE_NUMBER -> Value.WELLS_FARGO_TRACE_NUMBER
@@ -3337,6 +3351,8 @@ private constructor(
SWIFT_UETR -> Known.SWIFT_UETR
UMB_PRODUCT_PARTNER_ACCOUNT_NUMBER -> Known.UMB_PRODUCT_PARTNER_ACCOUNT_NUMBER
USBANK_PAYMENT_ID -> Known.USBANK_PAYMENT_ID
+ USBANK_PENDING_RTP_PAYMENT_ID -> Known.USBANK_PENDING_RTP_PAYMENT_ID
+ USBANK_POSTED_RTP_PAYMENT_ID -> Known.USBANK_POSTED_RTP_PAYMENT_ID
WELLS_FARGO_END_TO_END_ID -> Known.WELLS_FARGO_END_TO_END_ID
WELLS_FARGO_PAYMENT_ID -> Known.WELLS_FARGO_PAYMENT_ID
WELLS_FARGO_TRACE_NUMBER -> Known.WELLS_FARGO_TRACE_NUMBER
diff --git a/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/PaymentOrderCreateAsyncParams.kt b/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/PaymentOrderCreateAsyncParams.kt
index 7ead73e1..cf8afb81 100644
--- a/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/PaymentOrderCreateAsyncParams.kt
+++ b/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/PaymentOrderCreateAsyncParams.kt
@@ -248,9 +248,9 @@ constructor(
fun originatingAccountId(): String? = originatingAccountId
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`, `bacs`,
- * `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`, `signet`,
- * `provexchange`, `zengin`.
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
+ * `bacs`, `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`,
+ * `signet`, `provexchange`, `zengin`.
*/
@JsonProperty("type") fun type(): PaymentOrderType? = type
@@ -655,7 +655,7 @@ constructor(
}
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
* `bacs`, `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`,
* `signet`, `provexchange`, `zengin`.
*/
@@ -1185,9 +1185,9 @@ constructor(
}
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`, `bacs`,
- * `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`, `signet`,
- * `provexchange`, `zengin`.
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
+ * `bacs`, `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`,
+ * `signet`, `provexchange`, `zengin`.
*/
fun type(type: PaymentOrderType) = apply { this.type = type }
diff --git a/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/PaymentOrderCreateParams.kt b/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/PaymentOrderCreateParams.kt
index c5881f32..98ef79e8 100644
--- a/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/PaymentOrderCreateParams.kt
+++ b/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/PaymentOrderCreateParams.kt
@@ -253,9 +253,9 @@ constructor(
fun originatingAccountId(): String? = originatingAccountId
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`, `bacs`,
- * `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`, `signet`,
- * `provexchange`, `zengin`.
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
+ * `bacs`, `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`,
+ * `signet`, `provexchange`, `zengin`.
*/
@JsonProperty("type") fun type(): PaymentOrderType? = type
@@ -669,7 +669,7 @@ constructor(
}
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
* `bacs`, `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`,
* `signet`, `provexchange`, `zengin`.
*/
@@ -1212,9 +1212,9 @@ constructor(
}
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`, `bacs`,
- * `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`, `signet`,
- * `provexchange`, `zengin`.
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
+ * `bacs`, `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`,
+ * `signet`, `provexchange`, `zengin`.
*/
fun type(type: PaymentOrderType) = apply { this.type = type }
diff --git a/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/PaymentOrderUpdateParams.kt b/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/PaymentOrderUpdateParams.kt
index 6c514b6c..428a33aa 100644
--- a/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/PaymentOrderUpdateParams.kt
+++ b/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/PaymentOrderUpdateParams.kt
@@ -413,9 +413,9 @@ constructor(
@JsonProperty("subtype") fun subtype(): PaymentOrderSubtype? = subtype
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`, `bacs`,
- * `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`, `signet`,
- * `provexchange`, `zengin`.
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
+ * `bacs`, `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`,
+ * `signet`, `provexchange`, `zengin`.
*/
@JsonProperty("type") fun type(): PaymentOrderType? = type
@@ -865,7 +865,7 @@ constructor(
fun subtype(subtype: PaymentOrderSubtype) = apply { this.subtype = subtype }
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
* `bacs`, `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`,
* `signet`, `provexchange`, `zengin`.
*/
@@ -1360,9 +1360,9 @@ constructor(
fun subtype(subtype: PaymentOrderSubtype) = apply { this.subtype = subtype }
/**
- * One of `ach`, `bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`, `bacs`,
- * `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`, `signet`,
- * `provexchange`, `zengin`.
+ * One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sepa`,
+ * `bacs`, `au_becs`, `interac`, `neft`, `nics`, `nz_national_clearing_code`, `sic`,
+ * `signet`, `provexchange`, `zengin`.
*/
fun type(type: PaymentOrderType) = apply { this.type = type }
diff --git a/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/PaymentReference.kt b/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/PaymentReference.kt
index cd059bc8..de1bd3ba 100644
--- a/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/PaymentReference.kt
+++ b/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/PaymentReference.kt
@@ -539,6 +539,14 @@ private constructor(
@JvmField val USBANK_PAYMENT_ID = ReferenceNumberType(JsonField.of("usbank_payment_id"))
+ @JvmField
+ val USBANK_PENDING_RTP_PAYMENT_ID =
+ ReferenceNumberType(JsonField.of("usbank_pending_rtp_payment_id"))
+
+ @JvmField
+ val USBANK_POSTED_RTP_PAYMENT_ID =
+ ReferenceNumberType(JsonField.of("usbank_posted_rtp_payment_id"))
+
@JvmField
val WELLS_FARGO_END_TO_END_ID =
ReferenceNumberType(JsonField.of("wells_fargo_end_to_end_id"))
@@ -619,6 +627,8 @@ private constructor(
SWIFT_UETR,
UMB_PRODUCT_PARTNER_ACCOUNT_NUMBER,
USBANK_PAYMENT_ID,
+ USBANK_PENDING_RTP_PAYMENT_ID,
+ USBANK_POSTED_RTP_PAYMENT_ID,
WELLS_FARGO_END_TO_END_ID,
WELLS_FARGO_PAYMENT_ID,
WELLS_FARGO_TRACE_NUMBER,
@@ -689,6 +699,8 @@ private constructor(
SWIFT_UETR,
UMB_PRODUCT_PARTNER_ACCOUNT_NUMBER,
USBANK_PAYMENT_ID,
+ USBANK_PENDING_RTP_PAYMENT_ID,
+ USBANK_POSTED_RTP_PAYMENT_ID,
WELLS_FARGO_END_TO_END_ID,
WELLS_FARGO_PAYMENT_ID,
WELLS_FARGO_TRACE_NUMBER,
@@ -764,6 +776,8 @@ private constructor(
SWIFT_UETR -> Value.SWIFT_UETR
UMB_PRODUCT_PARTNER_ACCOUNT_NUMBER -> Value.UMB_PRODUCT_PARTNER_ACCOUNT_NUMBER
USBANK_PAYMENT_ID -> Value.USBANK_PAYMENT_ID
+ USBANK_PENDING_RTP_PAYMENT_ID -> Value.USBANK_PENDING_RTP_PAYMENT_ID
+ USBANK_POSTED_RTP_PAYMENT_ID -> Value.USBANK_POSTED_RTP_PAYMENT_ID
WELLS_FARGO_END_TO_END_ID -> Value.WELLS_FARGO_END_TO_END_ID
WELLS_FARGO_PAYMENT_ID -> Value.WELLS_FARGO_PAYMENT_ID
WELLS_FARGO_TRACE_NUMBER -> Value.WELLS_FARGO_TRACE_NUMBER
@@ -839,6 +853,8 @@ private constructor(
SWIFT_UETR -> Known.SWIFT_UETR
UMB_PRODUCT_PARTNER_ACCOUNT_NUMBER -> Known.UMB_PRODUCT_PARTNER_ACCOUNT_NUMBER
USBANK_PAYMENT_ID -> Known.USBANK_PAYMENT_ID
+ USBANK_PENDING_RTP_PAYMENT_ID -> Known.USBANK_PENDING_RTP_PAYMENT_ID
+ USBANK_POSTED_RTP_PAYMENT_ID -> Known.USBANK_POSTED_RTP_PAYMENT_ID
WELLS_FARGO_END_TO_END_ID -> Known.WELLS_FARGO_END_TO_END_ID
WELLS_FARGO_PAYMENT_ID -> Known.WELLS_FARGO_PAYMENT_ID
WELLS_FARGO_TRACE_NUMBER -> Known.WELLS_FARGO_TRACE_NUMBER
diff --git a/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/ReturnObject.kt b/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/ReturnObject.kt
index 66cba6ba..4d269114 100644
--- a/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/ReturnObject.kt
+++ b/modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/models/ReturnObject.kt
@@ -1528,6 +1528,14 @@ private constructor(
@JvmField
val USBANK_PAYMENT_ID = ReferenceNumberType(JsonField.of("usbank_payment_id"))
+ @JvmField
+ val USBANK_PENDING_RTP_PAYMENT_ID =
+ ReferenceNumberType(JsonField.of("usbank_pending_rtp_payment_id"))
+
+ @JvmField
+ val USBANK_POSTED_RTP_PAYMENT_ID =
+ ReferenceNumberType(JsonField.of("usbank_posted_rtp_payment_id"))
+
@JvmField
val WELLS_FARGO_END_TO_END_ID =
ReferenceNumberType(JsonField.of("wells_fargo_end_to_end_id"))
@@ -1610,6 +1618,8 @@ private constructor(
SWIFT_UETR,
UMB_PRODUCT_PARTNER_ACCOUNT_NUMBER,
USBANK_PAYMENT_ID,
+ USBANK_PENDING_RTP_PAYMENT_ID,
+ USBANK_POSTED_RTP_PAYMENT_ID,
WELLS_FARGO_END_TO_END_ID,
WELLS_FARGO_PAYMENT_ID,
WELLS_FARGO_TRACE_NUMBER,
@@ -1680,6 +1690,8 @@ private constructor(
SWIFT_UETR,
UMB_PRODUCT_PARTNER_ACCOUNT_NUMBER,
USBANK_PAYMENT_ID,
+ USBANK_PENDING_RTP_PAYMENT_ID,
+ USBANK_POSTED_RTP_PAYMENT_ID,
WELLS_FARGO_END_TO_END_ID,
WELLS_FARGO_PAYMENT_ID,
WELLS_FARGO_TRACE_NUMBER,
@@ -1755,6 +1767,8 @@ private constructor(
SWIFT_UETR -> Value.SWIFT_UETR
UMB_PRODUCT_PARTNER_ACCOUNT_NUMBER -> Value.UMB_PRODUCT_PARTNER_ACCOUNT_NUMBER
USBANK_PAYMENT_ID -> Value.USBANK_PAYMENT_ID
+ USBANK_PENDING_RTP_PAYMENT_ID -> Value.USBANK_PENDING_RTP_PAYMENT_ID
+ USBANK_POSTED_RTP_PAYMENT_ID -> Value.USBANK_POSTED_RTP_PAYMENT_ID
WELLS_FARGO_END_TO_END_ID -> Value.WELLS_FARGO_END_TO_END_ID
WELLS_FARGO_PAYMENT_ID -> Value.WELLS_FARGO_PAYMENT_ID
WELLS_FARGO_TRACE_NUMBER -> Value.WELLS_FARGO_TRACE_NUMBER
@@ -1830,6 +1844,8 @@ private constructor(
SWIFT_UETR -> Known.SWIFT_UETR
UMB_PRODUCT_PARTNER_ACCOUNT_NUMBER -> Known.UMB_PRODUCT_PARTNER_ACCOUNT_NUMBER
USBANK_PAYMENT_ID -> Known.USBANK_PAYMENT_ID
+ USBANK_PENDING_RTP_PAYMENT_ID -> Known.USBANK_PENDING_RTP_PAYMENT_ID
+ USBANK_POSTED_RTP_PAYMENT_ID -> Known.USBANK_POSTED_RTP_PAYMENT_ID
WELLS_FARGO_END_TO_END_ID -> Known.WELLS_FARGO_END_TO_END_ID
WELLS_FARGO_PAYMENT_ID -> Known.WELLS_FARGO_PAYMENT_ID
WELLS_FARGO_TRACE_NUMBER -> Known.WELLS_FARGO_TRACE_NUMBER