Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all services #333

Merged
merged 1 commit into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Adyen/services/legalEntityManagement/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from .hosted_onboarding_api import HostedOnboardingApi
from .legal_entities_api import LegalEntitiesApi
from .pci_questionnaires_api import PCIQuestionnairesApi
from .tax_e_delivery_consent_api import TaxEDeliveryConsentApi
from .terms_of_service_api import TermsOfServiceApi
from .transfer_instruments_api import TransferInstrumentsApi

Expand All @@ -22,5 +23,6 @@ def __init__(self, client=None):
self.hosted_onboarding_api = HostedOnboardingApi(client=client)
self.legal_entities_api = LegalEntitiesApi(client=client)
self.pci_questionnaires_api = PCIQuestionnairesApi(client=client)
self.tax_e_delivery_consent_api = TaxEDeliveryConsentApi(client=client)
self.terms_of_service_api = TermsOfServiceApi(client=client)
self.transfer_instruments_api = TransferInstrumentsApi(client=client)
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
from ..base import AdyenServiceBase


class TaxEDeliveryConsentApi(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(TaxEDeliveryConsentApi, self).__init__(client=client)
self.service = "legalEntityManagement"
self.baseUrl = "https://kyc-test.adyen.com/lem/v3"

def check_status_of_consent_for_electronic_delivery_of_tax_forms(self, id, idempotency_key=None, **kwargs):
"""
Check the status of consent for electronic delivery of tax forms
"""
endpoint = self.baseUrl + f"/legalEntities/{id}/checkTaxElectronicDeliveryConsent"
method = "POST"
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)

def set_consent_status_for_electronic_delivery_of_tax_forms(self, request, id, idempotency_key=None, **kwargs):
"""
Set the consent status for electronic delivery of tax forms
"""
endpoint = self.baseUrl + f"/legalEntities/{id}/setTaxElectronicDeliveryConsent"
method = "POST"
return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs)

Loading