Skip to content

[capital] Code generation: update services and models - #1767

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

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

Conversation

@AdyenAutomationBot

Copy link
Copy Markdown
Collaborator

This PR contains the automated changes for the capital 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 capital service's generated code. The primary change involves a significant refactoring of the Java package structure for various model classes, moving them from a service-specific package to a more general com.adyen.model.java package. This ensures consistency and alignment with the latest OpenAPI specification.

Highlights

  • Package Refactoring: The Java package for numerous model files related to the 'capital' service has been refactored and renamed from com.adyen.model.capital to com.adyen.model.java.
  • Automated Code Generation Update: This pull request reflects automated updates to services and models, ensuring alignment with the latest adyen-openapi specification for the capital 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/capital/JSON.java
    • Updated the package declaration from com.adyen.model.capital to com.adyen.model.java.
  • src/main/java/com/adyen/model/java/AULocalAccountIdentification.java
    • Renamed the file from src/main/java/com/adyen/model/capital/AULocalAccountIdentification.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/AbstractOpenApiSchema.java
    • Renamed the file from src/main/java/com/adyen/model/capital/AbstractOpenApiSchema.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/Action.java
    • Renamed the file from src/main/java/com/adyen/model/capital/Action.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/AdditionalBankIdentification.java
    • Renamed the file from src/main/java/com/adyen/model/capital/AdditionalBankIdentification.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/AdditionalBankIdentificationTypes.java
    • Renamed the file from src/main/java/com/adyen/model/capital/AdditionalBankIdentificationTypes.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/Amount.java
    • Renamed the file from src/main/java/com/adyen/model/capital/Amount.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/BRLocalAccountIdentification.java
    • Renamed the file from src/main/java/com/adyen/model/capital/BRLocalAccountIdentification.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/Balance.java
    • Renamed the file from src/main/java/com/adyen/model/capital/Balance.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/BankAccountIdentification.java
    • Renamed the file from src/main/java/com/adyen/model/capital/BankAccountIdentification.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/CALocalAccountIdentification.java
    • Renamed the file from src/main/java/com/adyen/model/capital/CALocalAccountIdentification.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/CALocalBankAccountType.java
    • Renamed the file from src/main/java/com/adyen/model/capital/CALocalBankAccountType.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/CZLocalAccountIdentification.java
    • Renamed the file from src/main/java/com/adyen/model/capital/CZLocalAccountIdentification.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/DKLocalAccountIdentification.java
    • Renamed the file from src/main/java/com/adyen/model/capital/DKLocalAccountIdentification.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/DefaultErrorResponseEntity.java
    • Renamed the file from src/main/java/com/adyen/model/capital/DefaultErrorResponseEntity.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/Disbursement.java
    • Renamed the file from src/main/java/com/adyen/model/capital/Disbursement.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/DisbursementInfoUpdate.java
    • Renamed the file from src/main/java/com/adyen/model/capital/DisbursementInfoUpdate.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/DisbursementRepayment.java
    • Renamed the file from src/main/java/com/adyen/model/capital/DisbursementRepayment.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/DisbursementRepaymentInfoUpdate.java
    • Renamed the file from src/main/java/com/adyen/model/capital/DisbursementRepaymentInfoUpdate.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/Disbursements.java
    • Renamed the file from src/main/java/com/adyen/model/capital/Disbursements.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/Fee.java
    • Renamed the file from src/main/java/com/adyen/model/capital/Fee.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/FundsCollection.java
    • Renamed the file from src/main/java/com/adyen/model/capital/FundsCollection.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/FundsCollectionType.java
    • Renamed the file from src/main/java/com/adyen/model/capital/FundsCollectionType.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/Grant.java
    • Renamed the file from src/main/java/com/adyen/model/capital/Grant.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/GrantAccount.java
    • Renamed the file from src/main/java/com/adyen/model/capital/GrantAccount.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/GrantCounterparty.java
    • Renamed the file from src/main/java/com/adyen/model/capital/GrantCounterparty.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/GrantInfo.java
    • Renamed the file from src/main/java/com/adyen/model/capital/GrantInfo.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/GrantInfoCounterparty.java
    • Renamed the file from src/main/java/com/adyen/model/capital/GrantInfoCounterparty.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/GrantLimit.java
    • Renamed the file from src/main/java/com/adyen/model/capital/GrantLimit.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/GrantOffer.java
    • Renamed the file from src/main/java/com/adyen/model/capital/GrantOffer.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/GrantOfferFee.java
    • Renamed the file from src/main/java/com/adyen/model/capital/GrantOfferFee.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/GrantOffers.java
    • Renamed the file from src/main/java/com/adyen/model/capital/GrantOffers.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/Grants.java
    • Renamed the file from src/main/java/com/adyen/model/capital/Grants.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/HKLocalAccountIdentification.java
    • Renamed the file from src/main/java/com/adyen/model/capital/HKLocalAccountIdentification.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/HULocalAccountIdentification.java
    • Renamed the file from src/main/java/com/adyen/model/capital/HULocalAccountIdentification.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/IbanAccountIdentification.java
    • Renamed the file from src/main/java/com/adyen/model/capital/IbanAccountIdentification.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/InvalidField.java
    • Renamed the file from src/main/java/com/adyen/model/capital/InvalidField.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/NOLocalAccountIdentification.java
    • Renamed the file from src/main/java/com/adyen/model/capital/NOLocalAccountIdentification.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/NZLocalAccountIdentification.java
    • Renamed the file from src/main/java/com/adyen/model/capital/NZLocalAccountIdentification.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/NumberAndBicAccountIdentification.java
    • Renamed the file from src/main/java/com/adyen/model/capital/NumberAndBicAccountIdentification.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/PLLocalAccountIdentification.java
    • Renamed the file from src/main/java/com/adyen/model/capital/PLLocalAccountIdentification.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/Repayment.java
    • Renamed the file from src/main/java/com/adyen/model/capital/Repayment.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/RepaymentTerm.java
    • Renamed the file from src/main/java/com/adyen/model/capital/RepaymentTerm.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/SELocalAccountIdentification.java
    • Renamed the file from src/main/java/com/adyen/model/capital/SELocalAccountIdentification.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/SGLocalAccountIdentification.java
    • Renamed the file from src/main/java/com/adyen/model/capital/SGLocalAccountIdentification.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/Status.java
    • Renamed the file from src/main/java/com/adyen/model/capital/Status.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/ThresholdRepayment.java
    • Renamed the file from src/main/java/com/adyen/model/capital/ThresholdRepayment.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/UKLocalAccountIdentification.java
    • Renamed the file from src/main/java/com/adyen/model/capital/UKLocalAccountIdentification.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/USLocalAccountIdentification.java
    • Renamed the file from src/main/java/com/adyen/model/capital/USLocalAccountIdentification.java and updated its package declaration.
  • src/main/java/com/adyen/model/java/USLocalBankAccountType.java
    • Renamed the file from src/main/java/com/adyen/model/capital/USLocalBankAccountType.java and updated its package declaration.
Activity
  • This pull request was automatically generated by AdyenAutomationBot, indicating an automated update process.
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

The pull request changes the package declaration in numerous Java files from com.adyen.model.capital to com.adyen.model.java. However, the reviewer noted that the files themselves were not moved to reflect this new package structure, which will cause compilation errors due to a mismatch between the package declaration and the file's directory path.

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

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