o
    Bi
                     @   sp   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	 d dl
mZmZ d dlmZmZ G dd	 d	eZd
S )    )
ListObject)RequestOptions)SourceTransaction)StripeService)sanitize_id)Listcast)NotRequired	TypedDictc                
   @   sd   e Zd ZG dd deZi i fdedddedee fdd	Z	i i fdedddedee fd
dZ
dS )SourceTransactionServicec                   @   sH   e Zd ZU ee ed< 	 eee  ed< 	 ee ed< 	 ee ed< dS )#SourceTransactionService.ListParamsending_beforeexpandlimitstarting_afterN)__name__
__module____qualname__r	   str__annotations__r   int r   r   b/var/www/html/Trade-python/venv/lib/python3.10/site-packages/stripe/_source_transaction_service.py
ListParams   s   
 r   sourceparamsr   optionsreturnc              	   C   s*   t tt | jddjt|dd||dS )>
        List source transactions for a given source.
        get(/v1/sources/{source}/source_transactionsr   apibase_addressr   r   )r   r   r   _requestformatr   selfr   r   r   r   r   r   list   s   	zSourceTransactionService.listc              	      s2   t tt | jddjt|dd||dI dH S )r   r   r    r!   r"   r#   N)r   r   r   _request_asyncr&   r   r'   r   r   r   
list_async5   s   	
z#SourceTransactionService.list_asyncN)r   r   r   r
   r   r   r   r   r   r)   r+   r   r   r   r   r      s0    
r   N)stripe._list_objectr   stripe._request_optionsr   stripe._source_transactionr   stripe._stripe_servicer   stripe._utilr   typingr   r   typing_extensionsr	   r
   r   r   r   r   r   <module>   s   