o
    Bij]                    @   sX  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 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rd 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, d dl-m.Z. d dl/m0Z0 d dl1m2Z2 d dl3m4Z5 d dl6m7Z7 G dd ded ed ed Z8dS )    )CreateableAPIResource)ExpandableField)
ListObject)ListableAPIResource)RequestOptions)StripeObject)UpdateableAPIResource)class_method_variantsanitize_id)ClassVarDictListOptionalcastoverload)LiteralNotRequired	TypedDictUnpackTYPE_CHECKING)Account)Customer)Discount)Invoice)LineItem)PaymentIntent)PaymentLink)SetupIntent)ShippingRate)Subscription)TaxId)TaxRatec                	   @   s  e Zd ZU dZdZeed  ed< 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 d0d1 d1eZ!G d2d3 d3eZ"G d4d5 d5eZ#G d6d7 d7eZ$G d8d9 d9eZ%G d:d; d;eZ&G d<d= d=eZ'G d>d? d?eZ(G d@dA dAeZ)G dBdC dCeZ*G dDdE dEeZ+G dFdG dGeZ,G dHdI dIeZ-G dJdK dKeZ.G dLdM dMeZ/G dNdO dOeZ0G dPdQ dQeZ1G dRdS dSeZ2G dTdU dUeZ3G dVdW dWeZ4G dXdY dYeZ5G dZd[ d[eZ6G d\d] d]eZ7G d^d_ d_eZ8G d`da daeZ9G dbdc dceZ:G ddde deeZ;G dfdg dgeZ<G dhdi dieZ=G djdk dkeZ>G dldm dmeZ?G dndo doeZ@G dpdq dqeZAG drds dseZBG dtdu dueZCG dvdw dweZDG dxdy dyeZEG dzd{ d{eZFG d|d} d}eZGG d~d deZHG dd deZIG dd deZJG dd deZKG dd deZLG dd deZMG dd deZNG dd deZOG dd deZPG dd deZQG dd deZRG dd deZSG dd deZTG dd deZUG dd deZVG dd deZWG dd deZXG dd deZYG dd deZZG dd deZ[G dd deZ\G dd deZ]G dd deZ^G dd deZ_G dd deZ`G dd deZaG dd deZbG dd deZcG dd deZdG dd deZeG dd deZfG dd deZgG dd deZhG dd deZiG ddÄ deZjG ddń deZkG ddǄ deZlG ddɄ deZmG dd˄ deZnG dd̈́ deZoG ddτ deZpG ddф deZqG ddӄ deZrG ddՄ deZsG ddׄ deZtG ddل deZuG ddۄ deZvG dd݄ deZwG dd߄ deZxG dd deZyG dd deZzG dd deZ{G dd deZ|G dd deZ}G dd deZ~G dd deZG dd deZee	 ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 e
ed< eed  ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 eed< 	 ee ed< 	 ee ed< 	 ee ed< 	 eed < eed  ed< 	 eed  ed< 	 ee ed< 	 ee ed< 	 eed< 	 eed< 	 eed	  ed
< 	 ee ed< 	 eed  ed< 	 eed< 	 eed  ed< 	 eeeef  ed< 	 ed ed< 	 ed ed< 	 eed  ed< 	 eed  ed< 	 eed  ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ed ed< 	 ee ed< ee ed < 	 eed!  ed"< 	 ee ed#< 	 ee ed$< 	 eed%  ed&< 	 ee ed'< 	 ee ed(< 	 ee ed)< 	 ee ed*< 	 eed+  ed,< 	 eed-  ed.< 	 eed/  ed0< 	 ee ed1< 	 ee ed2< ee ed3< 	 eed4  ed5< 	 ee ed6< 	 ed7ed8 d9d fd:d;Zed7ed8 d9d fd<d=Zed>ed7ed? d9d fd@dAZeed>ed7ed? d9d fdBdCZed7ed? d9d fdDdCZedEd7ed? d9d fdFdCZed>ed7ed? d9d fdGdHZeed>ed7ed? d9d fdIdJZed7ed? d9d fdKdJZedLd7ed? d9d fdMdJZed7edN d9ed  fdOdPZed7edN d9ed  fdQdRZed>ed7edS d9ed fdTdUZeed>ed7edS d9ed fdVdWZed7edS d9ed fdXdWZedYd7edS d9ed fdZdWZed>ed7edS d9ed fd[d\Zeed>ed7edS d9ed fd]d^Zed7edS d9ed fd_d^Zed`d7edS d9ed fdad^Zeded7edb d9d fdcddZeded7edb d9d fdedfZeded7edg d9d fdhdiZeded7edg d9d fdjdkZi de	de
dedededed edededededed$ed'ed(ed)ed*eeedlZdmS (n  Sessiona>  
    A Checkout Session represents your customer's session as they pay for
    one-time purchases or subscriptions through [Checkout](https://stripe.com/docs/payments/checkout)
    or [Payment Links](https://stripe.com/docs/payments/payment-links). We recommend creating a
    new Session each time your customer attempts to pay.

    Once payment is successful, the Checkout Session will contain a reference
    to the [Customer](https://stripe.com/docs/api/customers), and either the successful
    [PaymentIntent](https://stripe.com/docs/api/payment_intents) or an active
    [Subscription](https://stripe.com/docs/api/subscriptions).

    You can create a Checkout Session on your server and redirect to its URL
    to begin Checkout.

    Related guide: [Checkout quickstart](https://stripe.com/docs/checkout/quickstart)
    zcheckout.sessionOBJECT_NAMEc                   @   s4   e Zd ZU G dd deZee ed< 	 deiZdS )zSession.AfterExpirationc                   @   s<   e Zd ZU eed< 	 eed< 	 ee ed< 	 ee ed< dS )z Session.AfterExpiration.Recoveryallow_promotion_codesenabled
expires_aturlN)__name__
__module____qualname__bool__annotations__r   intstr r/   r/   X/var/www/html/Trade-python/venv/lib/python3.10/site-packages/stripe/checkout/_session.pyRecovery<   s   
 r1   recoveryN)r(   r)   r*   r   r1   r   r,   _inner_class_typesr/   r/   r/   r0   AfterExpiration;   s
   
 r4   c                   @   sP   e Zd ZU G dd deZeed< 	 ee ed< 	 eed  ed< 	 deiZ	dS )zSession.AutomaticTaxc                   @   ,   e Zd ZU eed  ed< 	 ed ed< dS )zSession.AutomaticTax.Liabilityr   accountr6   selftypeNr(   r)   r*   r   r   r,   r   r/   r/   r/   r0   	LiabilityW   
   
 r;   r%   	liability)completefailedrequires_location_inputsstatusN)
r(   r)   r*   r   r;   r+   r,   r   r   r3   r/   r/   r/   r0   AutomaticTaxV   s   
 
rB   c                   @   s0   e Zd ZU eed  ed< 	 eed  ed< dS )zSession.Consent)opt_inopt_out
promotionsacceptedterms_of_serviceNr(   r)   r*   r   r   r,   r/   r/   r/   r0   Consentq   s
   
 rI   c                   @   sX   e Zd ZU G dd deZee ed< 	 eed  ed< 	 eed  ed< 	 deiZdS )	zSession.ConsentCollectionc                   @      e Zd ZU ed ed< dS )z5Session.ConsentCollection.PaymentMethodReuseAgreementautohiddenpositionNr(   r)   r*   r   r,   r/   r/   r/   r0   PaymentMethodReuseAgreement}      
 rP   payment_method_reuse_agreementrL   nonerE   rT   requiredrG   N)	r(   r)   r*   r   rP   r   r,   r   r3   r/   r/   r/   r0   ConsentCollection|   s   
 rW   c                   @   s4   e Zd ZU eed< 	 eed< 	 eed< 	 eed< dS )zSession.CurrencyConversionamount_subtotalamount_totalfx_ratesource_currencyN)r(   r)   r*   r-   r,   r.   r/   r/   r/   r0   CurrencyConversion   s   
 r\   c                   @   s   e Zd ZU G dd deZG dd deZG dd deZG dd deZee e	d	< e
e	d
< 	 ee	d< ee e	d< ee	d< 	 ee e	d< ed e	d< 	 eeeedZdS )zSession.CustomFieldc                   @   sP   e Zd ZU G dd deZee ed< 	 ee ed< 	 ee ed< 	 deiZ	dS )zSession.CustomField.Dropdownc                   @       e Zd ZU eed< 	 eed< dS )z#Session.CustomField.Dropdown.OptionlabelvalueNr(   r)   r*   r.   r,   r/   r/   r/   r0   Option   
   
 ra   default_valueoptionsr_   N)
r(   r)   r*   r   ra   r   r.   r,   r   r3   r/   r/   r/   r0   Dropdown   s   
 
re   c                   @   s(   e Zd ZU ee ed< 	 ed ed< dS )zSession.CustomField.Labelcustomr9   N)r(   r)   r*   r   r.   r,   r   r/   r/   r/   r0   Label   
   
 rg   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 )zSession.CustomField.Numericrc   maximum_lengthminimum_lengthr_   Nr(   r)   r*   r   r.   r,   r-   r/   r/   r/   r0   Numeric      
 rm   c                   @   ri   )zSession.CustomField.Textrc   rj   rk   r_   Nrl   r/   r/   r/   r0   Text   rn   ro   dropdownkeyr^   numericoptionaltextrp   rr   rt   r9   )rp   r^   rr   rt   N)r(   r)   r*   r   re   rg   rm   ro   r   r,   r.   r+   r   r3   r/   r/   r/   r0   CustomField   s(   
 

rv   c                   @   s   e Zd ZU G dd deZG dd deZG dd deZG dd deZee e	d	< 	 ee e	d
< 	 ee e	d< 	 ee e	d< 	 eeeedZ
dS )zSession.CustomTextc                   @      e Zd ZU eed< dS )zSession.CustomText.AfterSubmitmessageNr`   r/   r/   r/   r0   AfterSubmit	     
 ry   c                   @   rw   )z"Session.CustomText.ShippingAddressrx   Nr`   r/   r/   r/   r0   ShippingAddress  rz   r{   c                   @   rw   )zSession.CustomText.Submitrx   Nr`   r/   r/   r/   r0   Submit  rz   r|   c                   @   rw   )z+Session.CustomText.TermsOfServiceAcceptancerx   Nr`   r/   r/   r/   r0   TermsOfServiceAcceptance  rz   r}   after_submitshipping_addresssubmitterms_of_service_acceptance)r~   r   r   r   N)r(   r)   r*   r   ry   r{   r|   r}   r   r,   r3   r/   r/   r/   r0   
CustomText  s$   
 
r   c                   @   s   e Zd ZU G dd deZG dd deZee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee	d	  ed
< 	 ee
e  ed< 	 eedZdS )zSession.CustomerDetailsc                   @   `   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< dS )zSession.CustomerDetails.Addresscitycountryline1line2postal_codestateNr(   r)   r*   r   r.   r,   r/   r/   r/   r0   Address9     
 r   c                   @   (   e Zd ZU ed ed< 	 ee ed< dS )zSession.CustomerDetails.TaxId)Kad_nrtae_trnar_cuitau_abnau_arnbg_uicbh_vatbo_tinbr_cnpjbr_cpfca_bn
ca_gst_hst	ca_pst_bc	ca_pst_mb	ca_pst_skca_qstch_uidch_vatcl_tincn_tinco_nitcr_tinde_stndo_rcnec_ruceg_tines_cif
eu_oss_vateu_vatgb_vatge_vathk_brhr_oibhu_tinid_npwpil_vatin_gstis_vatjp_cnjp_rnjp_trnke_pinkr_brnkz_binli_uidmx_rfcmy_frpmy_itnmy_sstng_tinno_vatno_voecnz_gstom_vatpe_rucph_tinro_tinrs_pibru_innru_kppsa_vatsg_gstsg_uensi_tinsv_nitth_vattr_tintw_vatua_vatunknownus_einuy_rucve_rifvn_tinza_vatr9   r_   N)r(   r)   r*   r   r,   r   r.   r/   r/   r/   r0   r    S  s   
 Mr    addressemailnamephone)exemptrT   reverse
tax_exempttax_ids)r   r   N)r(   r)   r*   r   r   r    r   r,   r.   r   r   r3   r/   r/   r/   r0   CustomerDetails8  s    
 Vr   c                   @   s8   e Zd ZU G dd deZeed< 	 eed< deiZdS )zSession.InvoiceCreationc                   @   s   e Zd ZU G dd deZG dd deZG dd deZeee	d   e
d< 	 eee  e
d	< 	 ee e
d
< 	 ee e
d< 	 ee e
d< 	 eeeef  e
d< 	 ee e
d< 	 eeedZdS )z#Session.InvoiceCreation.InvoiceDatac                   @   r]   )z/Session.InvoiceCreation.InvoiceData.CustomFieldr   r_   Nr`   r/   r/   r/   r0   rv     rb   rv   c                   @   r5   )z*Session.InvoiceCreation.InvoiceData.Issuerr   r6   r7   r9   Nr:   r/   r/   r/   r0   Issuer  r<   r   c                   @      e Zd ZU ee ed< dS )z4Session.InvoiceCreation.InvoiceData.RenderingOptionsamount_tax_displayNr   r/   r/   r/   r0   RenderingOptions  rQ   r   TaxIdResourceaccount_tax_idscustom_fieldsdescriptionfooterissuermetadatarendering_options)r   r   r   N)r(   r)   r*   r   rv   r   r   r   r   r   r,   r.   r   r3   r/   r/   r/   r0   InvoiceData  s,   
 


r   r%   invoice_dataN)r(   r)   r*   r   r   r+   r,   r3   r/   r/   r/   r0   InvoiceCreation  s   
 =r   c                   @   s$   e Zd ZU eed< 	 ee ed< dS )z)Session.PaymentMethodConfigurationDetailsidparentN)r(   r)   r*   r.   r,   r   r/   r/   r/   r0   !PaymentMethodConfigurationDetails	  
   
 r   c                   @   s  e Zd ZU 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G d1d2 d2eZG d3d4 d4eZG d5d6 d6eZG d7d8 d8eZG d9d: d:eZ G d;d< d<eZ!G d=d> d>eZ"G d?d@ d@eZ#e$e e%dA< e$e e%dB< e$e e%dC< e$e e%dD< e$e e%dE< e$e	 e%dF< e$e
 e%dG< e$e e%dH< e$e e%dI< e$e e%dJ< e$e e%dK< e$e e%dL< e$e e%dM< e$e e%dN< e$e e%dO< e$e e%dP< e$e e%dQ< e$e e%dR< e$e e%dS< e$e e%dT< e$e e%dU< e$e e%dV< e$e e%dW< e$e e%dX< e$e e%dY< e$e e%dZ< e$e e%d[< e$e e%d\< e$e  e%d]< e$e! e%d^< e$e" e%d_< e$e# e%d`< i dAedBedCedDedEedFe	dGe
dHedIedJedKedLedMedNedOedPedQeeeeeeeeeeeee e!e"e#daZ&dbS )czSession.PaymentMethodOptionsc                   @   sh   e Zd ZU G dd deZeed  ed< 	 ee ed< eed  ed< 	 eed  ed	< 	 deiZd
S )z&Session.PaymentMethodOptions.AcssDebitc                   @   sb   e Zd ZU ee ed< 	 eeed   ed< 	 ee ed< 	 eed  ed< 	 eed  ed< d	S )
z5Session.PaymentMethodOptions.AcssDebit.MandateOptionscustom_mandate_urlinvoicesubscriptiondefault_forinterval_descriptioncombinedintervalsporadicpayment_schedulebusinesspersonaltransaction_typeN)r(   r)   r*   r   r.   r,   r   r   r/   r/   r/   r0   MandateOptions  s   
 r  cadusdcurrencymandate_optionsrT   off_session
on_sessionsetup_future_usage	automaticinstantmicrodepositsverification_methodN)	r(   r)   r*   r   r  r   r   r,   r3   r/   r/   r/   r0   	AcssDebit  s   
 	r  c                   @      e Zd ZU eed  ed< dS )z#Session.PaymentMethodOptions.AffirmrT   r  NrH   r/   r/   r/   r0   AffirmF     
 r  c                   @   r  )z-Session.PaymentMethodOptions.AfterpayClearpayrT   r  NrH   r/   r/   r/   r0   AfterpayClearpayR  r  r  c                   @   r  )z#Session.PaymentMethodOptions.AlipayrT   r  NrH   r/   r/   r/   r0   Alipay^  r  r  c                   @   r  )z&Session.PaymentMethodOptions.AmazonPayrT   r  r  NrH   r/   r/   r/   r0   	AmazonPayj  r  r  c                   @   r  )z(Session.PaymentMethodOptions.AuBecsDebitrT   r  NrH   r/   r/   r/   r0   AuBecsDebitv  r  r  c                   @   r  )z&Session.PaymentMethodOptions.BacsDebitr
  r  NrH   r/   r/   r/   r0   	BacsDebit  
   
 r  c                   @   r  )z'Session.PaymentMethodOptions.BancontactrT   r  NrH   r/   r/   r/   r0   
Bancontact  r  r  c                   @   (   e Zd ZU eed< 	 eed  ed< dS )z#Session.PaymentMethodOptions.Boletoexpires_after_daysr
  r  Nr(   r)   r*   r-   r,   r   r   r/   r/   r/   r0   Boleto  s   
 r"  c                   @   sn   e Zd ZU G dd deZee ed< ed ed< 	 eed  ed< 	 ee ed< 	 ee ed	< 	 deiZ	d
S )z!Session.PaymentMethodOptions.Cardc                   @   r   )z.Session.PaymentMethodOptions.Card.Installmentsr%   N)r(   r)   r*   r   r+   r,   r/   r/   r/   r0   Installments  rQ   r#  installmentsanyr  	challengerequest_three_d_securer
  r   statement_descriptor_suffix_kana!statement_descriptor_suffix_kanjiN)
r(   r)   r*   r   r#  r   r,   r   r.   r3   r/   r/   r/   r0   Card  s   
 	r+  c                   @   r  )z$Session.PaymentMethodOptions.CashapprT   r  NrH   r/   r/   r/   r0   Cashapp  r  r,  c                   @   sV   e Zd ZU G dd deZee ed< eed  ed< 	 eed  ed< 	 deiZdS )z,Session.PaymentMethodOptions.CustomerBalancec                   @   sZ   e Zd ZU G dd deZee ed< eeed   ed< 	 eed  ed< 	 deiZ	dS )	z9Session.PaymentMethodOptions.CustomerBalance.BankTransferc                   @   rJ   )zHSession.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer)BEDEESFRIENLr   NrO   r/   r/   r/   r0   EuBankTransfer  rQ   r3  eu_bank_transferabaibansepa	sort_codespeiswiftzenginrequested_address_typesr4  gb_bank_transferjp_bank_transfermx_bank_transferus_bank_transferr9   N)
r(   r)   r*   r   r3  r   r,   r   r   r3   r/   r/   r/   r0   BankTransfer  s$   
 	rC  bank_transferfunding_typerT   r  N)	r(   r)   r*   r   rC  r   r,   r   r3   r/   r/   r/   r0   CustomerBalance  s   
 (	rF  c                   @   r  )z Session.PaymentMethodOptions.EpsrT   r  NrH   r/   r/   r/   r0   Eps  r  rG  c                   @   r  )z Session.PaymentMethodOptions.FpxrT   r  NrH   r/   r/   r/   r0   Fpx"  r  rH  c                   @   r  )z$Session.PaymentMethodOptions.GiropayrT   r  NrH   r/   r/   r/   r0   Giropay.  r  rI  c                   @   r  )z$Session.PaymentMethodOptions.GrabpayrT   r  NrH   r/   r/   r/   r0   Grabpay:  r  rJ  c                   @   r  )z"Session.PaymentMethodOptions.IdealrT   r  NrH   r/   r/   r/   r0   IdealF  r  rK  c                   @   r  )z#Session.PaymentMethodOptions.Klarnar
  r  NrH   r/   r/   r/   r0   KlarnaR  r  rL  c                   @   ,   e Zd ZU ee ed< 	 eed  ed< dS )z$Session.PaymentMethodOptions.Konbinir   rT   r  N)r(   r)   r*   r   r-   r,   r   r/   r/   r/   r0   Konbini`  
   
 rN  c                   @   r  )z!Session.PaymentMethodOptions.Linkr  r  NrH   r/   r/   r/   r0   Linkp  r  rP  c                   @   r  )z&Session.PaymentMethodOptions.MobilepayrT   r  NrH   r/   r/   r/   r0   	Mobilepay|  r  rQ  c                   @   r  )z'Session.PaymentMethodOptions.MultibancorT   r  NrH   r/   r/   r/   r0   
Multibanco  r  rR  c                   @   r  )z!Session.PaymentMethodOptions.Oxxor   rT   r  Nr!  r/   r/   r/   r0   Oxxo  
   
 rS  c                   @   r  )z Session.PaymentMethodOptions.P24rT   r  NrH   r/   r/   r/   r0   P24  r  rU  c                   @   r  )z#Session.PaymentMethodOptions.PaynowrT   r  NrH   r/   r/   r/   r0   Paynow  r  rV  c                   @   sL   e Zd ZU eed  ed< 	 ee ed< 	 ee ed< 	 eed  ed< dS )z#Session.PaymentMethodOptions.Paypalmanualcapture_methodpreferred_locale	referencer  r  N)r(   r)   r*   r   r   r,   r.   r/   r/   r/   r0   Paypal  s   
 r[  c                   @   r   )z Session.PaymentMethodOptions.Pixexpires_after_secondsN)r(   r)   r*   r   r-   r,   r/   r/   r/   r0   Pix  rQ   r]  c                   @   r  )z'Session.PaymentMethodOptions.RevolutPayr  r  NrH   r/   r/   r/   r0   
RevolutPay  r  r^  c                   @   r  )z&Session.PaymentMethodOptions.SepaDebitr
  r  NrH   r/   r/   r/   r0   	SepaDebit  r  r_  c                   @   r  )z#Session.PaymentMethodOptions.SofortrT   r  NrH   r/   r/   r/   r0   Sofort  r  r`  c                   @   r   )z"Session.PaymentMethodOptions.SwishrZ  Nr   r/   r/   r/   r0   Swish   rQ   ra  c                   @   sV   e Zd ZU G dd deZee ed< eed  ed< 	 eed  ed< 	 deiZdS )	z*Session.PaymentMethodOptions.UsBankAccountc                   @   sl   e Zd ZU G dd deZee ed< eeed   ed< 	 eeed   ed< 	 ee	 ed< 	 deiZ
d	S )
z?Session.PaymentMethodOptions.UsBankAccount.FinancialConnectionsc                   @   s"   e Zd ZU eeed   ed< dS )zGSession.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters)checkingsavingsaccount_subcategoriesNr(   r)   r*   r   r   r   r,   r/   r/   r/   r0   Filters  s
   
 
rf  filtersbalances	ownershippayment_methodtransactionspermissionsri  rj  rl  prefetch
return_urlN)r(   r)   r*   r   rf  r   r,   r   r   r.   r3   r/   r/   r/   r0   FinancialConnections  s$   
 

rq  financial_connectionsr
  r  r  r  r  N)	r(   r)   r*   r   rq  r   r,   r   r3   r/   r/   r/   r0   UsBankAccount  s   
 #	rt  
acss_debitaffirmafterpay_clearpayalipay
amazon_payau_becs_debit
bacs_debit
bancontactboletocardcashappcustomer_balanceepsfpxgiropaygrabpayidealklarnakonbinilink	mobilepay
multibancooxxop24paynowpaypalpixrevolut_pay
sepa_debitsofortswishus_bank_account)r  r  r  r  r  r  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,  rF  rG  rH  rI  rJ  rK  rL  rN  rP  rQ  rR  rS  rU  rV  r[  r]  r^  r_  r`  ra  rt  r   r,   r3   r/   r/   r/   r0   PaymentMethodOptions  s   
 2":9	
r  c                   @   rw   )zSession.PhoneNumberCollectionr%   Nr(   r)   r*   r+   r,   r/   r/   r/   r0   PhoneNumberCollection  rz   r  c                   @   sF   e Zd ZU eeed   ed< 	 eed  ed< 	 eed  ed< dS )z!Session.SavedPaymentMethodOptionsalwayslimitedunspecifiedallow_redisplay_filtersdisabledr%   payment_method_removepayment_method_saveNre  r/   r/   r/   r0   SavedPaymentMethodOptions  s   
 
r  c                   @   r  )z!Session.ShippingAddressCollectionACADAEAFAGAIALAMAOAQARATAUAWAXAZBABBBDr-  BFBGBHBIBJBLBMBNBOBQBRBSBTBVBWBYBZCACDCFCGCHCICKCLCMCNCOCRCVCWCYCZr.  DJDKDMDODZECEEEGEHERr/  ETFIFJFKFOr0  GAGBGDGEGFGGGHGIGLGMGNGPGQGRGSGTGUGWGYHKHNHRHTHUIDr1  ILIMINIOIQISITJEJMJOJPKEKGKHKIKMKNKRKWKYKZLALBLCLILKLRLSLTLULVLYMAMCMDMEMFMGMKMLMMMNMOMQMRMSMTMUMVMWMXMYMZNANCNENGNIr2  NONPNRNUNZOMPAPEPFPGPHPKPLPMPNPRPSPTPYQARERORSRURWSASBSCSESGSHSISJSKSLSMSNSOSRSSSTSVSXSZTATCTDTFTGTHTJTKTLTMTNTOTRTTTVTWTZUAUGUSUYUZVAVCVEVGVNVUWFWSXKYEYTZAZMZWZZallowed_countriesNr(   r)   r*   r   r   r,   r/   r/   r/   r0   ShippingAddressCollection     
  rr  c                   @   sh   e Zd ZU G dd deZeed< 	 eed< 	 eed< 	 eed  ed< 	 ee	e  ed< 	 deiZ
d	S )
zSession.ShippingCostc                   @   @   e Zd ZU eed< 	 ded< 	 eed  ed< 	 ee ed< dS )zSession.ShippingCost.Taxamountr!   ratecustomer_exemptnot_collectingnot_subject_to_taxnot_supportedportion_product_exemptportion_reduced_ratedportion_standard_ratedproduct_exemptproduct_exempt_holidayproportionally_ratedreduced_ratedreverse_chargestandard_ratedtaxable_basis_reduced
zero_ratedtaxability_reasontaxable_amountNr!  r/   r/   r/   r0   Tax     
 r  rX   
amount_taxrY   r   shipping_ratetaxesN)r(   r)   r*   r   r  r-   r,   r   r   r   r3   r/   r/   r/   r0   ShippingCost  s   
 &r  c                   @   sj   e Zd ZU G d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dS )	zSession.ShippingDetailsc                   @   r   )zSession.ShippingDetails.Addressr   r   r   r   r   r   Nr   r/   r/   r/   r0   r     r   r   r   carrierr   r   tracking_numberN)	r(   r)   r*   r   r   r   r,   r.   r3   r/   r/   r/   r0   ShippingDetails  s   
 r  c                   @   $   e Zd ZU eed< 	 ed ed< dS )zSession.ShippingOptionshipping_amountr   r  N)r(   r)   r*   r-   r,   r   r/   r/   r/   r0   ShippingOption  r   r  c                   @   r  )zSession.TaxIdCollectionr%   if_supportedneverrV   N)r(   r)   r*   r+   r,   r   r/   r/   r/   r0   TaxIdCollection  r   r  c                   @   sT   e Zd ZU G dd deZeed< 	 ee ed< 	 eed< 	 ee ed< deiZdS )zSession.TotalDetailsc                   @   sT   e Zd ZU G dd deZG dd deZee ed< 	 ee ed< 	 eedZdS )	zSession.TotalDetails.Breakdownc                   @   s    e Zd ZU eed< 	 ded< dS )z'Session.TotalDetails.Breakdown.Discountr  DiscountResourcediscountN)r(   r)   r*   r-   r,   r/   r/   r/   r0   r     rb   r   c                   @   r  )z"Session.TotalDetails.Breakdown.Taxr  r!   r  r  r  r  Nr!  r/   r/   r/   r0   r    r  r  	discountsr  )r  r  N)	r(   r)   r*   r   r   r  r   r,   r3   r/   r/   r/   r0   	Breakdown  s   
 &r  amount_discountamount_shippingr  	breakdownN)	r(   r)   r*   r   r  r-   r,   r   r3   r/   r/   r/   r0   TotalDetails  s   
 >r  c                   @   s  e Zd ZU ed ed< 	 ee ed< 	 ed ed< 	 eed  ed< 	 ee ed< 	 ee ed	< 	 ed
 ed< 	 ee ed< 	 eed  ed< 	 ed ed< 	 ee ed< 	 eed  ed< 	 ee ed< 	 ed ed< 	 eed  ed< 	 eee  ed< 	 ee	 ed< 	 ed ed< 	 eed  ed< 	 eed  ed < 	 ee
eef  ed!< 	 eed"  ed#< 	 ed$ ed%< 	 eed  ed&< 	 ee ed'< 	 ed( ed)< 	 ed* ed+< 	 eeed,   ed-< 	 ed. ed/< 	 eed0  ed1< 	 ee ed2< 	 ed3 ed4< 	 ed5 ed6< 	 ed7 ed8< 	 eed9  ed:< 	 eed;  ed<< 	 ed= ed>< 	 ee ed?< 	 ed@ edA< 	 eedB  edC< dDS )ESession.CreateParams#Session.CreateParamsAfterExpirationafter_expirationr$    Session.CreateParamsAutomaticTaxautomatic_taxrL   rV   billing_address_collection
cancel_urlclient_reference_id%Session.CreateParamsConsentCollectionconsent_collectionr  Session.CreateParamsCustomFieldr   Session.CreateParamsCustomTextcustom_textcustomerr  if_requiredcustomer_creationcustomer_email"Session.CreateParamsCustomerUpdatecustomer_updateSession.CreateParamsDiscountr  expandr&   #Session.CreateParamsInvoiceCreationinvoice_creationSession.CreateParamsLineItem
line_items)rL   bgcsdadeelenen-GBeszes-419etfifilfrzfr-CAhrhur   itjakoltlvmsmtnbnlplptzpt-BRroruskslsvthtrvizhzzh-HKzzh-TWlocaler   paymentsetupr   mode%Session.CreateParamsPaymentIntentDatapayment_intent_datapayment_method_collectionpayment_method_configuration%Session.CreateParamsPaymentMethodDatapayment_method_data(Session.CreateParamsPaymentMethodOptionspayment_method_options)%ru  rv  rw  rx  ry  rz  r{  r|  blikr}  r~  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  	promptpayr  r  r  r  twintr  
wechat_payzippayment_method_types)Session.CreateParamsPhoneNumberCollectionphone_number_collectionr  r  r  redirect_on_completionrp  -Session.CreateParamsSavedPaymentMethodOptionssaved_payment_method_options#Session.CreateParamsSetupIntentDatasetup_intent_data-Session.CreateParamsShippingAddressCollectionshipping_address_collection"Session.CreateParamsShippingOptionshipping_optionsrL   bookdonatepaysubmit_type$Session.CreateParamsSubscriptionDatasubscription_datasuccess_url#Session.CreateParamsTaxIdCollectiontax_id_collectionembeddedhostedui_modeN)r(   r)   r*   r   r,   r+   r   r.   r   r-   r   r/   r/   r/   r0   CreateParams\  s   
 -+r&  c                   @   rJ   )r  +Session.CreateParamsAfterExpirationRecoveryr2   Nr(   r)   r*   r   r,   r/   r/   r/   r0   CreateParamsAfterExpiration  rQ   r)  c                   @   s$   e Zd ZU ee ed< 	 eed< dS )r'  r$   r%   Nr(   r)   r*   r   r+   r,   r/   r/   r/   r0   #CreateParamsAfterExpirationRecovery  
   
 r+  c                   @   r  )r  r%   )Session.CreateParamsAutomaticTaxLiabilityr=   Nr(   r)   r*   r+   r,   r   r/   r/   r/   r0   CreateParamsAutomaticTax  r   r/  c                   @   (   e Zd ZU ee ed< 	 ed ed< dS )r-  r6   r7   r9   Nr(   r)   r*   r   r.   r,   r   r/   r/   r/   r0   !CreateParamsAutomaticTaxLiability  rh   r2  c                   @   >   e Zd ZU ed ed< 	 eed  ed< 	 eed  ed< dS )r  @Session.CreateParamsConsentCollectionPaymentMethodReuseAgreementrR   rS   rE   rU   rG   Nr(   r)   r*   r   r,   r   r/   r/   r/   r0   CreateParamsConsentCollection  s   
 r6  c                   @   rJ   )r4  rK   rN   NrO   r/   r/   r/   r0   8CreateParamsConsentCollectionPaymentMethodReuseAgreement  rQ   r7  c                   @   sf   e Zd ZU ed ed< 	 eed< 	 ded< 	 ed ed< 	 ee ed< 	 ed	 ed
< 	 ed ed< dS )r  'Session.CreateParamsCustomFieldDropdownrp   rq   $Session.CreateParamsCustomFieldLabelr^   &Session.CreateParamsCustomFieldNumericrr   rs   #Session.CreateParamsCustomFieldTextrt   ru   r9   N)r(   r)   r*   r   r,   r.   r+   r   r/   r/   r/   r0   CreateParamsCustomField  s   
 r<  c                   @   r0  )r8  rc   -Session.CreateParamsCustomFieldDropdownOptionrd   N)r(   r)   r*   r   r.   r,   r   r/   r/   r/   r0   CreateParamsCustomFieldDropdown  rh   r>  c                   @   r]   )r=  r^   r_   Nr`   r/   r/   r/   r0   %CreateParamsCustomFieldDropdownOption  rb   r?  c                   @   s$   e Zd ZU eed< 	 ed ed< dS )r9  rf   r9   N)r(   r)   r*   r.   r,   r   r/   r/   r/   r0   CreateParamsCustomFieldLabel  r   r@  c                   @   6   e Zd ZU ee ed< 	 ee ed< 	 ee ed< dS )r:  rc   rj   rk   Nr(   r)   r*   r   r.   r,   r-   r/   r/   r/   r0   CreateParamsCustomFieldNumeric     
 rC  c                   @   rA  )r;  rc   rj   rk   NrB  r/   r/   r/   r0   CreateParamsCustomFieldText(  rD  rE  c                   @   sD   e Zd ZU ed ed< 	 ed ed< 	 ed ed< 	 ed ed< d	S )
r  z5Literal['']|Session.CreateParamsCustomTextAfterSubmitr~   z9Literal['']|Session.CreateParamsCustomTextShippingAddressr   z0Literal['']|Session.CreateParamsCustomTextSubmitr   zBLiteral['']|Session.CreateParamsCustomTextTermsOfServiceAcceptancer   Nr(  r/   r/   r/   r0   CreateParamsCustomText6  s   
 rF  c                   @   rw   )z)Session.CreateParamsCustomTextAfterSubmitrx   Nr`   r/   r/   r/   r0   !CreateParamsCustomTextAfterSubmitN  rz   rG  c                   @   rw   )z-Session.CreateParamsCustomTextShippingAddressrx   Nr`   r/   r/   r/   r0   %CreateParamsCustomTextShippingAddressT  rz   rH  c                   @   rw   )z$Session.CreateParamsCustomTextSubmitrx   Nr`   r/   r/   r/   r0   CreateParamsCustomTextSubmitZ  rz   rI  c                   @   rw   )z6Session.CreateParamsCustomTextTermsOfServiceAcceptancerx   Nr`   r/   r/   r/   r0   .CreateParamsCustomTextTermsOfServiceAcceptance`  rz   rJ  c                   @   sB   e Zd ZU eed  ed< 	 eed  ed< 	 eed  ed< dS )r  )rL   r  r   r   shippingNr(   r)   r*   r   r   r,   r/   r/   r/   r0   CreateParamsCustomerUpdatef  s   
 rM  c                   @   s(   e Zd ZU ee ed< 	 ee ed< dS )r  couponpromotion_codeNr(   r)   r*   r   r.   r,   r/   r/   r/   r0   CreateParamsDiscountv  rh   rQ  c                   @   r  )r  r%   .Session.CreateParamsInvoiceCreationInvoiceDatar   Nr.  r/   r/   r/   r0   CreateParamsInvoiceCreation  s   
 rS  c                   @   sv   e Zd ZU ed ed< 	 ed ed< 	 ee ed< 	 ee ed< 	 ed ed< 	 eeeef  ed	< 	 ed
 ed< dS )rR  zLiteral['']|List[str]r   zKLiteral['']|List[Session.CreateParamsInvoiceCreationInvoiceDataCustomField]r   r   r   4Session.CreateParamsInvoiceCreationInvoiceDataIssuerr   r   zJLiteral['']|Session.CreateParamsInvoiceCreationInvoiceDataRenderingOptionsr   N)r(   r)   r*   r   r,   r.   r   r/   r/   r/   r0   &CreateParamsInvoiceCreationInvoiceData  s*   
 rU  c                   @   r]   )z9Session.CreateParamsInvoiceCreationInvoiceDataCustomFieldr   r_   Nr`   r/   r/   r/   r0   1CreateParamsInvoiceCreationInvoiceDataCustomField  rb   rV  c                   @   r0  )rT  r6   r7   r9   Nr1  r/   r/   r/   r0   ,CreateParamsInvoiceCreationInvoiceDataIssuer  rh   rW  c                   @   rJ   )z>Session.CreateParamsInvoiceCreationInvoiceDataRenderingOptionsz;Literal['']|Literal['exclude_tax', 'include_inclusive_tax']r   Nr(  r/   r/   r/   r0   6CreateParamsInvoiceCreationInvoiceDataRenderingOptions  
   
 rX  c                   @   sh   e Zd ZU ed ed< 	 eee  ed< 	 ee ed< 	 ed ed< 	 ee ed< 	 eee  ed< d	S )
r  .Session.CreateParamsLineItemAdjustableQuantityadjustable_quantitydynamic_tax_ratesprice%Session.CreateParamsLineItemPriceData
price_dataquantity	tax_ratesN)r(   r)   r*   r   r,   r   r.   r-   r/   r/   r/   r0   CreateParamsLineItem  s   
 rb  c                   @   s2   e Zd ZU eed< 	 ee ed< 	 ee ed< dS )rZ  r%   maximumminimumN)r(   r)   r*   r+   r,   r   r-   r/   r/   r/   r0   &CreateParamsLineItemAdjustableQuantity  s   
 re  c                   @   sn   e Zd ZU eed< 	 ee ed< 	 ed ed< 	 ed ed< 	 eed  ed< 	 ee ed	< 	 ee ed
< dS )r^  r  product0Session.CreateParamsLineItemPriceDataProductDataproduct_data.Session.CreateParamsLineItemPriceDataRecurring	recurring	exclusive	inclusiver  tax_behaviorunit_amountunit_amount_decimalN)r(   r)   r*   r.   r,   r   r   r-   r/   r/   r/   r0   CreateParamsLineItemPriceData  s*   
 rq  c                   @   sZ   e Zd ZU ee ed< 	 eee  ed< 	 eeeef  ed< 	 eed< 	 ee ed< dS )rg  r   imagesr   r   tax_codeN)r(   r)   r*   r   r.   r,   r   r   r/   r/   r/   r0   (CreateParamsLineItemPriceDataProductData	  s   
 rt  c                   @   r   )ri  )daymonthweekyearr   interval_countN)r(   r)   r*   r   r,   r   r-   r/   r/   r/   r0   &CreateParamsLineItemPriceDataRecurring0	  rh   rz  c                   @   s   e Zd ZU ee ed< 	 eed  ed< 	 ee ed< 	 eeeef  ed< 	 ee ed< 	 ee ed< 	 eed  ed	< 	 ed
 ed< 	 ee ed< 	 ee ed< 	 ed ed< 	 ee ed< dS )r  application_fee_amount)r  automatic_asyncrW  rX  r   r   on_behalf_ofreceipt_emailr  r  r  -Session.CreateParamsPaymentIntentDataShippingrK  statement_descriptorstatement_descriptor_suffix1Session.CreateParamsPaymentIntentDataTransferDatatransfer_datatransfer_groupN)	r(   r)   r*   r   r-   r,   r   r.   r   r/   r/   r/   r0   CreateParamsPaymentIntentData:	  s:   
 r  c                   @   sJ   e Zd ZU ded< 	 ee ed< 	 eed< 	 ee ed< 	 ee ed< dS )r  4Session.CreateParamsPaymentIntentDataShippingAddressr   r  r   r   r  N)r(   r)   r*   r,   r   r.   r/   r/   r/   r0   %CreateParamsPaymentIntentDataShipping	  s   
 r  c                   @   s\   e Zd ZU ee ed< 	 ee ed< 	 eed< 	 ee ed< 	 ee ed< 	 ee ed< dS )r  r   r   r   r   r   r   NrP  r/   r/   r/   r0   ,CreateParamsPaymentIntentDataShippingAddress	  s   
 r  c                   @   $   e Zd ZU ee ed< 	 eed< dS )r  r  destinationN)r(   r)   r*   r   r-   r,   r.   r/   r/   r/   r0   )CreateParamsPaymentIntentDataTransferData	  r,  r  c                   @   r  )r  r  allow_redisplayNrL  r/   r/   r/   r0   CreateParamsPaymentMethodData	  r  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< 	 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,< 	 ed- ed.< 	 ed/ ed0< 	 ed1 ed2< 	 ed3 ed4< 	 ed5 ed6< 	 ed7 ed8< 	 ed9 ed:< 	 ed; ed<< 	 ed= ed>< 	 ed? ed@< 	 edA edB< dCS )Dr  1Session.CreateParamsPaymentMethodOptionsAcssDebitru  .Session.CreateParamsPaymentMethodOptionsAffirmrv  8Session.CreateParamsPaymentMethodOptionsAfterpayClearpayrw  .Session.CreateParamsPaymentMethodOptionsAlipayrx  1Session.CreateParamsPaymentMethodOptionsAmazonPayry  3Session.CreateParamsPaymentMethodOptionsAuBecsDebitrz  1Session.CreateParamsPaymentMethodOptionsBacsDebitr{  2Session.CreateParamsPaymentMethodOptionsBancontactr|  .Session.CreateParamsPaymentMethodOptionsBoletor}  ,Session.CreateParamsPaymentMethodOptionsCardr~  /Session.CreateParamsPaymentMethodOptionsCashappr  7Session.CreateParamsPaymentMethodOptionsCustomerBalancer  +Session.CreateParamsPaymentMethodOptionsEpsr  +Session.CreateParamsPaymentMethodOptionsFpxr  /Session.CreateParamsPaymentMethodOptionsGiropayr  /Session.CreateParamsPaymentMethodOptionsGrabpayr  -Session.CreateParamsPaymentMethodOptionsIdealr  .Session.CreateParamsPaymentMethodOptionsKlarnar  /Session.CreateParamsPaymentMethodOptionsKonbinir  ,Session.CreateParamsPaymentMethodOptionsLinkr  1Session.CreateParamsPaymentMethodOptionsMobilepayr  2Session.CreateParamsPaymentMethodOptionsMultibancor  ,Session.CreateParamsPaymentMethodOptionsOxxor  +Session.CreateParamsPaymentMethodOptionsP24r  .Session.CreateParamsPaymentMethodOptionsPaynowr  .Session.CreateParamsPaymentMethodOptionsPaypalr  +Session.CreateParamsPaymentMethodOptionsPixr  2Session.CreateParamsPaymentMethodOptionsRevolutPayr  1Session.CreateParamsPaymentMethodOptionsSepaDebitr  .Session.CreateParamsPaymentMethodOptionsSofortr  -Session.CreateParamsPaymentMethodOptionsSwishr  5Session.CreateParamsPaymentMethodOptionsUsBankAccountr  1Session.CreateParamsPaymentMethodOptionsWechatPayr	  Nr(  r/   r/   r/   r0    CreateParamsPaymentMethodOptions	  s   
 r  c                   @   sP   e Zd ZU eed  ed< 	 ed ed< 	 eed  ed< 	 eed  ed< d	S )
r  r  r  ?Session.CreateParamsPaymentMethodOptionsAcssDebitMandateOptionsr	  r
  r  r  r  NrL  r/   r/   r/   r0   )CreateParamsPaymentMethodOptionsAcssDebitm
  s   
 	r  c                   @   sb   e Zd ZU ed ed< 	 eeed   ed< 	 ee ed< 	 eed  ed< 	 eed  ed	< d
S )r  zLiteral['']|strr   r   r   r   r   r   r   r  N)r(   r)   r*   r   r,   r   r   r.   r/   r/   r/   r0   7CreateParamsPaymentMethodOptionsAcssDebitMandateOptions
  s   
 r  c                   @   r  )r  rT   r  NrL  r/   r/   r/   r0   &CreateParamsPaymentMethodOptionsAffirm
  r  r  c                   @   r  )r  rT   r  NrL  r/   r/   r/   r0   0CreateParamsPaymentMethodOptionsAfterpayClearpay
  r  r  c                   @   r  )r  rT   r  NrL  r/   r/   r/   r0   &CreateParamsPaymentMethodOptionsAlipay
  r  r  c                   @   r  )r  r  r  NrL  r/   r/   r/   r0   )CreateParamsPaymentMethodOptionsAmazonPay
  r  r  c                   @   r  )r  rT   r  NrL  r/   r/   r/   r0   +CreateParamsPaymentMethodOptionsAuBecsDebit
  r  r  c                   @   r  )r  r
  r  NrL  r/   r/   r/   r0   )CreateParamsPaymentMethodOptionsBacsDebit
  r  r  c                   @   r  )r  rT   r  NrL  r/   r/   r/   r0   *CreateParamsPaymentMethodOptionsBancontact
  r  r  c                   @   rM  )r  r   r
  r  Nr(   r)   r*   r   r-   r,   r   r/   r/   r/   r0   &CreateParamsPaymentMethodOptionsBoleto
  s   
 r  c                   @   sZ   e Zd ZU ed ed< 	 eed  ed< 	 eed  ed< 	 ee ed< 	 ee ed< d	S )
r  8Session.CreateParamsPaymentMethodOptionsCardInstallmentsr$  r%  r(  r  r  r)  r*  Nr(   r)   r*   r   r,   r   r.   r/   r/   r/   r0   $CreateParamsPaymentMethodOptionsCard  s   
 	r  c                   @   r   )r  r%   Nr*  r/   r/   r/   r0   0CreateParamsPaymentMethodOptionsCardInstallments-  rQ   r  c                   @   r  )r  r
  r  NrL  r/   r/   r/   r0   'CreateParamsPaymentMethodOptionsCashapp4  r  r  c                   @   s>   e Zd ZU ed ed< 	 eed  ed< 	 eed  ed< dS )r  CSession.CreateParamsPaymentMethodOptionsCustomerBalanceBankTransferrD  rE  rT   r  Nr5  r/   r/   r/   r0   /CreateParamsPaymentMethodOptionsCustomerBalanceB  s   
 r  c                   @   s>   e Zd ZU ed ed< 	 eeed   ed< 	 ed ed< dS )r  QSession.CreateParamsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferr4  r5  r=  r>  r9   N)r(   r)   r*   r   r,   r   r   r/   r/   r/   r0   ;CreateParamsPaymentMethodOptionsCustomerBalanceBankTransferX  s"   
 r  c                   @   rw   )r  r   Nr`   r/   r/   r/   r0   ICreateParamsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer~  s   
 r  c                   @   r  )r  rT   r  NrL  r/   r/   r/   r0   #CreateParamsPaymentMethodOptionsEps  r  r  c                   @   r  )r  rT   r  NrL  r/   r/   r/   r0   #CreateParamsPaymentMethodOptionsFpx  r  r  c                   @   r  )r  rT   r  NrL  r/   r/   r/   r0   'CreateParamsPaymentMethodOptionsGiropay  r  r  c                   @   r  )r  rT   r  NrL  r/   r/   r/   r0   'CreateParamsPaymentMethodOptionsGrabpay  r  r  c                   @   r  )r  rT   r  NrL  r/   r/   r/   r0   %CreateParamsPaymentMethodOptionsIdeal  r  r  c                   @   r  )r  rT   r  NrL  r/   r/   r/   r0   &CreateParamsPaymentMethodOptionsKlarna  r  r  c                   @   rM  )r  r   rT   r  Nr  r/   r/   r/   r0   'CreateParamsPaymentMethodOptionsKonbini  rO  r  c                   @   r  )r  r  r  NrL  r/   r/   r/   r0   $CreateParamsPaymentMethodOptionsLink  r  r  c                   @   r  )r  rT   r  NrL  r/   r/   r/   r0   )CreateParamsPaymentMethodOptionsMobilepay  r  r  c                   @   r  )r  rT   r  NrL  r/   r/   r/   r0   *CreateParamsPaymentMethodOptionsMultibanco  r  r  c                   @   rM  )r  r   rT   r  Nr  r/   r/   r/   r0   $CreateParamsPaymentMethodOptionsOxxo  rO  r  c                   @   s,   e Zd ZU eed  ed< 	 ee ed< dS )r  rT   r  tos_shown_and_acceptedN)r(   r)   r*   r   r   r,   r+   r/   r/   r/   r0   #CreateParamsPaymentMethodOptionsP24  s
   
 	r  c                   @   r  )r  rT   r  NrL  r/   r/   r/   r0   &CreateParamsPaymentMethodOptionsPaynow"  r  r  c                   @   sV   e Zd ZU ed ed< 	 eed  ed< 	 ee ed< 	 ee ed< 	 ed ed< d	S )
r  zLiteral['']|Literal['manual']rX  )zcs-CZzda-DKzde-ATzde-DEzde-LUzel-GRr  zen-USzes-ESzfi-FIzfr-BEzfr-FRzfr-LUzhu-HUzit-ITznl-BEznl-NLzpl-PLzpt-PTzsk-SKzsv-SErY  rZ  risk_correlation_idz*Literal['']|Literal['none', 'off_session']r  Nr  r/   r/   r/   r0   &CreateParamsPaymentMethodOptionsPaypal.  s"   
 r  c                   @   r   )r  r\  Nr(   r)   r*   r   r-   r,   r/   r/   r/   r0   #CreateParamsPaymentMethodOptionsPixf  rQ   r  c                   @   r  )r  r  r  NrL  r/   r/   r/   r0   *CreateParamsPaymentMethodOptionsRevolutPayl  r  r  c                   @   r  )r  r
  r  NrL  r/   r/   r/   r0   )CreateParamsPaymentMethodOptionsSepaDebitx  r  r  c                   @   r  )r  rT   r  NrL  r/   r/   r/   r0   &CreateParamsPaymentMethodOptionsSofort  r  r  c                   @   r   )r  rZ  NrP  r/   r/   r/   r0   %CreateParamsPaymentMethodOptionsSwish  rQ   r  c                   @   r3  )r  ISession.CreateParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsrr  r
  r  rs  r  Nr5  r/   r/   r/   r0   -CreateParamsPaymentMethodOptionsUsBankAccount  s   
 	r  c                   @   s8   e Zd ZU eeed   ed< 	 eeed   ed< dS )r  rh  rm  rn  ro  Nr(   r)   r*   r   r   r   r,   r/   r/   r/   r0   ACreateParamsPaymentMethodOptionsUsBankAccountFinancialConnections  s   
 
r  c                   @   s:   e Zd ZU ee ed< 	 ed ed< 	 eed  ed< dS )r  app_id)androidioswebclientrT   r  Nr1  r/   r/   r/   r0   )CreateParamsPaymentMethodOptionsWechatPay  s   
 r  c                   @   rw   )r  r%   Nr  r/   r/   r/   r0   !CreateParamsPhoneNumberCollection  rz   r  c                   @   s4   e Zd ZU eeed   ed< 	 eed  ed< dS )r  r  r  r  r  Nr  r/   r/   r/   r0   %CreateParamsSavedPaymentMethodOptions  s   
 
r  c                   @   s>   e Zd ZU ee ed< 	 eeeef  ed< 	 ee ed< dS )r  r   r   r}  N)r(   r)   r*   r   r.   r,   r   r/   r/   r/   r0   CreateParamsSetupIntentData  s   
 r  c                   @   r  )r  r  r  Nr  r/   r/   r/   r0   %CreateParamsShippingAddressCollection  r  r  c                   @   s(   e Zd ZU ee ed< 	 ed ed< dS )r  r  2Session.CreateParamsShippingOptionShippingRateDatashipping_rate_dataNrP  r/   r/   r/   r0   CreateParamsShippingOption  s   
 r  c                   @   sz   e Zd ZU ed ed< 	 eed< 	 ed ed< 	 eeeef  ed< 	 eed  ed< 	 ee ed	< 	 eed  ed
< dS )r  BSession.CreateParamsShippingOptionShippingRateDataDeliveryEstimatedelivery_estimatedisplay_name=Session.CreateParamsShippingOptionShippingRateDataFixedAmountfixed_amountr   rk  rn  rs  r9   N)r(   r)   r*   r   r,   r.   r   r   r/   r/   r/   r0   *CreateParamsShippingOptionShippingRateData  s*   
 r  c                   @   s(   e Zd ZU ed ed< 	 ed ed< dS )r  ISession.CreateParamsShippingOptionShippingRateDataDeliveryEstimateMaximumrc  ISession.CreateParamsShippingOptionShippingRateDataDeliveryEstimateMinimumrd  Nr(  r/   r/   r/   r0   :CreateParamsShippingOptionShippingRateDataDeliveryEstimate  s   
 r  c                   @   $   e Zd ZU ed ed< 	 eed< dS )r  business_dayru  hourrv  rw  unitr_   Nr(   r)   r*   r   r,   r-   r/   r/   r/   r0   ACreateParamsShippingOptionShippingRateDataDeliveryEstimateMaximum/  
   
 r  c                   @   r  )r  r  r  r_   Nr  r/   r/   r/   r0   ACreateParamsShippingOptionShippingRateDataDeliveryEstimateMinimum;  r  r  c                   @   s6   e Zd ZU eed< 	 eed< 	 eeedf  ed< dS )r  r  r  LSession.CreateParamsShippingOptionShippingRateDataFixedAmountCurrencyOptionscurrency_optionsN)r(   r)   r*   r-   r,   r.   r   r   r/   r/   r/   r0   5CreateParamsShippingOptionShippingRateDataFixedAmountG  s   
 r  c                   @   r  )r   r  rk  rn  N)r(   r)   r*   r-   r,   r   r   r/   r/   r/   r0   DCreateParamsShippingOptionShippingRateDataFixedAmountCurrencyOptionsZ  s   
 r  c                   @   s   e Zd ZU ee ed< 	 ee ed< 	 eee  ed< 	 ee ed< 	 ed ed< 	 ee	eef  ed< 	 ee ed< 	 ee
d	  ed
< 	 ed ed< 	 ee ed< 	 ee ed< 	 ed ed< dS )r  application_fee_percentbilling_cycle_anchordefault_tax_ratesr   3Session.CreateParamsSubscriptionDataInvoiceSettingsinvoice_settingsr   r}  )create_prorationsrT   proration_behavior0Session.CreateParamsSubscriptionDataTransferDatar  	trial_endtrial_period_days1Session.CreateParamsSubscriptionDataTrialSettingstrial_settingsN)r(   r)   r*   r   floatr,   r-   r   r.   r   r   r/   r/   r/   r0   CreateParamsSubscriptionDatah  s>   
 r  c                   @   rJ   )r  9Session.CreateParamsSubscriptionDataInvoiceSettingsIssuerr   Nr(  r/   r/   r/   r0   +CreateParamsSubscriptionDataInvoiceSettings  rY  r  c                   @   r0  )r  r6   r7   r9   Nr1  r/   r/   r/   r0   1CreateParamsSubscriptionDataInvoiceSettingsIssuer  rh   r  c                   @   r  )r  amount_percentr  N)r(   r)   r*   r   r  r,   r.   r/   r/   r/   r0   (CreateParamsSubscriptionDataTransferData  r,  r  c                   @   s   e Zd ZU ded< dS )r  <Session.CreateParamsSubscriptionDataTrialSettingsEndBehaviorend_behaviorN)r(   r)   r*   r,   r/   r/   r/   r0   )CreateParamsSubscriptionDataTrialSettings  s   
 r  c                   @   rJ   )r  )cancelcreate_invoicepausemissing_payment_methodNrO   r/   r/   r/   r0   4CreateParamsSubscriptionDataTrialSettingsEndBehavior  rQ   r  c                   @   r  )r   r%   r  rV   N)r(   r)   r*   r+   r,   r   r   r/   r/   r/   r0   CreateParamsTaxIdCollection  rT  r  c                   @      e Zd ZU eee  ed< dS )Session.ExpireParamsr  Nr(   r)   r*   r   r   r.   r,   r/   r/   r/   r0   ExpireParams  r  r#  c                   @   sH   e Zd ZU ee ed< 	 eee  ed< 	 ee ed< 	 ee ed< dS )Session.ListLineItemsParamsending_beforer  limitstarting_afterN)r(   r)   r*   r   r.   r,   r   r-   r/   r/   r/   r0   ListLineItemsParams  s   
 r(  c                   @   s   e Zd ZU ed ed< 	 ee ed< 	 ed ed< 	 ee ed< 	 eee  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< dS )Session.ListParamszSession.ListParamsCreated|intcreatedr  !Session.ListParamsCustomerDetailscustomer_detailsr%  r  r&  payment_intentpayment_linkr'  r>   expiredopenrA   r   N)	r(   r)   r*   r   r,   r.   r   r-   r   r/   r/   r/   r0   
ListParams  s.   
 r2  c                   @   sD   e Zd ZU ee ed< 	 ee ed< 	 ee ed< 	 ee ed< dS )zSession.ListParamsCreatedgtgter  lteNr  r/   r/   r/   r0   ListParamsCreated!  rn   r6  c                   @   rw   )r+  r   Nr`   r/   r/   r/   r0   ListParamsCustomerDetails3  rz   r7  c                   @   s,   e Zd ZU eee  ed< 	 ed ed< dS )Session.ModifyParamsr  zLiteral['']|Dict[str, str]r   Nr"  r/   r/   r/   r0   ModifyParams9  r<   r9  c                   @   r   )Session.RetrieveParamsr  Nr"  r/   r/   r/   r0   RetrieveParamsC  r  r;  r  r$   rX   rY   r  r  r  r  r  client_secretconsentr  r*  r  currency_conversionr   r  r   r  r  r  r,  r  r&   r   r   r   r  r   r  livemoder  r  r   r  r  objectr   r-  r   r.  r   $payment_method_configuration_detailsr  r  )no_payment_requiredpaidunpaidpayment_statusr  recovered_fromr  r  rp  r  r   setup_intentr  shipping_costshipping_detailsr  r/  rA   r  r  r   r   r  r!  total_detailsr"  r%  r'   paramsr  returnc                 K   s   t d| jd|  |dS )+
        Creates a Session object.
        r"   postrK  )r   _static_request	class_urlclsrK  r/   r/   r0   createX  s   zSession.createc                    s"   t d| jd|  |dI dH S )rM  r"   rN  rO  N)r   _static_request_asyncrQ  rR  r/   r/   r0   create_asyncf  s   
zSession.create_asyncsessionr!  c                 K   s"   t d| jddjt|d|dS )
        A Session can be expired when it is in one of these statuses: open

        After it expires, a customer can't complete a Session and customers loading the Session see a message saying the Session is expired.
        r"   rN  &/v1/checkout/sessions/{session}/expirerW  rO  )r   rP  formatr
   rS  rW  rK  r/   r/   r0   _cls_expirev  s   	zSession._cls_expirec                 K      dS rX  Nr/   rW  rK  r/   r/   r0   expire  s   
zSession.expirec                 K   r^  r_  r/   r8   rK  r/   r/   r0   ra       r]  c              	   K   s(   t d| jddjt| dd|dS )rX  r"   rN  rY  r   rZ  rO  )r   _requestr[  r
   getrb  r/   r/   r0   ra    s   	c                    s*   t d| jddjt|d|dI dH S )rX  r"   rN  rY  rZ  rO  N)r   rU  r[  r
   r\  r/   r/   r0   _cls_expire_async  s   	
zSession._cls_expire_asyncc                       dS r_  r/   r`  r/   r/   r0   expire_async  s   
zSession.expire_asyncc                    rg  r_  r/   rb  r/   r/   r0   rh    s   	rf  c              	      s0   t d| jddjt| dd|dI dH S )rX  r"   rN  rY  r   rZ  rO  N)r   _request_asyncr[  r
   re  rb  r/   r/   r0   rh    s   	
r)  c                 K   s4   | j d|  |d}t|tstdt|j |S )6
        Returns a list of Checkout Sessions.
        re  rO  %Expected list object from API, got %s)rP  rQ  
isinstancer   	TypeErrorr9   r(   rS  rK  resultr/   r/   r0   list  s   
zSession.listc                    s<   | j d|  |dI dH }t|tstdt|j |S )rj  re  rO  Nrk  )rU  rQ  rl  r   rm  r9   r(   rn  r/   r/   r0   
list_async  s   
zSession.list_asyncr$  c                 K   s&   t td | jddjt|d|dS )
        When retrieving a Checkout Session, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.
        r   re  */v1/checkout/sessions/{session}/line_itemsrZ  rO  )r   r   rP  r[  r
   r\  r/   r/   r0   _cls_list_line_items  s   zSession._cls_list_line_itemsc                 K   r^  rr  Nr/   r`  r/   r/   r0   list_line_items,  s   zSession.list_line_itemsc                 K   r^  ru  r/   rb  r/   r/   r0   rv  6  rc  rt  c              	   K   s,   t td | jddjt| dd|dS )rr  r   re  rs  r   rZ  rO  )r   r   rd  r[  r
   re  rb  r/   r/   r0   rv  ?  s   c                    s.   t td | jddjt|d|dI dH S )rr  r   re  rs  rZ  rO  N)r   r   rU  r[  r
   r\  r/   r/   r0   _cls_list_line_items_asyncQ  s   
z"Session._cls_list_line_items_asyncc                    rg  ru  r/   r`  r/   r/   r0   list_line_items_asyncc  s   zSession.list_line_items_asyncc                    rg  ru  r/   rb  r/   r/   r0   rx  m  s   rw  c              	      s4   t td | jddjt| dd|dI dH S )rr  r   re  rs  r   rZ  rO  N)r   r   ri  r[  r
   re  rb  r/   r/   r0   rx  v  s   
r8  c                 K   s*   d|   t|f }td| jd||dS )+
        Updates a Session object.
        %s/%sr"   rN  rO  )rQ  r
   r   rP  rS  r   rK  r'   r/   r/   r0   modify  s   zSession.modifyc                    s2   d|   t|f }td| jd||dI dH S )ry  rz  r"   rN  rO  N)rQ  r
   r   rU  r{  r/   r/   r0   modify_async  s   
zSession.modify_asyncr:  c                 K   s   | |fi |}|   |S )-
        Retrieves a Session object.
        )refreshrS  r   rK  instancer/   r/   r0   retrieve  s   zSession.retrievec                    s$   | |fi |}|  I dH  |S )r~  N)refresh_asyncr  r/   r/   r0   retrieve_async  s   zSession.retrieve_async)r!  rJ  N)r(   r)   r*   __doc__r#   r   r   r,   r   r4   rB   rI   rW   r\   rv   r   r   r   r   r  r  r  r  r  r  r  r  r  r   r&  r   r)  r+  r/  r2  r6  r7  r<  r>  r?  r@  rC  rE  rF  rG  rH  rI  rJ  rM  rQ  rS  rU  rV  rW  rX  rb  re  rq  rt  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  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r#  r(  r2  r6  r7  r9  r;  r   r+   r-   r.   r   r   r   r   classmethodr   rT  rV  r]  r   staticmethodra  r	   rf  rh  rp  rq  rt  rv  rw  rx  r|  r}  r  r  r3   r/   r/   r/   r0   r"   #   s  
 _0 E
    s x=.

N  D





$

$
N ! 

&8
 x
$


?


.





-
"
"



	
r"   N)9stripe._createable_api_resourcer   stripe._expandable_fieldr   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._accountr   stripe._customerr   stripe._discountr   r  stripe._invoicer   stripe._line_itemr   stripe._payment_intentr   stripe._payment_linkr   stripe._setup_intentr   stripe._shipping_rater   stripe._subscriptionr   stripe._tax_idr    r   stripe._tax_rater!   r"   r/   r/   r/   r0   <module>   s8    
