
    Dh<                     z    S SK Jr  S SKJr  S SKJr  S SKJr  S SKJ	r	  S SK
JrJr  S SKJrJrJr   " S S	\5      rg
)    )
ListObject)RequestOptions)StripeService)sanitize_id)Transaction)Listcast)LiteralNotRequired	TypedDictc            	       
   \ rS rSr " S S\5      r " S S\5      r " S S\5      r " S S	\5      r " S
 S\5      r	0 4SSS\
S\\   4S jjr0 4SSS\
S\\   4S jjr0 0 4S\SSS\
S\4S jjr0 0 4S\SSS\
S\4S jjrSrg)TransactionService   c                       \ rS rSr% \S   \S'    \\   \S'    \\\      \S'    \\S'    \\   \S'    \\	S      \S	'    \\   \S
'    \\	S      \S'    \S   \S'   Sr
g)TransactionService.ListParams   z(TransactionService.ListParamsCreated|intcreatedending_beforeexpandfinancial_accountlimit)r   	posted_atorder_bystarting_after)openpostedvoidstatus.TransactionService.ListParamsStatusTransitionsstatus_transitions N)__name__
__module____qualname____firstlineno__r   __annotations__strr   intr
   __static_attributes__r!       g/home/kali/devsecops-assessor/venv/lib/python3.13/site-packages/stripe/treasury/_transaction_service.py
ListParamsr      s    GHH	 #3''	 DI&&	 	 3	 g&<=>>	 $C((	 G$<=>>	 (<
 	
	r*   r,   c                   \    \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg)$TransactionService.ListParamsCreated5   gtgteltlter!   Nr"   r#   r$   r%   r   r(   r&   r)   r!   r*   r+   ListParamsCreatedr.   5   H    	 	 	 	r*   r5   c                   &    \ rS rSr% \S   \S'   Srg)r   G   z:TransactionService.ListParamsStatusTransitionsPostedAt|intr   r!   N)r"   r#   r$   r%   r   r&   r)   r!   r*   r+   ListParamsStatusTransitions.TransactionService.ListParamsStatusTransitionsG   s    H
 	
	r*   r9   c                   \    \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg)6TransactionService.ListParamsStatusTransitionsPostedAtO   r0   r1   r2   r3   r!   Nr4   r!   r*   r+   #ListParamsStatusTransitionsPostedAtr<   O   r6   r*   r>   c                   ,    \ rS rSr% \\\      \S'   Srg)!TransactionService.RetrieveParamsa   r   r!   N)	r"   r#   r$   r%   r   r   r'   r&   r)   r!   r*   r+   RetrieveParamsr@   a   s    DI&&	r*   rB   paramsr   optionsreturnc                 R    [        [        [           U R                  SSSUUS95      $ )*
Retrieves a list of Transaction objects.
get/v1/treasury/transactionsapibase_addressrC   rD   )r	   r   r   _requestselfrC   rD   s      r+   listTransactionService.listg   s9     {#MM+"  	
 		
r*   c                 n   #    [        [        [           U R                  SSSUUS9I Sh  vN 5      $  N7f)rG   rH   rI   rJ   rK   N)r	   r   r   _request_asyncrN   s      r+   
list_asyncTransactionService.list_asyncz   sH      {#%%+" &  	
 		
s   (53
	5idr@   c                 p    [        [        U R                  SSR                  [	        U5      S9SUUS95      $ )3
Retrieves the details of an existing Transaction.
rH   /v1/treasury/transactions/{id}rV   rJ   rK   )r	   r   rM   formatr   rO   rV   rC   rD   s       r+   retrieveTransactionService.retrieve   sF     MM077;r?7K"  	
 		
r*   c                    #    [        [        U R                  SSR                  [	        U5      S9SUUS9I Sh  vN 5      $  N7f)rX   rH   rY   rZ   rJ   rK   N)r	   r   rS   r[   r   r\   s       r+   retrieve_async!TransactionService.retrieve_async   sU      %%077;r?7K" &  	
 		
s   7AA
	Ar!   N)r"   r#   r$   r%   r   r,   r5   r9   r>   rB   r   r   r   rP   rT   r'   r]   r`   r)   r!   r*   r+   r   r      s    &Y &PI $i i $  #%
/
  
 
K	 	
, #%
/
  
 
K	 	
, 79"$	

 4
  	

 

. 79"$	

 4
  	

 

 
r*   r   N)stripe._list_objectr   stripe._request_optionsr   stripe._stripe_servicer   stripe._utilr   stripe.treasury._transactionr   typingr   r	   typing_extensionsr
   r   r   r   r!   r*   r+   <module>ri      s-    + 2 0 $ 4  = =g
 g
r*   