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)ÚConfirmationTokenService)ÚCustomerService)ÚIssuingService)ÚRefundService)ÚTerminalService)ÚTestClockService)ÚTreasuryServicez/stripe.test_helpers._confirmation_token_servicer   z%stripe.test_helpers._customer_servicer   z$stripe.test_helpers._issuing_servicer   z#stripe.test_helpers._refund_servicer   z%stripe.test_helpers._terminal_servicer	   z'stripe.test_helpers._test_clock_servicer
   z%stripe.test_helpers._treasury_servicer   )Úconfirmation_tokensÚ	customersÚissuingÚrefundsÚterminalÚtest_clocksÚtreasuryc                       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 )ÚTestHelpersServicer   r   r   r   r   r   r   r   r	   r   r
   r   r   r   c                    s   t ƒ  |¡ d S ©N)ÚsuperÚ__init__)ÚselfÚ	requestor©Ú	__class__© ú|/var/www/snowflake_co_dev_github/snow_flake_back_end_deploy/env/lib/python3.10/site-packages/stripe/_test_helpers_service.pyr   ,   s   zTestHelpersService.__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TestHelpersService.__getattr__)Ú__name__Ú
__module__Ú__qualname__Ú__annotations__r   r'   Ú__classcell__r   r   r   r   r   #   s   
 r   N)Ústripe._stripe_servicer   Ú	importlibr   Útyping_extensionsr   Ú/stripe.test_helpers._confirmation_token_servicer   Ú%stripe.test_helpers._customer_servicer   Ú$stripe.test_helpers._issuing_servicer   Ú#stripe.test_helpers._refund_servicer   Ú%stripe.test_helpers._terminal_servicer	   Ú'stripe.test_helpers._test_clock_servicer
   Ú%stripe.test_helpers._treasury_servicer   r   r   r   r   r   r   Ú<module>   s0   þþó