Skip to content

[recurring] Code generation: update services and models - #1768

Closed
AdyenAutomationBot wants to merge 1 commit into
mainfrom
sdk-automation/recurring
Closed

[recurring] Code generation: update services and models#1768
AdyenAutomationBot wants to merge 1 commit into
mainfrom
sdk-automation/recurring

Conversation

@AdyenAutomationBot

Copy link
Copy Markdown
Collaborator

This PR contains the automated changes for the recurring 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:31
@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 introduces an automated update to the recurring service models. The primary change involves a significant refactoring of the package structure for these models, moving them from com.adyen.model.recurring to a more generalized com.adyen.model.java namespace. This update ensures consistency with the latest code generation standards and reflects recent adyen-openapi commits.

Highlights

  • Package Refactoring: All model classes previously located in com.adyen.model.recurring have been moved and their package declarations updated to com.adyen.model.java.

🧠 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/java/AbstractOpenApiSchema.java
    • Renamed file from src/main/java/com/adyen/model/recurring/AbstractOpenApiSchema.java and updated package declaration.
  • src/main/java/com/adyen/model/java/Address.java
    • Renamed file from src/main/java/com/adyen/model/recurring/Address.java and updated package declaration.
  • src/main/java/com/adyen/model/java/Amount.java
    • Renamed file from src/main/java/com/adyen/model/recurring/Amount.java and updated package declaration.
  • src/main/java/com/adyen/model/java/BankAccount.java
    • Renamed file from src/main/java/com/adyen/model/recurring/BankAccount.java and updated package declaration.
  • src/main/java/com/adyen/model/java/Card.java
    • Renamed file from src/main/java/com/adyen/model/recurring/Card.java and updated package declaration.
  • src/main/java/com/adyen/model/java/CreatePermitRequest.java
    • Renamed file from src/main/java/com/adyen/model/recurring/CreatePermitRequest.java and updated package declaration.
  • src/main/java/com/adyen/model/java/CreatePermitResult.java
    • Renamed file from src/main/java/com/adyen/model/recurring/CreatePermitResult.java and updated package declaration.
  • src/main/java/com/adyen/model/java/DisablePermitRequest.java
    • Renamed file from src/main/java/com/adyen/model/recurring/DisablePermitRequest.java and updated package declaration.
  • src/main/java/com/adyen/model/java/DisablePermitResult.java
    • Renamed file from src/main/java/com/adyen/model/recurring/DisablePermitResult.java and updated package declaration.
  • src/main/java/com/adyen/model/java/DisableRequest.java
    • Renamed file from src/main/java/com/adyen/model/recurring/DisableRequest.java and updated package declaration.
  • src/main/java/com/adyen/model/java/DisableResult.java
    • Renamed file from src/main/java/com/adyen/model/recurring/DisableResult.java and updated package declaration.
  • src/main/java/com/adyen/model/java/JSON.java
    • Updated the package declaration from com.adyen.model.recurring to com.adyen.model.java.
  • src/main/java/com/adyen/model/java/Name.java
    • Renamed file from src/main/java/com/adyen/model/recurring/Name.java and updated package declaration.
  • src/main/java/com/adyen/model/java/NotifyShopperRequest.java
    • Renamed file from src/main/java/com/adyen/model/recurring/NotifyShopperRequest.java and updated package declaration.
  • src/main/java/com/adyen/model/java/NotifyShopperResult.java
    • Renamed file from src/main/java/com/adyen/model/recurring/NotifyShopperResult.java and updated package declaration.
  • src/main/java/com/adyen/model/java/Permit.java
    • Renamed file from src/main/java/com/adyen/model/recurring/Permit.java and updated package declaration.
  • src/main/java/com/adyen/model/java/PermitRestriction.java
    • Renamed file from src/main/java/com/adyen/model/recurring/PermitRestriction.java and updated package declaration.
  • src/main/java/com/adyen/model/java/PermitResult.java
    • Renamed file from src/main/java/com/adyen/model/recurring/PermitResult.java and updated package declaration.
  • src/main/java/com/adyen/model/java/Recurring.java
    • Renamed file from src/main/java/com/adyen/model/recurring/Recurring.java and updated package declaration.
  • src/main/java/com/adyen/model/java/RecurringDetail.java
    • Renamed file from src/main/java/com/adyen/model/recurring/RecurringDetail.java and updated package declaration.
  • src/main/java/com/adyen/model/java/RecurringDetailWrapper.java
    • Renamed file from src/main/java/com/adyen/model/recurring/RecurringDetailWrapper.java and updated package declaration.
  • src/main/java/com/adyen/model/java/RecurringDetailsRequest.java
    • Renamed file from src/main/java/com/adyen/model/recurring/RecurringDetailsRequest.java and updated package declaration.
  • src/main/java/com/adyen/model/java/RecurringDetailsResult.java
    • Renamed file from src/main/java/com/adyen/model/recurring/RecurringDetailsResult.java and updated package declaration.
  • src/main/java/com/adyen/model/java/ScheduleAccountUpdaterRequest.java
    • Renamed file from src/main/java/com/adyen/model/recurring/ScheduleAccountUpdaterRequest.java and updated package declaration.
  • src/main/java/com/adyen/model/java/ScheduleAccountUpdaterResult.java
    • Renamed file from src/main/java/com/adyen/model/recurring/ScheduleAccountUpdaterResult.java and updated package declaration.
  • src/main/java/com/adyen/model/java/ServiceError.java
    • Renamed file from src/main/java/com/adyen/model/recurring/ServiceError.java and updated package declaration.
  • src/main/java/com/adyen/model/java/TokenDetails.java
    • Renamed file from src/main/java/com/adyen/model/recurring/TokenDetails.java and updated package declaration.
Activity
  • No human activity has been recorded on this pull request yet.
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.

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

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.

Code Review

This pull request refactors several model classes by moving them from the com.adyen.model.recurring package to com.adyen.model.java. This appears to be an effort to create a shared model layer. While most files have been correctly moved and updated, a critical issue was found in JSON.java. Its package was changed, but the file was not moved to the corresponding directory, which will break the build. I've added a specific comment on this file. It's also worth noting that other parts of the codebase that depend on these moved models might need to be updated to use the new package, which doesn't seem to be part of this PR.

@@ -1,4 +1,4 @@
package com.adyen.model.recurring;
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 itself has not been moved from src/main/java/com/adyen/model/recurring/ to src/main/java/com/adyen/model/java/. In Java, the directory structure must match the package structure. This mismatch will cause a compilation error. The file needs to be moved to the correct directory.

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