
    <@ge                     n    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e      Zy	)
    )FundingInstructions)RequestOptions)StripeService)sanitize_id)Listcast)LiteralNotRequired	TypedDictc            	           e Zd Z G d de      Z G d de      Z G d de      Zi fdedd	d
ede	fdZ
i fdedd	d
ede	fdZy)"CustomerFundingInstructionsServicec                   N    e Zd ZU ded<   	 eed<   	 eee      ed<   	 ed   ed<   y)/CustomerFundingInstructionsService.CreateParams;CustomerFundingInstructionsService.CreateParamsBankTransferbank_transfercurrencyexpandfunding_typeN)__name__
__module____qualname____annotations__strr
   r   r	        l/var/www/html/AdoubleTech/venv/lib/python3.12/site-packages/stripe/_customer_funding_instructions_service.pyCreateParamsr      sC    I	
	 	 DI&&	 o..	r   r   c                   N    e Zd ZU ed   ed<   	 eeed         ed<   	 ed   ed<   y)r   ICustomerFundingInstructionsService.CreateParamsBankTransferEuBankTransfereu_bank_transfer)iban	sort_codespeizenginrequested_address_types)r    gb_bank_transferjp_bank_transfermx_bank_transferus_bank_transfertypeN)r   r   r   r
   r   r   r	   r   r   r   CreateParamsBankTransferz;CustomerFundingInstructionsService.CreateParamsBankTransfer    sR    %W
 	
	 "->?@"
 	
	
  
 	
	r   r+   c                       e Zd ZU eed<   y)r   countryN)r   r   r   r   r   r   r   r   &CreateParamsBankTransferEuBankTransferzICustomerFundingInstructionsService.CreateParamsBankTransferEuBankTransfer:   s    	r   r.   customerparamsr   optionsreturnc                 |    t        t        | 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.
        post-/v1/customers/{customer}/funding_instructionsr/   apibase_addressr0   r1   )r   r   _requestformatr   selfr/   r0   r1   s       r   createz)CustomerFundingInstructionsService.create@   sO     MM?FF(2 G  #  
 	
r   c                    K   t        t        | j                  ddj                  t	        |            d||       d{         S 7 w)r4   r5   r6   r7   r8   r9   N)r   r   _request_asyncr<   r   r=   s       r   create_asyncz/CustomerFundingInstructionsService.create_asyncX   s_      %%?FF(2 G  # &  
 	
s   =A
A
 	A
N)r   r   r   r   r   r+   r.   r   r   r   r?   rB   r   r   r   r   r      s    y (9 4  #%	

 B
  	

 

8 #%	

 B
  	

 

r   r   N)stripe._funding_instructionsr   stripe._request_optionsr   stripe._stripe_servicer   stripe._utilr   typingr   r   typing_extensionsr	   r
   r   r   r   r   r   <module>rI      s*    = 2 0 $  = =c
 c
r   