From db2c9c25dd28a107ae75116815f3845b056ab29e Mon Sep 17 00:00:00 2001 From: AdyenAutomationBot <38424300+AdyenAutomationBot@users.noreply.github.com> Date: Mon, 9 Nov 2026 15:34:34 +0000 Subject: [PATCH] [managementwebhooks] Automated update from Adyen/adyen-openapi@d449f09 --- sdk-generation-log/managementwebhooks.json | 8 +-- .../MidServiceNotificationData.java | 70 +++++++++++++------ 2 files changed, 52 insertions(+), 26 deletions(-) diff --git a/sdk-generation-log/managementwebhooks.json b/sdk-generation-log/managementwebhooks.json index 6d8aeedbf..72aef8618 100644 --- a/sdk-generation-log/managementwebhooks.json +++ b/sdk-generation-log/managementwebhooks.json @@ -1,8 +1,8 @@ { "service": "managementwebhooks", "project": "java", - "generatedAt": "2026-10-05T12:35:52Z", - "openapiCommitSha": "45520ee6246d7e3d8074c3c5c5e991e65c2c02d6", - "automationCommitSha": "2d1a85539058e71d0384b6613831f7c7476ebb68", - "libraryCommitSha": "cd9aa06b2371aa410f4a62e2d39b47d31d31585e" + "generatedAt": "2026-11-09T15:34:34Z", + "openapiCommitSha": "d449f090b9a4842b63b562cd057fe12dfbf4bcad", + "automationCommitSha": "ae7e57613c3a29391a4adb4ff02e9ddda4611b16", + "libraryCommitSha": "a0311148dd88e802816e5e63c9cea41df2276cd3" } diff --git a/src/main/java/com/adyen/model/managementwebhooks/MidServiceNotificationData.java b/src/main/java/com/adyen/model/managementwebhooks/MidServiceNotificationData.java index 9247d5385..efae348bf 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/MidServiceNotificationData.java +++ b/src/main/java/com/adyen/model/managementwebhooks/MidServiceNotificationData.java @@ -52,7 +52,8 @@ public class MidServiceNotificationData { /** * The status of the request to add a payment method. Possible values: * **success**: the payment * method was added. * **failure**: the request failed. * **capabilityPending**: the - * **receivePayments** capability is not allowed. + * **receivePayments** capability is not allowed. A webhook with `status` **success** is + * the last webhook for that payment method. */ public enum StatusEnum { SUCCESS(String.valueOf("success")), @@ -111,6 +112,7 @@ public static StatusEnum fromValue(String value) { /** * Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected** + * Only returned in webhooks that include the screening results for your merchant account. */ public enum VerificationStatusEnum { VALID(String.valueOf("valid")), @@ -163,10 +165,12 @@ public MidServiceNotificationData() {} /** * Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after - * screening your merchant account. + * screening your merchant account. Only returned in webhooks that include the screening results + * for your merchant account. * * @param allowed Indicates whether receiving payments is allowed. This value is set to **true** - * by Adyen after screening your merchant account. + * by Adyen after screening your merchant account. Only returned in webhooks that include the + * screening results for your merchant account. * @return the current {@code MidServiceNotificationData} instance, allowing for method chaining */ public MidServiceNotificationData allowed(Boolean allowed) { @@ -176,10 +180,12 @@ public MidServiceNotificationData allowed(Boolean allowed) { /** * Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after - * screening your merchant account. + * screening your merchant account. Only returned in webhooks that include the screening results + * for your merchant account. * * @return allowed Indicates whether receiving payments is allowed. This value is set to **true** - * by Adyen after screening your merchant account. + * by Adyen after screening your merchant account. Only returned in webhooks that include the + * screening results for your merchant account. */ @JsonProperty(JSON_PROPERTY_ALLOWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -189,10 +195,12 @@ public Boolean getAllowed() { /** * Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after - * screening your merchant account. + * screening your merchant account. Only returned in webhooks that include the screening results + * for your merchant account. * * @param allowed Indicates whether receiving payments is allowed. This value is set to **true** - * by Adyen after screening your merchant account. + * by Adyen after screening your merchant account. Only returned in webhooks that include the + * screening results for your merchant account. */ @JsonProperty(JSON_PROPERTY_ALLOWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -201,10 +209,12 @@ public void setAllowed(Boolean allowed) { } /** - * Indicates whether the payment method is enabled (**true**) or disabled (**false**). + * Indicates whether the payment method is enabled (**true**) or disabled (**false**). Only + * reliable in webhooks that include the screening results for your merchant account. * * @param enabled Indicates whether the payment method is enabled (**true**) or disabled - * (**false**). + * (**false**). Only reliable in webhooks that include the screening results for your merchant + * account. * @return the current {@code MidServiceNotificationData} instance, allowing for method chaining */ public MidServiceNotificationData enabled(Boolean enabled) { @@ -213,10 +223,12 @@ public MidServiceNotificationData enabled(Boolean enabled) { } /** - * Indicates whether the payment method is enabled (**true**) or disabled (**false**). + * Indicates whether the payment method is enabled (**true**) or disabled (**false**). Only + * reliable in webhooks that include the screening results for your merchant account. * * @return enabled Indicates whether the payment method is enabled (**true**) or disabled - * (**false**). + * (**false**). Only reliable in webhooks that include the screening results for your merchant + * account. */ @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -225,10 +237,12 @@ public Boolean getEnabled() { } /** - * Indicates whether the payment method is enabled (**true**) or disabled (**false**). + * Indicates whether the payment method is enabled (**true**) or disabled (**false**). Only + * reliable in webhooks that include the screening results for your merchant account. * * @param enabled Indicates whether the payment method is enabled (**true**) or disabled - * (**false**). + * (**false**). Only reliable in webhooks that include the screening results for your merchant + * account. */ @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -338,11 +352,13 @@ public void setReference(String reference) { /** * The status of the request to add a payment method. Possible values: * **success**: the payment * method was added. * **failure**: the request failed. * **capabilityPending**: the - * **receivePayments** capability is not allowed. + * **receivePayments** capability is not allowed. A webhook with `status` **success** is + * the last webhook for that payment method. * * @param status The status of the request to add a payment method. Possible values: * * **success**: the payment method was added. * **failure**: the request failed. * - * **capabilityPending**: the **receivePayments** capability is not allowed. + * **capabilityPending**: the **receivePayments** capability is not allowed. A webhook with + * `status` **success** is the last webhook for that payment method. * @return the current {@code MidServiceNotificationData} instance, allowing for method chaining */ public MidServiceNotificationData status(StatusEnum status) { @@ -353,11 +369,13 @@ public MidServiceNotificationData status(StatusEnum status) { /** * The status of the request to add a payment method. Possible values: * **success**: the payment * method was added. * **failure**: the request failed. * **capabilityPending**: the - * **receivePayments** capability is not allowed. + * **receivePayments** capability is not allowed. A webhook with `status` **success** is + * the last webhook for that payment method. * * @return status The status of the request to add a payment method. Possible values: * * **success**: the payment method was added. * **failure**: the request failed. * - * **capabilityPending**: the **receivePayments** capability is not allowed. + * **capabilityPending**: the **receivePayments** capability is not allowed. A webhook with + * `status` **success** is the last webhook for that payment method. */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -368,11 +386,13 @@ public StatusEnum getStatus() { /** * The status of the request to add a payment method. Possible values: * **success**: the payment * method was added. * **failure**: the request failed. * **capabilityPending**: the - * **receivePayments** capability is not allowed. + * **receivePayments** capability is not allowed. A webhook with `status` **success** is + * the last webhook for that payment method. * * @param status The status of the request to add a payment method. Possible values: * * **success**: the payment method was added. * **failure**: the request failed. * - * **capabilityPending**: the **receivePayments** capability is not allowed. + * **capabilityPending**: the **receivePayments** capability is not allowed. A webhook with + * `status` **success** is the last webhook for that payment method. */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -484,9 +504,11 @@ public void setType(String type) { /** * Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected** + * Only returned in webhooks that include the screening results for your merchant account. * * @param verificationStatus Payment method status. Possible values: * **valid** * **pending** * - * **invalid** * **rejected** + * **invalid** * **rejected** Only returned in webhooks that include the screening results for + * your merchant account. * @return the current {@code MidServiceNotificationData} instance, allowing for method chaining */ public MidServiceNotificationData verificationStatus(VerificationStatusEnum verificationStatus) { @@ -496,9 +518,11 @@ public MidServiceNotificationData verificationStatus(VerificationStatusEnum veri /** * Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected** + * Only returned in webhooks that include the screening results for your merchant account. * * @return verificationStatus Payment method status. Possible values: * **valid** * **pending** * - * **invalid** * **rejected** + * **invalid** * **rejected** Only returned in webhooks that include the screening results for + * your merchant account. */ @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -508,9 +532,11 @@ public VerificationStatusEnum getVerificationStatus() { /** * Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected** + * Only returned in webhooks that include the screening results for your merchant account. * * @param verificationStatus Payment method status. Possible values: * **valid** * **pending** * - * **invalid** * **rejected** + * **invalid** * **rejected** Only returned in webhooks that include the screening results for + * your merchant account. */ @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)