
    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
)    )
ListObject)RequestOptions)SetupAttempt)StripeService)Optionalcast)TYPE_CHECKING)SetupAttemptListParamsc                   T    e Zd Z	 ddddee   dee   fdZ	 ddddee   dee   fdZy)	SetupAttemptServiceNparamsr
   optionsreturnc           
      X    t        t        t           | j                  ddd||            S )]
        Returns a list of SetupAttempts that associate with a provided SetupIntent.
        get/v1/setup_attemptsapibase_addressr   r   )r   r   r   _requestselfr   r   s      ]/var/www/api/v1/venv_fitandmore/lib/python3.12/site-packages/stripe/_setup_attempt_service.pylistzSetupAttemptService.list   s9     |$MM$"  	
 		
    c           
      t   K   t        t        t           | j                  ddd||       d{         S 7 w)r   r   r   r   r   N)r   r   r   _request_asyncr   s      r   
list_asynczSetupAttemptService.list_async"   sI      |$%%$" &  	
 		
s   +86
	8)N)	__name__
__module____qualname__r   r   r   r   r   r    r   r   r   r      sb     -1
(
 .)
 
L	!	
, -1
(
 .)
 
L	!	
r   r   N)stripe._list_objectr   stripe._request_optionsr   stripe._setup_attemptr   stripe._stripe_servicer   typingr   r   typing_extensionsr	   (stripe.params._setup_attempt_list_paramsr
   r   r#   r   r   <module>r+      s+    + 2 . 0 ! +O%
- %
r   