diff --git a/Adyen/services/documentCollector/__init__.py b/Adyen/services/documentCollector/__init__.py new file mode 100644 index 00000000..1d84aa7e --- /dev/null +++ b/Adyen/services/documentCollector/__init__.py @@ -0,0 +1,14 @@ +from ..base import AdyenServiceBase +from .documents_api import DocumentsApi + + +class AdyenDocumentCollectorApi(AdyenServiceBase): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, client=None): + super().__init__(client=client) + self.documents_api = DocumentsApi(client=client) diff --git a/Adyen/services/documentCollector/documents_api.py b/Adyen/services/documentCollector/documents_api.py new file mode 100644 index 00000000..6a79a216 --- /dev/null +++ b/Adyen/services/documentCollector/documents_api.py @@ -0,0 +1,24 @@ +from ..base import AdyenServiceBase + + +class DocumentsApi(AdyenServiceBase): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, client=None): + super().__init__(client=client) + self.service = "documentCollector" + self.baseUrl = "https://document-collector-test.adyen.com/v1" + + def upload_cross_border_invoice(self, idempotency_key=None, **kwargs): + """ + Upload a document + """ + endpoint = self.baseUrl + "/crossBorderInvoices" + method = "POST" + return self.client.call_adyen_api( + None, self.service, method, endpoint, idempotency_key, **kwargs + ) diff --git a/sdk-generation-log/documentcollector.json b/sdk-generation-log/documentcollector.json new file mode 100644 index 00000000..04fe072c --- /dev/null +++ b/sdk-generation-log/documentcollector.json @@ -0,0 +1,8 @@ +{ + "service": "documentcollector", + "project": "python", + "generatedAt": "2026-08-27T13:58:49Z", + "openapiCommitSha": "4265e8ffe6cc4c35fe6804d5a395598621d3da53", + "automationCommitSha": "2f180b958babc6bbd6f0b6b73d7e4c6feefe256e", + "libraryCommitSha": "b6f49792b79c23e2674b35c04dd045aa07daf599" +}