
    _j                     r    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d	S )
    )StripeService)Optionalcast)TYPE_CHECKING)AccountLink)RequestOptions)AccountLinkCreateParamsc                   V    e Zd Z	 d
ddded         ddfdZ	 d
ddded         ddfd	ZdS )AccountLinkServiceNparamsr	   optionsr   returnr   c           
      R    t          d|                     ddd||                    S )
        Creates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to in order to take them through the Connect Onboarding flow.
        r   post/v1/account_linksapibase_addressr   r   )r   _requestselfr   r   s      `/var/www/app.qaans.com/backend/venv/lib/python3.11/site-packages/stripe/_account_link_service.pycreatezAccountLinkService.create   s>     MM#"   	
 	
 		
    c           
      b   K   t          d|                     ddd||           d{V           S )r   r   r   r   r   r   N)r   _request_asyncr   s      r   create_asynczAccountLinkService.create_async#   sb       %%#" &        	
 	
 		
r   )N)__name__
__module____qualname__r   r   r    r   r   r   r      s         /3
 
)
 *+
 
	
 
 
 
, /3
 
)
 *+
 
	
 
 
 
 
 
r   r   N)stripe._stripe_servicer   typingr   r   typing_extensionsr   stripe._account_linkr   stripe._request_optionsr   )stripe.params._account_link_create_paramsr	   r   r"   r   r   <module>r)      s    1 0 0 0 0 0 ! ! ! ! ! ! ! ! + + + + + + 000000666666     
%
 %
 %
 %
 %
 %
 %
 %
 %
 %
r   