Skip to content

Commit bd64def

Browse files
[documentcollector] Automated update from Adyen/adyen-openapi@45520ee
1 parent 2b708a4 commit bd64def

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-01T14:41:17Z",
5+
"openapiCommitSha": "45520ee6246d7e3d8074c3c5c5e991e65c2c02d6",
6+
"automationCommitSha": "5d96c9a6b53a7052671a48c3ab6eb109bec1550b",
7+
"libraryCommitSha": "2b708a439f9b95c349f98f2985cda7fca46435bf"
8+
}

0 commit comments

Comments
 (0)