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..4f11b83f --- /dev/null +++ b/sdk-generation-log/documentcollector.json @@ -0,0 +1,8 @@ +{ + "service": "documentcollector", + "project": "python", + "generatedAt": "2026-10-01T14:41:17Z", + "openapiCommitSha": "45520ee6246d7e3d8074c3c5c5e991e65c2c02d6", + "automationCommitSha": "5d96c9a6b53a7052671a48c3ab6eb109bec1550b", + "libraryCommitSha": "2b708a439f9b95c349f98f2985cda7fca46435bf" +}