Skip to content

Commit a978e3e

Browse files
false[adyen-sdk-automation] automated change
1 parent ded0c24 commit a978e3e

9 files changed

+212
-16
lines changed

Adyen/services/balancePlatform/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@
1313
from .payment_instrument_groups_api import PaymentInstrumentGroupsApi
1414
from .payment_instruments_api import PaymentInstrumentsApi
1515
from .platform_api import PlatformApi
16+
from .sca_association_management_api import SCAAssociationManagementApi
17+
from .sca_device_management_api import SCADeviceManagementApi
1618
from .transaction_rules_api import TransactionRulesApi
19+
from .transfer_limits_balance_account_level_api import TransferLimitsBalanceAccountLevelApi
20+
from .transfer_limits_balance_platform_level_api import TransferLimitsBalancePlatformLevelApi
1721
from .transfer_routes_api import TransferRoutesApi
1822

1923

@@ -40,5 +44,9 @@ def __init__(self, client=None):
4044
self.payment_instrument_groups_api = PaymentInstrumentGroupsApi(client=client)
4145
self.payment_instruments_api = PaymentInstrumentsApi(client=client)
4246
self.platform_api = PlatformApi(client=client)
47+
self.sca_association_management_api = SCAAssociationManagementApi(client=client)
48+
self.sca_device_management_api = SCADeviceManagementApi(client=client)
4349
self.transaction_rules_api = TransactionRulesApi(client=client)
50+
self.transfer_limits_balance_account_level_api = TransferLimitsBalanceAccountLevelApi(client=client)
51+
self.transfer_limits_balance_platform_level_api = TransferLimitsBalancePlatformLevelApi(client=client)
4452
self.transfer_routes_api = TransferRoutesApi(client=client)
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
from ..base import AdyenServiceBase
2+
3+
4+
class SCAAssociationManagementApi(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(SCAAssociationManagementApi, self).__init__(client=client)
13+
self.service = "balancePlatform"
14+
self.baseUrl = "https://balanceplatform-api-test.adyen.com/bcl/v2"
15+
16+
def approve_association(self, request, wwwAuthenticate, idempotency_key=None, **kwargs):
17+
"""
18+
Approve a pending approval association
19+
"""
20+
endpoint = self.baseUrl + f"/scaAssociations"
21+
method = "PATCH"
22+
return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs)
23+
24+
def list_associations(self, idempotency_key=None, **kwargs):
25+
"""
26+
Get a list of devices associated with an entity
27+
"""
28+
endpoint = self.baseUrl + f"/scaAssociations"
29+
method = "GET"
30+
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)
31+
32+
def remove_association(self, request, wwwAuthenticate, idempotency_key=None, **kwargs):
33+
"""
34+
Delete association to devices
35+
"""
36+
endpoint = self.baseUrl + f"/scaAssociations"
37+
method = "DELETE"
38+
return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs)
39+
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
from ..base import AdyenServiceBase
2+
3+
4+
class SCADeviceManagementApi(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(SCADeviceManagementApi, self).__init__(client=client)
13+
self.service = "balancePlatform"
14+
self.baseUrl = "https://balanceplatform-api-test.adyen.com/bcl/v2"
15+
16+
def begin_sca_device_registration(self, request, idempotency_key=None, **kwargs):
17+
"""
18+
Begin SCA device registration
19+
"""
20+
endpoint = self.baseUrl + f"/scaDevices"
21+
method = "POST"
22+
return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs)
23+
24+
def finish_sca_device_registration(self, request, deviceId, idempotency_key=None, **kwargs):
25+
"""
26+
Finish registration process for a SCA device
27+
"""
28+
endpoint = self.baseUrl + f"/scaDevices/{deviceId}"
29+
method = "PATCH"
30+
return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs)
31+
32+
def submit_sca_association(self, request, deviceId, idempotency_key=None, **kwargs):
33+
"""
34+
Create a new SCA association for a device
35+
"""
36+
endpoint = self.baseUrl + f"/scaDevices/{deviceId}/scaAssociations"
37+
method = "POST"
38+
return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs)
39+
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
from ..base import AdyenServiceBase
2+
3+
4+
class TransferLimitsBalanceAccountLevelApi(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(TransferLimitsBalanceAccountLevelApi, self).__init__(client=client)
13+
self.service = "balancePlatform"
14+
self.baseUrl = "https://balanceplatform-api-test.adyen.com/bcl/v2"
15+
16+
def approve_pending_transfer_limits(self, request, id, approveTransferLimitRequest, idempotency_key=None, **kwargs):
17+
"""
18+
Approve pending transfer limits
19+
"""
20+
endpoint = self.baseUrl + f"/balanceAccounts/{id}/transferLimits/approve"
21+
method = "POST"
22+
return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs)
23+
24+
def create_transfer_limit(self, request, id, createTransferLimitRequest, idempotency_key=None, **kwargs):
25+
"""
26+
Create a transfer limit
27+
"""
28+
endpoint = self.baseUrl + f"/balanceAccounts/{id}/transferLimits"
29+
method = "POST"
30+
return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs)
31+
32+
def delete_pending_transfer_limit(self, transferLimitId, id, idempotency_key=None, **kwargs):
33+
"""
34+
Delete a scheduled or pending transfer limit
35+
"""
36+
endpoint = self.baseUrl + f"/balanceAccounts/{id}/transferLimits/{transferLimitId}"
37+
method = "DELETE"
38+
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)
39+
40+
def get_current_transfer_limits(self, id, idempotency_key=None, **kwargs):
41+
"""
42+
Get all current transfer limits
43+
"""
44+
endpoint = self.baseUrl + f"/balanceAccounts/{id}/transferLimits/current"
45+
method = "GET"
46+
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)
47+
48+
def get_specific_transfer_limit(self, transferLimitId, id, idempotency_key=None, **kwargs):
49+
"""
50+
Get the details of a transfer limit
51+
"""
52+
endpoint = self.baseUrl + f"/balanceAccounts/{id}/transferLimits/{transferLimitId}"
53+
method = "GET"
54+
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)
55+
56+
def get_transfer_limits(self, id, idempotency_key=None, **kwargs):
57+
"""
58+
Filter and view the transfer limits
59+
"""
60+
endpoint = self.baseUrl + f"/balanceAccounts/{id}/transferLimits"
61+
method = "GET"
62+
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)
63+
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
from ..base import AdyenServiceBase
2+
3+
4+
class TransferLimitsBalancePlatformLevelApi(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(TransferLimitsBalancePlatformLevelApi, self).__init__(client=client)
13+
self.service = "balancePlatform"
14+
self.baseUrl = "https://balanceplatform-api-test.adyen.com/bcl/v2"
15+
16+
def create_transfer_limit(self, request, id, createTransferLimitRequest, idempotency_key=None, **kwargs):
17+
"""
18+
Create a transfer limit
19+
"""
20+
endpoint = self.baseUrl + f"/balancePlatforms/{id}/transferLimits"
21+
method = "POST"
22+
return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs)
23+
24+
def delete_pending_transfer_limit(self, transferLimitId, id, idempotency_key=None, **kwargs):
25+
"""
26+
Delete a scheduled or pending transfer limit
27+
"""
28+
endpoint = self.baseUrl + f"/balancePlatforms/{id}/transferLimits/{transferLimitId}"
29+
method = "DELETE"
30+
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)
31+
32+
def get_specific_transfer_limit(self, transferLimitId, id, idempotency_key=None, **kwargs):
33+
"""
34+
Get the details of a transfer limit
35+
"""
36+
endpoint = self.baseUrl + f"/balancePlatforms/{id}/transferLimits/{transferLimitId}"
37+
method = "GET"
38+
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)
39+
40+
def get_transfer_limits(self, id, idempotency_key=None, **kwargs):
41+
"""
42+
Filter and view the transfer limits
43+
"""
44+
endpoint = self.baseUrl + f"/balancePlatforms/{id}/transferLimits"
45+
method = "GET"
46+
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)
47+

Adyen/services/checkout/donations_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def donation_campaigns(self, request, idempotency_key=None, **kwargs):
2323

2424
def donations(self, request, idempotency_key=None, **kwargs):
2525
"""
26-
Start a transaction for donations
26+
Make a donation
2727
"""
2828
endpoint = self.baseUrl + f"/donations"
2929
method = "POST"

Adyen/services/checkout/utility_api.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,11 @@ def updates_order_for_paypal_express_checkout(self, request, idempotency_key=Non
3939
method = "POST"
4040
return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs)
4141

42+
def validate_shopper_id(self, request, validateShopperIdRequest, idempotency_key=None, **kwargs):
43+
"""
44+
Validates shopper Id
45+
"""
46+
endpoint = self.baseUrl + f"/validateShopperId"
47+
method = "POST"
48+
return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs)
49+

Adyen/services/management/split_configuration_merchant_level_api.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,55 +23,55 @@ def create_rule(self, request, merchantId, splitConfigurationId, idempotency_key
2323

2424
def create_split_configuration(self, request, merchantId, idempotency_key=None, **kwargs):
2525
"""
26-
Create a split configuration
26+
Create a split configuration profile
2727
"""
2828
endpoint = self.baseUrl + f"/merchants/{merchantId}/splitConfigurations"
2929
method = "POST"
3030
return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs)
3131

3232
def delete_split_configuration(self, merchantId, splitConfigurationId, idempotency_key=None, **kwargs):
3333
"""
34-
Delete a split configuration
34+
Delete a split configuration profile
3535
"""
3636
endpoint = self.baseUrl + f"/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}"
3737
method = "DELETE"
3838
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)
3939

4040
def delete_split_configuration_rule(self, merchantId, splitConfigurationId, ruleId, idempotency_key=None, **kwargs):
4141
"""
42-
Delete a split configuration rule
42+
Delete a rule
4343
"""
4444
endpoint = self.baseUrl + f"/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}/rules/{ruleId}"
4545
method = "DELETE"
4646
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)
4747

4848
def get_split_configuration(self, merchantId, splitConfigurationId, idempotency_key=None, **kwargs):
4949
"""
50-
Get a split configuration
50+
Get a split configuration profile
5151
"""
5252
endpoint = self.baseUrl + f"/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}"
5353
method = "GET"
5454
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)
5555

5656
def list_split_configurations(self, merchantId, idempotency_key=None, **kwargs):
5757
"""
58-
Get a list of split configurations
58+
Get a list of split configuration profiles
5959
"""
6060
endpoint = self.baseUrl + f"/merchants/{merchantId}/splitConfigurations"
6161
method = "GET"
6262
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)
6363

6464
def update_split_conditions(self, request, merchantId, splitConfigurationId, ruleId, idempotency_key=None, **kwargs):
6565
"""
66-
Update split conditions
66+
Update the split conditions
6767
"""
6868
endpoint = self.baseUrl + f"/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}/rules/{ruleId}"
6969
method = "PATCH"
7070
return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs)
7171

7272
def update_split_configuration_description(self, request, merchantId, splitConfigurationId, idempotency_key=None, **kwargs):
7373
"""
74-
Update split configuration description
74+
Update the description of the split configuration profile
7575
"""
7676
endpoint = self.baseUrl + f"/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}"
7777
method = "PATCH"

Adyen/services/recurring.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ def create_permit(self, request, idempotency_key=None, **kwargs):
2626
def disable(self, request, idempotency_key=None, **kwargs):
2727
"""
2828
Disable stored payment details
29-
30-
Deprecated since Adyen Recurring API v68
3129
"""
3230
endpoint = self.baseUrl + f"/disable"
3331
method = "POST"
@@ -46,8 +44,6 @@ def disable_permit(self, request, idempotency_key=None, **kwargs):
4644
def list_recurring_details(self, request, idempotency_key=None, **kwargs):
4745
"""
4846
Get stored payment details
49-
50-
Deprecated since Adyen Recurring API v68
5147
"""
5248
endpoint = self.baseUrl + f"/listRecurringDetails"
5349
method = "POST"
@@ -56,8 +52,6 @@ def list_recurring_details(self, request, idempotency_key=None, **kwargs):
5652
def notify_shopper(self, request, idempotency_key=None, **kwargs):
5753
"""
5854
Ask issuer to notify the shopper
59-
60-
Deprecated since Adyen Recurring API v68
6155
"""
6256
endpoint = self.baseUrl + f"/notifyShopper"
6357
method = "POST"
@@ -66,8 +60,6 @@ def notify_shopper(self, request, idempotency_key=None, **kwargs):
6660
def schedule_account_updater(self, request, idempotency_key=None, **kwargs):
6761
"""
6862
Schedule running the Account Updater
69-
70-
Deprecated since Adyen Recurring API v68
7163
"""
7264
endpoint = self.baseUrl + f"/scheduleAccountUpdater"
7365
method = "POST"

0 commit comments

Comments
 (0)