Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions sdk-generation-log/management.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"service": "management",
"project": "java",
"generatedAt": "2026-04-15T07:56:34Z",
"openapiCommitSha": "3550ecd3f320efaad6bee55ffed5122cb9ba09d5",
"automationCommitSha": "1ceda93a33430aa189b6141d5f6ea2e61051c7fd",
"libraryCommitSha": "006de89d9ba7bca5c80eca48bcb5ee5829e763cb"
}
16 changes: 8 additions & 8 deletions src/main/java/com/adyen/model/management/AndroidApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Comment on lines +48 to +49
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Using a regular block comment (/* ... */) for deprecation is less effective than Javadoc (/** ... */), which is recognized by IDEs and documentation tools. Additionally, placing the annotation on the same line as the field can reduce visibility. It is recommended to use a multi-line Javadoc format and place the annotation on its own line.

Suggested change
/* deprecated since Management API v3: Use `errors` instead. */
@Deprecated private String errorCode;
/** @deprecated since Management API v3: Use {@code errors} instead. */
@Deprecated
private String errorCode;


/** Mark when the attribute has been explicitly set. */
private boolean isSetErrorCode = false;
Expand Down Expand Up @@ -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.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The Javadoc uses backticks (`errors`) for code references, which is non-standard for Javadoc and inconsistent with the use of {@code ...} on the preceding line (line 206). It is recommended to use {@code errors} and add a period after the version for better clarity and standard compliance.

Suggested change
* @deprecated since Management API v3 Use `errors` instead.
* @deprecated Since Management API v3. Use {@code 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
Expand All @@ -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() {
Expand All @@ -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) {
Expand Down
16 changes: 8 additions & 8 deletions src/main/java/com/adyen/model/management/Nexo.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<String> nexoEventUrls;
/* deprecated since Management API v1: Use `eventUrls` instead. */
@Deprecated private List<String> nexoEventUrls;

/** Mark when the attribute has been explicitly set. */
private boolean isSetNexoEventUrls = false;
Expand Down Expand Up @@ -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 &#x60;eventUrls&#x60; instead.
* @deprecated since Management API v1 Use `eventUrls` instead.
*/
@Deprecated // deprecated since Management API v1: Use `eventUrls` instead.
@Deprecated
public Nexo nexoEventUrls(List<String> nexoEventUrls) {
this.nexoEventUrls = nexoEventUrls;
isSetNexoEventUrls = true; // mark as set
Expand All @@ -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<String> getNexoEventUrls() {
Expand All @@ -213,9 +213,9 @@ public List<String> 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 &#x60;eventUrls&#x60; 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<String> nexoEventUrls) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<String> storeIds;
/* deprecated since Management API v3: Use `storeId` instead. Only one store per payment method is allowed. */
@Deprecated private List<String> storeIds;
Comment on lines +206 to +207
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This line is excessively long (114 characters), exceeding common line length limits such as the 100-character limit in Google Java Style. Furthermore, using a regular block comment for deprecation is less effective than Javadoc (/** ... */). Reverting to a multi-line Javadoc format improves readability and ensures the deprecation reason is visible in IDEs.

Suggested change
/* deprecated since Management API v3: Use `storeId` instead. Only one store per payment method is allowed. */
@Deprecated private List<String> storeIds;
/**
* @deprecated since Management API v3: Use {@code storeId} instead.
* Only one store per payment method is allowed.
*/
@Deprecated
private List<String> storeIds;


/** Mark when the attribute has been explicitly set. */
private boolean isSetStoreIds = false;
Expand Down Expand Up @@ -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 &#x60;storeId&#x60; 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.
Comment on lines +1145 to +1146
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The Javadoc uses backticks (`storeId`) for code references, which is inconsistent with the use of {@code ...} on line 1144. Standard Javadoc uses {@code ...} for code snippets. Additionally, adding a period after the version improves sentence structure.

Suggested change
* @deprecated since Management API v3 Use `storeId` instead. Only one store per payment method is
* allowed.
* @deprecated Since Management API v3. Use {@code 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<String> storeIds) {
this.storeIds = storeIds;
isSetStoreIds = true; // mark as set
Expand All @@ -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<String> getStoreIds() {
Expand All @@ -1181,11 +1178,10 @@ public List<String> 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 &#x60;storeId&#x60; 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<String> storeIds) {
Expand Down