
    <@g                     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	 d dl
mZmZ d dlmZmZmZ  G d d	e      Zy
)    )
ListObject)RequestOptions)StripeService)sanitize_id)TransactionEntry)Listcast)LiteralNotRequired	TypedDictc            	           e Zd Z G d de      Z G d de      Z G d de      Z G d de      Zi fd	d
dede	e
   fdZi fd	d
dede	e
   fd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)TransactionEntryServicec                       e Zd ZU ed   ed<   	 ed   ed<   ee   ed<   	 eee      ed<   	 eed<   	 ee   ed<   	 eed	      ed
<   	 ee   ed<   	 ee   ed<   y)"TransactionEntryService.ListParamsz-TransactionEntryService.ListParamsCreated|intcreatedz1TransactionEntryService.ListParamsEffectiveAt|inteffective_atending_beforeexpandfinancial_accountlimit)r   r   order_bystarting_aftertransactionN)	__name__
__module____qualname__r   __annotations__strr   intr
        i/var/www/html/AdoubleTech/venv/lib/python3.12/site-packages/stripe/treasury/_transaction_entry_service.py
ListParamsr      s    LMM	 "?
 	
 #3''	 DI&&	 	 3	 g&?@AA	 $C((	 !%%	r!   r#   c                   T    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y))TransactionEntryService.ListParamsCreatedgtgteltlteNr   r   r   r   r   r   r    r!   r"   ListParamsCreatedr%   2   H    	 	 	 	r!   r+   c                   T    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)-TransactionEntryService.ListParamsEffectiveAtr&   r'   r(   r)   Nr*   r    r!   r"   ListParamsEffectiveAtr.   D   r,   r!   r/   c                   $    e Zd ZU eee      ed<   y)&TransactionEntryService.RetrieveParamsr   N)r   r   r   r   r   r   r   r    r!   r"   RetrieveParamsr1   V   s    DI&&	r!   r2   paramsr   optionsreturnc           
      X    t        t        t           | j                  ddd||            S )?
        Retrieves a list of TransactionEntry objects.
        get /v1/treasury/transaction_entriesapibase_addressr3   r4   )r	   r   r   _requestselfr3   r4   s      r"   listzTransactionEntryService.list\   s:     '(MM2"  	
 		
r!   c           
      t   K   t        t        t           | j                  ddd||       d{         S 7 w)r7   r8   r9   r:   r;   N)r	   r   r   _request_asyncr>   s      r"   
list_asyncz"TransactionEntryService.list_asynco   sJ      '(%%2" &  	
 		
s   +86
	8idr1   c                 |    t        t        | j                  ddj                  t	        |            d||            S )6
        Retrieves a TransactionEntry object.
        r8   %/v1/treasury/transaction_entries/{id}rD   r:   r;   )r	   r   r=   formatr   r?   rD   r3   r4   s       r"   retrievez TransactionEntryService.retrieve   sM     MM7>>"2 ?  #  
 	
r!   c                    K   t        t        | j                  ddj                  t	        |            d||       d{         S 7 w)rF   r8   rG   rH   r:   r;   N)r	   r   rB   rI   r   rJ   s       r"   retrieve_asyncz&TransactionEntryService.retrieve_async   s]      %%7>>"2 ?  # &  
 	
s   =A
A
 	A
N)r   r   r   r   r#   r+   r/   r2   r   r   r   r@   rC   r   rK   rM   r    r!   r"   r   r      s    #Y #JI $	 $  #%
4
  
 
$	%	
, #%
4
  
 
$	%	
, <>"$	

 9
  	

 

2 <>"$	

 9
  	

 

r!   r   N)stripe._list_objectr   stripe._request_optionsr   stripe._stripe_servicer   stripe._utilr   "stripe.treasury._transaction_entryr   typingr   r	   typing_extensionsr
   r   r   r   r    r!   r"   <module>rU      s-    + 2 0 $ ?  = =`
m `
r!   