o
    Áiž	  ã                   @   sÀ   d dl mZ d dlmZ d dlmZ er>d 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	lmZ d d
lmZ ddgddg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)ÚAlertService)ÚCreditBalanceSummaryService)ÚCreditBalanceTransactionService)ÚCreditGrantService)ÚMeterEventAdjustmentService)ÚMeterEventService)ÚMeterServicezstripe.billing._alert_servicer   z.stripe.billing._credit_balance_summary_servicer   z2stripe.billing._credit_balance_transaction_servicer   z$stripe.billing._credit_grant_servicer   zstripe.billing._meter_servicer   z#stripe.billing._meter_event_servicer
   z.stripe.billing._meter_event_adjustment_servicer	   )ÚalertsÚcredit_balance_summaryÚcredit_balance_transactionsÚcredit_grantsÚmetersÚmeter_eventsÚmeter_event_adjustmentsc                       s^   e Zd ZU ded< ded< ded< ded< d	ed
< ded< ded< ‡ fdd„Zdd„ Z‡  ZS )ÚBillingServicer   r   r   r   r   r   r   r   r   r   r
   r   r	   r   c                    s   t ƒ  |¡ d S ©N)ÚsuperÚ__init__)ÚselfÚ	requestor©Ú	__class__© úw/var/www/snowflake_co_dev_github/snow_flake_back_end_deploy/env/lib/python3.10/site-packages/stripe/_billing_service.pyr   9   s   zBillingService.__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BillingService.__getattr__)Ú__name__Ú
__module__Ú__qualname__Ú__annotations__r   r'   Ú__classcell__r   r   r   r   r   0   s   
 r   N)Ústripe._stripe_servicer   Ú	importlibr   Útyping_extensionsr   Ústripe.billing._alert_servicer   Ú.stripe.billing._credit_balance_summary_servicer   Ú2stripe.billing._credit_balance_transaction_servicer   Ú$stripe.billing._credit_grant_servicer   Ú.stripe.billing._meter_event_adjustment_servicer	   Ú#stripe.billing._meter_event_servicer
   Ústripe.billing._meter_servicer   r   r   r   r   r   r   Ú<module>   s<   þþþþþí