
    kh
                     v    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 erd dlmZ  G d d	e      Zy
)    )Mandate)RequestOptions)StripeService)sanitize_id)Optionalcast)TYPE_CHECKING)MandateRetrieveParamsc            	       `    e Zd Z	 	 d	deded   dee   defdZ	 	 d	deded   dee   defdZy)
MandateServiceN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       W/var/www/api/v1/venv_fitandmore/lib/python3.12/site-packages/stripe/_mandate_service.pyretrievezMandateService.retrieve   sG     MM(//G8L/M"  	
 		
    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
)NN)	__name__
__module____qualname__strr   r   r   r   r"    r   r   r   r      s~     59,0	

 01
 .)	

 

. 59,0	

 01
 .)	

 

r   r   N)stripe._mandater   stripe._request_optionsr   stripe._stripe_servicer   stripe._utilr   typingr   r   typing_extensionsr	   &stripe.params._mandate_retrieve_paramsr
   r   r'   r   r   <module>r/      s+    $ 2 0 $ ! +L'
] '
r   