
    Ai?                        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
mZmZ d dlmZmZmZmZ er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  G d ded         Zeej:                  _        y)    )APIResource)ExpandableField)StripeObject)APIResourceTestHelpers)ClassVarListOptionalcast)LiteralTypeUnpackTYPE_CHECKING)Charge)Customer)SetupAttempt)ConfirmationTokenCreateParams)ConfirmationTokenRetrieveParamsc                      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eed<   	 ee   ed<   	 eed<   	 eed<   	 ee	   ed<   	 ed   ed<   	 ee   ed<   	 ee
   ed<   	 ee   ed<   	 ee   ed<   	 eed      ed<   	 ee   ed<   	 ee   ed<   	 eed<   	 ededed   dd fd       Zededed   dd fd       Z G d  d!ed          Zed"        Ze	e
eed#Zy$)%ConfirmationTokena&  
    ConfirmationTokens help transport client side data collected by Stripe JS over
    to your server for confirming a PaymentIntent or SetupIntent. If the confirmation
    is successful, values present on the ConfirmationToken are written onto the Intent.

    To learn more about how to use ConfirmationToken, visit the related guides:
    - [Finalize payments on the server](https://stripe.com/docs/payments/finalize-payments-on-the-server)
    - [Build two-step confirmation](https://stripe.com/docs/payments/build-a-two-step-confirmation).
    confirmation_tokenOBJECT_NAMEc                   8    e Zd ZU  G d de      Zeed<   	 deiZy)ConfirmationToken.MandateDatac                   J    e Zd ZU  G d de      Zee   ed<   	 eed<   	 deiZy)0ConfirmationToken.MandateData.CustomerAcceptancec                   0    e Zd ZU ee   ed<   	 ee   ed<   y)7ConfirmationToken.MandateData.CustomerAcceptance.Online
ip_address
user_agentN__name__
__module____qualname__r	   str__annotations__     M/var/www/html/immo/lib/python3.12/site-packages/stripe/_confirmation_token.pyOnliner   %   s"    $SM) %SM)r'   r)   onlinetypeN)	r!   r"   r#   r   r)   r	   r%   r$   _inner_class_typesr&   r'   r(   CustomerAcceptancer   $   s9      V$$ I #+F!3r'   r-   customer_acceptanceN)r!   r"   r#   r   r-   r%   r,   r&   r'   r(   MandateDatar   #   s)    	4 	4* 0/	 45GHr'   r/   c                   >    e Zd ZU  G d de      Zee   ed<   	 deiZy)&ConfirmationToken.PaymentMethodOptionsc                   P    e Zd ZU  G d de      Zee   ed<   	 ee   ed<   	 deiZy)+ConfirmationToken.PaymentMethodOptions.Cardc                   <    e Zd ZU  G d de      Zee   ed<   deiZy)8ConfirmationToken.PaymentMethodOptions.Card.Installmentsc                   H    e Zd ZU ee   ed<   	 eed      ed<   	 ed   ed<   y)=ConfirmationToken.PaymentMethodOptions.Card.Installments.Plancountmonthinterval)bonusfixed_count	revolvingr+   Nr!   r"   r#   r	   intr%   r   r&   r'   r(   Planr7   B   s;    #C=( 'ww'788 ""EFFr'   r@   planN)r!   r"   r#   r   r@   r	   r%   r,   r&   r'   r(   Installmentsr5   A   s$    <  tn$&,d^"r'   rB   	cvc_tokeninstallmentsN)	r!   r"   r#   r   rB   r	   r$   r%   r,   r&   r'   r(   Cardr3   @   s>    4| 4&  }$ #<00 #1,!?r'   rE   cardN)r!   r"   r#   r   rE   r	   r%   r,   r&   r'   r(   PaymentMethodOptionsr1   ?   s-    	@< 	@< tn	 %d^r'   rG   c                   H	   e Zd ZU  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 G d1 d2e      Z G d3 d4e      Z G d5 d6e      Z G d7 d8e      Z G d9 d:e      Z  G d; d<e      Z! G d= d>e      Z" G d? d@e      Z# G dA dBe      Z$ G dC dDe      Z% G dE dFe      Z& G dG dHe      Z' G dI dJe      Z( G dK dLe      Z) G dM dNe      Z* G dO dPe      Z+ G dQ dRe      Z, G dS dTe      Z- G dU dVe      Z. G dW dXe      Z/ G dY dZe      Z0 G d[ d\e      Z1 G d] d^e      Z2 G d_ d`e      Z3 G da dbe      Z4 G dc dde      Z5 G de dfe      Z6 G dg dhe      Z7e8e   e9di<   e8e   e9dj<   e8e   e9dk<   e8e   e9dl<   e8e:dm      e9dn<   	 e8e   e9do<   e8e	   e9dp<   e8e
   e9dq<   e8e   e9dr<   e8e   e9ds<   e8e   e9dt<   ee9du<   e8e   e9dv<   e8e   e9dw<   e8e   e9dx<   e8e   e9dy<   e8e   e9dz<   e8e   e9d{<   e8e;d|      e9d}<   	 e8e   e9d~<   e8e   e9d<   e8e   e9d<   e8e   e9d<   e8e   e9d<   e8e   e9d<   e8e   e9d<   e8e   e9d<   e8e   e9d<   e8e   e9d<   e8e   e9d<   e8e    e9d<   e8e!   e9d<   e8e"   e9d<   e8e#   e9d<   e8e$   e9d<   e8e%   e9d<   e8e&   e9d<   e8e'   e9d<   e8e(   e9d<   e8e)   e9d<   e8e*   e9d<   e8e+   e9d<   e8e,   e9d<   e8e-   e9d<   e8e.   e9d<   e8e/   e9d<   e8e0   e9d<   e8e1   e9d<   e8e2   e9d<   e8e3   e9d<   e8e4   e9d<   e:d   e9d<   	 e8e5   e9d<   e8e6   e9d<   e8e7   e9d<   i diedjedkedledoedpe	dqe
dredsedteduedvedwedxedyedzed{ei d~ededededededededededede de!de"de#de$de%i de&de'de(de)de*de+de,de-de.de/de0de1de2de3de4de5de6de7iZ<y)&ConfirmationToken.PaymentMethodPreviewc                   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)0ConfirmationToken.PaymentMethodPreview.AcssDebit	bank_namefingerprintinstitution_numberlast4transit_numberNr    r&   r'   r(   	AcssDebitrK   e   sU    }$ "#& !)- C=  %SM)r'   rQ   c                       e Zd Zy)-ConfirmationToken.PaymentMethodPreview.AffirmNr!   r"   r#   r&   r'   r(   AffirmrS   {       r'   rU   c                       e Zd Zy)7ConfirmationToken.PaymentMethodPreview.AfterpayClearpayNrT   r&   r'   r(   AfterpayClearpayrX   ~   rV   r'   rY   c                       e Zd Zy)-ConfirmationToken.PaymentMethodPreview.AlipayNrT   r&   r'   r(   Alipayr[      rV   r'   r\   c                       e Zd Zy)+ConfirmationToken.PaymentMethodPreview.AlmaNrT   r&   r'   r(   Almar^      rV   r'   r_   c                       e Zd Zy)0ConfirmationToken.PaymentMethodPreview.AmazonPayNrT   r&   r'   r(   	AmazonPayra      rV   r'   rb   c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)2ConfirmationToken.PaymentMethodPreview.AuBecsDebit
bsb_numberrM   rO   Nr    r&   r'   r(   AuBecsDebitrd      s3     % "#& C= r'   rf   c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)0ConfirmationToken.PaymentMethodPreview.BacsDebitrM   rO   	sort_codeNr    r&   r'   r(   	BacsDebitrh      s3    !#& C=   }$r'   rj   c                       e Zd Zy)1ConfirmationToken.PaymentMethodPreview.BancontactNrT   r&   r'   r(   
Bancontactrl      rV   r'   rm   c                       e Zd Zy)-ConfirmationToken.PaymentMethodPreview.BillieNrT   r&   r'   r(   Billiero      rV   r'   rp   c                       e Zd ZU  G d de      Zee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 deiZy)	5ConfirmationToken.PaymentMethodPreview.BillingDetailsc                   x    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<   	 ee   ed<   y)=ConfirmationToken.PaymentMethodPreview.BillingDetails.Addresscitycountryline1line2postal_codestateNr    r&   r'   r(   Addressrt      sf    sm# "#&  }$  }$ &c]*  }$r'   r{   addressemailnamephonetax_idN)	r!   r"   r#   r   r{   r	   r%   r$   r,   r&   r'   r(   BillingDetailsrr      sq    , 4 g&& C=  3- C=  SM! #,W!5r'   r   c                       e Zd Zy)+ConfirmationToken.PaymentMethodPreview.BlikNrT   r&   r'   r(   Blikr      rV   r'   r   c                       e Zd ZU eed<   y)-ConfirmationToken.PaymentMethodPreview.Boletor   N)r!   r"   r#   r$   r%   r&   r'   r(   Boletor      s    Kr'   r   c                      e Zd ZU  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e	e
d<   	 ee   e
d<   	 ee	   e
d<   	 ee	   e
d<   	 ee	   e
d<   	 ee
d<   	 ee
d<   	 ee	   e
d<   	 e	e
d<   	 ee   e
d<   	 ee	   e
d<   	 ee	   e
d<   	 e	e
d<   	 ee   e
d<   	 eed      e
d<   	 ee   e
d<   	 ee   e
d<   	 eeeeedZy)+ConfirmationToken.PaymentMethodPreview.Cardc                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)2ConfirmationToken.PaymentMethodPreview.Card.Checksaddress_line1_checkaddress_postal_code_check	cvc_checkNr    r&   r'   r(   Checksr      s3    %-c]2 ,4C=8 $C=(r'   r   c                   h    e Zd ZU  G d de      Zee   ed<   	 ee   ed<   	 eed      ed<   	 deiZ	y)9ConfirmationToken.PaymentMethodPreview.Card.GeneratedFromc                   H    e Zd ZU  G d de      Zee   ed<   eed<   	 deiZy)NConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetailsc                      e Zd ZU  G d de      Z G d de      Z G d de      Zee   e	d<   	 ee
   e	d<   	 ee
   e	d	<   	 ee   e	d
<   	 ee
   e	d<   	 ee
   e	d<   	 ee
   e	d<   	 ee
   e	d<   	 ee	d<   	 ee	d<   	 ee
   e	d<   	 ee
   e	d<   	 ee
   e	d<   	 ee
   e	d<   	 ee	d<   	 ee
   e	d<   	 ee
   e	d<   	 ee
   e	d<   	 ee
   e	d<   	 ee   e	d<   	 ee	d<   	 eee
      e	d<   	 eed      e	d<   	 ee   e	d<   	 ee   e	d <   eeed!Zy")#ZConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresentc                   6    e Zd ZU ee   ed<   	 eed      ed<   y)bConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Offline	stored_atdeferredr+   Nr>   r&   r'   r(   Offliner      s(    '/}4  #+7:+>"?? r'   r   c                       e Zd ZU eed      ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed	<   	 ee   ed
<   y)bConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Receipt)checkingcreditprepaidunknownaccount_typeapplication_cryptogramapplication_preferred_nameauthorization_codeauthorization_response_codecardholder_verification_methoddedicated_file_nameterminal_verification_resultstransaction_status_informationNr!   r"   r#   r	   r   r%   r$   r&   r'   r(   Receiptr     s    *2 '$N!"+ 
  5=SMA  9AE  19=  :B#F  =ESMI  2:#>  <DC=H  =ESMI r'   r   c                       e Zd ZU ed   ed<   y)aConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Wallet	apple_pay
google_paysamsung_payr   r+   Nr!   r"   r#   r   r%   r&   r'   r(   Walletr   ,  s    ")!+#  r'   r   amount_authorizedbrandbrand_productcapture_beforecardholder_namerv   descriptionemv_auth_data	exp_monthexp_yearrM   fundinggenerated_cardiin#incremental_authorization_supportedissuerrO   networknetwork_transaction_idofflineovercapture_supportedpreferred_localescontact_emvcontactless_emvcontactless_magstripe_modemagnetic_stripe_fallbackmagnetic_stripe_track2read_methodreceiptwallet)r   r   r   N)r!   r"   r#   r   r   r   r   r	   r?   r%   r$   boolr   r   r,   r&   r'   r(   CardPresentr      s    l  ( l ( T	 \ 	  ,4C=8  (}, (0}4 )15 *2#6 "*#. &.c]2 (0}4 $' #& &.c]2
 "*#. )15 &c]* >BA !)-  (}, "*#. 19= "*'!22 043 ,4DI+>> &.#!:&  "*'!22 !) 00'.'.&,.*r'   r   card_presentr+   N)	r!   r"   r#   r   r   r	   r%   r$   r,   r&   r'   r(   PaymentMethodDetailsr      s5    ol ob #+;"77I +9+)F&r'   r   chargepayment_method_detailsr   setup_attemptN)
r!   r"   r#   r   r   r	   r$   r%   r   r,   r&   r'   r(   GeneratedFromr      s^    wG< wGr !% )11E(FF  ((GHH -.B&"r'   r   c                   0    e Zd ZU ee   ed<   	 ee   ed<   y)4ConfirmationToken.PaymentMethodPreview.Card.Networks	available	preferredNr!   r"   r#   r   r$   r%   r	   r&   r'   r(   Networksr     "    9$ $C=(r'   r   c                       e Zd ZU eed<   y)=ConfirmationToken.PaymentMethodPreview.Card.ThreeDSecureUsage	supportedN)r!   r"   r#   r   r%   r&   r'   r(   ThreeDSecureUsager     s    r'   r   c                   P   e Zd ZU  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
ee   ed<   ee   ed<   ee   ed<   	 ee   ed<   ee   ed<   ee   ed<   ee	   ed<   ed   ed<   	 ee
   ed<   eeeeee	e
dZy)2ConfirmationToken.PaymentMethodPreview.Card.Walletc                       e Zd Zy)FConfirmationToken.PaymentMethodPreview.Card.Wallet.AmexExpressCheckoutNrT   r&   r'   r(   AmexExpressCheckoutr         r'   r   c                       e Zd Zy);ConfirmationToken.PaymentMethodPreview.Card.Wallet.ApplePayNrT   r&   r'   r(   ApplePayr     r   r'   r   c                       e Zd Zy)<ConfirmationToken.PaymentMethodPreview.Card.Wallet.GooglePayNrT   r&   r'   r(   	GooglePayr     r   r'   r   c                       e Zd Zy)7ConfirmationToken.PaymentMethodPreview.Card.Wallet.LinkNrT   r&   r'   r(   Linkr     r   r'   r   c                       e Zd ZU  G d de      Z G d de      Zee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 eed	Z	y
)=ConfirmationToken.PaymentMethodPreview.Card.Wallet.Masterpassc                   x    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<   	 ee   ed<   y)LConfirmationToken.PaymentMethodPreview.Card.Wallet.Masterpass.BillingAddressru   rv   rw   rx   ry   rz   Nr    r&   r'   r(   BillingAddressr     f    &sm+ "*#.  (},  (}, &.c]2  (},r'   r   c                   x    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<   	 ee   ed<   y)MConfirmationToken.PaymentMethodPreview.Card.Wallet.Masterpass.ShippingAddressru   rv   rw   rx   ry   rz   Nr    r&   r'   r(   ShippingAddressr     r   r'   r   billing_addressr}   r~   shipping_addressr   r   N
r!   r"   r#   r   r   r   r	   r%   r$   r,   r&   r'   r(   
Masterpassr     p     4, 4 &.n%== $C=( #3-' '/&?? ,:,;*&r'   r   c                       e Zd Zy)=ConfirmationToken.PaymentMethodPreview.Card.Wallet.SamsungPayNrT   r&   r'   r(   
SamsungPayr  &  r   r'   r  c                       e Zd ZU  G d de      Z G d de      Zee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 eed	Z	y
)?ConfirmationToken.PaymentMethodPreview.Card.Wallet.VisaCheckoutc                   x    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<   	 ee   ed<   y)NConfirmationToken.PaymentMethodPreview.Card.Wallet.VisaCheckout.BillingAddressru   rv   rw   rx   ry   rz   Nr    r&   r'   r(   r   r  *  r   r'   r   c                   x    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<   	 ee   ed<   y)OConfirmationToken.PaymentMethodPreview.Card.Wallet.VisaCheckout.ShippingAddressru   rv   rw   rx   ry   rz   Nr    r&   r'   r(   r   r	  D  r   r'   r   r   r}   r~   r   r   Nr   r&   r'   r(   VisaCheckoutr  )  r   r'   r
  amex_express_checkoutr   dynamic_last4r   link
masterpassr   )r  r   r   r  r  r   visa_checkoutr+   r  N)r!   r"   r#   r   r   r   r   r   r   r  r
  r	   r%   r$   r   r,   r&   r'   r(   r   r     s    , |  < H HT H< HT (00C'DD#H--'}, %Y//tn$$Z00%j11%   (55-@!)"+ ",#-%1&"r'   r   r   checksrv   r   display_brandr   r   rM   r   generated_fromr   r   rO   networks)	regulatedunregulatedregulated_statusthree_d_secure_usager   )r  r  r  r  r   N)r!   r"   r#   r   r   r   r   r   r   r$   r%   r	   r?   r   r,   r&   r'   r(   rE   r      sr    H HT< L C CJ J V$$ c]" "#& $C=( N M "#&
 L %]33 # SM! J x(( 'w/I'JKK #++<"== V$$ !"/$(9 "r'   rE   c                      e Zd ZU  G d de      Z G d de      Z G d de      Zee   e	d<   	 ee   e	d<   	 ee   e	d	<   	 ee   e	d
<   	 ee   e	d<   	 e
e	d<   	 e
e	d<   	 ee   e	d<   	 ee   e	d<   	 ee   e	d<   	 ee   e	d<   	 ee   e	d<   	 ee   e	d<   	 ee   e	d<   	 eee      e	d<   	 eed      e	d<   	 ee   e	d<   eeedZy)2ConfirmationToken.PaymentMethodPreview.CardPresentc                   0    e Zd ZU ee   ed<   	 ee   ed<   y);ConfirmationToken.PaymentMethodPreview.CardPresent.Networksr   r   Nr   r&   r'   r(   r   r    r   r'   r   c                   6    e Zd ZU ee   ed<   	 eed      ed<   y):ConfirmationToken.PaymentMethodPreview.CardPresent.Offliner   r   r+   Nr>   r&   r'   r(   r   r    s(    #C=( wz233r'   r   c                       e Zd ZU ed   ed<   y)9ConfirmationToken.PaymentMethodPreview.CardPresent.Walletr   r+   Nr   r&   r'   r(   r   r    s    G r'   r   r   r   r   rv   r   r   r   rM   r   r   r   rO   r  r   r   r   r   r   )r  r   r   N)r!   r"   r#   r   r   r   r   r	   r$   r%   r?   r   r   r,   r&   r'   r(   r   r    sa   < ,   C=  $C=( &c]* c]" "#& N M "#&
 c]" # SM! C=  x(( g&&  (S	22 ".  V$$$" "r'   r   c                   0    e Zd ZU ee   ed<   	 ee   ed<   y).ConfirmationToken.PaymentMethodPreview.Cashappbuyer_idcashtagNr    r&   r'   r(   Cashappr!  P  s"    sm# c]"r'   r$  c                       e Zd Zy)-ConfirmationToken.PaymentMethodPreview.CryptoNrT   r&   r'   r(   Cryptor&  Z  rV   r'   r'  c                       e Zd Zy)6ConfirmationToken.PaymentMethodPreview.CustomerBalanceNrT   r&   r'   r(   CustomerBalancer)  ]  rV   r'   r*  c                   $    e Zd ZU eed      ed<   y)*ConfirmationToken.PaymentMethodPreview.Eps)arzte_und_apotheker_bankaustrian_anadi_bank_agbank_austriabankhaus_carl_spangler%bankhaus_schelhammer_und_schattera_agbawag_psk_agbks_bank_agbrull_kallmus_bank_agbtv_vier_lander_bankcapital_bank_grawe_gruppe_agdeutsche_bank_agdolomitenbankeasybank_agerste_bank_und_sparkassen#hypo_alpeadriabank_international_ag'hypo_bank_burgenland_aktiengesellschaft'hypo_noe_lb_fur_niederosterreich_u_wien'hypo_oberosterreich_salzburg_steiermarkhypo_tirol_bank_aghypo_vorarlberg_bank_agmarchfelder_bankoberbank_ag"raiffeisen_bankengruppe_osterreichschoellerbank_agsparda_bank_wienvolksbank_gruppevolkskreditbank_agvr_bank_braunaubankNr!   r"   r#   r	   r   r%   r&   r'   r(   Epsr,  `  s"    ' @r'   rK  c                   6    e Zd ZU eed      ed<   	 ed   ed<   y)*ConfirmationToken.PaymentMethodPreview.Fpxcompany
individualaccount_holder_type)
affin_bankagrobankalliance_bankambank
bank_islambank_muamalatbank_of_chinabank_rakyatbsncimbdeutsche_bankhong_leong_bankhsbckfh	maybank2e	maybank2uocbcpb_enterprisepublic_bankrhbstandard_chartereduobrI  NrJ  r&   r'   r(   FpxrM    s1    !)'2I*J!KK  0r'   rh  c                       e Zd Zy).ConfirmationToken.PaymentMethodPreview.GiropayNrT   r&   r'   r(   Giropayrj    rV   r'   rk  c                       e Zd Zy).ConfirmationToken.PaymentMethodPreview.GrabpayNrT   r&   r'   r(   Grabpayrm    rV   r'   rn  c                   <    e Zd ZU eed      ed<   	 eed      ed<   y),ConfirmationToken.PaymentMethodPreview.Ideal)abn_amroasn_bankbunqbuuthandelsbankeningknabmoneyoun26nnrabobank	regiobankrevolutsns_banktriodos_bankvan_lanschotyoursaferI  )ABNANL2AASNBNL21BITSNL2ABUNQNL2ABUUTNL2AFVLBNL22HANDNL2AINGBNL2AKNABNL2HMOYONL21NNBANL2GNTSBDEB1RABONL2URBRBNL21REVOIE23REVOLT21SNSBNL2ATRIONL2UbicNrJ  r&   r'   r(   Idealrp    sB      *   ,r'   r  c                   (   e Zd ZU  G d de      Zee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 eed<   	 eed<   	 ee   ed	<   	 ee   ed
<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee	e      ed<   	 ee
d      ed<   	 deiZy)5ConfirmationToken.PaymentMethodPreview.InteracPresentc                   0    e Zd ZU ee   ed<   	 ee   ed<   y)>ConfirmationToken.PaymentMethodPreview.InteracPresent.Networksr   r   Nr   r&   r'   r(   r   r    r   r'   r   r   r   rv   r   r   r   rM   r   r   r   rO   r  r   r   r   N)r!   r"   r#   r   r   r	   r$   r%   r?   r   r   r,   r&   r'   r(   InteracPresentr    s   <  C=  &c]* c]" "#& N M "#&
 c]" # SM! C=  x((  (S	22 ".  #-h!7r'   r  c                       e Zd Zy)/ConfirmationToken.PaymentMethodPreview.KakaoPayNrT   r&   r'   r(   KakaoPayr  .  rV   r'   r  c                   >    e Zd ZU  G d de      Zee   ed<   	 deiZy)-ConfirmationToken.PaymentMethodPreview.Klarnac                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)1ConfirmationToken.PaymentMethodPreview.Klarna.Dobdayr9   yearN)r!   r"   r#   r	   r?   r%   r&   r'   r(   Dobr  2  s3    c]"  }$ sm#r'   r  dobN)r!   r"   r#   r   r  r	   r%   r,   r&   r'   r(   Klarnar  1  s+    l  # #(r'   r  c                       e Zd Zy).ConfirmationToken.PaymentMethodPreview.KonbiniNrT   r&   r'   r(   Konbinir  F  rV   r'   r  c                   6    e Zd ZU eed      ed<   	 ee   ed<   y)-ConfirmationToken.PaymentMethodPreview.KrCard)bccitihanahyundaijejujeonbuk	kakaobankkbankkdbbankkookminkwangjulottemgnhpostsamsungsavingsbankshinhanshinhyupsuhyuptossbankwoorir   rO   Nr   r&   r'   r(   KrCardr  I  s2     4 C= r'   r  c                   0    e Zd ZU ee   ed<   	 ee   ed<   y)+ConfirmationToken.PaymentMethodPreview.Linkr}   persistent_tokenNr    r&   r'   r(   r   r  l  s"    C=  'sm+r'   r   c                       e Zd Zy),ConfirmationToken.PaymentMethodPreview.MbWayNrT   r&   r'   r(   MbWayr  v  rV   r'   r  c                       e Zd Zy)0ConfirmationToken.PaymentMethodPreview.MobilepayNrT   r&   r'   r(   	Mobilepayr  y  rV   r'   r  c                       e Zd Zy)1ConfirmationToken.PaymentMethodPreview.MultibancoNrT   r&   r'   r(   
Multibancor  |  rV   r'   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)/ConfirmationToken.PaymentMethodPreview.NaverPayr"  )rF   pointsr   N)r!   r"   r#   r	   r$   r%   r   r&   r'   r(   NaverPayr    s$    sm# -..r'   r  c                   `    e Zd ZU ee   ed<   	 eed<   	 eed<   	 eed<   	 eed<   	 ee   ed<   y)4ConfirmationToken.PaymentMethodPreview.NzBankAccountaccount_holder_name	bank_coderL   branch_coderO   suffixNr    r&   r'   r(   NzBankAccountr    sS    !)#. N N  J SM!r'   r  c                       e Zd Zy)+ConfirmationToken.PaymentMethodPreview.OxxoNrT   r&   r'   r(   Oxxor    rV   r'   r  c                   $    e Zd ZU eed      ed<   y)*ConfirmationToken.PaymentMethodPreview.P24)
alior_bankbank_millenniumbank_nowy_bfg_sabank_pekao_sabanki_spbdzielczeblikbnp_paribasbozciti_handlowycredit_agricole
envelobanketransfer_pocztowy24
getin_bankideabankrv  inteligombank_mtransfernest_przelew	noble_paypbac_z_ipko	plus_banksantander_przelew24tmobile_usbugi_bankowetoyota_bankvelobankvolkswagen_bankrI  NrJ  r&   r'   r(   P24r    s!    ' <r'   r  c                       e Zd Zy)0ConfirmationToken.PaymentMethodPreview.PayByBankNrT   r&   r'   r(   	PayByBankr    rV   r'   r  c                       e Zd Zy),ConfirmationToken.PaymentMethodPreview.PaycoNrT   r&   r'   r(   Paycor    rV   r'   r  c                       e Zd Zy)-ConfirmationToken.PaymentMethodPreview.PaynowNrT   r&   r'   r(   Paynowr     rV   r'   r  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)-ConfirmationToken.PaymentMethodPreview.Paypalrv   payer_emailpayer_idNr    r&   r'   r(   Paypalr    s3    c]" "#& sm#r'   r  c                       e Zd Zy)*ConfirmationToken.PaymentMethodPreview.PixNrT   r&   r'   r(   Pixr    rV   r'   r	  c                       e Zd Zy)0ConfirmationToken.PaymentMethodPreview.PromptpayNrT   r&   r'   r(   	Promptpayr    rV   r'   r  c                       e Zd Zy)1ConfirmationToken.PaymentMethodPreview.RevolutPayNrT   r&   r'   r(   
RevolutPayr    rV   r'   r  c                       e Zd Zy)1ConfirmationToken.PaymentMethodPreview.SamsungPayNrT   r&   r'   r(   r  r    rV   r'   r  c                       e Zd Zy)/ConfirmationToken.PaymentMethodPreview.SatispayNrT   r&   r'   r(   Satispayr    rV   r'   r  c                       e Zd ZU  G d de      Zee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 deiZy	)
0ConfirmationToken.PaymentMethodPreview.SepaDebitc                   <    e Zd ZU eed      ed<   	 eed      ed<   y)>ConfirmationToken.PaymentMethodPreview.SepaDebit.GeneratedFromr   r   r   r   N)r!   r"   r#   r	   r   r%   r&   r'   r(   r   r    s.     !:;;  ((GHHr'   r   r  r  rv   rM   r  rO   N)	r!   r"   r#   r   r   r	   r$   r%   r,   r&   r'   r(   	SepaDebitr    s       }$ "#& c]" "#& %]33 C=  #3M!Br'   r  c                       e Zd ZU ee   ed<   y)-ConfirmationToken.PaymentMethodPreview.Sofortrv   Nr    r&   r'   r(   Sofortr    s    c]"r'   r  c                       e Zd Zy),ConfirmationToken.PaymentMethodPreview.SwishNrT   r&   r'   r(   Swishr    rV   r'   r  c                       e Zd Zy),ConfirmationToken.PaymentMethodPreview.TwintNrT   r&   r'   r(   Twintr!    rV   r'   r"  c                       e Zd ZU  G d de      Z G d de      Zeed      ed<   	 eed      ed<   	 ee	   ed	<   	 ee	   ed
<   	 ee	   ed<   	 ee	   ed<   	 ee   ed<   	 ee	   ed<   	 ee   ed<   	 eedZ
y)4ConfirmationToken.PaymentMethodPreview.UsBankAccountc                   6    e Zd ZU ee   ed<   	 eed      ed<   y)=ConfirmationToken.PaymentMethodPreview.UsBankAccount.Networksr   )achus_domestic_wirer   N)r!   r"   r#   r	   r$   r%   r   r   r&   r'   r(   r   r&  "  s)    #C=(  (A BCCr'   r   c                   <    e Zd ZU  G d de      Zee   ed<   deiZy)BConfirmationToken.PaymentMethodPreview.UsBankAccount.StatusDetailsc                   <    e Zd ZU eed      ed<   	 eed      ed<   y)JConfirmationToken.PaymentMethodPreview.UsBankAccount.StatusDetails.Blocked)R02R03R04R05R07R08R10R11R16R20R29R31network_code)bank_account_closedbank_account_frozenbank_account_invalid_detailsbank_account_restrictedbank_account_unusabledebit_not_authorizedreasonNrJ  r&   r'   r(   Blockedr,  -  sB    "*##   %4	 	r'   rA  blockedN)r!   r"   r#   r   rA  r	   r%   r,   r&   r'   r(   StatusDetailsr*  ,  s'     l  D "'**&/%9"r'   rC  rN  rQ  )r   savingsr   rL   financial_connections_accountrM   rO   r  routing_numberstatus_details)r  rG  N)r!   r"   r#   r   r   rC  r	   r   r%   r$   r,   r&   r'   r(   UsBankAccountr$  !  s    < $: $:L "*'2I*J!KK #7+@#ABB  }$ ,4C=8 "#& C=  x(( %SM) %]33 %"/"r'   rH  c                       e Zd Zy)0ConfirmationToken.PaymentMethodPreview.WechatPayNrT   r&   r'   r(   	WechatPayrJ  {  rV   r'   rK  c                       e Zd Zy)*ConfirmationToken.PaymentMethodPreview.ZipNrT   r&   r'   r(   ZiprM  ~  rV   r'   rN  
acss_debitaffirmafterpay_clearpayalipay)alwayslimitedunspecifiedallow_redisplayalma
amazon_payau_becs_debit
bacs_debit
bancontactbilliebilling_detailsr  boletorF   r   cashappcryptor   customercustomer_balanceepsfpxgiropaygrabpayidealinterac_present	kakao_payklarnakonbinikr_cardr  mb_way	mobilepay
multibanco	naver_paynz_bank_accountoxxop24pay_by_bankpaycopaynowpaypalpix	promptpayrevolut_payr   satispay
sepa_debitsofortswishtwint)4rO  rP  rQ  rR  rW  rX  rY  rZ  r[  r\  r  r^  rF   r   r_  r`  customrb  rc  rd  re  rf  rg  rh  ri  rj  rk  rl  r  rm  rn  ro  rp  rq  rr  rs  rt  ru  rv  rw  rx  ry  rz  r   r{  r|  r}  r~  r  us_bank_account
wechat_payzipr+   r  r  r  N)=r!   r"   r#   r   rQ   rU   rY   r\   r_   rb   rf   rj   rm   rp   r   r   r   rE   r   r$  r'  r*  rK  rh  rk  rn  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"  rH  rK  rN  r	   r%   r   r   r,   r&   r'   r(   PaymentMethodPreviewrI   d   s   	 	,	\ 		| 		\ 		< 		 		, 		 		 		\ 	/	6\ /	6b	< 		\ 	z	< z	xl	, l	\	l 		\ 		l 	#	, #	J	, 	B	l 		l 	1	L 1	fM	8\ M	8^	| 		.\ 	.*	l 	!	\ !	F	< 		L 		 		 		| 		L 	4	< 	!	, !	F	 		L 		\ 		\ 		, 		 		 		 		| 	#	C #	CJ	\ 		L 		L 	X	L X	t	 		, 	 Y''  #$455  !'*L"MNN	 tnY'',,Y''Z((  ''tn  tn{++'""  ?:677	 #?33c]c]'""'""!.11H%%  '""&!!tnI&&Z((H%%!-00tnc]i((    c]I&&j))j))8$$Y''  35
 5	
l	 "-00Y''c]5
)5
f5
  !15
 f	5

 D5
 )5
 [5
 )5
 *5
 f5
 ~5
 D5
 f5
 D5
 K5
  w!5
" f#5
$ %5
& 3'5
( 3)5
* w+5
, w-5
. U/5
0 ~15
2 35
4 f55
6 w75
8 v95
: D;5
< e=5
> ?5
@ *A5
B C5
D }E5
F DG5
H 3I5
J 9K5
L UM5
N fO5
P fQ5
R 3S5
T U5
V :W5
X :Y5
Z [5
\ )]5
^ f_5
` Ua5
b Uc5
d }e5
f )g5
h 3i5
r'   r  c                   T    e Zd ZU  G d de      Zeed<   eed<   	 ee   ed<   	 deiZy)ConfirmationToken.Shippingc                   x    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<   	 ee   ed<   y)"ConfirmationToken.Shipping.Addressru   rv   rw   rx   ry   rz   Nr    r&   r'   r(   r{   r  .  sf    3- c]" C=  C=  "#& C= r'   r{   r|   r~   r   N)	r!   r"   r#   r   r{   r%   r$   r	   r,   r&   r'   r(   Shippingr  -  s>    	l 	4 		 }	 (1r'   r  created
expires_atidlivemodemandate_dataobjectpayment_intentpayment_method_optionspayment_method_preview
return_url)off_session
on_sessionsetup_future_usagesetup_intentshippinguse_stripe_sdkparamsr   returnc                 8     | |fi |}|j                          |S )@
        Retrieves an existing ConfirmationToken object
        )refreshclsr  r  instances       r(   retrievezConfirmationToken.retrieve  s$     r$V$r'   c                 T   K    | |fi |}|j                          d{    |S 7 w)r  N)refresh_asyncr  s       r(   retrieve_asyncz ConfirmationToken.retrieve_async  s3      r$V$$$&&& 	's   (&(c                   ^    e Zd ZU ed   ed<   eded   ddfd       Zeded   ddfd       Zy)	ConfirmationToken.TestHelpersr   _resource_clsr  r   r  c                 >    t        d| j                  dd|            S )h
            Creates a test mode Confirmation Token server side for your integration tests.
            r   r  $/v1/test_helpers/confirmation_tokensr  )r
   _static_requestr  r  s     r(   createz$ConfirmationToken.TestHelpers.create  s0     ###:! $  r'   c                 Z   K   t        d| j                  dd|       d{         S 7 w)r  r   r  r  r  N)r
   _static_request_asyncr  s     r(   create_asyncz*ConfirmationToken.TestHelpers.create_async  s>      #//:! 0   s   +)
	+N)	r!   r"   r#   r   r%   classmethodr   r  r  r&   r'   r(   TestHelpersr    s`    /00		!"AB	 	 
	 
	!"AB	 	 
	r'   r  c                 $    | j                  |       S )N)r  )selfs    r(   test_helperszConfirmationToken.test_helpers  s    %%r'   )r  r  r  r  N)r!   r"   r#   __doc__r   r   r   r%   r   r/   rG   r  r  r?   r	   r$   r   r  r   r  r  r   r  propertyr  r,   r&   r'   r(   r   r      s    <PK'"678OIl I8#,| #,JG
| G
R.$2< $2L L  	G N ;'' ()) SM! %%9:: %%9::  !)D!EFF
 3- x     &'H I	   &'H I	 !,-@A !F & & $"6"6	r'   r   N)stripe._api_resourcer   stripe._expandable_fieldr   stripe._stripe_objectr   stripe._test_helpersr   typingr   r   r	   r
   typing_extensionsr   r   r   r   stripe._charger   stripe._customerr   stripe._setup_attemptr   /stripe.params._confirmation_token_create_paramsr   1stripe.params._confirmation_token_retrieve_paramsr   r   r  r  r&   r'   r(   <module>r     s\    - 4 . 7 1 1 B B%)2
z$78 zz5 /@    +r'   