
    <@g                         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	 d dl
mZ d dlmZmZ d dlmZmZmZmZmZmZ d d	lmZmZmZmZmZ erd d
lmZ  G d ded   ed   ed         Zy)    )CreateableAPIResource)
ListObject)ListableAPIResource)RequestOptions)StripeObject)UpdateableAPIResource)class_method_variantsanitize_id)ClassVarDictListOptionalcastoverload)LiteralNotRequired	TypedDictUnpackTYPE_CHECKING)FinancialAccountFeaturesc                   	   e Zd ZU dZdZeed      ed<    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 d0 d1e      Z! G d2 d3e      Z" G d4 d5e      Z# G d6 d7e      Z$ G d8 d9e      Z% G d: d;e      Z& G d< d=e      Z' G d> d?e      Z( G d@ dAe      Z) G dB dCe      Z* G dD dEe      Z+ G dF dGe      Z, G dH dIe      Z- G dJ dKe      Z. G dL dMe      Z/ G dN dOe      Z0 G dP dQe      Z1 G dR dSe      Z2 G dT dUe      Z3 G dV dWe      Z4 G dX dYe      Z5 G dZ d[e      Z6 G d\ d]e      Z7 G d^ d_e      Z8 G d` dae      Z9 G db dce      Z: G dd dee      Z; G df dge      Z< G dh die      Z= G dj dke      Z> G dl dme      Z? G dn doe      Z@eAeBedp         edq<   	 e	edr<   	 eCeds<   	 eDedt<   	 eAdu   edv<   	 eBe
   edw<   	 eCedx<   	 eEedy<   	 eAeFeCeCf      edz<   	 ed   ed{<   	 eAeBedp         ed|<   	 eAe   ed}<   	 eAeBedp         ed~<   	 ed   ed<   	 eed<   eBeC   ed<   	 eGdeHd   dd fd       ZIeGdeHd   dd fd       ZJeGdeHd   deKd    fd       ZLeGdeHd   deKd    fd       ZMeGdxeCdeHd   dd fd       ZNeGdxeCdeHd   dd fd       ZOeGdxeCdeHd   dd fd       ZPeGdxeCdeHd   dd fd       ZQeGdeCdeHd   ddufd       ZReSeTdeCdeHd   ddufd              ZUeSdeHd   ddufd       ZU eVd      deHd   ddufd       ZUeGdeCdeHd   ddufd       ZWeSeTdeCdeHd   ddufd              ZXeSdeHd   ddufd       ZX eVd      deHd   ddufd       ZXeGdeCdeHd   ddufd       ZYeSeTdeCdeHd   ddufd              ZZeSdeHd   ddufd       ZZ eVd      deHd   ddufd       ZZeGdeCdeHd   ddufd       Z[eSeTdeCdeHd   ddufd              Z\eSdeHd   ddufd       Z\ eVd      deHd   ddufd       Z\e	e
eedZ]y)FinancialAccountz
    Stripe Treasury provides users with a container for money called a FinancialAccount that is separate from their Payments balance.
    FinancialAccounts serve as the source and destination of Treasury's money movement APIs.
    ztreasury.financial_accountOBJECT_NAMEc                   N    e Zd ZU eeef   ed<   	 eeef   ed<   	 eeef   ed<   y)FinancialAccount.Balancecashinbound_pendingoutbound_pendingN)__name__
__module____qualname__r   strint__annotations__     a/var/www/html/AdoubleTech/venv/lib/python3.12/site-packages/stripe/treasury/_financial_account.pyBalancer   '   s?    38n	 c3h'	 sCx.(	r&   r(   c                   n    e Zd ZU  G d de      Zee   ed<   	 eeed         ed<   	 ed   ed<   	 deiZ	y)!FinancialAccount.FinancialAddressc                   N    e Zd ZU eed<   	 ee   ed<   	 eed<   	 eed<   	 eed<   y)%FinancialAccount.FinancialAddress.Abaaccount_holder_nameaccount_numberaccount_number_last4	bank_namerouting_numberN)r   r    r!   r"   r$   r   r%   r&   r'   Abar,   6   sD    !$$ %SM) #&% N  r&   r2   aba)achus_domestic_wiresupported_networkstypeN)
r   r    r!   r   r2   r   r$   r   r   _inner_class_typesr%   r&   r'   FinancialAddressr*   5   sY    	, 	, c]	 %T'2K*L%MNN	 en	 $S\r&   r9   c                   <    e Zd ZU eed      ed<   	 eed      ed<   y)%FinancialAccount.PlatformRestrictions
restrictedunrestrictedinbound_flowsoutbound_flowsN)r   r    r!   r   r   r$   r%   r&   r'   PlatformRestrictionsr;   Z   s0    (D EFF	 !)E!FGG	r&   rA   c                   >    e Zd ZU  G d de      Zee   ed<   	 deiZy)FinancialAccount.StatusDetailsc                   $    e Zd ZU eed      ed<   y)%FinancialAccount.StatusDetails.Closed)account_rejectedclosed_by_platformotherreasonsN)r   r    r!   r   r   r$   r%   r&   r'   ClosedrE   e   s    IJ r&   rJ   closedN)r   r    r!   r   rJ   r   r$   r8   r%   r&   r'   StatusDetailsrC   d   s-    	\ 	   	 '/r&   rL   c                   v    e Zd ZU eee      ed<   	 ed   ed<   	 eeeef      ed<   	 ed   ed<   	 ee   ed<   y)	FinancialAccount.CreateParamsexpand%FinancialAccount.CreateParamsFeaturesfeaturesmetadata1FinancialAccount.CreateParamsPlatformRestrictionsplatform_restrictionssupported_currenciesNr   r    r!   r   r   r"   r$   r   r%   r&   r'   CreateParamsrN   s   sk    DI&&	 EFF	 d38n--	  +? 
 	
	 #3i'	r&   rW   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<   y)rP   0FinancialAccount.CreateParamsFeaturesCardIssuingcard_issuing5FinancialAccount.CreateParamsFeaturesDepositInsurancedeposit_insurance7FinancialAccount.CreateParamsFeaturesFinancialAddressesfinancial_addresses5FinancialAccount.CreateParamsFeaturesInboundTransfersinbound_transfers5FinancialAccount.CreateParamsFeaturesIntraStripeFlowsintra_stripe_flows5FinancialAccount.CreateParamsFeaturesOutboundPaymentsoutbound_payments6FinancialAccount.CreateParamsFeaturesOutboundTransfersoutbound_transfersNr   r    r!   r   r$   r%   r&   r'   CreateParamsFeaturesz%FinancialAccount.CreateParamsFeatures       !>
 	
	 'C
 	
	 )E
 	
	 'C
 	
	 (C
 	
	 'C
 	
	 (D
 	
	r&   rh   c                       e Zd ZU eed<   y)rY   	requestedNr   r    r!   boolr$   r%   r&   r'   CreateParamsFeaturesCardIssuingz0FinancialAccount.CreateParamsFeaturesCardIssuing       	r&   rn   c                       e Zd ZU eed<   y)r[   rk   Nrl   r%   r&   r'   $CreateParamsFeaturesDepositInsurancez5FinancialAccount.CreateParamsFeaturesDepositInsurance   ro   r&   rq   c                       e Zd ZU ed   ed<   y)r]   :FinancialAccount.CreateParamsFeaturesFinancialAddressesAbar3   Nrg   r%   r&   r'   &CreateParamsFeaturesFinancialAddressesz7FinancialAccount.CreateParamsFeaturesFinancialAddresses       H
 	
	r&   rt   c                       e Zd ZU eed<   y)rs   rk   Nrl   r%   r&   r'   )CreateParamsFeaturesFinancialAddressesAbaz:FinancialAccount.CreateParamsFeaturesFinancialAddressesAba   ro   r&   rw   c                       e Zd ZU ed   ed<   y)r_   8FinancialAccount.CreateParamsFeaturesInboundTransfersAchr4   Nrg   r%   r&   r'   $CreateParamsFeaturesInboundTransfersz5FinancialAccount.CreateParamsFeaturesInboundTransfers       F
 	
	r&   rz   c                       e Zd ZU eed<   y)ry   rk   Nrl   r%   r&   r'   'CreateParamsFeaturesInboundTransfersAchz8FinancialAccount.CreateParamsFeaturesInboundTransfersAch   ro   r&   r}   c                       e Zd ZU eed<   y)ra   rk   Nrl   r%   r&   r'   $CreateParamsFeaturesIntraStripeFlowsz5FinancialAccount.CreateParamsFeaturesIntraStripeFlows   ro   r&   r   c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)rc   8FinancialAccount.CreateParamsFeaturesOutboundPaymentsAchr4   CFinancialAccount.CreateParamsFeaturesOutboundPaymentsUsDomesticWirer5   Nrg   r%   r&   r'   $CreateParamsFeaturesOutboundPaymentsz5FinancialAccount.CreateParamsFeaturesOutboundPayments   .    F
 	
	 &Q
 	
	r&   r   c                       e Zd ZU eed<   y)r   rk   Nrl   r%   r&   r'   'CreateParamsFeaturesOutboundPaymentsAchz8FinancialAccount.CreateParamsFeaturesOutboundPaymentsAch   ro   r&   r   c                       e Zd ZU eed<   y)r   rk   Nrl   r%   r&   r'   2CreateParamsFeaturesOutboundPaymentsUsDomesticWirezCFinancialAccount.CreateParamsFeaturesOutboundPaymentsUsDomesticWire   ro   r&   r   c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)re   9FinancialAccount.CreateParamsFeaturesOutboundTransfersAchr4   DFinancialAccount.CreateParamsFeaturesOutboundTransfersUsDomesticWirer5   Nrg   r%   r&   r'   %CreateParamsFeaturesOutboundTransfersz6FinancialAccount.CreateParamsFeaturesOutboundTransfers   .    G
 	
	 &R
 	
	r&   r   c                       e Zd ZU eed<   y)r   rk   Nrl   r%   r&   r'   (CreateParamsFeaturesOutboundTransfersAchz9FinancialAccount.CreateParamsFeaturesOutboundTransfersAch  ro   r&   r   c                       e Zd ZU eed<   y)r   rk   Nrl   r%   r&   r'   3CreateParamsFeaturesOutboundTransfersUsDomesticWirezDFinancialAccount.CreateParamsFeaturesOutboundTransfersUsDomesticWire  ro   r&   r   c                   <    e Zd ZU eed      ed<   	 eed      ed<   y)rS   r<   r?   r@   Nr   r    r!   r   r   r$   r%   r&   r'    CreateParamsPlatformRestrictionsz1FinancialAccount.CreateParamsPlatformRestrictions  0    "7+G#HII	 $G,H$IJJ	r&   r   c                   l    e Zd ZU ed   ed<   	 ee   ed<   	 eee      ed<   	 ee   ed<   	 ee   ed<   y)FinancialAccount.ListParamsz&FinancialAccount.ListParamsCreated|intcreatedending_beforerO   limitstarting_afterN)r   r    r!   r   r$   r"   r   r#   r%   r&   r'   
ListParamsr   #  s_    EFF	 #3''	 DI&&	 3	 $C((	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)"FinancialAccount.ListParamsCreatedgtgteltlteN)r   r    r!   r   r#   r$   r%   r&   r'   ListParamsCreatedr   9  sH    	 	 	 	r&   r   c                   d    e Zd ZU eee      ed<   	 ed   ed<   	 eeeef      ed<   	 ed   ed<   y)FinancialAccount.ModifyParamsrO   %FinancialAccount.ModifyParamsFeaturesrQ   rR   1FinancialAccount.ModifyParamsPlatformRestrictionsrT   NrV   r%   r&   r'   ModifyParamsr   K  sZ    DI&&	 EFF	 d38n--	  +? 
 	
	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<   y)r   0FinancialAccount.ModifyParamsFeaturesCardIssuingrZ   5FinancialAccount.ModifyParamsFeaturesDepositInsurancer\   7FinancialAccount.ModifyParamsFeaturesFinancialAddressesr^   5FinancialAccount.ModifyParamsFeaturesInboundTransfersr`   5FinancialAccount.ModifyParamsFeaturesIntraStripeFlowsrb   5FinancialAccount.ModifyParamsFeaturesOutboundPaymentsrd   6FinancialAccount.ModifyParamsFeaturesOutboundTransfersrf   Nrg   r%   r&   r'   ModifyParamsFeaturesz%FinancialAccount.ModifyParamsFeatures_  ri   r&   r   c                       e Zd ZU eed<   y)r   rk   Nrl   r%   r&   r'   ModifyParamsFeaturesCardIssuingz0FinancialAccount.ModifyParamsFeaturesCardIssuing  ro   r&   r   c                       e Zd ZU eed<   y)r   rk   Nrl   r%   r&   r'   $ModifyParamsFeaturesDepositInsurancez5FinancialAccount.ModifyParamsFeaturesDepositInsurance  ro   r&   r   c                       e Zd ZU ed   ed<   y)r   :FinancialAccount.ModifyParamsFeaturesFinancialAddressesAbar3   Nrg   r%   r&   r'   &ModifyParamsFeaturesFinancialAddressesz7FinancialAccount.ModifyParamsFeaturesFinancialAddresses  ru   r&   r   c                       e Zd ZU eed<   y)r   rk   Nrl   r%   r&   r'   )ModifyParamsFeaturesFinancialAddressesAbaz:FinancialAccount.ModifyParamsFeaturesFinancialAddressesAba  ro   r&   r   c                       e Zd ZU ed   ed<   y)r   8FinancialAccount.ModifyParamsFeaturesInboundTransfersAchr4   Nrg   r%   r&   r'   $ModifyParamsFeaturesInboundTransfersz5FinancialAccount.ModifyParamsFeaturesInboundTransfers  r{   r&   r   c                       e Zd ZU eed<   y)r   rk   Nrl   r%   r&   r'   'ModifyParamsFeaturesInboundTransfersAchz8FinancialAccount.ModifyParamsFeaturesInboundTransfersAch  ro   r&   r   c                       e Zd ZU eed<   y)r   rk   Nrl   r%   r&   r'   $ModifyParamsFeaturesIntraStripeFlowsz5FinancialAccount.ModifyParamsFeaturesIntraStripeFlows  ro   r&   r   c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)r   8FinancialAccount.ModifyParamsFeaturesOutboundPaymentsAchr4   CFinancialAccount.ModifyParamsFeaturesOutboundPaymentsUsDomesticWirer5   Nrg   r%   r&   r'   $ModifyParamsFeaturesOutboundPaymentsz5FinancialAccount.ModifyParamsFeaturesOutboundPayments  r   r&   r   c                       e Zd ZU eed<   y)r   rk   Nrl   r%   r&   r'   'ModifyParamsFeaturesOutboundPaymentsAchz8FinancialAccount.ModifyParamsFeaturesOutboundPaymentsAch  ro   r&   r   c                       e Zd ZU eed<   y)r   rk   Nrl   r%   r&   r'   2ModifyParamsFeaturesOutboundPaymentsUsDomesticWirezCFinancialAccount.ModifyParamsFeaturesOutboundPaymentsUsDomesticWire  ro   r&   r   c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)r   9FinancialAccount.ModifyParamsFeaturesOutboundTransfersAchr4   DFinancialAccount.ModifyParamsFeaturesOutboundTransfersUsDomesticWirer5   Nrg   r%   r&   r'   %ModifyParamsFeaturesOutboundTransfersz6FinancialAccount.ModifyParamsFeaturesOutboundTransfers  r   r&   r   c                       e Zd ZU eed<   y)r   rk   Nrl   r%   r&   r'   (ModifyParamsFeaturesOutboundTransfersAchz9FinancialAccount.ModifyParamsFeaturesOutboundTransfersAch  ro   r&   r   c                       e Zd ZU eed<   y)r   rk   Nrl   r%   r&   r'   3ModifyParamsFeaturesOutboundTransfersUsDomesticWirezDFinancialAccount.ModifyParamsFeaturesOutboundTransfersUsDomesticWire  ro   r&   r   c                   <    e Zd ZU eed      ed<   	 eed      ed<   y)r   r<   r?   r@   Nr   r%   r&   r'    ModifyParamsPlatformRestrictionsz1FinancialAccount.ModifyParamsPlatformRestrictions  r   r&   r   c                   $    e Zd ZU eee      ed<   y)'FinancialAccount.RetrieveFeaturesParamsrO   Nr   r    r!   r   r   r"   r$   r%   r&   r'   RetrieveFeaturesParamsr         DI&&	r&   r   c                   $    e Zd ZU eee      ed<   y)FinancialAccount.RetrieveParamsrO   Nr   r%   r&   r'   RetrieveParamsr     r   r&   r   c                       e Zd ZU ed   ed<   	 ed   ed<   	 eee      ed<   	 ed   ed<   	 ed   ed	<   	 ed
   ed<   	 ed   ed<   	 ed   ed<   y)%FinancialAccount.UpdateFeaturesParams0FinancialAccount.UpdateFeaturesParamsCardIssuingrZ   5FinancialAccount.UpdateFeaturesParamsDepositInsurancer\   rO   7FinancialAccount.UpdateFeaturesParamsFinancialAddressesr^   5FinancialAccount.UpdateFeaturesParamsInboundTransfersr`   5FinancialAccount.UpdateFeaturesParamsIntraStripeFlowsrb   5FinancialAccount.UpdateFeaturesParamsOutboundPaymentsrd   6FinancialAccount.UpdateFeaturesParamsOutboundTransfersrf   N)r   r    r!   r   r$   r   r"   r%   r&   r'   UpdateFeaturesParamsr     s    !>
 	
	 'C
 	
	 DI&&	 )E
 	
	 'C
 	
	 (C
 	
	 'C
 	
	 (D
 	
	r&   r   c                       e Zd ZU eed<   y)r   rk   Nrl   r%   r&   r'   UpdateFeaturesParamsCardIssuingz0FinancialAccount.UpdateFeaturesParamsCardIssuing3  ro   r&   r   c                       e Zd ZU eed<   y)r   rk   Nrl   r%   r&   r'   $UpdateFeaturesParamsDepositInsurancez5FinancialAccount.UpdateFeaturesParamsDepositInsurance9  ro   r&   r   c                       e Zd ZU ed   ed<   y)r   :FinancialAccount.UpdateFeaturesParamsFinancialAddressesAbar3   Nrg   r%   r&   r'   &UpdateFeaturesParamsFinancialAddressesz7FinancialAccount.UpdateFeaturesParamsFinancialAddresses?  ru   r&   r   c                       e Zd ZU eed<   y)r   rk   Nrl   r%   r&   r'   )UpdateFeaturesParamsFinancialAddressesAbaz:FinancialAccount.UpdateFeaturesParamsFinancialAddressesAbaG  ro   r&   r   c                       e Zd ZU ed   ed<   y)r   8FinancialAccount.UpdateFeaturesParamsInboundTransfersAchr4   Nrg   r%   r&   r'   $UpdateFeaturesParamsInboundTransfersz5FinancialAccount.UpdateFeaturesParamsInboundTransfersM  r{   r&   r   c                       e Zd ZU eed<   y)r   rk   Nrl   r%   r&   r'   'UpdateFeaturesParamsInboundTransfersAchz8FinancialAccount.UpdateFeaturesParamsInboundTransfersAchU  ro   r&   r   c                       e Zd ZU eed<   y)r   rk   Nrl   r%   r&   r'   $UpdateFeaturesParamsIntraStripeFlowsz5FinancialAccount.UpdateFeaturesParamsIntraStripeFlows[  ro   r&   r   c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)r   8FinancialAccount.UpdateFeaturesParamsOutboundPaymentsAchr4   CFinancialAccount.UpdateFeaturesParamsOutboundPaymentsUsDomesticWirer5   Nrg   r%   r&   r'   $UpdateFeaturesParamsOutboundPaymentsz5FinancialAccount.UpdateFeaturesParamsOutboundPaymentsa  r   r&   r   c                       e Zd ZU eed<   y)r   rk   Nrl   r%   r&   r'   'UpdateFeaturesParamsOutboundPaymentsAchz8FinancialAccount.UpdateFeaturesParamsOutboundPaymentsAcho  ro   r&   r   c                       e Zd ZU eed<   y)r   rk   Nrl   r%   r&   r'   2UpdateFeaturesParamsOutboundPaymentsUsDomesticWirezCFinancialAccount.UpdateFeaturesParamsOutboundPaymentsUsDomesticWireu  ro   r&   r   c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)r   9FinancialAccount.UpdateFeaturesParamsOutboundTransfersAchr4   DFinancialAccount.UpdateFeaturesParamsOutboundTransfersUsDomesticWirer5   Nrg   r%   r&   r'   %UpdateFeaturesParamsOutboundTransfersz6FinancialAccount.UpdateFeaturesParamsOutboundTransfers{  r   r&   r  c                       e Zd ZU eed<   y)r   rk   Nrl   r%   r&   r'   (UpdateFeaturesParamsOutboundTransfersAchz9FinancialAccount.UpdateFeaturesParamsOutboundTransfersAch  ro   r&   r  c                       e Zd ZU eed<   y)r   rk   Nrl   r%   r&   r'   3UpdateFeaturesParamsOutboundTransfersUsDomesticWirezDFinancialAccount.UpdateFeaturesParamsOutboundTransfersUsDomesticWire  ro   r&   r  )rZ   r\   zfinancial_addresses.abaz"financial_addresses.aba.forwardingzinbound_transfers.achrb   zoutbound_payments.achz"outbound_payments.us_domestic_wirezoutbound_transfers.achz#outbound_transfers.us_domestic_wireremote_deposit_captureactive_featuresbalancecountryr   r   rQ   r^   idlivemoderR   objectpending_featuresrT   restricted_features)rK   openstatusstatus_detailsrU   paramsrN   returnc                 Z    t        d| j                  d| j                         |            S )u
        Creates a new FinancialAccount. For now, each connected account can only have one FinancialAccount.
        r   postr  )r   _static_request	class_urlclsr  s     r'   createzFinancialAccount.create  s6        
 	
r&   c                 v   K   t        d| j                  d| j                         |       d{         S 7 w)r  r   r  r  N)r   _static_request_asyncr  r  s     r'   create_asynczFinancialAccount.create_async  sD      ++ ,  
 	
s   ,97
	9r   c                     | j                  d| j                         |      }t        |t              s!t	        dt        |      j                  z        |S )6
        Returns a list of FinancialAccounts.
        getr  %Expected list object from API, got %s)r  r  
isinstancer   	TypeErrorr7   r   r  r  results      r'   listzFinancialAccount.list$  s]     $$MMO % 

 &*-7<((* 
 r&   c                    K   | j                  d| j                         |       d{   }t        |t              s!t	        dt        |      j                  z        |S 7 7w)r!  r"  r  Nr#  )r  r  r$  r   r%  r7   r   r&  s      r'   
list_asynczFinancialAccount.list_async8  sk      00MMO 1 
 

 &*-7<((* 
 
s   &A"A 8A"r   c                 z    | j                         dt        |      }t        d| j                  d||            S )<
        Updates the details of a FinancialAccount.
        /r   r  r  )r  r
   r   r  r  r
  r  urls       r'   modifyzFinancialAccount.modifyL  sD     +b/:   
 	
r&   c                    K   | j                         dt        |      }t        d| j                  d||       d{         S 7 w)r,  r-  r   r  r  N)r  r
   r   r  r.  s       r'   modify_asynczFinancialAccount.modify_async]  sR      +b/:++ ,  
 	
s   <A	A
	A	r   c                 8     | |fi |}|j                          |S )>
        Retrieves the details of a FinancialAccount.
        )refreshr  r
  r  instances       r'   retrievezFinancialAccount.retrieven  s$     r$V$r&   c                 T   K    | |fi |}|j                          d{    |S 7 w)r4  N)refresh_asyncr6  s       r'   retrieve_asynczFinancialAccount.retrieve_asyncy  s3      r$V$$$&&& 	's   (&(financial_accountr   c                 p    t        d| j                  ddj                  t        |            |            S )V
        Retrieves Features information associated with the FinancialAccount.
        r   r"  </v1/treasury/financial_accounts/{financial_account}/featuresr<  r  r   r  formatr
   r  r<  r  s      r'   _cls_retrieve_featuresz'FinancialAccount._cls_retrieve_features  sL     &NUU&12C&D V     	
 		
r&   c                      yr>  Nr%   r<  r  s     r'   retrieve_featuresz"FinancialAccount.retrieve_features       	r&   c                      yrF  r%   selfr  s     r'   rH  z"FinancialAccount.retrieve_features       	r&   rD  c                     t        d| j                  ddj                  t        | j	                  d                  |            S )r>  r   r"  r?  r
  r@  r  r   _requestrB  r
   r"  rK  s     r'   rH  z"FinancialAccount.retrieve_features  sQ     &MMNUU&1$((4.&A V    	
 		
r&   c                    K   t        d| j                  ddj                  t        |            |       d{         S 7 w)r>  r   r"  r?  r@  r  Nr   r  rB  r
   rC  s      r'   _cls_retrieve_features_asyncz-FinancialAccount._cls_retrieve_features_async  sZ      &++NUU&12C&D V   ,  	
 		
   7AA
	Ac                    K   ywrF  r%   rG  s     r'   retrieve_features_asyncz(FinancialAccount.retrieve_features_async        	   c                    K   ywrF  r%   rK  s     r'   rV  z(FinancialAccount.retrieve_features_async        	rX  rS  c                    K   t        d| j                  ddj                  t        | j	                  d                  |       d{         S 7 w)r>  r   r"  r?  r
  r@  r  Nr   _request_asyncrB  r
   r"  rK  s     r'   rV  z(FinancialAccount.retrieve_features_async  sa      &%%NUU&1$((4.&A V   &  	
 		
   AAA
		Ar   c                 p    t        d| j                  ddj                  t        |            |            S )J
        Updates the Features associated with a FinancialAccount.
        r   r  r?  r@  r  rA  rC  s      r'   _cls_update_featuresz%FinancialAccount._cls_update_features  sL     &NUU&12C&D V     	
 		
r&   c                      yr`  Nr%   rG  s     r'   update_featuresz FinancialAccount.update_features  rI  r&   c                      yrc  r%   rK  s     r'   rd  z FinancialAccount.update_features  rM  r&   ra  c                     t        d| j                  ddj                  t        | j	                  d                  |            S )r`  r   r  r?  r
  r@  r  rO  rK  s     r'   rd  z FinancialAccount.update_features   sQ     &MMNUU&1$((4.&A V    	
 		
r&   c                    K   t        d| j                  ddj                  t        |            |       d{         S 7 w)r`  r   r  r?  r@  r  NrR  rC  s      r'   _cls_update_features_asyncz+FinancialAccount._cls_update_features_async2  sZ      &++NUU&12C&D V   ,  	
 		
rT  c                    K   ywrc  r%   rG  s     r'   update_features_asyncz&FinancialAccount.update_features_asyncF  rW  rX  c                    K   ywrc  r%   rK  s     r'   rj  z&FinancialAccount.update_features_asyncQ  rZ  rX  rh  c                    K   t        d| j                  ddj                  t        | j	                  d                  |       d{         S 7 w)r`  r   r  r?  r
  r@  r  Nr\  rK  s     r'   rj  z&FinancialAccount.update_features_asyncZ  sa      &%%NUU&1$((4.&A V   &  	
 		
r^  )r  r^   rT   r  N)^r   r    r!   __doc__r   r   r   r$   r   r(   r9   rA   rL   r   rW   r   rh   rn   rq   rt   rw   rz   r}   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  r   r   r"   r#   rm   r   classmethodr   r  r  r   r(  r*  r0  r2  r8  r;  rD  r   staticmethodrH  r	   rS  rV  ra  rd  rh  rj  r8   r%   r&   r'   r   r      s   
 	% '">?@ , #*< #*J| 0 0~ 0*y *X) y  I y ) y y ) Y 	 9 i 9 ^ ,I $~ (*y *X) y  I y ) y y ) Y 	 9 i 9   .~ .`) y  I y ) y y ) Y 	 9 i  
*	
 "  L L 122 .// 	G N tCH~&& 011 
*	
 " $$899 "
*	
 " $%% "!s)# 
=>
	
 
 
=>
	
 
 ;<	&	' & ;<	&	' & 

 &'F G
	
 
  

 &'F G
	
 
   &'H I	   &'H I	  

 BC
 
$	
 
& BC 
$   HI	#  23
HI
	#
 4
" 

 BC
 
$	
 
& BC 
$   HI	#  89
HI
	#
 :
" 

 @A
 
$	
 
& @A 
$   FG	#  01
FG
	#
 2
" 

 @A
 
$	
 
& @A 
$   FG	#  67
FG
	#
 8
$ /!5'	r&   r   N)stripe._createable_api_resourcer   stripe._list_objectr   stripe._listable_api_resourcer   stripe._request_optionsr   stripe._stripe_objectr   stripe._updateable_api_resourcer   stripe._utilr	   r
   typingr   r   r   r   r   r   typing_extensionsr   r   r   r   r   +stripe.treasury._financial_account_featuresr   r   r%   r&   r'   <module>rz     s^    B * = 2 . A : A A  
X,-*+,-Xr&   