Skip to content

[softposconfiguration] Code generation: update services and models - #516

Open
AdyenAutomationBot wants to merge 1 commit into
mainfrom
sdk-automation/softposconfiguration
Open

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

Conversation

@AdyenAutomationBot

@AdyenAutomationBot AdyenAutomationBot commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

This PR contains the automated changes for the softposconfiguration service.

Adyen/adyen-openapi@d449f09

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

@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 introduces the softPOSConfiguration service, including the AdyenSoftPOSConfigurationApi and SessionAuthenticationApi classes to support SoftPOS configuration. A review comment points out a critical issue where setting self.service to "softPOSConfiguration" will cause a KeyError in the client's version lookup, and suggests changing it to "sessionAuthentication" to ensure compatibility.


def __init__(self, client=None):
super().__init__(client=client)
self.service = "softPOSConfiguration"

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.

high

Setting self.service to "softPOSConfiguration" will cause a KeyError in AdyenClient._set_url_version if any API version is configured on the client, because "softPOSConfiguration" is not a key in the version_lookup dictionary in Adyen/client.py. Changing this to "sessionAuthentication" ensures compatibility with the client's versioning mechanism and correctly maps to self.api_session_authentication_version.

Suggested change
self.service = "softPOSConfiguration"
self.service = "sessionAuthentication"

@AdyenAutomationBot
AdyenAutomationBot force-pushed the sdk-automation/softposconfiguration branch 2 times, most recently from b5cdccb to 6acaec1 Compare November 6, 2026 10:34
@rowanhalawa22
rowanhalawa22 self-requested a review November 9, 2026 14:46
@AdyenAutomationBot
AdyenAutomationBot force-pushed the sdk-automation/softposconfiguration branch from 6acaec1 to 3893f97 Compare November 9, 2026 15:34
@sonarqubecloud

sonarqubecloud Bot commented Nov 9, 2026

Copy link
Copy Markdown

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants