o
    Bit                     @   sd   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	m
Z
 d dlmZmZ G dd deZd	S )
    )ConfirmationToken)RequestOptions)StripeService)sanitize_id)Listcast)NotRequired	TypedDictc                	   @   s\   e Zd ZG dd deZi i fdedddedefdd	Zi i fdedddedefd
dZ	dS )ConfirmationTokenServicec                   @   s   e Zd ZU eee  ed< dS )'ConfirmationTokenService.RetrieveParamsexpandN)__name__
__module____qualname__r   r   str__annotations__ r   r   b/var/www/html/Trade-python/venv/lib/python3.10/site-packages/stripe/_confirmation_token_service.pyRetrieveParams   s   
 r   confirmation_tokenparamsr   optionsreturnc              	   C   s&   t t| jddjt|dd||dS )@
        Retrieves an existing ConfirmationToken object
        get,/v1/confirmation_tokens/{confirmation_token}r   apibase_addressr   r   )r   r   _requestformatr   selfr   r   r   r   r   r   retrieve   s   	z!ConfirmationTokenService.retrievec              	      s.   t t| jddjt|dd||dI dH S )r   r   r   r   r   r   N)r   r   _request_asyncr!   r   r"   r   r   r   retrieve_async(   s   	
z'ConfirmationTokenService.retrieve_asyncN)
r   r   r   r	   r   r   r   r   r$   r&   r   r   r   r   r
      s0    	
r
   N)stripe._confirmation_tokenr   stripe._request_optionsr   stripe._stripe_servicer   stripe._utilr   typingr   r   typing_extensionsr   r	   r
   r   r   r   r   <module>   s   