Skip to content

[payout] Code generation: update services and models#1787

Closed
AdyenAutomationBot wants to merge 1 commit intomainfrom
sdk-automation/payout
Closed

[payout] Code generation: update services and models#1787
AdyenAutomationBot wants to merge 1 commit intomainfrom
sdk-automation/payout

Conversation

@AdyenAutomationBot
Copy link
Copy Markdown
Collaborator

This PR contains the automated changes for the payout 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 March 9, 2026 13:32
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, 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 systematically updates the generated code for the payout service. The core change involves a significant refactoring of the Java package structure for model classes, moving them from a service-specific package to a more general com.adyen.model.java package. This ensures consistency and better organization of the generated code.

Highlights

  • Package Refactoring: The package structure for numerous model classes has been refactored from 'com.adyen.model.payout' to 'com.adyen.model.java'.
  • File Renames: Most affected files were renamed to align with the new, more general package structure.
  • Automated Code Generation: This pull request represents an automated update to the generated code for the 'payout' service.

🧠 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.

Changelog
  • src/main/java/com/adyen/model/payout/AbstractOpenApiSchema.java
    • Renamed file to src/main/java/com/adyen/model/java/AbstractOpenApiSchema.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/Address.java
    • Renamed file to src/main/java/com/adyen/model/java/Address.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/Amount.java
    • Renamed file to src/main/java/com/adyen/model/java/Amount.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/BankAccount.java
    • Renamed file to src/main/java/com/adyen/model/java/BankAccount.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/Card.java
    • Renamed file to src/main/java/com/adyen/model/java/Card.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/FraudCheckResult.java
    • Renamed file to src/main/java/com/adyen/model/java/FraudCheckResult.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/FraudCheckResultWrapper.java
    • Renamed file to src/main/java/com/adyen/model/java/FraudCheckResultWrapper.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/FraudResult.java
    • Renamed file to src/main/java/com/adyen/model/java/FraudResult.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/FundSource.java
    • Renamed file to src/main/java/com/adyen/model/java/FundSource.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/JSON.java
    • Updated package declaration from 'com.adyen.model.payout' to 'com.adyen.model.java'.
  • src/main/java/com/adyen/model/payout/ModifyRequest.java
    • Renamed file to src/main/java/com/adyen/model/java/ModifyRequest.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/ModifyResponse.java
    • Renamed file to src/main/java/com/adyen/model/java/ModifyResponse.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/Name.java
    • Renamed file to src/main/java/com/adyen/model/java/Name.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/PayoutRequest.java
    • Renamed file to src/main/java/com/adyen/model/java/PayoutRequest.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/PayoutResponse.java
    • Renamed file to src/main/java/com/adyen/model/java/PayoutResponse.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/Recurring.java
    • Renamed file to src/main/java/com/adyen/model/java/Recurring.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/ResponseAdditionalData3DSecure.java
    • Renamed file to src/main/java/com/adyen/model/java/ResponseAdditionalData3DSecure.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/ResponseAdditionalDataBillingAddress.java
    • Renamed file to src/main/java/com/adyen/model/java/ResponseAdditionalDataBillingAddress.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/ResponseAdditionalDataCard.java
    • Renamed file to src/main/java/com/adyen/model/java/ResponseAdditionalDataCard.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/ResponseAdditionalDataCommon.java
    • Renamed file to src/main/java/com/adyen/model/java/ResponseAdditionalDataCommon.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/ResponseAdditionalDataDomesticError.java
    • Renamed file to src/main/java/com/adyen/model/java/ResponseAdditionalDataDomesticError.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/ResponseAdditionalDataInstallments.java
    • Renamed file to src/main/java/com/adyen/model/java/ResponseAdditionalDataInstallments.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/ResponseAdditionalDataNetworkTokens.java
    • Renamed file to src/main/java/com/adyen/model/java/ResponseAdditionalDataNetworkTokens.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/ResponseAdditionalDataOpi.java
    • Renamed file to src/main/java/com/adyen/model/java/ResponseAdditionalDataOpi.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/ResponseAdditionalDataSepa.java
    • Renamed file to src/main/java/com/adyen/model/java/ResponseAdditionalDataSepa.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/ResponseAdditionalDataSwish.java
    • Renamed file to src/main/java/com/adyen/model/java/ResponseAdditionalDataSwish.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/ServiceError.java
    • Renamed file to src/main/java/com/adyen/model/java/ServiceError.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/StoreDetailAndSubmitRequest.java
    • Renamed file to src/main/java/com/adyen/model/java/StoreDetailAndSubmitRequest.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/StoreDetailAndSubmitResponse.java
    • Renamed file to src/main/java/com/adyen/model/java/StoreDetailAndSubmitResponse.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/StoreDetailRequest.java
    • Renamed file to src/main/java/com/adyen/model/java/StoreDetailRequest.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/StoreDetailResponse.java
    • Renamed file to src/main/java/com/adyen/model/java/StoreDetailResponse.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/SubmitRequest.java
    • Renamed file to src/main/java/com/adyen/model/java/SubmitRequest.java and updated package declaration.
  • src/main/java/com/adyen/model/payout/SubmitResponse.java
    • Renamed file to src/main/java/com/adyen/model/java/SubmitResponse.java and updated package declaration.
Activity
  • Automated code generation initiated by AdyenAutomationBot.
  • Updated services and models for the payout service.
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
Copy Markdown
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 appears to be an automated refactoring to move shared model classes from the com.adyen.model.payout package to a more generic com.adyen.model.java package. While most files have been correctly renamed and moved, there is a critical issue with JSON.java. Its package declaration was updated, but the file itself was not moved, which will lead to a compilation failure. This file needs to be moved to the correct directory to align with its new package structure.

@@ -1,4 +1,4 @@
package com.adyen.model.payout;
package com.adyen.model.java;
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.

critical

The package declaration has been updated to com.adyen.model.java, but the file has not been moved to the corresponding directory (src/main/java/com/adyen/model/java/). This mismatch between the package declaration and the file path will cause a compilation error. To fix this, the file should be moved from src/main/java/com/adyen/model/payout/JSON.java to src/main/java/com/adyen/model/java/JSON.java. It seems this file was missed during the automated refactoring, as other model files have been correctly moved.

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