Skip to content

[checkout] Code generation: update services and models - #512

Merged
andrej-gajduk-adyen merged 1 commit into
mainfrom
sdk-automation/checkout
Nov 11, 2026
Merged

andrej-gajduk-adyen merged 1 commit into
mainfrom
sdk-automation/checkout

Conversation

@AdyenAutomationBot

@AdyenAutomationBot AdyenAutomationBot commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

This PR contains the automated changes for the checkout 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 calculate_tax and verify_shopper_tax_identification methods to the utility_api.py service. The review feedback highlights that these new methods lack unit test coverage in test/CheckoutUtilityTest.py and recommends adding tests to verify the endpoints.

Comment on lines +16 to +24
def calculate_tax(self, request, idempotency_key=None, **kwargs):
"""
Calculate the tax for a transaction.
"""
endpoint = self.baseUrl + "/calculateTax"
method = "POST"
return self.client.call_adyen_api(
request, self.service, method, endpoint, idempotency_key, **kwargs
)

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.

medium

The newly added calculate_tax and verify_shopper_tax_identification methods lack unit test coverage in test/CheckoutUtilityTest.py. Please add unit tests to verify these new endpoints. Note that if a test only asserts on the outgoing request (such as method, URL, headers, or body) and does not require a mocked response, the create_client_from_file helper can be called without a mock file path argument, as it defaults to returning an empty response.

References
  1. When a test only asserts on the outgoing request (such as method, URL, headers, or body) and does not require a mocked response, the create_client_from_file helper can be called without a mock file path argument, as it defaults to returning an empty response.

@AdyenAutomationBot
AdyenAutomationBot force-pushed the sdk-automation/checkout branch 4 times, most recently from a2279eb to 61885d1 Compare October 22, 2026 14:18
@AdyenAutomationBot
AdyenAutomationBot force-pushed the sdk-automation/checkout branch 4 times, most recently from 459643e to cda3d8e Compare November 3, 2026 07:29
@AdyenAutomationBot
AdyenAutomationBot force-pushed the sdk-automation/checkout branch 2 times, most recently from f8f6168 to f9181f1 Compare November 6, 2026 10:35
@sonarqubecloud

sonarqubecloud Bot commented Nov 9, 2026

Copy link
Copy Markdown

@andrej-gajduk-adyen
andrej-gajduk-adyen added this pull request to the merge queue Nov 11, 2026
Merged via the queue into main with commit 0579408 Nov 11, 2026
13 of 14 checks passed
@andrej-gajduk-adyen
andrej-gajduk-adyen deleted the sdk-automation/checkout branch November 11, 2026 08:59
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