o
    L)j                     @   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__ x/var/www/html/finance-dev.cargoinsureonline.com/_shared/backend-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$   