
    Ch                     v    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   " S S	\5      rg
)    )CustomerCashBalanceTransaction)
ListObject)RequestOptions)StripeService)sanitize_id)Listcast)NotRequired	TypedDictc                       \ rS rSr " S S\5      r " S S\5      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0 0 4S\S\SSS	\S
\
4
S jjr0 0 4S\S\SSS	\S
\
4
S jjrSrg)%CustomerCashBalanceTransactionService   c                   b    \ rS rSr% \\   \S'    \\\      \S'    \\   \S'    \\   \S'   Sr	g)0CustomerCashBalanceTransactionService.ListParams   ending_beforeexpandlimitstarting_after N)
__name__
__module____qualname____firstlineno__r
   str__annotations__r   int__static_attributes__r       t/home/kali/devsecops-assessor/venv/lib/python3.13/site-packages/stripe/_customer_cash_balance_transaction_service.py
ListParamsr      sL    "3''	 DI&&	 3	 $C((	r   r!   c                   ,    \ rS rSr% \\\      \S'   Srg)4CustomerCashBalanceTransactionService.RetrieveParams!   r   r   N)	r   r   r   r   r
   r   r   r   r   r   r   r    RetrieveParamsr#   !   s    DI&&	r   r%   customerparamsr   optionsreturnc                 ~    [        [        [           U R                  SSR	                  [        U5      S9SUUS95      $ )
Returns a list of transactions that modified the customer's [cash balance](https://docs.stripe.com/docs/payments/customer-balance).
get2/v1/customers/{customer}/cash_balance_transactionsr&   apibase_addressr'   r(   )r	   r   r   _requestformatr   selfr&   r'   r(   s       r    list*CustomerCashBalanceTransactionService.list'   sU     56MMDKK(2 L  #  
 	
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)r+   r,   r-   r.   r/   r0   N)r	   r   r   _request_asyncr3   r   r4   s       r    
list_async0CustomerCashBalanceTransactionService.list_async=   sd      56%%DKK(2 L  # &  
 	
s   >A A	
	Atransactionr#   c                     [        [        U R                  SSR                  [	        U5      [	        U5      S9SUUS95      $ )
Retrieves a specific cash balance transaction, which updated the customer's [cash balance](https://docs.stripe.com/docs/payments/customer-balance).
r,   @/v1/customers/{customer}/cash_balance_transactions/{transaction}r&   r<   r/   r0   )r	   r   r2   r3   r   r5   r&   r<   r'   r(   s        r    retrieve.CustomerCashBalanceTransactionService.retrieveS   sW     *MMRYY(2 +K 8 Z  #  	
 	
r   c                    #    [        [        U R                  SSR                  [	        U5      [	        U5      S9SUUS9I Sh  vN 5      $  N7f)r>   r,   r?   r@   r/   r0   N)r	   r   r9   r3   r   rA   s        r    retrieve_async4CustomerCashBalanceTransactionService.retrieve_asynck   sf      *%%RYY(2 +K 8 Z  # & 	 	
 	
	s   AAA
	Ar   N)r   r   r   r   r   r!   r%   r   r   r   r   r6   r:   rB   rE   r   r   r   r    r   r      s   Y $  FH"$	

 C
  	

 
2	3
2 FH"$	

 C
  	

 
2	3
4 JL"$

 
 G	

  
 
(
8 JL"$

 
 G	

  
 
(
 
r   r   N))stripe._customer_cash_balance_transactionr   stripe._list_objectr   stripe._request_optionsr   stripe._stripe_servicer   stripe._utilr   typingr   r	   typing_extensionsr
   r   r   r   r   r    <module>rN      s,    + 2 0 $  4s
M s
r   