Skip to content

Code generation: update services and models - #1567

Merged
gcatanese merged 4 commits into
mainfrom
sdk-automation/models
Oct 6, 2025
Merged

Code generation: update services and models#1567
gcatanese merged 4 commits into
mainfrom
sdk-automation/models

Conversation

@AdyenAutomationBot

@AdyenAutomationBot AdyenAutomationBot commented Oct 1, 2025

Copy link
Copy Markdown
Collaborator

Breaking Changes 🛠

Checkout API

New ShopperName class has been introduced, to be used when defining the name of the shopper. This affects several classes: CreateCheckoutSessionRequest, CreateCheckoutSessionResponse, DonationPaymentRequest, PaymentRequest.

The attribute shopperName has changed from

"shopperName"?: Name | null;

to

"shopperName"?: ShopperName | null;

New Features 💎

Checkout API

  • In PaymentRequest add attribute sdkData

Recurring API

  • In Recurring add enum values EXTERNAL and ONECLICK_RECURRING

OpenAPI spec files or templates have been modified on 03-10-2025 by commit.

@AdyenAutomationBot
AdyenAutomationBot requested a review from a team as a code owner October 1, 2025 08:00
@gemini-code-assist

Copy link
Copy Markdown
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 is an automated update to the Adyen services and models, driven by modifications to the OpenAPI specification files. The changes are primarily structural and cosmetic, focusing on import management, code formatting, and the inclusion of new data types for bank account identification. This ensures the codebase remains synchronized with the latest API definitions.

Highlights

  • Code Generation Update: This pull request introduces auto-generated code updates for various Adyen services and models, reflecting recent changes in the underlying OpenAPI specifications.
  • Import Optimization and Formatting: Many files across acswebhooks, balancecontrol, and balanceplatform packages have undergone import reordering and the addition of new Jackson annotations (JsonCreator, JsonTypeName, JsonValue) and utility imports (java.util.logging.Logger, java.util.Arrays).
  • Javadoc and Code Style Alignment: Minor formatting adjustments have been applied to Javadoc comments, code indentation, and method structures (e.g., Objects.equals calls) to ensure consistency with current code generation standards.
  • Expanded Account Identification Types: The BankAccountAccountIdentification.java file has received significant updates, including new imports for a wide range of local account identification types (e.g., AU, BR, CA, CZ, DK, HK, HU, NO, NZ, PL, SE, SG, UK, US) and corresponding adjustments to its custom serializer/deserializer.
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 contains a large number of changes across many files, which appear to be the result of an automated code generation process based on an updated OpenAPI specification. The changes are primarily stylistic and related to formatting, such as indentation, import order, Javadoc comments, and line breaks. After a thorough review, I have not found any functional issues, bugs, or regressions of medium or higher severity. The changes are consistent with what is expected from a code generator update.

@AdyenAutomationBot
AdyenAutomationBot force-pushed the sdk-automation/models branch 2 times, most recently from 45917e6 to e0d9001 Compare October 3, 2025 08:05
@gcatanese
gcatanese force-pushed the sdk-automation/models branch from e039574 to 3750897 Compare October 6, 2025 08:35
@gcatanese gcatanese added the Breaking change Indicates a change that has caused a major version update label Oct 6, 2025
@gcatanese
gcatanese merged commit 49b81cc into main Oct 6, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Breaking change Indicates a change that has caused a major version update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants