
    <@g                     b    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)	    )AccountLink)RequestOptions)StripeService)Listcast)LiteralNotRequired	TypedDictc                   h    e Zd Z G d de      Z G d de      Zi fdddedefd	Zi fdddedefd
Z	y)AccountLinkServicec                       e Zd ZU eed<   	 eed      ed<   	 ed   ed<   	 eee      ed<   	 ee   ed<   	 ee   ed<   	 ed	   ed
<   y)AccountLinkService.CreateParamsaccountcurrently_dueeventually_duecollect0AccountLinkService.CreateParamsCollectionOptionscollection_optionsexpandrefresh_url
return_url)account_onboardingaccount_updatetypeN)__name__
__module____qualname__str__annotations__r	   r   r        [/var/www/html/AdoubleTech/venv/lib/python3.12/site-packages/stripe/_account_link_service.pyCreateParamsr      s    	 W%FGHH	 (>
 	
	 DI&&	 !%%	  $$	 <==	r"   r$   c                   <    e Zd ZU eed      ed<   	 eed      ed<   y)r   r   fields)includeomitfuture_requirementsN)r   r   r   r	   r   r    r!   r"   r#   CreateParamsCollectionOptionsz0AccountLinkService.CreateParamsCollectionOptions+   s0    G$EFGG	 )1B)CDD	r"   r*   paramsr   optionsreturnc           
      J    t        t        | j                  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.
        post/v1/account_linksapibase_addressr+   r,   )r   r   _requestselfr+   r,   s      r#   createzAccountLinkService.create5   s4     MM#"  	
 		
r"   c           
      f   K   t        t        | j                  ddd||       d{         S 7 w)r/   r0   r1   r2   r3   N)r   r   _request_asyncr6   s      r#   create_asynczAccountLinkService.create_asyncH   sD      %%#" &  	
 		
s   $1/
	1N)
r   r   r   r
   r$   r*   r   r   r8   r;   r!   r"   r#   r   r   
   sg    y @	  #%
1
  
 
	
, #%
1
  
 
	
r"   r   N)stripe._account_linkr   stripe._request_optionsr   stripe._stripe_servicer   typingr   r   typing_extensionsr   r	   r
   r   r!   r"   r#   <module>rA      s'    - 2 0  = =O
 O
r"   