Skip to content

Commit d2674be

Browse files
false[adyen-sdk-automation] automated change
1 parent 7933923 commit d2674be

17 files changed

+220
-24
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/legalEntityManagement/business_lines_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class BusinessLinesApi(AdyenServiceBase):
1111
def __init__(self, client=None):
1212
super(BusinessLinesApi, self).__init__(client=client)
1313
self.service = "legalEntityManagement"
14-
self.baseUrl = "https://kyc-test.adyen.com/lem/v3"
14+
self.baseUrl = "https://kyc-test.adyen.com/lem/v4"
1515

1616
def create_business_line(self, request, idempotency_key=None, **kwargs):
1717
"""

Adyen/services/legalEntityManagement/documents_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class DocumentsApi(AdyenServiceBase):
1111
def __init__(self, client=None):
1212
super(DocumentsApi, self).__init__(client=client)
1313
self.service = "legalEntityManagement"
14-
self.baseUrl = "https://kyc-test.adyen.com/lem/v3"
14+
self.baseUrl = "https://kyc-test.adyen.com/lem/v4"
1515

1616
def delete_document(self, id, idempotency_key=None, **kwargs):
1717
"""

Adyen/services/legalEntityManagement/hosted_onboarding_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class HostedOnboardingApi(AdyenServiceBase):
1111
def __init__(self, client=None):
1212
super(HostedOnboardingApi, self).__init__(client=client)
1313
self.service = "legalEntityManagement"
14-
self.baseUrl = "https://kyc-test.adyen.com/lem/v3"
14+
self.baseUrl = "https://kyc-test.adyen.com/lem/v4"
1515

1616
def get_link_to_adyenhosted_onboarding_page(self, request, id, idempotency_key=None, **kwargs):
1717
"""

0 commit comments

Comments
 (0)