Skip to content

Commit 34527e2

Browse files
false[adyen-sdk-automation] automated change
1 parent a215161 commit 34527e2

File tree

4 files changed

+71
-0
lines changed

4 files changed

+71
-0
lines changed

Adyen/services/balanceControl.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ def __init__(self, client=None):
1616
def balance_transfer(self, request, idempotency_key=None, **kwargs):
1717
"""
1818
Start a balance transfer
19+
20+
Deprecated since Adyen Balance Control API v1
1921
"""
2022
endpoint = self.baseUrl + f"/balanceTransfer"
2123
method = "POST"

Adyen/services/balancePlatform/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from ..base import AdyenServiceBase
22
from .account_holders_api import AccountHoldersApi
33
from .balance_accounts_api import BalanceAccountsApi
4+
from .balances_api import BalancesApi
45
from .bank_account_validation_api import BankAccountValidationApi
56
from .card_orders_api import CardOrdersApi
67
from .grant_accounts_api import GrantAccountsApi
@@ -26,6 +27,7 @@ def __init__(self, client=None):
2627
super(AdyenBalancePlatformApi, self).__init__(client=client)
2728
self.account_holders_api = AccountHoldersApi(client=client)
2829
self.balance_accounts_api = BalanceAccountsApi(client=client)
30+
self.balances_api = BalancesApi(client=client)
2931
self.bank_account_validation_api = BankAccountValidationApi(client=client)
3032
self.card_orders_api = CardOrdersApi(client=client)
3133
self.grant_accounts_api = GrantAccountsApi(client=client)
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
from ..base import AdyenServiceBase
2+
3+
4+
class BalancesApi(AdyenServiceBase):
5+
"""NOTE: This class is auto generated by OpenAPI Generator
6+
Ref: https://openapi-generator.tech
7+
8+
Do not edit the class manually.
9+
"""
10+
11+
def __init__(self, client=None):
12+
super(BalancesApi, self).__init__(client=client)
13+
self.service = "balancePlatform"
14+
self.baseUrl = "https://balanceplatform-api-test.adyen.com/bcl/v2"
15+
16+
def balance_platforms_balance_platform_id_webhooks_webhook_id_settings_get(self, balancePlatformId, webhookId, idempotency_key=None, **kwargs):
17+
"""
18+
Get webhook settings
19+
"""
20+
endpoint = self.baseUrl + f"/balancePlatforms/{balancePlatformId}/webhooks/{webhookId}/settings"
21+
method = "GET"
22+
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)
23+
24+
def balance_platforms_balance_platform_id_webhooks_webhook_id_settings_post(self, request, balancePlatformId, webhookId, balanceWebhookSettingsRequest, idempotency_key=None, **kwargs):
25+
"""
26+
Create a balance webhook setting
27+
"""
28+
endpoint = self.baseUrl + f"/balancePlatforms/{balancePlatformId}/webhooks/{webhookId}/settings"
29+
method = "POST"
30+
return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs)
31+
32+
def balance_platforms_balance_platform_id_webhooks_webhook_id_settings_setting_id_delete(self, balancePlatformId, webhookId, settingId, idempotency_key=None, **kwargs):
33+
"""
34+
Delete a webhook setting
35+
"""
36+
endpoint = self.baseUrl + f"/balancePlatforms/{balancePlatformId}/webhooks/{webhookId}/settings/{settingId}"
37+
method = "DELETE"
38+
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)
39+
40+
def balance_platforms_balance_platform_id_webhooks_webhook_id_settings_setting_id_get(self, balancePlatformId, webhookId, settingId, idempotency_key=None, **kwargs):
41+
"""
42+
Get a webhook setting
43+
"""
44+
endpoint = self.baseUrl + f"/balancePlatforms/{balancePlatformId}/webhooks/{webhookId}/settings/{settingId}"
45+
method = "GET"
46+
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)
47+
48+
def balance_platforms_balance_platform_id_webhooks_webhook_id_settings_setting_id_patch(self, request, balancePlatformId, webhookId, settingId, patchableBalanceWebhookSettingsRequest, idempotency_key=None, **kwargs):
49+
"""
50+
Update a webhook setting
51+
"""
52+
endpoint = self.baseUrl + f"/balancePlatforms/{balancePlatformId}/webhooks/{webhookId}/settings/{settingId}"
53+
method = "PATCH"
54+
return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs)
55+

Adyen/services/recurring.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ def __init__(self, client=None):
1616
def create_permit(self, request, idempotency_key=None, **kwargs):
1717
"""
1818
Create new permits linked to a recurring contract.
19+
20+
Deprecated since Adyen Recurring API v68
1921
"""
2022
endpoint = self.baseUrl + f"/createPermit"
2123
method = "POST"
@@ -24,6 +26,8 @@ def create_permit(self, request, idempotency_key=None, **kwargs):
2426
def disable(self, request, idempotency_key=None, **kwargs):
2527
"""
2628
Disable stored payment details
29+
30+
Deprecated since Adyen Recurring API v68
2731
"""
2832
endpoint = self.baseUrl + f"/disable"
2933
method = "POST"
@@ -32,6 +36,8 @@ def disable(self, request, idempotency_key=None, **kwargs):
3236
def disable_permit(self, request, idempotency_key=None, **kwargs):
3337
"""
3438
Disable an existing permit.
39+
40+
Deprecated since Adyen Recurring API v68
3541
"""
3642
endpoint = self.baseUrl + f"/disablePermit"
3743
method = "POST"
@@ -40,6 +46,8 @@ def disable_permit(self, request, idempotency_key=None, **kwargs):
4046
def list_recurring_details(self, request, idempotency_key=None, **kwargs):
4147
"""
4248
Get stored payment details
49+
50+
Deprecated since Adyen Recurring API v68
4351
"""
4452
endpoint = self.baseUrl + f"/listRecurringDetails"
4553
method = "POST"
@@ -48,6 +56,8 @@ def list_recurring_details(self, request, idempotency_key=None, **kwargs):
4856
def notify_shopper(self, request, idempotency_key=None, **kwargs):
4957
"""
5058
Ask issuer to notify the shopper
59+
60+
Deprecated since Adyen Recurring API v68
5161
"""
5262
endpoint = self.baseUrl + f"/notifyShopper"
5363
method = "POST"
@@ -56,6 +66,8 @@ def notify_shopper(self, request, idempotency_key=None, **kwargs):
5666
def schedule_account_updater(self, request, idempotency_key=None, **kwargs):
5767
"""
5868
Schedule running the Account Updater
69+
70+
Deprecated since Adyen Recurring API v68
5971
"""
6072
endpoint = self.baseUrl + f"/scheduleAccountUpdater"
6173
method = "POST"

0 commit comments

Comments
 (0)