Skip to content

Commit 1c26611

Browse files
Merge pull request #250 from Adyen/automation/release
Release v9.0.1
2 parents 75d8a02 + f851431 commit 1c26611

File tree

7 files changed

+23
-15
lines changed

7 files changed

+23
-15
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.github/workflows/gh-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
contents: write
1313
runs-on: ubuntu-latest
1414
steps:
15-
- name: Get the release script
16-
run: |
17-
wget https://raw.githubusercontent.com/Adyen/adyen-node-api-library/develop/.github/scripts/release.js -P ./.github/scripts
1815
- uses: actions/checkout@v3
1916
with:
2017
fetch-depth: 0
2118
token: ${{ secrets.ADYEN_AUTOMATION_BOT_ACCESS_TOKEN }}
19+
- name: Get the release script
20+
run: |
21+
wget https://raw.githubusercontent.com/Adyen/adyen-node-api-library/develop/.github/scripts/release.js -P ./.github/scripts
2222
- name: Grab version
2323
uses: actions/github-script@v6
2424
id: release

Adyen/services/checkout/payments_api.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ def __init__(self, client=None):
1212
super(PaymentsApi, self).__init__(client=client)
1313
self.service = "checkout"
1414

15+
def get_synchronous_result_of_payment_session(self, sessionId, idempotency_key=None, **kwargs):
16+
"""
17+
Get a synchronous result of a payment session
18+
"""
19+
endpoint = f"/sessions/{sessionId}"
20+
method = "GET"
21+
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)
22+
1523
def card_details(self, request, idempotency_key=None, **kwargs):
1624
"""
1725
Get the list of brands on the card

Adyen/services/legalEntityManagement/terms_of_service_api.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ def get_terms_of_service_information_for_legal_entity(self, id, idempotency_key=
2020
method = "GET"
2121
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)
2222

23+
def get_terms_of_service_status(self, id, idempotency_key=None, **kwargs):
24+
"""
25+
Get Terms of Service status
26+
"""
27+
endpoint = f"/legalEntities/{id}/termsOfServiceStatus"
28+
method = "GET"
29+
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)
30+
2331
def accept_terms_of_service(self, request, id, termsofservicedocumentid, idempotency_key=None, **kwargs):
2432
"""
2533
Accept Terms of Service

Adyen/services/management/split_configuration_merchant_level_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ def delete_split_configuration(self, merchantId, splitConfigurationId, idempoten
2020
method = "DELETE"
2121
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)
2222

23-
def delete_split_configuration_rule(self, merchantId, splitConfigurationId, splitConfigurationRuleId, idempotency_key=None, **kwargs):
23+
def delete_split_configuration_rule(self, merchantId, splitConfigurationId, ruleId, idempotency_key=None, **kwargs):
2424
"""
2525
Delete a split configuration rule
2626
"""
27-
endpoint = f"/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}/rules/{splitConfigurationRuleId}"
27+
endpoint = f"/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}/rules/{ruleId}"
2828
method = "DELETE"
2929
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)
3030

Adyen/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626
API_LEGAL_ENTITY_MANAGEMENT_VERSION = "v3"
2727
API_STORED_VALUE_VERSION = "v46"
2828
LIB_NAME = "adyen-python-api-library"
29-
LIB_VERSION = "9.0.0"
29+
LIB_VERSION = "9.0.1"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
setup(
44
name='Adyen',
55
packages=find_packages(include="Adyen*"),
6-
version='9.0.0',
6+
version='9.0.1',
77
maintainer='Adyen',
88
maintainer_email='support@adyen.com',
99
description='Adyen Python Api',

0 commit comments

Comments
 (0)