o
    Bi[                     @   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 )
    )
ListObject)RequestOptions)SetupAttempt)StripeService)Listcast)NotRequired	TypedDictc                   @   sh   e Zd ZG dd deZG dd deZi fdddedee fd	d
Z	i fdddedee fddZ
dS )SetupAttemptServicec                   @   s`   e Zd ZU ed ed< 	 ee ed< 	 eee  ed< 	 ee ed< 	 eed< 	 ee ed< dS )	SetupAttemptService.ListParamsz)SetupAttemptService.ListParamsCreated|intcreatedending_beforeexpandlimitsetup_intentstarting_afterN)__name__
__module____qualname__r   __annotations__strr   int r   r   ]/var/www/html/Trade-python/venv/lib/python3.10/site-packages/stripe/_setup_attempt_service.py
ListParams   s   
 r   c                   @   sD   e Zd ZU ee ed< 	 ee ed< 	 ee ed< 	 ee ed< dS )z%SetupAttemptService.ListParamsCreatedgtgteltlteN)r   r   r   r   r   r   r   r   r   r   ListParamsCreated)   s   
 r   paramsr   optionsreturnc              	   C   s   t tt | jd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!   r   r   r   list;   s   zSetupAttemptService.listc              	      s&   t tt | jddd||dI dH S )r#   r$   r%   r&   r'   N)r   r   r   _request_asyncr*   r   r   r   
list_asyncN   s   
zSetupAttemptService.list_asyncN)r   r   r   r	   r   r   r   r   r   r,   r.   r   r   r   r   r
      s&    
r
   N)stripe._list_objectr   stripe._request_optionsr   stripe._setup_attemptr   stripe._stripe_servicer   typingr   r   typing_extensionsr   r	   r
   r   r   r   r   <module>   s   