
    jof                     f    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dS )	    )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dS )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                   2    e Zd ZU ed         ed<   	 eed<   dS )CashBalance.Settings)	automaticmanualreconciliation_modeusing_merchant_defaultN)__name__
__module____qualname__r	   __annotations__bool     N/var/www/html/Alfredo/env/lib/python3.11/site-packages/stripe/_cash_balance.pySettingsr      s;         $%:;;;;	 !%$$$	 	r   r   	availablecustomerlivemodeobjectsettingsc                 d    | 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-   s7    =!##))	'+ttYYY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CC    <    S#X'''' MMM NNN N#### 8 8 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0 00 00 00, 00 00 00 00 00r   