From 93907d1f6302cddb975b44f77d8130f99f5ebf19 Mon Sep 17 00:00:00 2001 From: AdyenAutomationBot <38424300+AdyenAutomationBot@users.noreply.github.com> Date: Mon, 15 Jun 2026 16:43:09 +0000 Subject: [PATCH] [relayedauthorizationwebhooks] Automated update from Adyen/adyen-openapi@fe79064 --- 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..25c1c4ca9 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-15T16:43:09Z", + "openapiCommitSha": "fe790646de44602c0531c3ebd57c966876c7a1c7", "automationCommitSha": "6f06b47d0661f0891defe6b85461d2c367fbd284", - "libraryCommitSha": "5790580db2f8a931a68baba2bff9760b8aed2067" + "libraryCommitSha": "b2998c6eecc506e2d7ef07cc9b1eed1ee389a21b" } 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