o
    Bi.                     @   sh   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 deZd	S )
    )CashBalance)RequestOptions)StripeService)sanitize_id)Listcast)LiteralNotRequired	TypedDictc                	   @   s   e Zd ZG dd deZG dd deZG dd deZi i fdedd	d
ede	fddZ
i i fdedd	d
ede	fddZi i fdeddd
ede	fddZi i fdeddd
ede	fddZdS )CustomerCashBalanceServicec                   @   s   e Zd ZU eee  ed< dS ))CustomerCashBalanceService.RetrieveParamsexpandN__name__
__module____qualname__r	   r   str__annotations__ r   r   e/var/www/html/Trade-python/venv/lib/python3.10/site-packages/stripe/_customer_cash_balance_service.pyRetrieveParams   s   
 r   c                   @   s,   e Zd ZU eee  ed< 	 ed ed< dS )'CustomerCashBalanceService.UpdateParamsr   /CustomerCashBalanceService.UpdateParamsSettingssettingsNr   r   r   r   r   UpdateParams   s   
 r   c                   @   s   e Zd ZU eed  ed< dS )r   )	automaticmanualmerchant_defaultreconciliation_modeN)r   r   r   r	   r   r   r   r   r   r   UpdateParamsSettings   s
   
 r   customerparamsr   optionsreturnc              	   C   &   t t| jddjt|dd||dS )6
        Retrieves a customer's cash balance.
        get%/v1/customers/{customer}/cash_balancer    apibase_addressr!   r"   r   r   _requestformatr   selfr    r!   r"   r   r   r   retrieve&      	z#CustomerCashBalanceService.retrievec              	      .   t t| jddjt|dd||dI dH S )r%   r&   r'   r(   r)   r*   Nr   r   _request_asyncr.   r   r/   r   r   r   retrieve_async<      	
z)CustomerCashBalanceService.retrieve_asyncr   c              	   C   r$   )D
        Changes the settings on a customer's cash balance.
        postr'   r(   r)   r*   r,   r/   r   r   r   updateR   r2   z!CustomerCashBalanceService.updatec              	      r3   )r8   r9   r'   r(   r)   r*   Nr4   r/   r   r   r   update_asynch   r7   z'CustomerCashBalanceService.update_asyncN)r   r   r   r
   r   r   r   r   r   r   r1   r6   r:   r;   r   r   r   r   r      s`    


r   N)stripe._cash_balancer   stripe._request_optionsr   stripe._stripe_servicer   stripe._utilr   typingr   r   typing_extensionsr   r	   r
   r   r   r   r   r   <module>   s   