
    <@g@                     ^    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  G d de      Zy)	    )AccountSession)RequestOptions)StripeService)Listcast)NotRequired	TypedDictc                   L   e Zd Z G d de      Z G d de      Z G d de      Z G d de      Z G d	 d
e      Z G d de      Z	 G d de      Z
 G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d d e      Z G d! d"e      Z G d# d$e      Z G d% d&e      Z G d' d(e      Z G d) d*e      Z G d+ d,e      Z G d- d.e      Z G d/ d0e      Zi fd1d2d3ed4efd5Zi fd1d2d3ed4efd6Zy7)8AccountSessionServicec                   <    e Zd ZU eed<   	 ded<   	 eee      ed<   y)"AccountSessionService.CreateParamsaccount,AccountSessionService.CreateParamsComponents
componentsexpandN)__name__
__module____qualname__str__annotations__r   r        ^/var/www/html/AdoubleTech/venv/lib/python3.12/site-packages/stripe/_account_session_service.pyCreateParamsr      s0    	 CB	 DI&&	r   r   c                       e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed	   ed
<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y)r   =AccountSessionService.CreateParamsComponentsAccountManagementaccount_management=AccountSessionService.CreateParamsComponentsAccountOnboardingaccount_onboarding4AccountSessionService.CreateParamsComponentsBalancesbalances5AccountSessionService.CreateParamsComponentsDocuments	documents>AccountSessionService.CreateParamsComponentsNotificationBannernotification_banner:AccountSessionService.CreateParamsComponentsPaymentDetailspayment_details4AccountSessionService.CreateParamsComponentsPaymentspayments3AccountSessionService.CreateParamsComponentsPayoutspayouts7AccountSessionService.CreateParamsComponentsPayoutsListpayouts_list<AccountSessionService.CreateParamsComponentsTaxRegistrationstax_registrations7AccountSessionService.CreateParamsComponentsTaxSettingstax_settingsN)r   r   r   r   r   r   r   r   CreateParamsComponentsz,AccountSessionService.CreateParamsComponents   s    'K
 	
	 (K
 	
	 B
 	
	 C
 	
	 )L
 	
	 %H
 	
	 B
 	
	 A
 	
	 "E
 	
	 'J
 	
	 "E
 	
	r   r2   c                   *    e Zd ZU eed<   	 ed   ed<   y)r   enabledEAccountSessionService.CreateParamsComponentsAccountManagementFeaturesfeaturesNr   r   r   boolr   r   r   r   r   'CreateParamsComponentsAccountManagementz=AccountSessionService.CreateParamsComponentsAccountManagement]   #    	 S
 	
	r   r9   c                   0    e Zd ZU ee   ed<   	 ee   ed<   y)r5   "disable_stripe_user_authenticationexternal_account_collectionNr   r   r   r   r8   r   r   r   r   /CreateParamsComponentsAccountManagementFeatureszEAccountSessionService.CreateParamsComponentsAccountManagementFeaturesi   $    ,7,==	 &1%66	r   r?   c                   *    e Zd ZU eed<   	 ed   ed<   y)r   r4   EAccountSessionService.CreateParamsComponentsAccountOnboardingFeaturesr6   Nr7   r   r   r   'CreateParamsComponentsAccountOnboardingz=AccountSessionService.CreateParamsComponentsAccountOnboardings   r:   r   rC   c                   0    e Zd ZU ee   ed<   	 ee   ed<   y)rB   r<   r=   Nr>   r   r   r   /CreateParamsComponentsAccountOnboardingFeatureszEAccountSessionService.CreateParamsComponentsAccountOnboardingFeatures   r@   r   rE   c                   *    e Zd ZU eed<   	 ed   ed<   y)r    r4   <AccountSessionService.CreateParamsComponentsBalancesFeaturesr6   Nr7   r   r   r   CreateParamsComponentsBalancesz4AccountSessionService.CreateParamsComponentsBalances   #    	 J
 	
	r   rH   c                   f    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)rG   r<   edit_payout_scheduler=   instant_payoutsstandard_payoutsNr>   r   r   r   &CreateParamsComponentsBalancesFeaturesz<AccountSessionService.CreateParamsComponentsBalancesFeatures   Z    ,7,==	 *$//	 &1%66	 %T**	 &d++	r   rN   c                   *    e Zd ZU eed<   	 ed   ed<   y)r"   r4   =AccountSessionService.CreateParamsComponentsDocumentsFeaturesr6   Nr7   r   r   r   CreateParamsComponentsDocumentsz5AccountSessionService.CreateParamsComponentsDocuments   s#    	 K
 	
	r   rR   c                       e Zd Zy)rQ   Nr   r   r   r   r   r   'CreateParamsComponentsDocumentsFeaturesz=AccountSessionService.CreateParamsComponentsDocumentsFeatures       r   rU   c                   *    e Zd ZU eed<   	 ed   ed<   y)r$   r4   FAccountSessionService.CreateParamsComponentsNotificationBannerFeaturesr6   Nr7   r   r   r   (CreateParamsComponentsNotificationBannerz>AccountSessionService.CreateParamsComponentsNotificationBanner   s#    	 T
 	
	r   rY   c                   0    e Zd ZU ee   ed<   	 ee   ed<   y)rX   r<   r=   Nr>   r   r   r   0CreateParamsComponentsNotificationBannerFeatureszFAccountSessionService.CreateParamsComponentsNotificationBannerFeatures   r@   r   r[   c                   *    e Zd ZU eed<   	 ed   ed<   y)r&   r4   BAccountSessionService.CreateParamsComponentsPaymentDetailsFeaturesr6   Nr7   r   r   r   $CreateParamsComponentsPaymentDetailsz:AccountSessionService.CreateParamsComponentsPaymentDetails   s#    	 P
 	
	r   r^   c                   T    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)r]   capture_payments*destination_on_behalf_of_charge_managementdispute_managementrefund_managementNr>   r   r   r   ,CreateParamsComponentsPaymentDetailsFeatureszBAccountSessionService.CreateParamsComponentsPaymentDetailsFeatures   I    %d++	 5@4EE	 (--	 't,,	r   rd   c                   *    e Zd ZU eed<   	 ed   ed<   y)r(   r4   <AccountSessionService.CreateParamsComponentsPaymentsFeaturesr6   Nr7   r   r   r   CreateParamsComponentsPaymentsz4AccountSessionService.CreateParamsComponentsPayments   rI   r   rh   c                   T    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)rg   r`   ra   rb   rc   Nr>   r   r   r   &CreateParamsComponentsPaymentsFeaturesz<AccountSessionService.CreateParamsComponentsPaymentsFeatures   re   r   rj   c                   *    e Zd ZU eed<   	 ed   ed<   y)r*   r4   ;AccountSessionService.CreateParamsComponentsPayoutsFeaturesr6   Nr7   r   r   r   CreateParamsComponentsPayoutsz3AccountSessionService.CreateParamsComponentsPayouts  s#    	 I
 	
	r   rm   c                   f    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)rl   r<   rK   r=   rL   rM   Nr>   r   r   r   %CreateParamsComponentsPayoutsFeaturesz;AccountSessionService.CreateParamsComponentsPayoutsFeatures  rO   r   ro   c                   *    e Zd ZU eed<   	 ed   ed<   y)r,   r4   ?AccountSessionService.CreateParamsComponentsPayoutsListFeaturesr6   Nr7   r   r   r   !CreateParamsComponentsPayoutsListz7AccountSessionService.CreateParamsComponentsPayoutsList.  #    	 M
 	
	r   rr   c                       e Zd Zy)rq   NrT   r   r   r   )CreateParamsComponentsPayoutsListFeaturesz?AccountSessionService.CreateParamsComponentsPayoutsListFeatures:  rV   r   ru   c                   *    e Zd ZU eed<   	 ed   ed<   y)r.   r4   DAccountSessionService.CreateParamsComponentsTaxRegistrationsFeaturesr6   Nr7   r   r   r   &CreateParamsComponentsTaxRegistrationsz<AccountSessionService.CreateParamsComponentsTaxRegistrations=  s#    	 R
 	
	r   rx   c                       e Zd Zy)rw   NrT   r   r   r   .CreateParamsComponentsTaxRegistrationsFeatureszDAccountSessionService.CreateParamsComponentsTaxRegistrationsFeaturesI  rV   r   rz   c                   *    e Zd ZU eed<   	 ed   ed<   y)r0   r4   ?AccountSessionService.CreateParamsComponentsTaxSettingsFeaturesr6   Nr7   r   r   r   !CreateParamsComponentsTaxSettingsz7AccountSessionService.CreateParamsComponentsTaxSettingsL  rs   r   r}   c                       e Zd Zy)r|   NrT   r   r   r   )CreateParamsComponentsTaxSettingsFeaturesz?AccountSessionService.CreateParamsComponentsTaxSettingsFeaturesX  rV   r   r   paramsr   optionsreturnc           
      J    t        t        | j                  ddd||            S )
        Creates a AccountSession object that includes a single-use token that the platform can use on their front-end to grant client-side API access.
        post/v1/account_sessionsapibase_addressr   r   )r   r   _requestselfr   r   s      r   createzAccountSessionService.create[  s4     MM&"  	
 		
r   c           
      f   K   t        t        | j                  ddd||       d{         S 7 w)r   r   r   r   r   N)r   r   _request_asyncr   s      r   create_asyncz"AccountSessionService.create_asyncn  sD      %%&" &  	
 		
s   $1/
	1N) r   r   r   r	   r   r2   r9   r?   rC   rE   rH   rN   rR   rU   rY   r[   r^   rd   rh   rj   rm   ro   rr   ru   rx   rz   r}   r   r   r   r   r   r   r   r   r   r   
   sq   y B BH
) 
) 
) 
) 
 
 ,
) 
) 
9 
9 
y 
y $
 
 $
	 
	 ,
I 
I 
 
 
I 
I  #%
4
  
 
	
, #%
4
  
 
	
r   r   N)stripe._account_sessionr   stripe._request_optionsr   stripe._stripe_servicer   typingr   r   typing_extensionsr   r	   r   r   r   r   <module>r      s$    3 2 0  4u
M u
r   