o
    ò©&iµ  ã                   @   sœ   d dl mZ d dlmZ d dlmZ er2d dlmZ d dlm	Z	 d dl
mZ d dlmZ d dlmZ d	d
gddgddgddgddgdœZG dd„ deƒZdS )é    )ÚStripeService)Úimport_module)ÚTYPE_CHECKING)ÚAssociationService)ÚCalculationService)ÚRegistrationService)ÚSettingsService)ÚTransactionServicezstripe.tax._association_servicer   zstripe.tax._calculation_servicer   z stripe.tax._registration_servicer   zstripe.tax._settings_servicer   zstripe.tax._transaction_servicer	   )ÚassociationsÚcalculationsÚregistrationsÚsettingsÚtransactionsc                       sN   e Zd ZU ded< ded< ded< ded< d	ed
< ‡ fdd„Zdd„ Z‡  ZS )Ú
TaxServicer   r
   r   r   r   r   r   r   r	   r   c                    s   t ƒ  |¡ d S ©N)ÚsuperÚ__init__)ÚselfÚ	requestor©Ú	__class__© úT/var/www/html/humari/django-venv/lib/python3.10/site-packages/stripe/_tax_service.pyr   !   s   zTaxService.__init__c                 C   sN   zt | \}}tt|ƒ|ƒ}t| ||| jƒƒ t| |ƒW S  ty&   tƒ ‚w r   )Ú_subservicesÚgetattrr   ÚsetattrÚ
_requestorÚKeyErrorÚAttributeError)r   ÚnameÚimport_fromÚserviceÚservice_classr   r   r   Ú__getattr__$   s   þýÿzTaxService.__getattr__)Ú__name__Ú
__module__Ú__qualname__Ú__annotations__r   r#   Ú__classcell__r   r   r   r   r      s   
 r   N)Ústripe._stripe_servicer   Ú	importlibr   Útyping_extensionsr   Ústripe.tax._association_servicer   Ústripe.tax._calculation_servicer   Ú stripe.tax._registration_servicer   Ústripe.tax._settings_servicer   Ústripe.tax._transaction_servicer	   r   r   r   r   r   r   Ú<module>   s$   þø