Skip to content

Conversation

@AdyenAutomationBot
Copy link
Collaborator

This PR contains the automated changes for the paymentsapp service.

The commit history of this PR reflects the adyen-openapi commits that have been applied.

@AdyenAutomationBot AdyenAutomationBot requested review from a team as code owners January 5, 2026 15:20
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @AdyenAutomationBot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request delivers an automated update to the paymentsapp service, ensuring that the generated Java client code remains synchronized with the latest OpenAPI specification. The modifications are largely cosmetic, focusing on code style, import organization, and Javadoc clarity, without introducing new functional features or breaking changes.

Highlights

  • Automated Code Generation: This pull request is an automated update to the paymentsapp service, reflecting recent changes from the adyen-openapi specification.
  • Code Formatting and Imports: The changes primarily involve reformatting code, reordering import statements, and adjusting Javadoc comments across various model and service files for consistency.
  • API Client Updates: The PaymentsAppApi service class has been updated with reordered imports and the addition of DefaultErrorResponseEntity.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates auto-generated services and models for the paymentsapp. The changes primarily consist of formatting adjustments, such as indentation and Javadoc updates. However, the code generation process has introduced a couple of consistent styling issues. Several model classes now have a strange trailing semicolon in their equals methods, which should be corrected. Additionally, the PaymentsAppApi class has extra blank lines within method signatures, impacting readability. I've left specific comments on these issues. It would be beneficial to fix the underlying code generation templates to prevent these issues in future updates.

Comment on lines 114 to 116
return Objects.equals(this.boardingRequestToken, boardingTokenRequest.boardingRequestToken) &&
Objects.equals(this.isSetBoardingRequestToken, boardingTokenRequest.isSetBoardingRequestToken)
;
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

The equals method has a trailing semicolon on a new line, which is unconventional and harms code readability. Please move the semicolon to the end of the return statement on the previous line.

Suggested change
return Objects.equals(this.boardingRequestToken, boardingTokenRequest.boardingRequestToken) &&
Objects.equals(this.isSetBoardingRequestToken, boardingTokenRequest.isSetBoardingRequestToken)
;
return Objects.equals(this.boardingRequestToken, boardingTokenRequest.boardingRequestToken) &&
Objects.equals(this.isSetBoardingRequestToken, boardingTokenRequest.isSetBoardingRequestToken);

Comment on lines 154 to 158
return Objects.equals(this.boardingToken, boardingTokenResponse.boardingToken) &&
Objects.equals(this.isSetBoardingToken, boardingTokenResponse.isSetBoardingToken) &&
Objects.equals(this.installationId, boardingTokenResponse.installationId) &&
Objects.equals(this.isSetInstallationId, boardingTokenResponse.isSetInstallationId)
;
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

The equals method has a trailing semicolon on a new line, which is unconventional and harms code readability. Please move the semicolon to the end of the return statement on the previous line.

Suggested change
return Objects.equals(this.boardingToken, boardingTokenResponse.boardingToken) &&
Objects.equals(this.isSetBoardingToken, boardingTokenResponse.isSetBoardingToken) &&
Objects.equals(this.installationId, boardingTokenResponse.installationId) &&
Objects.equals(this.isSetInstallationId, boardingTokenResponse.isSetInstallationId)
;
return Objects.equals(this.boardingToken, boardingTokenResponse.boardingToken) &&
Objects.equals(this.isSetBoardingToken, boardingTokenResponse.isSetBoardingToken) &&
Objects.equals(this.installationId, boardingTokenResponse.installationId) &&
Objects.equals(this.isSetInstallationId, boardingTokenResponse.isSetInstallationId);

Comment on lines 405 to 421
return Objects.equals(this.detail, defaultErrorResponseEntity.detail) &&
Objects.equals(this.isSetDetail, defaultErrorResponseEntity.isSetDetail) &&
Objects.equals(this.errorCode, defaultErrorResponseEntity.errorCode) &&
Objects.equals(this.isSetErrorCode, defaultErrorResponseEntity.isSetErrorCode) &&
Objects.equals(this.instance, defaultErrorResponseEntity.instance) &&
Objects.equals(this.isSetInstance, defaultErrorResponseEntity.isSetInstance) &&
Objects.equals(this.invalidFields, defaultErrorResponseEntity.invalidFields) &&
Objects.equals(this.isSetInvalidFields, defaultErrorResponseEntity.isSetInvalidFields) &&
Objects.equals(this.requestId, defaultErrorResponseEntity.requestId) &&
Objects.equals(this.isSetRequestId, defaultErrorResponseEntity.isSetRequestId) &&
Objects.equals(this.status, defaultErrorResponseEntity.status) &&
Objects.equals(this.isSetStatus, defaultErrorResponseEntity.isSetStatus) &&
Objects.equals(this.title, defaultErrorResponseEntity.title) &&
Objects.equals(this.isSetTitle, defaultErrorResponseEntity.isSetTitle) &&
Objects.equals(this.type, defaultErrorResponseEntity.type) &&
Objects.equals(this.isSetType, defaultErrorResponseEntity.isSetType)
;
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

The equals method has a trailing semicolon on a new line, which is unconventional and harms code readability. Please move the semicolon to the end of the return statement on the previous line.

Suggested change
return Objects.equals(this.detail, defaultErrorResponseEntity.detail) &&
Objects.equals(this.isSetDetail, defaultErrorResponseEntity.isSetDetail) &&
Objects.equals(this.errorCode, defaultErrorResponseEntity.errorCode) &&
Objects.equals(this.isSetErrorCode, defaultErrorResponseEntity.isSetErrorCode) &&
Objects.equals(this.instance, defaultErrorResponseEntity.instance) &&
Objects.equals(this.isSetInstance, defaultErrorResponseEntity.isSetInstance) &&
Objects.equals(this.invalidFields, defaultErrorResponseEntity.invalidFields) &&
Objects.equals(this.isSetInvalidFields, defaultErrorResponseEntity.isSetInvalidFields) &&
Objects.equals(this.requestId, defaultErrorResponseEntity.requestId) &&
Objects.equals(this.isSetRequestId, defaultErrorResponseEntity.isSetRequestId) &&
Objects.equals(this.status, defaultErrorResponseEntity.status) &&
Objects.equals(this.isSetStatus, defaultErrorResponseEntity.isSetStatus) &&
Objects.equals(this.title, defaultErrorResponseEntity.title) &&
Objects.equals(this.isSetTitle, defaultErrorResponseEntity.isSetTitle) &&
Objects.equals(this.type, defaultErrorResponseEntity.type) &&
Objects.equals(this.isSetType, defaultErrorResponseEntity.isSetType)
;
return Objects.equals(this.detail, defaultErrorResponseEntity.detail) &&
Objects.equals(this.isSetDetail, defaultErrorResponseEntity.isSetDetail) &&
Objects.equals(this.errorCode, defaultErrorResponseEntity.errorCode) &&
Objects.equals(this.isSetErrorCode, defaultErrorResponseEntity.isSetErrorCode) &&
Objects.equals(this.instance, defaultErrorResponseEntity.instance) &&
Objects.equals(this.isSetInstance, defaultErrorResponseEntity.isSetInstance) &&
Objects.equals(this.invalidFields, defaultErrorResponseEntity.invalidFields) &&
Objects.equals(this.isSetInvalidFields, defaultErrorResponseEntity.isSetInvalidFields) &&
Objects.equals(this.requestId, defaultErrorResponseEntity.requestId) &&
Objects.equals(this.isSetRequestId, defaultErrorResponseEntity.isSetRequestId) &&
Objects.equals(this.status, defaultErrorResponseEntity.status) &&
Objects.equals(this.isSetStatus, defaultErrorResponseEntity.isSetStatus) &&
Objects.equals(this.title, defaultErrorResponseEntity.title) &&
Objects.equals(this.isSetTitle, defaultErrorResponseEntity.isSetTitle) &&
Objects.equals(this.type, defaultErrorResponseEntity.type) &&
Objects.equals(this.isSetType, defaultErrorResponseEntity.isSetType);

Comment on lines 194 to 200
return Objects.equals(this.name, invalidField.name) &&
Objects.equals(this.isSetName, invalidField.isSetName) &&
Objects.equals(this.value, invalidField.value) &&
Objects.equals(this.isSetValue, invalidField.isSetValue) &&
Objects.equals(this.message, invalidField.message) &&
Objects.equals(this.isSetMessage, invalidField.isSetMessage)
;
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

The equals method has a trailing semicolon on a new line, which is unconventional and harms code readability. Please move the semicolon to the end of the return statement on the previous line.

Suggested change
return Objects.equals(this.name, invalidField.name) &&
Objects.equals(this.isSetName, invalidField.isSetName) &&
Objects.equals(this.value, invalidField.value) &&
Objects.equals(this.isSetValue, invalidField.isSetValue) &&
Objects.equals(this.message, invalidField.message) &&
Objects.equals(this.isSetMessage, invalidField.isSetMessage)
;
return Objects.equals(this.name, invalidField.name) &&
Objects.equals(this.isSetName, invalidField.isSetName) &&
Objects.equals(this.value, invalidField.value) &&
Objects.equals(this.isSetValue, invalidField.isSetValue) &&
Objects.equals(this.message, invalidField.message) &&
Objects.equals(this.isSetMessage, invalidField.isSetMessage);

Comment on lines 234 to 242
return Objects.equals(this.installationId, paymentsAppDto.installationId) &&
Objects.equals(this.isSetInstallationId, paymentsAppDto.isSetInstallationId) &&
Objects.equals(this.merchantAccountCode, paymentsAppDto.merchantAccountCode) &&
Objects.equals(this.isSetMerchantAccountCode, paymentsAppDto.isSetMerchantAccountCode) &&
Objects.equals(this.merchantStoreCode, paymentsAppDto.merchantStoreCode) &&
Objects.equals(this.isSetMerchantStoreCode, paymentsAppDto.isSetMerchantStoreCode) &&
Objects.equals(this.status, paymentsAppDto.status) &&
Objects.equals(this.isSetStatus, paymentsAppDto.isSetStatus)
;
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

The equals method has a trailing semicolon on a new line, which is unconventional and harms code readability. Please move the semicolon to the end of the return statement on the previous line.

Suggested change
return Objects.equals(this.installationId, paymentsAppDto.installationId) &&
Objects.equals(this.isSetInstallationId, paymentsAppDto.isSetInstallationId) &&
Objects.equals(this.merchantAccountCode, paymentsAppDto.merchantAccountCode) &&
Objects.equals(this.isSetMerchantAccountCode, paymentsAppDto.isSetMerchantAccountCode) &&
Objects.equals(this.merchantStoreCode, paymentsAppDto.merchantStoreCode) &&
Objects.equals(this.isSetMerchantStoreCode, paymentsAppDto.isSetMerchantStoreCode) &&
Objects.equals(this.status, paymentsAppDto.status) &&
Objects.equals(this.isSetStatus, paymentsAppDto.isSetStatus)
;
return Objects.equals(this.installationId, paymentsAppDto.installationId) &&
Objects.equals(this.isSetInstallationId, paymentsAppDto.isSetInstallationId) &&
Objects.equals(this.merchantAccountCode, paymentsAppDto.merchantAccountCode) &&
Objects.equals(this.isSetMerchantAccountCode, paymentsAppDto.isSetMerchantAccountCode) &&
Objects.equals(this.merchantStoreCode, paymentsAppDto.merchantStoreCode) &&
Objects.equals(this.isSetMerchantStoreCode, paymentsAppDto.isSetMerchantStoreCode) &&
Objects.equals(this.status, paymentsAppDto.status) &&
Objects.equals(this.isSetStatus, paymentsAppDto.isSetStatus);

Comment on lines 125 to 127
return Objects.equals(this.paymentsApps, paymentsAppResponse.paymentsApps) &&
Objects.equals(this.isSetPaymentsApps, paymentsAppResponse.isSetPaymentsApps)
;
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

The equals method has a trailing semicolon on a new line, which is unconventional and harms code readability. Please move the semicolon to the end of the return statement on the previous line.

Suggested change
return Objects.equals(this.paymentsApps, paymentsAppResponse.paymentsApps) &&
Objects.equals(this.isSetPaymentsApps, paymentsAppResponse.isSetPaymentsApps)
;
return Objects.equals(this.paymentsApps, paymentsAppResponse.paymentsApps) &&
Objects.equals(this.isSetPaymentsApps, paymentsAppResponse.isSetPaymentsApps);

Comment on lines 64 to 66
public BoardingTokenResponse generatePaymentsAppBoardingTokenForMerchant(String merchantId,

/**
* Create a boarding token - merchant level
*
* @param merchantId {@link String } The unique identifier of the merchant account. (required)
* @param boardingTokenRequest {@link BoardingTokenRequest } (required)
* @param requestOptions {@link RequestOptions } Object to store additional HTTP headers such as
* idempotency-keys (optional)
* @return {@link BoardingTokenResponse }
* @throws ApiException if fails to make API call
*/
public BoardingTokenResponse generatePaymentsAppBoardingTokenForMerchant(
String merchantId, BoardingTokenRequest boardingTokenRequest, RequestOptions requestOptions)
throws ApiException, IOException {
// Add path params
Map<String, String> pathParams = new HashMap<>();
if (merchantId == null) {
throw new IllegalArgumentException("Please provide the merchantId path parameter");
BoardingTokenRequest boardingTokenRequest) throws ApiException, IOException {
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

There is an unnecessary blank line within the method signature on line 65, which harms readability. This formatting issue is present in several other method signatures in this file as well. Please remove the extra blank lines from all affected method signatures.

    public BoardingTokenResponse generatePaymentsAppBoardingTokenForMerchant(String merchantId, BoardingTokenRequest boardingTokenRequest) throws ApiException, IOException {

@AdyenAutomationBot AdyenAutomationBot force-pushed the sdk-automation/paymentsapp branch 3 times, most recently from 8cec159 to 065fac2 Compare January 8, 2026 12:04
@AdyenAutomationBot AdyenAutomationBot force-pushed the sdk-automation/paymentsapp branch from aaf89dc to bcfdca5 Compare January 8, 2026 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants