Skip to content

Commit 936634e

Browse files
[relayedauthorizationwebhooks] Automated update from Adyen/adyen-openapi@3349008
1 parent 037bd8e commit 936634e

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-07-13T09:45:44Z",
5+
"openapiCommitSha": "334900842b135eb9fc1a17afebd46a4f07793aec",
6+
"automationCommitSha": "5d4b281c0c2fc1bf24530386ae54ce50888f6ae4",
7+
"libraryCommitSha": "037bd8e53b9ade8da600fa0cf34aa2140187016d"
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)