Skip to content

Commit f4e259f

Browse files
[documentcollector] Automated update from Adyen/adyen-openapi@cb501f9
1 parent 2b708a4 commit f4e259f

3 files changed

Lines changed: 46 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
from ..base import AdyenServiceBase
2+
from .documents_api import DocumentsApi
3+
4+
5+
class AdyenDocumentCollectorApi(AdyenServiceBase):
6+
"""NOTE: This class is auto generated by OpenAPI Generator
7+
Ref: https://openapi-generator.tech
8+
9+
Do not edit the class manually.
10+
"""
11+
12+
def __init__(self, client=None):
13+
super().__init__(client=client)
14+
self.documents_api = DocumentsApi(client=client)
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
from ..base import AdyenServiceBase
2+
3+
4+
class DocumentsApi(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().__init__(client=client)
13+
self.service = "documentCollector"
14+
self.baseUrl = "https://document-collector-test.adyen.com/v1"
15+
16+
def upload_cross_border_invoice(self, idempotency_key=None, **kwargs):
17+
"""
18+
Upload a document
19+
"""
20+
endpoint = self.baseUrl + "/crossBorderInvoices"
21+
method = "POST"
22+
return self.client.call_adyen_api(
23+
None, self.service, method, endpoint, idempotency_key, **kwargs
24+
)
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"service": "documentcollector",
3+
"project": "python",
4+
"generatedAt": "2026-10-22T13:33:15Z",
5+
"openapiCommitSha": "cb501f9461fc35add2bdac1f03181c91b9287179",
6+
"automationCommitSha": "b78db5c1f857f1d7d8d45116ce61f6266043fa60",
7+
"libraryCommitSha": "2b708a439f9b95c349f98f2985cda7fca46435bf"
8+
}

0 commit comments

Comments
 (0)