Skip to content

Commit 3d29044

Browse files
[relayedauthorizationwebhooks] Automated update from Adyen/adyen-openapi@946cf46
1 parent b1ea0e5 commit 3d29044

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"service": "relayedauthorizationwebhooks",
33
"project": "java",
4-
"generatedAt": "2026-05-14T14:22:11Z",
5-
"openapiCommitSha": "cbc5406a2df1f24d50e40742f18342f7ca7f21fc",
6-
"automationCommitSha": "6f06b47d0661f0891defe6b85461d2c367fbd284",
7-
"libraryCommitSha": "5790580db2f8a931a68baba2bff9760b8aed2067"
4+
"generatedAt": "2026-06-24T08:18:56Z",
5+
"openapiCommitSha": "946cf461174bec475cbe9beadf898f7a5802782f",
6+
"automationCommitSha": "5f1d5ab9643886ef722a2626e23afef8db5d52a6",
7+
"libraryCommitSha": "b1ea0e573d73e2a641ebab068063cf01792f279a"
88
}

src/main/java/com/adyen/model/relayedauthorizationwebhooks/PaymentInstrumentAdditionalBankAccountIdentificationsInner.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,15 @@ public PaymentInstrumentAdditionalBankAccountIdentificationsInner(IbanAccountIde
151151
JSON.registerDescendants(
152152
PaymentInstrumentAdditionalBankAccountIdentificationsInner.class,
153153
Collections.unmodifiableMap(schemas));
154+
// Initialize and register the discriminator mappings.
155+
Map<String, Class<?>> mappings = new HashMap<>();
156+
mappings.put("iban", IbanAccountIdentification.class);
157+
mappings.put("IbanAccountIdentification", IbanAccountIdentification.class);
158+
mappings.put(
159+
"PaymentInstrument_additionalBankAccountIdentifications_inner",
160+
PaymentInstrumentAdditionalBankAccountIdentificationsInner.class);
161+
JSON.registerDiscriminator(
162+
PaymentInstrumentAdditionalBankAccountIdentificationsInner.class, "type", mappings);
154163
}
155164

156165
@Override

0 commit comments

Comments
 (0)