From 305fdd000f9841e812e99b3dbacb178c00dddfbf Mon Sep 17 00:00:00 2001 From: AdyenAutomationBot <38424300+AdyenAutomationBot@users.noreply.github.com> Date: Fri, 19 Jun 2026 10:29:14 +0000 Subject: [PATCH] [relayedauthorizationwebhooks] Automated update from Adyen/adyen-openapi@02d10c0 --- sdk-generation-log/relayedauthorizationwebhooks.json | 6 +++--- ...trumentAdditionalBankAccountIdentificationsInner.java | 9 +++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/sdk-generation-log/relayedauthorizationwebhooks.json b/sdk-generation-log/relayedauthorizationwebhooks.json index d84e5ca4c..0842ff54d 100644 --- a/sdk-generation-log/relayedauthorizationwebhooks.json +++ b/sdk-generation-log/relayedauthorizationwebhooks.json @@ -1,8 +1,8 @@ { "service": "relayedauthorizationwebhooks", "project": "java", - "generatedAt": "2026-05-14T14:22:11Z", - "openapiCommitSha": "cbc5406a2df1f24d50e40742f18342f7ca7f21fc", + "generatedAt": "2026-06-19T10:29:14Z", + "openapiCommitSha": "02d10c0110523a6a85ae331d2de5ab402c291095", "automationCommitSha": "6f06b47d0661f0891defe6b85461d2c367fbd284", - "libraryCommitSha": "5790580db2f8a931a68baba2bff9760b8aed2067" + "libraryCommitSha": "b1ea0e573d73e2a641ebab068063cf01792f279a" } diff --git a/src/main/java/com/adyen/model/relayedauthorizationwebhooks/PaymentInstrumentAdditionalBankAccountIdentificationsInner.java b/src/main/java/com/adyen/model/relayedauthorizationwebhooks/PaymentInstrumentAdditionalBankAccountIdentificationsInner.java index 09926c337..37d79ee81 100644 --- a/src/main/java/com/adyen/model/relayedauthorizationwebhooks/PaymentInstrumentAdditionalBankAccountIdentificationsInner.java +++ b/src/main/java/com/adyen/model/relayedauthorizationwebhooks/PaymentInstrumentAdditionalBankAccountIdentificationsInner.java @@ -151,6 +151,15 @@ public PaymentInstrumentAdditionalBankAccountIdentificationsInner(IbanAccountIde JSON.registerDescendants( PaymentInstrumentAdditionalBankAccountIdentificationsInner.class, Collections.unmodifiableMap(schemas)); + // Initialize and register the discriminator mappings. + Map> mappings = new HashMap<>(); + mappings.put("iban", IbanAccountIdentification.class); + mappings.put("IbanAccountIdentification", IbanAccountIdentification.class); + mappings.put( + "PaymentInstrument_additionalBankAccountIdentifications_inner", + PaymentInstrumentAdditionalBankAccountIdentificationsInner.class); + JSON.registerDiscriminator( + PaymentInstrumentAdditionalBankAccountIdentificationsInner.class, "type", mappings); } @Override