
    h                     ^    d dl mZ d dlmZ d dlmZ d dlmZmZm	Z	 d dl
mZ  G d de      Zy)	    )Customer)StripeObject)sanitize_id)ClassVarDictOptional)Literalc                       e Zd ZU dZdZeed      ed<    G d de      Z	e
eeef      ed<   	 eed<   	 eed<   	 ed   ed	<   	 e	ed
<   d Zed        Zd
e	iZy)CashBalancez
    A customer's `Cash balance` represents real funds. Customers can add funds to their cash balance by sending a bank transfer. These funds can be used for payment and can eventually be paid out to your bank account.
    cash_balanceOBJECT_NAMEc                   *    e Zd ZU ed   ed<   	 eed<   y)CashBalance.Settings)	automaticmanualreconciliation_modeusing_merchant_defaultN)__name__
__module____qualname__r	   __annotations__bool     T/var/www/api/v1/venv_getwork_v1/lib/python3.12/site-packages/stripe/_cash_balance.pySettingsr      s     $%:;;	 !%$	r   r   	availablecustomerlivemodeobjectsettingsc                 h    | j                   }t        j                         }t        |      }|d|dS )N/z/cash_balance)r   r   	class_urlr   )selfr   base	cust_extns       r   instance_urlzCashBalance.instance_url-   s.    ==!!#)	'+Y77r   c                     t        d      )NzkCan't retrieve a Customer Cash Balance without a Customer ID. Use Customer.retrieve_cash_balance('cus_123'))NotImplementedError)clsidparamss      r   retrievezCashBalance.retrieve3   s    !<
 	
r   N)r   r   r   __doc__r   r   r	   r   r   r   r   r   strintr   r(   classmethodr.   _inner_class_typesr   r   r   r   r   
   s     6DK'.12C<  S#X'' M N N## 8 
 
 %h/r   r   N)stripe._customerr   stripe._stripe_objectr   stripe._utilr   typingr   r   r   typing_extensionsr	   r   r   r   r   <module>r9      s%    & . $ + + %00, 00r   