diff --git a/sdk-generation-log/management.json b/sdk-generation-log/management.json new file mode 100644 index 000000000..94c19994c --- /dev/null +++ b/sdk-generation-log/management.json @@ -0,0 +1,8 @@ +{ + "service": "management", + "project": "java", + "generatedAt": "2026-04-15T07:56:34Z", + "openapiCommitSha": "3550ecd3f320efaad6bee55ffed5122cb9ba09d5", + "automationCommitSha": "1ceda93a33430aa189b6141d5f6ea2e61051c7fd", + "libraryCommitSha": "006de89d9ba7bca5c80eca48bcb5ee5829e763cb" +} diff --git a/src/main/java/com/adyen/model/management/AndroidApp.java b/src/main/java/com/adyen/model/management/AndroidApp.java index 65c6d9d91..29491c034 100644 --- a/src/main/java/com/adyen/model/management/AndroidApp.java +++ b/src/main/java/com/adyen/model/management/AndroidApp.java @@ -45,8 +45,8 @@ public class AndroidApp { private boolean isSetDescription = false; public static final String JSON_PROPERTY_ERROR_CODE = "errorCode"; - @Deprecated // deprecated since Management API v3: Use `errors` instead. - private String errorCode; + /* deprecated since Management API v3: Use `errors` instead. */ + @Deprecated private String errorCode; /** Mark when the attribute has been explicitly set. */ private boolean isSetErrorCode = false; @@ -204,9 +204,9 @@ public void setDescription(String description) { * @param errorCode The error code of the Android app with the `status` of either * **error** or **invalid**. * @return the current {@code AndroidApp} instance, allowing for method chaining - * @deprecated since Management API v3 Use `errors` instead. + * @deprecated since Management API v3 Use `errors` instead. */ - @Deprecated // deprecated since Management API v3: Use `errors` instead. + @Deprecated public AndroidApp errorCode(String errorCode) { this.errorCode = errorCode; isSetErrorCode = true; // mark as set @@ -219,9 +219,9 @@ public AndroidApp errorCode(String errorCode) { * * @return errorCode The error code of the Android app with the `status` of either * **error** or **invalid**. - * @deprecated // deprecated since Management API v3: Use `errors` instead. + * @deprecated since Management API v3 Use `errors` instead. */ - @Deprecated // deprecated since Management API v3: Use `errors` instead. + @Deprecated @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getErrorCode() { @@ -234,9 +234,9 @@ public String getErrorCode() { * * @param errorCode The error code of the Android app with the `status` of either * **error** or **invalid**. - * @deprecated since Management API v3 Use `errors` instead. + * @deprecated since Management API v3 Use `errors` instead. */ - @Deprecated // deprecated since Management API v3: Use `errors` instead. + @Deprecated @JsonProperty(JSON_PROPERTY_ERROR_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setErrorCode(String errorCode) { diff --git a/src/main/java/com/adyen/model/management/Nexo.java b/src/main/java/com/adyen/model/management/Nexo.java index 8842b214d..9af8f8dfb 100644 --- a/src/main/java/com/adyen/model/management/Nexo.java +++ b/src/main/java/com/adyen/model/management/Nexo.java @@ -49,8 +49,8 @@ public class Nexo { private boolean isSetEventUrls = false; public static final String JSON_PROPERTY_NEXO_EVENT_URLS = "nexoEventUrls"; - @Deprecated // deprecated since Management API v1: Use `eventUrls` instead. - private List nexoEventUrls; + /* deprecated since Management API v1: Use `eventUrls` instead. */ + @Deprecated private List nexoEventUrls; /** Mark when the attribute has been explicitly set. */ private boolean isSetNexoEventUrls = false; @@ -179,9 +179,9 @@ public void setEventUrls(EventUrl eventUrls) { * * @param nexoEventUrls One or more URLs to send event messages to when using Terminal API. * @return the current {@code Nexo} instance, allowing for method chaining - * @deprecated since Management API v1 Use `eventUrls` instead. + * @deprecated since Management API v1 Use `eventUrls` instead. */ - @Deprecated // deprecated since Management API v1: Use `eventUrls` instead. + @Deprecated public Nexo nexoEventUrls(List nexoEventUrls) { this.nexoEventUrls = nexoEventUrls; isSetNexoEventUrls = true; // mark as set @@ -200,9 +200,9 @@ public Nexo addNexoEventUrlsItem(String nexoEventUrlsItem) { * One or more URLs to send event messages to when using Terminal API. * * @return nexoEventUrls One or more URLs to send event messages to when using Terminal API. - * @deprecated // deprecated since Management API v1: Use `eventUrls` instead. + * @deprecated since Management API v1 Use `eventUrls` instead. */ - @Deprecated // deprecated since Management API v1: Use `eventUrls` instead. + @Deprecated @JsonProperty(JSON_PROPERTY_NEXO_EVENT_URLS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getNexoEventUrls() { @@ -213,9 +213,9 @@ public List getNexoEventUrls() { * One or more URLs to send event messages to when using Terminal API. * * @param nexoEventUrls One or more URLs to send event messages to when using Terminal API. - * @deprecated since Management API v1 Use `eventUrls` instead. + * @deprecated since Management API v1 Use `eventUrls` instead. */ - @Deprecated // deprecated since Management API v1: Use `eventUrls` instead. + @Deprecated @JsonProperty(JSON_PROPERTY_NEXO_EVENT_URLS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setNexoEventUrls(List nexoEventUrls) { diff --git a/src/main/java/com/adyen/model/management/UpdatePaymentMethodInfo.java b/src/main/java/com/adyen/model/management/UpdatePaymentMethodInfo.java index c2bb13b03..6947b03a0 100644 --- a/src/main/java/com/adyen/model/management/UpdatePaymentMethodInfo.java +++ b/src/main/java/com/adyen/model/management/UpdatePaymentMethodInfo.java @@ -203,9 +203,8 @@ public class UpdatePaymentMethodInfo { private boolean isSetStoreId = false; public static final String JSON_PROPERTY_STORE_IDS = "storeIds"; - @Deprecated // deprecated since Management API v3: Use `storeId` instead. Only one store per - // payment method is allowed. - private List storeIds; + /* deprecated since Management API v3: Use `storeId` instead. Only one store per payment method is allowed. */ + @Deprecated private List storeIds; /** Mark when the attribute has been explicitly set. */ private boolean isSetStoreIds = false; @@ -1143,11 +1142,10 @@ public void setStoreId(String storeId) { * * @param storeIds The list of stores for this payment method * @return the current {@code UpdatePaymentMethodInfo} instance, allowing for method chaining - * @deprecated since Management API v3 Use `storeId` instead. Only one store per payment - * method is allowed. + * @deprecated since Management API v3 Use `storeId` instead. Only one store per payment method is + * allowed. */ - @Deprecated // deprecated since Management API v3: Use `storeId` instead. Only one store per - // payment method is allowed. + @Deprecated public UpdatePaymentMethodInfo storeIds(List storeIds) { this.storeIds = storeIds; isSetStoreIds = true; // mark as set @@ -1166,11 +1164,10 @@ public UpdatePaymentMethodInfo addStoreIdsItem(String storeIdsItem) { * The list of stores for this payment method * * @return storeIds The list of stores for this payment method - * @deprecated // deprecated since Management API v3: Use `storeId` instead. Only one store per - * payment method is allowed. + * @deprecated since Management API v3 Use `storeId` instead. Only one store per payment method is + * allowed. */ - @Deprecated // deprecated since Management API v3: Use `storeId` instead. Only one store per - // payment method is allowed. + @Deprecated @JsonProperty(JSON_PROPERTY_STORE_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getStoreIds() { @@ -1181,11 +1178,10 @@ public List getStoreIds() { * The list of stores for this payment method * * @param storeIds The list of stores for this payment method - * @deprecated since Management API v3 Use `storeId` instead. Only one store per payment - * method is allowed. + * @deprecated since Management API v3 Use `storeId` instead. Only one store per payment method is + * allowed. */ - @Deprecated // deprecated since Management API v3: Use `storeId` instead. Only one store per - // payment method is allowed. + @Deprecated @JsonProperty(JSON_PROPERTY_STORE_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStoreIds(List storeIds) {