
    Ai	                     v    d dl mZ d dlmZ d dlmZmZ d dlmZ erd dl	m
Z
 d dlmZ d dlmZ  G d d	e      Zy
)    )StripeService)sanitize_id)Optionalcast)TYPE_CHECKING)FundingInstructions)RequestOptions)'CustomerFundingInstructionsCreateParamsc            	       P    e Zd Z	 ddeddded   ddfd	Z	 ddeddded   ddfd
Zy)"CustomerFundingInstructionsServiceNcustomerparamsr
   optionsr	   returnr   c                 t    t        d| j                  ddj                  t        |            d||            S )  
        Retrieve funding instructions for a customer cash balance. If funding instructions do not yet exist for the customer, new
        funding instructions will be created. If funding instructions have already been created for a given customer, the same
        funding instructions will be retrieved. In other words, we will return the same funding instructions each time.
        r   post-/v1/customers/{customer}/funding_instructionsr   apibase_addressr   r   )r   _requestformatr   selfr   r   r   s       `/var/www/html/immo/lib/python3.12/site-packages/stripe/_customer_funding_instructions_service.pycreatez)CustomerFundingInstructionsService.create   sO     !MM?FF(2 G  #  
 	
    c                    K   t        d| j                  ddj                  t        |            d||       d{         S 7 w)r   r   r   r   r   r   r   N)r   _request_asyncr   r   r   s       r   create_asyncz/CustomerFundingInstructionsService.create_async)   s_      !%%?FF(2 G  # &  
 	
s   9AA
	A)N)__name__
__module____qualname__strr   r   r"    r   r   r   r      sn    
 /3	

 :
 *+	

 

8 /3	

 :
 *+	

 

r   r   N)stripe._stripe_servicer   stripe._utilr   typingr   r   typing_extensionsr   stripe._funding_instructionsr   stripe._request_optionsr	   :stripe.params._customer_funding_instructions_create_paramsr
   r   r'   r   r   <module>r/      s-    1 $ ! +@6
/
 /
r   