o
    BiA5                     @   sX   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 deZdS )	    )AccountSession)RequestOptions)StripeService)Listcast)NotRequired	TypedDictc                   @   s  e Zd ZG dd deZG dd deZG dd deZG dd deZG d	d
 d
eZG dd deZ	G dd deZ
G dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd  d eZG d!d" d"eZG d#d$ d$eZG d%d& d&eZG d'd( d(eZG d)d* d*eZG d+d, d,eZG d-d. d.eZG d/d0 d0eZi fd1d2d3ed4efd5d6Zi fd1d2d3ed4efd7d8Zd9S ):AccountSessionServicec                   @   s2   e Zd ZU eed< 	 ded< 	 eee  ed< dS )"AccountSessionService.CreateParamsaccount,AccountSessionService.CreateParamsComponents
componentsexpandN)__name__
__module____qualname__str__annotations__r   r    r   r   _/var/www/html/Trade-python/venv/lib/python3.10/site-packages/stripe/_account_session_service.pyCreateParams   s   
 r   c                   @   s   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< dS )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   r   CreateParamsComponents   sZ   
 r-   c                   @   $   e Zd ZU eed< 	 ed ed< dS )r   enabledEAccountSessionService.CreateParamsComponentsAccountManagementFeaturesfeaturesNr   r   r   boolr   r   r   r   r   r   'CreateParamsComponentsAccountManagement]      
 r4   c                   @      e Zd ZU ee ed< dS )r0   external_account_collectionNr   r   r   r   r3   r   r   r   r   r   /CreateParamsComponentsAccountManagementFeaturesi      
 r9   c                   @   r.   )r   r/   EAccountSessionService.CreateParamsComponentsAccountOnboardingFeaturesr1   Nr2   r   r   r   r   'CreateParamsComponentsAccountOnboardingo   r5   r<   c                   @   r6   )r;   r7   Nr8   r   r   r   r   /CreateParamsComponentsAccountOnboardingFeatures{   r:   r=   c                   @   r.   )r   r/   <AccountSessionService.CreateParamsComponentsBalancesFeaturesr1   Nr2   r   r   r   r   CreateParamsComponentsBalances   r5   r?   c                   @   D   e Zd ZU ee ed< 	 ee ed< 	 ee ed< 	 ee ed< dS )r>   edit_payout_scheduler7   instant_payoutsstandard_payoutsNr8   r   r   r   r   &CreateParamsComponentsBalancesFeatures      
 rD   c                   @   r.   )r   r/   =AccountSessionService.CreateParamsComponentsDocumentsFeaturesr1   Nr2   r   r   r   r   CreateParamsComponentsDocuments   r5   rG   c                   @      e Zd ZdS )rF   Nr   r   r   r   r   r   r   'CreateParamsComponentsDocumentsFeatures       rJ   c                   @   r.   )r   r/   FAccountSessionService.CreateParamsComponentsNotificationBannerFeaturesr1   Nr2   r   r   r   r   (CreateParamsComponentsNotificationBanner   r5   rM   c                   @   r6   )rL   r7   Nr8   r   r   r   r   0CreateParamsComponentsNotificationBannerFeatures   r:   rN   c                   @   r.   )r!   r/   BAccountSessionService.CreateParamsComponentsPaymentDetailsFeaturesr1   Nr2   r   r   r   r   $CreateParamsComponentsPaymentDetails   r5   rP   c                   @   r@   )rO   capture_payments*destination_on_behalf_of_charge_managementdispute_managementrefund_managementNr8   r   r   r   r   ,CreateParamsComponentsPaymentDetailsFeatures   rE   rU   c                   @   r.   )r#   r/   <AccountSessionService.CreateParamsComponentsPaymentsFeaturesr1   Nr2   r   r   r   r   CreateParamsComponentsPayments   r5   rW   c                   @   r@   )rV   rQ   rR   rS   rT   Nr8   r   r   r   r   &CreateParamsComponentsPaymentsFeatures   rE   rX   c                   @   r.   )r%   r/   ;AccountSessionService.CreateParamsComponentsPayoutsFeaturesr1   Nr2   r   r   r   r   CreateParamsComponentsPayouts   r5   rZ   c                   @   r@   )rY   rA   r7   rB   rC   Nr8   r   r   r   r   %CreateParamsComponentsPayoutsFeatures  rE   r[   c                   @   r.   )r'   r/   ?AccountSessionService.CreateParamsComponentsPayoutsListFeaturesr1   Nr2   r   r   r   r   !CreateParamsComponentsPayoutsList  r5   r]   c                   @   rH   )r\   NrI   r   r   r   r   )CreateParamsComponentsPayoutsListFeatures&  rK   r^   c                   @   r.   )r)   r/   DAccountSessionService.CreateParamsComponentsTaxRegistrationsFeaturesr1   Nr2   r   r   r   r   &CreateParamsComponentsTaxRegistrations)  r5   r`   c                   @   rH   )r_   NrI   r   r   r   r   .CreateParamsComponentsTaxRegistrationsFeatures5  rK   ra   c                   @   r.   )r+   r/   ?AccountSessionService.CreateParamsComponentsTaxSettingsFeaturesr1   Nr2   r   r   r   r   !CreateParamsComponentsTaxSettings8  r5   rc   c                   @   rH   )rb   NrI   r   r   r   r   )CreateParamsComponentsTaxSettingsFeaturesD  rK   rd   paramsr
   optionsreturnc              	   C   s   t t| jd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_addressre   rf   )r   r   _requestselfre   rf   r   r   r   createG  s   zAccountSessionService.createc              	      s"   t t| jddd||dI dH S )rh   ri   rj   rk   rl   N)r   r   _request_asyncro   r   r   r   create_asyncZ  s   
z"AccountSessionService.create_asyncN) r   r   r   r   r   r-   r4   r9   r<   r=   r?   rD   rG   rJ   rM   rN   rP   rU   rW   rX   rZ   r[   r]   r^   r`   ra   rc   rd   r   r   rq   rs   r   r   r   r   r	   
   sR    D
r	   N)stripe._account_sessionr   stripe._request_optionsr   stripe._stripe_servicer   typingr   r   typing_extensionsr   r   r	   r   r   r   r   <module>   s   