
    <@gN                     ^    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e      Zy)	    )Balance)RequestOptions)StripeService)Listcast)NotRequired	TypedDictc                   V    e Zd Z G d de      Zi i fdddedefdZi i fdddedefdZy	)
BalanceServicec                   $    e Zd ZU eee      ed<   y)BalanceService.RetrieveParamsexpandN)__name__
__module____qualname__r   r   str__annotations__     V/var/www/html/AdoubleTech/venv/lib/python3.12/site-packages/stripe/_balance_service.pyRetrieveParamsr      s    DI&&	r   r   paramsr   optionsreturnc           
      J    t        t        | j                  ddd||            S )  
        Retrieves the current account balance, based on the authentication that was used to make the request.
         For a sample request, see [Accounting for negative balances](https://stripe.com/docs/connect/account-balances#accounting-for-negative-balances).
        get/v1/balanceapibase_addressr   r   )r   r   _requestselfr   r   s      r   retrievezBalanceService.retrieve   s4     MM"  	
 		
r   c           
      f   K   t        t        | j                  ddd||       d{         S 7 w)r   r   r   r   r    N)r   r   _request_asyncr#   s      r   retrieve_asynczBalanceService.retrieve_async%   sD      %%" &  	
 		
s   $1/
	1N)	r   r   r   r	   r   r   r   r%   r(   r   r   r   r   r   
   s`      35"$
/
  
 
	
, 35"$
/
  
 
	
r   r   N)stripe._balancer   stripe._request_optionsr   stripe._stripe_servicer   typingr   r   typing_extensionsr   r	   r   r   r   r   <module>r.      s"    $ 2 0  4-
] -
r   