
    Dh                     |    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
Jr  S SKJrJrJrJr   " S S\S   5      rg	)
    )
ListObject)ListableAPIResource)RequestOptions)StripeObject)ClassVarListOptional)LiteralNotRequired	TypedDictUnpackc                      \ rS rSr% SrSr\\S      \S'    " S S\	5      r
 " S S\5      r " S	 S
\5      r " S S\5      r " S S\5      r\\S'    \\S'    \\S'    \\S'    \\S'    \\S'    \S   \S'    \S   \S'    \
\S'   \\S'    \\S'    \\S'    \S\S   S\S    4S j5       r\S\S   S\S    4S  j5       r\S\S\S!   SS 4S" j5       r\S\S\S!   SS 4S# j5       rS\
0rS$rg%)&Transaction   zc
A Transaction represents a real transaction that affects a Financial Connections Account balance.
z!financial_connections.transactionOBJECT_NAMEc                   8    \ rS rSr% \\   \S'    \\   \S'   Srg)Transaction.StatusTransitions   	posted_atvoid_at N)__name__
__module____qualname____firstlineno__r	   int__annotations____static_attributes__r       l/home/kali/devsecops-assessor/venv/lib/python3.13/site-packages/stripe/financial_connections/_transaction.pyStatusTransitionsr      s"    C= 	 #	r   r!   c                       \ rS rSr% \\S'    \\   \S'    \\\      \S'    \\   \S'    \\   \S'    \S   \S'    \S	   \S
'   Sr	g)Transaction.ListParams   accountending_beforeexpandlimitstarting_afterz&Transaction.ListParamsTransactedAt|inttransacted_at(Transaction.ListParamsTransactionRefreshtransaction_refreshr   N)
r   r   r   r   strr   r   r   r   r   r   r   r    
ListParamsr#      s    	 #3''	 DI&&	 3	 $C((	 ##KLL	 )6
 	
	r   r.   c                   \    \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg)"Transaction.ListParamsTransactedAt>   gtgteltlter   N)r   r   r   r   r   r   r   r   r   r   r    ListParamsTransactedAtr0   >   sH    	 	 	 	r   r6   c                        \ rS rSr% \\S'   Srg)r+   P   afterr   N)r   r   r   r   r-   r   r   r   r   r    ListParamsTransactionRefresh(Transaction.ListParamsTransactionRefreshP   s    
	r   r:   c                   ,    \ rS rSr% \\\      \S'   Srg)Transaction.RetrieveParamsV   r'   r   N)	r   r   r   r   r   r   r-   r   r   r   r   r    RetrieveParamsr=   V   s    DI&&	r   r?   r%   amountcurrencydescriptionidlivemodeobject)pendingpostedvoidstatusstatus_transitionsr*   r,   updatedparamsr#   returnc                     U R                  SU R                  5       US9n[        U[        5      (       d!  [	        S[        U5      R                  -  5      eU$ )>
Returns a list of Financial Connections Transaction objects.
getrL   %Expected list object from API, got %s)_static_request	class_url
isinstancer   	TypeErrortyper   clsrL   results      r    listTransaction.list   s`     $$MMO % 

 &*--7<((* 
 r   c                    #    U R                  SU R                  5       US9I Sh  vN n[        U[        5      (       d!  [	        S[        U5      R                  -  5      eU$  N<7f)rO   rP   rQ   NrR   )_static_request_asyncrT   rU   r   rV   rW   r   rX   s      r    
list_asyncTransaction.list_async   sm      00MMO 1 
 

 &*--7<((* 
 
s   #A$A"=A$r=   c                 8    U " U40 UD6nUR                  5         U$ )>
Retrieves the details of a Financial Connections Transaction
)refreshrY   rC   rL   instances       r    retrieveTransaction.retrieve   s$     r$V$r   c                 T   #    U " U40 UD6nUR                  5       I Sh  vN   U$  N7f)rb   N)refresh_asyncrd   s       r    retrieve_asyncTransaction.retrieve_async   s2      r$V$$$&&& 	's   (&(r   N)r   r   r   r   __doc__r   r   r
   r   r   r!   r   r.   r   r6   r:   r?   r-   r   boolclassmethodr   r   r[   r_   rf   rj   _inner_class_typesr   r   r   r    r   r      s   
 	, '"EFG L ^ @ $y   L K M  	G N 788 /00 *)  L 67	M	" & 67	M	" &  &'C D	   &'C D	  /0ABr   r   N)stripe._list_objectr   stripe._listable_api_resourcer   stripe._request_optionsr   stripe._stripe_objectr   typingr   r   r	   typing_extensionsr
   r   r   r   r   r   r   r    <module>rv      s5    + = 2 . + + E E}C%m4 }Cr   