Skip to content

Commit

Permalink
false[adyen-sdk-automation] automated change
Browse files Browse the repository at this point in the history
  • Loading branch information
AdyenAutomationBot committed Apr 2, 2024
1 parent da735e5 commit fd5efba
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Adyen/services/checkout/utility_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,11 @@ def origin_keys(self, request, idempotency_key=None, **kwargs):
method = "POST"
return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs)

def updates_order_for_paypal_express_checkout(self, request, idempotency_key=None, **kwargs):
"""
Updates the order for PayPal Express Checkout
"""
endpoint = self.baseUrl + f"/paypal/updateOrder"
method = "POST"
return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs)

8 changes: 8 additions & 0 deletions Adyen/services/management/android_files_company_level_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,11 @@ def upload_android_app(self, companyId, idempotency_key=None, **kwargs):
method = "POST"
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)

def upload_android_certificate(self, companyId, idempotency_key=None, **kwargs):
"""
Upload Android Certificate
"""
endpoint = self.baseUrl + f"/companies/{companyId}/androidCertificates"
method = "POST"
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)

0 comments on commit fd5efba

Please sign in to comment.