
    <@g7                     j    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e      Zy	)
    )Mandate)RequestOptions)StripeService)sanitize_id)Listcast)NotRequired	TypedDictc            	       ^    e Zd Z G d de      Zi i fdedddedefdZi i fdedddedefd	Z	y
)MandateServicec                   $    e Zd ZU eee      ed<   y)MandateService.RetrieveParamsexpandN)__name__
__module____qualname__r	   r   str__annotations__     V/var/www/html/AdoubleTech/venv/lib/python3.12/site-packages/stripe/_mandate_service.pyRetrieveParamsr      s    DI&&	r   r   mandateparamsr   optionsreturnc                 |    t        t        | j                  ddj                  t	        |            d||            S )-
        Retrieves a Mandate object.
        get/v1/mandates/{mandate}r   apibase_addressr   r   )r   r   _requestformatr   selfr   r   r   s       r   retrievezMandateService.retrieve   sG     MM(//G8L/M"  	
 		
r   c                    K   t        t        | j                  ddj                  t	        |            d||       d{         S 7 w)r   r   r    r!   r"   r#   N)r   r   _request_asyncr&   r   r'   s       r   retrieve_asynczMandateService.retrieve_async&   sW      %%(//G8L/M" &  	
 		
s   =A
A
 	A
N)
r   r   r   r
   r   r   r   r   r)   r,   r   r   r   r   r      st      35"$	

 0
  	

 

. 35"$	

 0
  	

 

r   r   N)stripe._mandater   stripe._request_optionsr   stripe._stripe_servicer   stripe._utilr   typingr   r   typing_extensionsr	   r
   r   r   r   r   <module>r3      s%    $ 2 0 $  4-
] -
r   