
    +h:k                    X   d dl mZ d dlmZmZ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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 d d
l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+ d dl,m-Z- d dl.m/Z/ d dl0m1Z1 d dl2m3Z3 d dl4m5Z5  G d ded   ed   ed         Z6y)    )util)CreateableAPIResourceListableAPIResourceUpdateableAPIResource)ExpandableField)
ListObject)RequestOptions)StripeObject)class_method_variant)AnyClassVarDictListOptionalUnioncastoverload)LiteralNotRequired	TypedDictUnpackTYPE_CHECKING)
quote_plus)Account)Application)BankAccount)Card)Customer)Mandate)PaymentIntent)PaymentMethod)SetupAttempt)Sourcec                      e Zd ZU dZdZeed      ed<    G d de      Z	 G d de      Z
 G d d	e      Z G d
 de      Z G d de      Zer G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d  d!e      Z G d" d#e      Z G d$ d%e      Z G d& d'e      Z G d( d)e      Z G d* d+e      Z G d, d-e      Z  G d. d/e      Z! G d0 d1e      Z" G d2 d3e      Z# G d4 d5e      Z$ G d6 d7e      Z% G d8 d9e      Z& G d: d;e      Z' G d< d=e      Z( G d> d?e      Z) G d@ dAe      Z* G dB dCe      Z+ G dD dEe      Z, G dF dGe      Z- G dH dIe      Z. G dJ dKe      Z/ G dL dMe      Z0 G dN dOe      Z1 G dP dQe      Z2 G dR dSe      Z3 G dT dUe      Z4 G dV dWe      Z5 G dX dYe      Z6 G dZ d[e      Z7 G d\ d]e      Z8 G d^ d_e      Z9 G d` dae      Z: G db dce      Z; G dd dee      Z< G df dge      Z= G dh die      Z> G dj dke      Z? G dl dme      Z@ G dn doe      ZA G dp dqe      ZB G dr dse      ZC G dt due      ZD G dv dwe      ZE G dx dye      ZF G dz d{e      ZG G d| d}e      ZH G d~ de      ZI G d de      ZJ G d de      ZK G d de      ZL G d de      ZM G d de      ZN G d de      ZO G d de      ZP G d de      ZQ G d de      ZR G d de      ZS G d de      ZT G d de      ZU G d de      ZV G d de      ZW G d de      ZX G d de      ZY G d de      ZZ G d de      Z[ G d de      Z\ G d de      Z] G d de      Z^ G d de      Z_ G d de      Z` G d de      Za G d de      Zb G d de      Zc G d de      Zd G d de      Ze G d de      Zf G d de      Zg G d de      Zh G d de      Zi G d de      Zj G d de      Zk G dĄ de      Zl G dƄ de      Zm G dȄ de      Zn G dʄ de      Zo G d̄ de      Zp G d΄ de      Zq G dЄ de      Zr G d҄ de      Zs G dԄ de      Zt G dք de      Zu G d؄ de      Zv G dڄ de      Zw G d܄ de      Zx G dބ de      Zy G d de      Zz G d de      Z{ G d de      Z| G d de      Z} G d de      Z~ G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d  de      Z G d de      Z G d de      Z G d de      Z G d d	e      Z G d
 de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d  d!e      Z G d" d#e      Z G d$ d%e      Z G d& d'e      Z G d( d)e      Z G d* d+e      Z G d, d-e      Z G d. d/e      Z G d0 d1e      Z G d2 d3e      Z G d4 d5e      Z G d6 d7e      Z G d8 d9e      Z G d: d;e      Z G d< d=e      Z G d> d?e      Z G d@ dAe      Z G dB dCe      Z G dD dEe      Z G dF dGe      Z G dH dIe      Z G dJ dKe      Z G dL dMe      Z G dN dOe      Z G dP dQe      Z G dR dSe      Z G dT dUe      Z G dV dWe      Z G dX dYe      Z G dZ d[e      Z G d\ d]e      Zeed^      ed_<   	 ee   ed`<   	 ee	   eda<   	 eedb      edc<   	 ee   edd<   	 eede<   	 eedf      edg<   	 ee   edh<   	 eeedi         edj<   	 eedk<   	 ee
   edl<   	 eedm      edn<   	 eedo<   	 eedp      edq<   	 eeeef      edr<   	 ee   eds<   	 ed   edt<   	 eedu      edv<   	 eedw      edx<   	 ee   edy<   	 ee   edz<   	 ee   ed{<   	 eedp      ed|<   	 ed}   ed~<   	 eed<   	 e	 	 	 ddedee   dee   dee   ded   dd fd       Zee	 	 	 ddedee   dee   dee   ded   dd fd              Ze	 ddee   ded   dd fd       Z eƐd      	 ddee   ded   dd fd       Ze	 	 	 ddedee   dee   dee   ded   dd fd       Zee	 	 	 ddedee   dee   dee   ded   dd fd              Ze	 ddee   ded   dd fd       Z eƐd      	 ddee   ded   dd fd       Ze	 	 	 	 ddee   dee   dee   dee   ded   dd fd       Ze	 	 	 ddee   dee   dee   ded   ded    f
d       Zedkeded   dd fd       Zedkeded   dd fd       Ze	 	 	 ddedee   dee   dee   ded   dd fd       Zee	 	 	 ddedee   dee   dee   ded   dd fd              Ze	 ddee   ded   dd fd       Z eƐd      	 ddee   ded   dd fd       Ze	e
eeedZАy(  SetupIntenta  
    A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments.
    For example, you can use a SetupIntent to set up and save your customer's card without immediately collecting a payment.
    Later, you can use [PaymentIntents](https://stripe.com/docs/api#payment_intents) to drive the payment flow.

    Create a SetupIntent when you're ready to collect your customer's payment credentials.
    Don't maintain long-lived, unconfirmed SetupIntents because they might not be valid.
    The SetupIntent transitions through multiple [statuses](https://stripe.com/docs/payments/intents#intent-statuses) as it guides
    you through the setup process.

    Successful SetupIntents result in payment credentials that are optimized for future payments.
    For example, cardholders in [certain regions](https://stripe.com/guides/strong-customer-authentication) might need to be run through
    [Strong Customer Authentication](https://stripe.com/docs/strong-customer-authentication) during payment method collection
    to streamline later [off-session payments](https://stripe.com/docs/payments/setup-intents).
    If you use the SetupIntent with a [Customer](https://stripe.com/docs/api#setup_intent_object-customer),
    it automatically attaches the resulting payment method to that Customer after successful setup.
    We recommend using SetupIntents or [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) on
    PaymentIntents to save payment methods to prevent saving invalid or unoptimized payment methods.

    By using SetupIntents, you can reduce friction for your customers, even as regulations change over time.

    Related guide: [Setup Intents API](https://stripe.com/docs/payments/setup-intents)
    setup_intentOBJECT_NAMEc                   6    e Zd ZU eed      ed<   	 ee   ed<   y)#SetupIntent.AutomaticPaymentMethods)alwaysneverallow_redirectsenabledN)__name__
__module____qualname__r   r   __annotations__bool     T/var/www/html/venv/lib/python3.12/site-packages/stripe/api_resources/setup_intent.pyAutomaticPaymentMethodsr)   D   s)    !'*;"<==	
 $	r4   r6   c                       e Zd ZU ee   ed<   	 eed      ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed	<   	 ed
   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 eed      ed<   ed   ed<   y)SetupIntent.LastSetupErrorcharge)account_closedaccount_country_invalid_address6account_error_country_change_requires_additional_stepsaccount_information_mismatchaccount_invalidaccount_number_invalidacss_debit_session_incompletealipay_upgrade_requiredamount_too_largeamount_too_smallapi_key_expiredapplication_fees_not_allowedauthentication_requiredbalance_insufficientbalance_invalid_parameter bank_account_bad_routing_numbersbank_account_declinedbank_account_existsbank_account_restrictedbank_account_unusablebank_account_unverified bank_account_verification_failedbilling_invalid_mandatebitcoin_upgrade_required$capture_charge_authorization_expiredcapture_unauthorized_payment card_decline_rate_limit_exceededcard_declined cardholder_phone_number_requiredcharge_already_capturedcharge_already_refundedcharge_disputedcharge_exceeds_source_limitcharge_expired_for_capturecharge_invalid_parametercharge_not_refundableclearing_code_unsupportedcountry_code_invalidcountry_unsupportedcoupon_expiredcustomer_max_payment_methodscustomer_max_subscriptionsdebit_not_authorizedemail_invalidexpired_cardidempotency_key_in_useincorrect_addressincorrect_cvcincorrect_numberincorrect_zipinstant_payouts_config_disabled!instant_payouts_currency_disabledinstant_payouts_limit_exceededinstant_payouts_unsupportedinsufficient_fundsintent_invalid_state"intent_verification_method_missinginvalid_card_typeinvalid_charactersinvalid_charge_amountinvalid_cvcinvalid_expiry_monthinvalid_expiry_yearinvalid_numberinvalid_source_usageinvalid_tax_locationinvoice_no_customer_line_itemsinvoice_no_payment_method_types"invoice_no_subscription_line_itemsinvoice_not_editable!invoice_on_behalf_of_not_editable&invoice_payment_intent_requires_actioninvoice_upcoming_nonelivemode_mismatchlock_timeoutmissing
no_accountnot_allowed_on_standard_accountout_of_inventory!ownership_declaration_not_allowedparameter_invalid_emptyparameter_invalid_integerparameter_invalid_string_blankparameter_invalid_string_emptyparameter_missingparameter_unknownparameters_exclusivepayment_intent_action_required%payment_intent_authentication_failure*payment_intent_incompatible_payment_method payment_intent_invalid_parameter3payment_intent_konbini_rejected_confirmation_numberpayment_intent_mandate_invalid&payment_intent_payment_attempt_expired%payment_intent_payment_attempt_failedpayment_intent_unexpected_state,payment_method_bank_account_already_verified#payment_method_bank_account_blocked.payment_method_billing_details_address_missing%payment_method_configuration_failures payment_method_currency_mismatchpayment_method_customer_decline payment_method_invalid_parameter)payment_method_invalid_parameter_testmode"payment_method_microdeposit_failed8payment_method_microdeposit_verification_amounts_invalid9payment_method_microdeposit_verification_amounts_mismatch:payment_method_microdeposit_verification_attempts_exceededApayment_method_microdeposit_verification_descriptor_code_mismatch0payment_method_microdeposit_verification_timeoutpayment_method_not_availablepayment_method_provider_declinepayment_method_provider_timeoutpayment_method_unactivatedpayment_method_unexpected_statepayment_method_unsupported_typepayout_reconciliation_not_readypayouts_limit_exceededpayouts_not_allowedplatform_account_requiredplatform_api_key_expiredpostal_code_invalidprocessing_errorproduct_inactive%progressive_onboarding_limit_exceeded
rate_limitrefer_to_customerrefund_disputed_paymentresource_already_existsresource_missingreturn_intent_already_processedrouting_number_invalidsecret_key_requiredsepa_unsupported_accountsetup_attempt_failed#setup_intent_authentication_failuresetup_intent_invalid_parametersetup_intent_mandate_invalid"setup_intent_setup_attempt_expiredsetup_intent_unexpected_stateshipping_calculation_failedsku_inactivestate_unsupportedstatus_transition_invalidstripe_tax_inactivetax_id_invalidtaxes_calculation_failed%terminal_location_country_unsupportedterminal_reader_busyterminal_reader_hardware_faultterminal_reader_offlineterminal_reader_timeouttestmode_charges_onlytls_version_unsupportedtoken_already_usedtoken_card_network_invalidtoken_in_use+transfer_source_balance_parameters_mismatchtransfers_not_allowedurl_invalidcodedecline_codedoc_urlmessageparamr    payment_intentr!   payment_methodpayment_method_typerequest_log_urlr%   r&   )r   r   CardResourcer#   source)	api_error
card_erroridempotency_errorinvalid_request_errortypeN)r.   r/   r0   r   strr1   r   r   r3   r4   r5   LastSetupErrorr8   P   s   	 _ac
 c	
H	 sm#	 #	 #	 }	 !11	 !11	 &c]*	 "#&	 }--	. DE
 	
 %
 	
	r4   r   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d	<   	 ee
e	ef      ed
<   	 ee   ed<   eeedZy)SetupIntent.NextActionc                   N    e Zd ZU  G d de      Zeed<   	 eed<   	 eed<   deiZy);SetupIntent.NextAction.CashappHandleRedirectOrDisplayQrCodec                   0    e Zd ZU eed<   	 eed<   	 eed<   y)BSetupIntent.NextAction.CashappHandleRedirectOrDisplayQrCode.QrCode
expires_atimage_url_pngimage_url_svgNr.   r/   r0   intr1   r   r3   r4   r5   QrCoder   Q  s&      #"  #"r4   r   hosted_instructions_urlmobile_auth_urlqr_codeN)r.   r/   r0   r
   r   r   r1   _inner_class_typesr3   r4   r5   $CashappHandleRedirectOrDisplayQrCoder   P  s:      &)( !  O"+V!4r4   r   c                   0    e Zd ZU ee   ed<   	 ee   ed<   y)$SetupIntent.NextAction.RedirectToUrl
return_urlurlNr.   r/   r0   r   r   r1   r3   r4   r5   RedirectToUrlr   j  s"     % #r4   r  c                   <    e Zd ZU eed<   	 eed<   	 eed      ed<   y).SetupIntent.NextAction.VerifyWithMicrodepositsarrival_datehosted_verification_url)amountsdescriptor_codemicrodeposit_typeN)r.   r/   r0   r   r1   r   r   r   r3   r4   r5   VerifyWithMicrodepositsr  t  s2     &)(  (0L(MNNr4   r
  *cashapp_handle_redirect_or_display_qr_coderedirect_to_urlr   use_stripe_sdkverify_with_microdeposits)r  r  r  N)r.   r/   r0   r
   r   r  r
  r   r1   r   r   r   r   r3   r4   r5   
NextActionr   O  s    	5< 	54	L 		l 	 5=05
 	
 "-00		 !c3h00	 $,,C#DD:^,)@
r4   r  c                   *    e Zd ZU eed<   	 ee   ed<   y)-SetupIntent.PaymentMethodConfigurationDetailsidparentN)r.   r/   r0   r   r1   r   r3   r4   r5   !PaymentMethodConfigurationDetailsr    s    	 	r4   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 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eee	dZy) SetupIntent.PaymentMethodOptionsc                   l    e Zd ZU  G d de      Zeed      ed<   	 ee   ed<   eed      ed<   	 deiZy)	*SetupIntent.PaymentMethodOptions.AcssDebitc                   ~    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<   y	)
9SetupIntent.PaymentMethodOptions.AcssDebit.MandateOptionscustom_mandate_url)invoicesubscriptiondefault_forinterval_description)combinedintervalsporadicpayment_schedule)businesspersonaltransaction_typeN)r.   r/   r0   r   r   r1   r   r   r3   r4   r5   MandateOptionsr    st    $,SM1 &d73L+M&NOO '/sm3 #+>?#  #+73I+J"KKr4   r'  )cadusdcurrencymandate_options	automaticinstantmicrodepositsverification_methodN)	r.   r/   r0   r
   r'  r   r   r1   r   r3   r4   r5   	AcssDebitr    sZ     0 w|455 &n55!)?@"  #4^!Dr4   r1  c                   n    e Zd ZU  G d de      Zee   ed<   	 eed      ed<   	 eed      ed<   	 deiZy)	%SetupIntent.PaymentMethodOptions.Cardc                       e Zd ZU eed<   	 ed   ed<   	 eed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed	<   	 eed
<   	 eed<   	 eeed         ed<   y)4SetupIntent.PaymentMethodOptions.Card.MandateOptionsamountfixedmaximumamount_typer*  descriptionend_datedaymonthr"  weekyearr!  interval_count	reference
start_dateindiasupported_typesN)	r.   r/   r0   r   r1   r   r   r   r   r3   r4   r5   r'  r5    s     %%788  &c]* #3-' ""LMM !)-    "*$ww/?*@!AAr4   r'  r+  )amexcartes_bancairesdinersdiscover	eftpos_auinteracjcb
mastercardunionpayunknownvisanetwork)anyr-  challenge_onlyrequest_three_d_secureN)	r.   r/   r0   r
   r'  r   r1   r   r   r3   r4   r5   r   r3    sl    ( (T &n55 
  %-<=%  #4^!Dr4   r   c                       e Zd ZU ee   ed<   y)%SetupIntent.PaymentMethodOptions.Linkpersistent_tokenNr  r3   r4   r5   LinkrW    s    &sm+r4   rY  c                       e Zd ZU ee   ed<   y)'SetupIntent.PaymentMethodOptions.Paypalbilling_agreement_idNr  r3   r4   r5   Paypalr[    s    "*3-/r4   r]  c                   <    e Zd ZU  G d de      Zee   ed<   deiZy)*SetupIntent.PaymentMethodOptions.SepaDebitc                       e Zd Zy)9SetupIntent.PaymentMethodOptions.SepaDebit.MandateOptionsNr.   r/   r0   r3   r4   r5   r'  ra    s    r4   r'  r+  N)r.   r/   r0   r
   r'  r   r1   r   r3   r4   r5   	SepaDebitr_    s&      &n55"3^!Dr4   rc  c                   T    e Zd ZU  G d de      Zee   ed<   eed      ed<   	 deiZy).SetupIntent.PaymentMethodOptions.UsBankAccountc                   Z    e Zd ZU eeed         ed<   	 eeed         ed<   	 ee   ed<   y)CSetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections)balances	ownershipr   transactionspermissionsrh  prefetchr   N)r.   r/   r0   r   r   r   r1   r   r3   r4   r5   FinancialConnectionsrg  #  sV    %,	 	 #4
(;#<== %SM)r4   rm  financial_connectionsr,  r0  N)	r.   r/   r0   r
   rm  r   r1   r   r   r3   r4   r5   UsBankAccountre  "  sG    | . $,,@#AA!)?@"  ()="r4   ro  
acss_debitcardlinkpaypal
sepa_debitus_bank_account)rp  rq  rr  rs  rt  ru  N)r.   r/   r0   r
   r1  r   rY  r]  rc  ro  r   r1   r   r3   r4   r5   PaymentMethodOptionsr    s    $	E $	ELG	E< G	ER	< 		\ 		E 	E!	L !	F Y''tntn  Y''!-00##,
r4   rv  c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)SetupIntent.CancelParamsz:Literal['abandoned', 'duplicate', 'requested_by_customer']cancellation_reason	List[str]expandNr.   r/   r0   r   r1   r3   r4   r5   CancelParamsrx  V  s)    !,L"   ,,r4   r}  c                       e Zd ZU ed   ed<   	 ed   ed<   ed   ed<   	 ed   ed<   	 ed	   ed
<   	 ed   ed<   	 ed   ed<   y)SetupIntent.ConfirmParamsrz  r{  zVLiteral['']|SetupIntent.ConfirmParamsMandateData|SetupIntent.ConfirmParamsMandateData2mandate_datar   r   *SetupIntent.ConfirmParamsPaymentMethodDatapayment_method_data-SetupIntent.ConfirmParamsPaymentMethodOptionspayment_method_optionsr   r2   r  Nr|  r3   r4   r5   ConfirmParamsr  b  s    ,, &h  (.. "-<"  %0?%  $E**
 (//r4   r  c                   x    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<   y)r  6SetupIntent.ConfirmParamsPaymentMethodOptionsAcssDebitrp  1SetupIntent.ConfirmParamsPaymentMethodOptionsCardrq  1SetupIntent.ConfirmParamsPaymentMethodOptionsLinkrr  3SetupIntent.ConfirmParamsPaymentMethodOptionsPaypalrs  6SetupIntent.ConfirmParamsPaymentMethodOptionsSepaDebitrt  :SetupIntent.ConfirmParamsPaymentMethodOptionsUsBankAccountru  Nr|  r3   r4   r5   !ConfirmParamsPaymentMethodOptionsz-SetupIntent.ConfirmParamsPaymentMethodOptions  s    #H  C  C   E  $H  )L r4   r  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)r  NSetupIntent.ConfirmParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsrn  BSetupIntent.ConfirmParamsPaymentMethodOptionsUsBankAccountNetworksnetworks0Literal['automatic', 'instant', 'microdeposits']r0  Nr|  r3   r4   r5   .ConfirmParamsPaymentMethodOptionsUsBankAccountz:SetupIntent.ConfirmParamsPaymentMethodOptionsUsBankAccount  sE    #.`$  "T  "-B" r4   r  c                       e Zd ZU ed   ed<   y)r  (List[Literal['ach', 'us_domestic_wire']]	requestedNr|  r3   r4   r5   6ConfirmParamsPaymentMethodOptionsUsBankAccountNetworkszBSetupIntent.ConfirmParamsPaymentMethodOptionsUsBankAccountNetworks  s     ##MNNr4   r  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)r  HList[Literal['balances', 'ownership', 'payment_method', 'transactions']]rk  List[Literal['balances']]rl  r   r   Nr|  r3   r4   r5   BConfirmParamsPaymentMethodOptionsUsBankAccountFinancialConnectionszNSetupIntent.ConfirmParamsPaymentMethodOptionsUsBankAccountFinancialConnections  >     %Z  ""=>> $E**r4   r  c                       e Zd ZU ed   ed<   y)r  DSetupIntent.ConfirmParamsPaymentMethodOptionsSepaDebitMandateOptionsr+  Nr|  r3   r4   r5   *ConfirmParamsPaymentMethodOptionsSepaDebitz6SetupIntent.ConfirmParamsPaymentMethodOptionsSepaDebit  s    (V r4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   8ConfirmParamsPaymentMethodOptionsSepaDebitMandateOptionszDSetupIntent.ConfirmParamsPaymentMethodOptionsSepaDebitMandateOptions       r4   r  c                       e Zd ZU ed   ed<   y)r  r   r\  Nr|  r3   r4   r5   'ConfirmParamsPaymentMethodOptionsPaypalz3SetupIntent.ConfirmParamsPaymentMethodOptionsPaypal      "-e"44r4   r  c                       e Zd ZU ed   ed<   y)r  r   rX  Nr|  r3   r4   r5   %ConfirmParamsPaymentMethodOptionsLinkz1SetupIntent.ConfirmParamsPaymentMethodOptionsLink      )%00r4   r  c                   T    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y	)
r  ?SetupIntent.ConfirmParamsPaymentMethodOptionsCardMandateOptionsr+  r2   motoLiteral['amex', 'cartes_bancaires', 'diners', 'discover', 'eftpos_au', 'interac', 'jcb', 'mastercard', 'unionpay', 'unknown', 'visa']rR  Literal['any', 'automatic']rU  Nr|  r3   r4   r5   %ConfirmParamsPaymentMethodOptionsCardz1SetupIntent.ConfirmParamsPaymentMethodOptionsCard  sV    (Q  f%%
 ! X  %00M$NNr4   r  c                       e Zd ZU eed<   	 ed   ed<   	 eed<   	 ed   ed<   	 ed   ed<   	 ed	   ed
<   	 ed   ed<   	 eed<   	 eed<   	 ed   ed<   y)r  r6  r7  r:  r*  r   r;  r   r<  r=  r!  rB  rC  rD  List[Literal['india']]rF  Nr.   r/   r0   r   r1   r   r   r   r3   r4   r5   3ConfirmParamsPaymentMethodOptionsCardMandateOptionsz?SetupIntent.ConfirmParamsPaymentMethodOptionsCardMandateOptions      K !!344 M %U++ "%(( HII (.. N O ))ABBr4   r  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)r  Literal['cad', 'usd']r*  DSetupIntent.ConfirmParamsPaymentMethodOptionsAcssDebitMandateOptionsr+  r  r0  Nr|  r3   r4   r5   *ConfirmParamsPaymentMethodOptionsAcssDebitz6SetupIntent.ConfirmParamsPaymentMethodOptionsAcssDebit5  sA    !"9:: )V  "-B" r4   r  c                   f    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
<   y)r  Literal['']|strr  (List[Literal['invoice', 'subscription']]r  r   r  +Literal['combined', 'interval', 'sporadic']r#  Literal['business', 'personal']r&  Nr|  r3   r4   r5   8ConfirmParamsPaymentMethodOptionsAcssDebitMandateOptionszDSetupIntent.ConfirmParamsPaymentMethodOptionsAcssDebitMandateOptionsG  h     !,,= >>
 %:  #.e"44 *=  **KLLr4   r  c                      e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed	   ed
<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 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<   	 edC   edD<   	 edE   edF<   	 edG   edH<   yI)Jr  3SetupIntent.ConfirmParamsPaymentMethodDataAcssDebitrp  0SetupIntent.ConfirmParamsPaymentMethodDataAffirmaffirm:SetupIntent.ConfirmParamsPaymentMethodDataAfterpayClearpayafterpay_clearpay0SetupIntent.ConfirmParamsPaymentMethodDataAlipayalipay5SetupIntent.ConfirmParamsPaymentMethodDataAuBecsDebitau_becs_debit3SetupIntent.ConfirmParamsPaymentMethodDataBacsDebit
bacs_debit4SetupIntent.ConfirmParamsPaymentMethodDataBancontact
bancontact8SetupIntent.ConfirmParamsPaymentMethodDataBillingDetailsbilling_details.SetupIntent.ConfirmParamsPaymentMethodDataBlikblik0SetupIntent.ConfirmParamsPaymentMethodDataBoletoboleto1SetupIntent.ConfirmParamsPaymentMethodDataCashappcashapp9SetupIntent.ConfirmParamsPaymentMethodDataCustomerBalancecustomer_balance-SetupIntent.ConfirmParamsPaymentMethodDataEpseps-SetupIntent.ConfirmParamsPaymentMethodDataFpxfpx1SetupIntent.ConfirmParamsPaymentMethodDataGiropaygiropay1SetupIntent.ConfirmParamsPaymentMethodDataGrabpaygrabpay/SetupIntent.ConfirmParamsPaymentMethodDataIdealideal8SetupIntent.ConfirmParamsPaymentMethodDataInteracPresentinterac_present0SetupIntent.ConfirmParamsPaymentMethodDataKlarnaklarna1SetupIntent.ConfirmParamsPaymentMethodDataKonbinikonbini.SetupIntent.ConfirmParamsPaymentMethodDataLinkrr  Dict[str, str]metadata.SetupIntent.ConfirmParamsPaymentMethodDataOxxooxxo-SetupIntent.ConfirmParamsPaymentMethodDataP24p240SetupIntent.ConfirmParamsPaymentMethodDataPaynowpaynow0SetupIntent.ConfirmParamsPaymentMethodDataPaypalrs  -SetupIntent.ConfirmParamsPaymentMethodDataPixpix3SetupIntent.ConfirmParamsPaymentMethodDataPromptpay	promptpay6SetupIntent.ConfirmParamsPaymentMethodDataRadarOptionsradar_options4SetupIntent.ConfirmParamsPaymentMethodDataRevolutPayrevolut_pay3SetupIntent.ConfirmParamsPaymentMethodDataSepaDebitrt  0SetupIntent.ConfirmParamsPaymentMethodDataSofortsofortrp  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  rr  r  r  r  rs  r  r  r  rt  r  ru  
wechat_payzipr   7SetupIntent.ConfirmParamsPaymentMethodDataUsBankAccountru  3SetupIntent.ConfirmParamsPaymentMethodDataWechatPayr  -SetupIntent.ConfirmParamsPaymentMethodDataZipr  Nr.   r/   r0   r   r1   r   r3   r4   r5   ConfirmParamsPaymentMethodDataz*SetupIntent.ConfirmParamsPaymentMethodDatae  s   #E   B   +L    B  'G  $E  $F  )J  NOO  B  !C  *K  LMM LMM !C  !C  A  )J   B  !C  NOO ""233 NOO LMM  B   B  LMM #E  'H  %F  $E   B     B )I  $E  LMMr4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   !ConfirmParamsPaymentMethodDataZipz-SetupIntent.ConfirmParamsPaymentMethodDataZipK      r4   r  c                       e Zd Zy)r   Nrb  r3   r4   r5   'ConfirmParamsPaymentMethodDataWechatPayz3SetupIntent.ConfirmParamsPaymentMethodDataWechatPayN  r  r4   r  c                   f    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<   y	)
r   Literal['company', 'individual']account_holder_typer   account_numberLiteral['checking', 'savings']account_typefinancial_connections_accountrouting_numberNr|  r3   r4   r5   +ConfirmParamsPaymentMethodDataUsBankAccountz7SetupIntent.ConfirmParamsPaymentMethodDataUsBankAccountQ  `    !,2"  (.. &&FGG ,7u+== (..r4   r  c                       e Zd ZU ed   ed<   y)r  ATBEDEESITNLcountryNr.   r/   r0   r   r1   r3   r4   r5   $ConfirmParamsPaymentMethodDataSofortz0SetupIntent.ConfirmParamsPaymentMethodDataSoforti      ?@@r4   r  c                       e Zd ZU eed<   y)r  ibanNr.   r/   r0   r   r1   r3   r4   r5   'ConfirmParamsPaymentMethodDataSepaDebitz3SetupIntent.ConfirmParamsPaymentMethodDataSepaDebito      Ir4   r"  c                       e Zd Zy)r  Nrb  r3   r4   r5   (ConfirmParamsPaymentMethodDataRevolutPayz4SetupIntent.ConfirmParamsPaymentMethodDataRevolutPayu  r  r4   r%  c                       e Zd ZU ed   ed<   y)r  r   sessionNr|  r3   r4   r5   *ConfirmParamsPaymentMethodDataRadarOptionsz6SetupIntent.ConfirmParamsPaymentMethodDataRadarOptionsx       ''r4   r(  c                       e Zd Zy)r  Nrb  r3   r4   r5   'ConfirmParamsPaymentMethodDataPromptpayz3SetupIntent.ConfirmParamsPaymentMethodDataPromptpay~  r  r4   r+  c                       e Zd Zy)r  Nrb  r3   r4   r5   !ConfirmParamsPaymentMethodDataPixz-SetupIntent.ConfirmParamsPaymentMethodDataPix  r  r4   r-  c                       e Zd Zy)r  Nrb  r3   r4   r5   $ConfirmParamsPaymentMethodDataPaypalz0SetupIntent.ConfirmParamsPaymentMethodDataPaypal  r  r4   r/  c                       e Zd Zy)r  Nrb  r3   r4   r5   $ConfirmParamsPaymentMethodDataPaynowz0SetupIntent.ConfirmParamsPaymentMethodDataPaynow  r  r4   r1  c                       e Zd ZU ed   ed<   y)r    Literal['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', 'ideabank', 'ing', 'inteligo', 'mbank_mtransfer', 'nest_przelew', 'noble_pay', 'pbac_z_ipko', 'plus_bank', 'santander_przelew24', 'tmobile_usbugi_bankowe', 'toyota_bank', 'volkswagen_bank']bankNr|  r3   r4   r5   !ConfirmParamsPaymentMethodDataP24z-SetupIntent.ConfirmParamsPaymentMethodDataP24       i r4   r5  c                       e Zd Zy)r  Nrb  r3   r4   r5   "ConfirmParamsPaymentMethodDataOxxoz.SetupIntent.ConfirmParamsPaymentMethodDataOxxo  r  r4   r8  c                       e Zd Zy)r  Nrb  r3   r4   r5   "ConfirmParamsPaymentMethodDataLinkz.SetupIntent.ConfirmParamsPaymentMethodDataLink  r  r4   r:  c                       e Zd Zy)r  Nrb  r3   r4   r5   %ConfirmParamsPaymentMethodDataKonbiniz1SetupIntent.ConfirmParamsPaymentMethodDataKonbini  r  r4   r<  c                       e Zd ZU ed   ed<   y)r  3SetupIntent.ConfirmParamsPaymentMethodDataKlarnaDobdobNr|  r3   r4   r5   $ConfirmParamsPaymentMethodDataKlarnaz0SetupIntent.ConfirmParamsPaymentMethodDataKlarna  s    E r4   r@  c                   0    e Zd ZU eed<   	 eed<   	 eed<   y)r>  r>  r?  rA  Nr.   r/   r0   r   r1   r3   r4   r5   'ConfirmParamsPaymentMethodDataKlarnaDobz3SetupIntent.ConfirmParamsPaymentMethodDataKlarnaDob  $    H J Ir4   rC  c                       e Zd Zy)r  Nrb  r3   r4   r5   ,ConfirmParamsPaymentMethodDataInteracPresentz8SetupIntent.ConfirmParamsPaymentMethodDataInteracPresent  r  r4   rF  c                       e Zd ZU ed   ed<   y)r  Literal['abn_amro', 'asn_bank', 'bunq', 'handelsbanken', 'ing', 'knab', 'moneyou', 'n26', 'rabobank', 'regiobank', 'revolut', 'sns_bank', 'triodos_bank', 'van_lanschot', 'yoursafe']r4  Nr|  r3   r4   r5   #ConfirmParamsPaymentMethodDataIdealz/SetupIntent.ConfirmParamsPaymentMethodDataIdeal       H r4   rI  c                       e Zd Zy)r  Nrb  r3   r4   r5   %ConfirmParamsPaymentMethodDataGrabpayz1SetupIntent.ConfirmParamsPaymentMethodDataGrabpay  r  r4   rL  c                       e Zd Zy)r  Nrb  r3   r4   r5   %ConfirmParamsPaymentMethodDataGiropayz1SetupIntent.ConfirmParamsPaymentMethodDataGiropay  r  r4   rN  c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)r  r
  r  
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uobr4  Nr  r3   r4   r5   !ConfirmParamsPaymentMethodDataFpxz-SetupIntent.ConfirmParamsPaymentMethodDataFpx  0    !,2"   0r4   rg  c                       e Zd ZU ed   ed<   y)r    Literal['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']r4  Nr|  r3   r4   r5   !ConfirmParamsPaymentMethodDataEpsz-SetupIntent.ConfirmParamsPaymentMethodDataEps       k r4   rk  c                       e Zd Zy)r  Nrb  r3   r4   r5   -ConfirmParamsPaymentMethodDataCustomerBalancez9SetupIntent.ConfirmParamsPaymentMethodDataCustomerBalance  r  r4   rn  c                       e Zd Zy)r  Nrb  r3   r4   r5   %ConfirmParamsPaymentMethodDataCashappz1SetupIntent.ConfirmParamsPaymentMethodDataCashapp  r  r4   rp  c                       e Zd ZU eed<   y)r  tax_idNr!  r3   r4   r5   $ConfirmParamsPaymentMethodDataBoletoz0SetupIntent.ConfirmParamsPaymentMethodDataBoleto      Kr4   rs  c                       e Zd Zy)r  Nrb  r3   r4   r5   "ConfirmParamsPaymentMethodDataBlikz.SetupIntent.ConfirmParamsPaymentMethodDataBlik  r  r4   rv  c                   T    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y)r  zKLiteral['']|SetupIntent.ConfirmParamsPaymentMethodDataBillingDetailsAddressaddressr  emailnamephoneNr|  r3   r4   r5   ,ConfirmParamsPaymentMethodDataBillingDetailsz8SetupIntent.ConfirmParamsPaymentMethodDataBillingDetails  sP     ]  011 /00 011r4   r|  c                   x    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<   y)	?SetupIntent.ConfirmParamsPaymentMethodDataBillingDetailsAddressr   cityr  line1line2postal_codestateNr|  r3   r4   r5   3ConfirmParamsPaymentMethodDataBillingDetailsAddressr~    l    e$$ !'' u%% u%% %U++ u%%r4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   (ConfirmParamsPaymentMethodDataBancontactz4SetupIntent.ConfirmParamsPaymentMethodDataBancontact*  r  r4   r  c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)r  r   r  	sort_codeNr|  r3   r4   r5   'ConfirmParamsPaymentMethodDataBacsDebitz3SetupIntent.ConfirmParamsPaymentMethodDataBacsDebit-  $    '.. #5))r4   r  c                   $    e Zd ZU eed<   	 eed<   y)r  r  
bsb_numberNr!  r3   r4   r5   )ConfirmParamsPaymentMethodDataAuBecsDebitz5SetupIntent.ConfirmParamsPaymentMethodDataAuBecsDebit7       Or4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   $ConfirmParamsPaymentMethodDataAlipayz0SetupIntent.ConfirmParamsPaymentMethodDataAlipayA  r  r4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   .ConfirmParamsPaymentMethodDataAfterpayClearpayz:SetupIntent.ConfirmParamsPaymentMethodDataAfterpayClearpayD  r  r4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   $ConfirmParamsPaymentMethodDataAffirmz0SetupIntent.ConfirmParamsPaymentMethodDataAffirmG  r  r4   r  c                   0    e Zd ZU eed<   	 eed<   	 eed<   y)r  r  institution_numbertransit_numberNr!  r3   r4   r5   'ConfirmParamsPaymentMethodDataAcssDebitz3SetupIntent.ConfirmParamsPaymentMethodDataAcssDebitJ  '     !$#  r4   r  c                       e Zd ZU ded<   y)%SetupIntent.ConfirmParamsMandateData27SetupIntent.ConfirmParamsMandateDataCustomerAcceptance2customer_acceptanceNr.   r/   r0   r1   r3   r4   r5   ConfirmParamsMandateData2r  X  s    !ZZr4   r  c                   *    e Zd ZU ded<   	 ed   ed<   y)r  =SetupIntent.ConfirmParamsMandateDataCustomerAcceptanceOnline2onliner   N)r.   r/   r0   r1   r   r3   r4   r5   +ConfirmParamsMandateDataCustomerAcceptance2z7SetupIntent.ConfirmParamsMandateDataCustomerAcceptance2^  s    SS (##r4   r  c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)r  r   
ip_address
user_agentNr|  r3   r4   r5   1ConfirmParamsMandateDataCustomerAcceptanceOnline2z=SetupIntent.ConfirmParamsMandateDataCustomerAcceptanceOnline2h  s$    #E** $E**r4   r  c                       e Zd ZU ded<   y)$SetupIntent.ConfirmParamsMandateData6SetupIntent.ConfirmParamsMandateDataCustomerAcceptancer  Nr  r3   r4   r5   ConfirmParamsMandateDatar  r  s    !YYr4   r  c                   T    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y	)
r  r   accepted_at=SetupIntent.ConfirmParamsMandateDataCustomerAcceptanceOfflineoffline<SetupIntent.ConfirmParamsMandateDataCustomerAcceptanceOnliner  r  r  r   Nr  r3   r4   r5   *ConfirmParamsMandateDataCustomerAcceptancez6SetupIntent.ConfirmParamsMandateDataCustomerAcceptancex  sS    $U++ !O   N  -..r4   r  c                   $    e Zd ZU eed<   	 eed<   y)r  r  r  Nr!  r3   r4   r5   0ConfirmParamsMandateDataCustomerAcceptanceOnlinez<SetupIntent.ConfirmParamsMandateDataCustomerAcceptanceOnline      O Or4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   1ConfirmParamsMandateDataCustomerAcceptanceOfflinez=SetupIntent.ConfirmParamsMandateDataCustomerAcceptanceOffline  r  r4   r  c                   b   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<   y) SetupIntent.CreateParamsr2   attach_to_self/SetupIntent.CreateParamsAutomaticPaymentMethodsautomatic_payment_methodsconfirmr   customerr;  rz  r{  $List[Literal['inbound', 'outbound']]flow_directionsz/Literal['']|SetupIntent.CreateParamsMandateDatar  r  r  on_behalf_ofr   payment_method_configuration)SetupIntent.CreateParamsPaymentMethodDatar  ,SetupIntent.CreateParamsPaymentMethodOptionsr  payment_method_typesr   !SetupIntent.CreateParamsSingleUse
single_usez$Literal['off_session', 'on_session']usager  Nr|  r3   r4   r5   CreateParamsr    sr   '//
 (3A(  !(( "%((
 %U++  ,, )6 
 &A  ""233 &e,, (.. +6e*<< "-;"  %0>%  #.k":: $E** $$GHH EFF (//r4   r  c                   $    e Zd ZU eed<   	 eed<   y)r  r6  r*  Nr   r3   r4   r5   CreateParamsSingleUsez!SetupIntent.CreateParamsSingleUse  s    K Mr4   r  c                   x    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<   y)r  5SetupIntent.CreateParamsPaymentMethodOptionsAcssDebitrp  0SetupIntent.CreateParamsPaymentMethodOptionsCardrq  0SetupIntent.CreateParamsPaymentMethodOptionsLinkrr  2SetupIntent.CreateParamsPaymentMethodOptionsPaypalrs  5SetupIntent.CreateParamsPaymentMethodOptionsSepaDebitrt  9SetupIntent.CreateParamsPaymentMethodOptionsUsBankAccountru  Nr|  r3   r4   r5    CreateParamsPaymentMethodOptionsz,SetupIntent.CreateParamsPaymentMethodOptions      #G  B  B   D  $G  )K r4   r  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)r  MSetupIntent.CreateParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsrn  ASetupIntent.CreateParamsPaymentMethodOptionsUsBankAccountNetworksr  r  r0  Nr|  r3   r4   r5   -CreateParamsPaymentMethodOptionsUsBankAccountz9SetupIntent.CreateParamsPaymentMethodOptionsUsBankAccount*  E    #._$  "S  "-B" r4   r  c                       e Zd ZU ed   ed<   y)r  r  r  Nr|  r3   r4   r5   5CreateParamsPaymentMethodOptionsUsBankAccountNetworkszASetupIntent.CreateParamsPaymentMethodOptionsUsBankAccountNetworks>      "#MNNr4   r  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)r  r  rk  r  rl  r   r   Nr|  r3   r4   r5   ACreateParamsPaymentMethodOptionsUsBankAccountFinancialConnectionszMSetupIntent.CreateParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsD  r  r4   r  c                       e Zd ZU ed   ed<   y)r  CSetupIntent.CreateParamsPaymentMethodOptionsSepaDebitMandateOptionsr+  Nr|  r3   r4   r5   )CreateParamsPaymentMethodOptionsSepaDebitz5SetupIntent.CreateParamsPaymentMethodOptionsSepaDebitV      (U r4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   7CreateParamsPaymentMethodOptionsSepaDebitMandateOptionszCSetupIntent.CreateParamsPaymentMethodOptionsSepaDebitMandateOptions^  r  r4   r  c                       e Zd ZU ed   ed<   y)r  r   r\  Nr|  r3   r4   r5   &CreateParamsPaymentMethodOptionsPaypalz2SetupIntent.CreateParamsPaymentMethodOptionsPaypalc  r  r4   r  c                       e Zd ZU ed   ed<   y)r  r   rX  Nr|  r3   r4   r5   $CreateParamsPaymentMethodOptionsLinkz0SetupIntent.CreateParamsPaymentMethodOptionsLinki  r  r4   r  c                   T    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y	)
r  >SetupIntent.CreateParamsPaymentMethodOptionsCardMandateOptionsr+  r2   r  r  rR  r  rU  Nr|  r3   r4   r5   $CreateParamsPaymentMethodOptionsCardz0SetupIntent.CreateParamsPaymentMethodOptionsCardo  V    (P  f%%
 ! X  %00M$NNr4   r  c                       e Zd ZU eed<   	 ed   ed<   	 eed<   	 ed   ed<   	 ed   ed<   	 ed	   ed
<   	 ed   ed<   	 eed<   	 eed<   	 ed   ed<   y)r  r6  r7  r:  r*  r   r;  r   r<  r=  r!  rB  rC  rD  r  rF  Nr  r3   r4   r5   2CreateParamsPaymentMethodOptionsCardMandateOptionsz>SetupIntent.CreateParamsPaymentMethodOptionsCardMandateOptions  r  r4   r  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)r  r  r*  CSetupIntent.CreateParamsPaymentMethodOptionsAcssDebitMandateOptionsr+  r  r0  Nr|  r3   r4   r5   )CreateParamsPaymentMethodOptionsAcssDebitz5SetupIntent.CreateParamsPaymentMethodOptionsAcssDebit  A    !"9:: )U  "-B" r4   r  c                   f    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
<   y)r  r  r  r  r  r   r  r  r#  r  r&  Nr|  r3   r4   r5   7CreateParamsPaymentMethodOptionsAcssDebitMandateOptionszCSetupIntent.CreateParamsPaymentMethodOptionsAcssDebitMandateOptions  r  r4   r  c                      e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed	   ed
<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 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<   	 edC   edD<   	 edE   edF<   	 edG   edH<   yI)Jr  2SetupIntent.CreateParamsPaymentMethodDataAcssDebitrp  /SetupIntent.CreateParamsPaymentMethodDataAffirmr  9SetupIntent.CreateParamsPaymentMethodDataAfterpayClearpayr  /SetupIntent.CreateParamsPaymentMethodDataAlipayr  4SetupIntent.CreateParamsPaymentMethodDataAuBecsDebitr  2SetupIntent.CreateParamsPaymentMethodDataBacsDebitr  3SetupIntent.CreateParamsPaymentMethodDataBancontactr  7SetupIntent.CreateParamsPaymentMethodDataBillingDetailsr  -SetupIntent.CreateParamsPaymentMethodDataBlikr  /SetupIntent.CreateParamsPaymentMethodDataBoletor  0SetupIntent.CreateParamsPaymentMethodDataCashappr  8SetupIntent.CreateParamsPaymentMethodDataCustomerBalancer  ,SetupIntent.CreateParamsPaymentMethodDataEpsr  ,SetupIntent.CreateParamsPaymentMethodDataFpxr  0SetupIntent.CreateParamsPaymentMethodDataGiropayr  0SetupIntent.CreateParamsPaymentMethodDataGrabpayr  .SetupIntent.CreateParamsPaymentMethodDataIdealr  7SetupIntent.CreateParamsPaymentMethodDataInteracPresentr  /SetupIntent.CreateParamsPaymentMethodDataKlarnar  0SetupIntent.CreateParamsPaymentMethodDataKonbinir  -SetupIntent.CreateParamsPaymentMethodDataLinkrr  r  r  -SetupIntent.CreateParamsPaymentMethodDataOxxor  ,SetupIntent.CreateParamsPaymentMethodDataP24r  /SetupIntent.CreateParamsPaymentMethodDataPaynowr  /SetupIntent.CreateParamsPaymentMethodDataPaypalrs  ,SetupIntent.CreateParamsPaymentMethodDataPixr  2SetupIntent.CreateParamsPaymentMethodDataPromptpayr  5SetupIntent.CreateParamsPaymentMethodDataRadarOptionsr  3SetupIntent.CreateParamsPaymentMethodDataRevolutPayr  2SetupIntent.CreateParamsPaymentMethodDataSepaDebitrt  /SetupIntent.CreateParamsPaymentMethodDataSofortr  r  r   6SetupIntent.CreateParamsPaymentMethodDataUsBankAccountru  2SetupIntent.CreateParamsPaymentMethodDataWechatPayr  ,SetupIntent.CreateParamsPaymentMethodDataZipr  Nr  r3   r4   r5   CreateParamsPaymentMethodDataz)SetupIntent.CreateParamsPaymentMethodData     #D   A   +K    A  'F  $D  $E  )I  MNN  A  !B  *J  KLL KLL !B  !B  @  )I   A  !B  MNN ""233 MNN KLL  A   A  KLL #D  'G  %E  $D   A     B )H  $D  KLLr4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5    CreateParamsPaymentMethodDataZipz,SetupIntent.CreateParamsPaymentMethodDataZip  r  r4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   &CreateParamsPaymentMethodDataWechatPayz2SetupIntent.CreateParamsPaymentMethodDataWechatPay  r  r4   r  c                   f    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<   y	)
r  r
  r  r   r  r  r  r  r  Nr|  r3   r4   r5   *CreateParamsPaymentMethodDataUsBankAccountz6SetupIntent.CreateParamsPaymentMethodDataUsBankAccount  r  r4   r   c                       e Zd ZU ed   ed<   y)r  r  r  Nr  r3   r4   r5   #CreateParamsPaymentMethodDataSofortz/SetupIntent.CreateParamsPaymentMethodDataSofort  r  r4   r"  c                       e Zd ZU eed<   y)r  r   Nr!  r3   r4   r5   &CreateParamsPaymentMethodDataSepaDebitz2SetupIntent.CreateParamsPaymentMethodDataSepaDebit  r#  r4   r$  c                       e Zd Zy)r  Nrb  r3   r4   r5   'CreateParamsPaymentMethodDataRevolutPayz3SetupIntent.CreateParamsPaymentMethodDataRevolutPay  r  r4   r&  c                       e Zd ZU ed   ed<   y)r  r   r'  Nr|  r3   r4   r5   )CreateParamsPaymentMethodDataRadarOptionsz5SetupIntent.CreateParamsPaymentMethodDataRadarOptions  r)  r4   r(  c                       e Zd Zy)r  Nrb  r3   r4   r5   &CreateParamsPaymentMethodDataPromptpayz2SetupIntent.CreateParamsPaymentMethodDataPromptpay  r  r4   r*  c                       e Zd Zy)r  Nrb  r3   r4   r5    CreateParamsPaymentMethodDataPixz,SetupIntent.CreateParamsPaymentMethodDataPix  r  r4   r,  c                       e Zd Zy)r  Nrb  r3   r4   r5   #CreateParamsPaymentMethodDataPaypalz/SetupIntent.CreateParamsPaymentMethodDataPaypal   r  r4   r.  c                       e Zd Zy)r  Nrb  r3   r4   r5   #CreateParamsPaymentMethodDataPaynowz/SetupIntent.CreateParamsPaymentMethodDataPaynow  r  r4   r0  c                       e Zd ZU ed   ed<   y)r  r3  r4  Nr|  r3   r4   r5    CreateParamsPaymentMethodDataP24z,SetupIntent.CreateParamsPaymentMethodDataP24  r6  r4   r2  c                       e Zd Zy)r  Nrb  r3   r4   r5   !CreateParamsPaymentMethodDataOxxoz-SetupIntent.CreateParamsPaymentMethodDataOxxo  r  r4   r4  c                       e Zd Zy)r  Nrb  r3   r4   r5   !CreateParamsPaymentMethodDataLinkz-SetupIntent.CreateParamsPaymentMethodDataLink  r  r4   r6  c                       e Zd Zy)r
  Nrb  r3   r4   r5   $CreateParamsPaymentMethodDataKonbiniz0SetupIntent.CreateParamsPaymentMethodDataKonbini  r  r4   r8  c                       e Zd ZU ed   ed<   y)r	  2SetupIntent.CreateParamsPaymentMethodDataKlarnaDobr?  Nr|  r3   r4   r5   #CreateParamsPaymentMethodDataKlarnaz/SetupIntent.CreateParamsPaymentMethodDataKlarna      D r4   r;  c                   0    e Zd ZU eed<   	 eed<   	 eed<   y)r:  r>  r?  rA  NrB  r3   r4   r5   &CreateParamsPaymentMethodDataKlarnaDobz2SetupIntent.CreateParamsPaymentMethodDataKlarnaDob  rD  r4   r>  c                       e Zd Zy)r  Nrb  r3   r4   r5   +CreateParamsPaymentMethodDataInteracPresentz7SetupIntent.CreateParamsPaymentMethodDataInteracPresent-  r  r4   r@  c                       e Zd ZU ed   ed<   y)r  rH  r4  Nr|  r3   r4   r5   "CreateParamsPaymentMethodDataIdealz.SetupIntent.CreateParamsPaymentMethodDataIdeal0  rJ  r4   rB  c                       e Zd Zy)r  Nrb  r3   r4   r5   $CreateParamsPaymentMethodDataGrabpayz0SetupIntent.CreateParamsPaymentMethodDataGrabpay8  r  r4   rD  c                       e Zd Zy)r  Nrb  r3   r4   r5   $CreateParamsPaymentMethodDataGiropayz0SetupIntent.CreateParamsPaymentMethodDataGiropay;  r  r4   rF  c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)r  r
  r  rP  r4  Nr  r3   r4   r5    CreateParamsPaymentMethodDataFpxz,SetupIntent.CreateParamsPaymentMethodDataFpx>  rh  r4   rH  c                       e Zd ZU ed   ed<   y)r  rj  r4  Nr|  r3   r4   r5    CreateParamsPaymentMethodDataEpsz,SetupIntent.CreateParamsPaymentMethodDataEpsa  rl  r4   rJ  c                       e Zd Zy)r  Nrb  r3   r4   r5   ,CreateParamsPaymentMethodDataCustomerBalancez8SetupIntent.CreateParamsPaymentMethodDataCustomerBalancei  r  r4   rL  c                       e Zd Zy)r  Nrb  r3   r4   r5   $CreateParamsPaymentMethodDataCashappz0SetupIntent.CreateParamsPaymentMethodDataCashappl  r  r4   rN  c                       e Zd ZU eed<   y)r   rr  Nr!  r3   r4   r5   #CreateParamsPaymentMethodDataBoletoz/SetupIntent.CreateParamsPaymentMethodDataBoletoo  rt  r4   rP  c                       e Zd Zy)r  Nrb  r3   r4   r5   !CreateParamsPaymentMethodDataBlikz-SetupIntent.CreateParamsPaymentMethodDataBliku  r  r4   rR  c                   T    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y)r  zJLiteral['']|SetupIntent.CreateParamsPaymentMethodDataBillingDetailsAddressrx  r  ry  rz  r{  Nr|  r3   r4   r5   +CreateParamsPaymentMethodDataBillingDetailsz7SetupIntent.CreateParamsPaymentMethodDataBillingDetailsx  P     \  011 /00 011r4   rT  c                   x    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<   y)	>SetupIntent.CreateParamsPaymentMethodDataBillingDetailsAddressr   r  r  r  r  r  r  Nr|  r3   r4   r5   2CreateParamsPaymentMethodDataBillingDetailsAddressrW    r  r4   rX  c                       e Zd Zy)r  Nrb  r3   r4   r5   'CreateParamsPaymentMethodDataBancontactz3SetupIntent.CreateParamsPaymentMethodDataBancontact  r  r4   rZ  c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)r  r   r  r  Nr|  r3   r4   r5   &CreateParamsPaymentMethodDataBacsDebitz2SetupIntent.CreateParamsPaymentMethodDataBacsDebit  r  r4   r\  c                   $    e Zd ZU eed<   	 eed<   y)r  r  r  Nr!  r3   r4   r5   (CreateParamsPaymentMethodDataAuBecsDebitz4SetupIntent.CreateParamsPaymentMethodDataAuBecsDebit  r  r4   r^  c                       e Zd Zy)r  Nrb  r3   r4   r5   #CreateParamsPaymentMethodDataAlipayz/SetupIntent.CreateParamsPaymentMethodDataAlipay  r  r4   r`  c                       e Zd Zy)r  Nrb  r3   r4   r5   -CreateParamsPaymentMethodDataAfterpayClearpayz9SetupIntent.CreateParamsPaymentMethodDataAfterpayClearpay  r  r4   rb  c                       e Zd Zy)r  Nrb  r3   r4   r5   #CreateParamsPaymentMethodDataAffirmz/SetupIntent.CreateParamsPaymentMethodDataAffirm  r  r4   rd  c                   0    e Zd ZU eed<   	 eed<   	 eed<   y)r  r  r  r  Nr!  r3   r4   r5   &CreateParamsPaymentMethodDataAcssDebitz2SetupIntent.CreateParamsPaymentMethodDataAcssDebit  r  r4   rf  c                       e Zd ZU ded<   y)#SetupIntent.CreateParamsMandateData5SetupIntent.CreateParamsMandateDataCustomerAcceptancer  Nr  r3   r4   r5   CreateParamsMandateDatarh    s    !XXr4   rj  c                   T    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y	)
ri  r   r  <SetupIntent.CreateParamsMandateDataCustomerAcceptanceOffliner  ;SetupIntent.CreateParamsMandateDataCustomerAcceptanceOnliner  r  r   Nr  r3   r4   r5   )CreateParamsMandateDataCustomerAcceptancez5SetupIntent.CreateParamsMandateDataCustomerAcceptance  sS    $U++ !N   M  -..r4   rn  c                   $    e Zd ZU eed<   	 eed<   y)rm  r  r  Nr!  r3   r4   r5   /CreateParamsMandateDataCustomerAcceptanceOnlinez;SetupIntent.CreateParamsMandateDataCustomerAcceptanceOnline  r  r4   rp  c                       e Zd Zy)rl  Nrb  r3   r4   r5   0CreateParamsMandateDataCustomerAcceptanceOfflinez<SetupIntent.CreateParamsMandateDataCustomerAcceptanceOffline  r  r4   rr  c                   *    e Zd ZU ed   ed<   	 eed<   y)r  zLiteral['always', 'never']r,   r-   N)r.   r/   r0   r   r1   r2   r3   r4   r5   #CreateParamsAutomaticPaymentMethodsz/SetupIntent.CreateParamsAutomaticPaymentMethods  s    ()EFF
 Mr4   rt  c                       e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed	<   	 ed
   ed<   	 ed   ed<   	 ed   ed<   y)SetupIntent.ListParamsr2   r  z!SetupIntent.ListParamsCreated|intcreatedr   r  ending_beforerz  r{  r   limitr   starting_afterNr|  r3   r4   r5   
ListParamsrv  		  s    '//
 !!DEE "%(( 'u--  ,, u%% (.. (..r4   r{  c                   T    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y)SetupIntent.ListParamsCreatedr   gtgteltlteNr|  r3   r4   r5   ListParamsCreatedr}  -	  sH    E"" U## E"" U##r4   r  c                       e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed	<   	 ed
   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y)SetupIntent.ModifyParamsr2   r  r   r  r;  rz  r{  r  r  zLiteral['']|Dict[str, str]r  r   r  )SetupIntent.ModifyParamsPaymentMethodDatar  ,SetupIntent.ModifyParamsPaymentMethodOptionsr  r  Nr|  r3   r4   r5   ModifyParamsr  ?	  s    '//
 "%((
 %U++  ,, )6 
 "">?? (.. +6e*<< "-;"  %0>%  #.k"::r4   r  c                   x    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<   y)r  5SetupIntent.ModifyParamsPaymentMethodOptionsAcssDebitrp  0SetupIntent.ModifyParamsPaymentMethodOptionsCardrq  0SetupIntent.ModifyParamsPaymentMethodOptionsLinkrr  2SetupIntent.ModifyParamsPaymentMethodOptionsPaypalrs  5SetupIntent.ModifyParamsPaymentMethodOptionsSepaDebitrt  9SetupIntent.ModifyParamsPaymentMethodOptionsUsBankAccountru  Nr|  r3   r4   r5    ModifyParamsPaymentMethodOptionsz,SetupIntent.ModifyParamsPaymentMethodOptionsz	  r  r4   r  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)r  MSetupIntent.ModifyParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsrn  ASetupIntent.ModifyParamsPaymentMethodOptionsUsBankAccountNetworksr  r  r0  Nr|  r3   r4   r5   -ModifyParamsPaymentMethodOptionsUsBankAccountz9SetupIntent.ModifyParamsPaymentMethodOptionsUsBankAccount	  r  r4   r  c                       e Zd ZU ed   ed<   y)r  r  r  Nr|  r3   r4   r5   5ModifyParamsPaymentMethodOptionsUsBankAccountNetworkszASetupIntent.ModifyParamsPaymentMethodOptionsUsBankAccountNetworks	  r  r4   r  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)r  r  rk  r  rl  r   r   Nr|  r3   r4   r5   AModifyParamsPaymentMethodOptionsUsBankAccountFinancialConnectionszMSetupIntent.ModifyParamsPaymentMethodOptionsUsBankAccountFinancialConnections	  r  r4   r  c                       e Zd ZU ed   ed<   y)r  CSetupIntent.ModifyParamsPaymentMethodOptionsSepaDebitMandateOptionsr+  Nr|  r3   r4   r5   )ModifyParamsPaymentMethodOptionsSepaDebitz5SetupIntent.ModifyParamsPaymentMethodOptionsSepaDebit	  r  r4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   7ModifyParamsPaymentMethodOptionsSepaDebitMandateOptionszCSetupIntent.ModifyParamsPaymentMethodOptionsSepaDebitMandateOptions	  r  r4   r  c                       e Zd ZU ed   ed<   y)r  r   r\  Nr|  r3   r4   r5   &ModifyParamsPaymentMethodOptionsPaypalz2SetupIntent.ModifyParamsPaymentMethodOptionsPaypal	  r  r4   r  c                       e Zd ZU ed   ed<   y)r  r   rX  Nr|  r3   r4   r5   $ModifyParamsPaymentMethodOptionsLinkz0SetupIntent.ModifyParamsPaymentMethodOptionsLink	  r  r4   r  c                   T    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y	)
r  >SetupIntent.ModifyParamsPaymentMethodOptionsCardMandateOptionsr+  r2   r  r  rR  r  rU  Nr|  r3   r4   r5   $ModifyParamsPaymentMethodOptionsCardz0SetupIntent.ModifyParamsPaymentMethodOptionsCard	  r  r4   r  c                       e Zd ZU eed<   	 ed   ed<   	 eed<   	 ed   ed<   	 ed   ed<   	 ed	   ed
<   	 ed   ed<   	 eed<   	 eed<   	 ed   ed<   y)r  r6  r7  r:  r*  r   r;  r   r<  r=  r!  rB  rC  rD  r  rF  Nr  r3   r4   r5   2ModifyParamsPaymentMethodOptionsCardMandateOptionsz>SetupIntent.ModifyParamsPaymentMethodOptionsCardMandateOptions	  r  r4   r  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)r  r  r*  CSetupIntent.ModifyParamsPaymentMethodOptionsAcssDebitMandateOptionsr+  r  r0  Nr|  r3   r4   r5   )ModifyParamsPaymentMethodOptionsAcssDebitz5SetupIntent.ModifyParamsPaymentMethodOptionsAcssDebit'
  r  r4   r  c                   f    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
<   y)r  r  r  r  r  r   r  r  r#  r  r&  Nr|  r3   r4   r5   7ModifyParamsPaymentMethodOptionsAcssDebitMandateOptionszCSetupIntent.ModifyParamsPaymentMethodOptionsAcssDebitMandateOptions9
  r  r4   r  c                      e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed	   ed
<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 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<   	 edC   edD<   	 edE   edF<   	 edG   edH<   yI)Jr  2SetupIntent.ModifyParamsPaymentMethodDataAcssDebitrp  /SetupIntent.ModifyParamsPaymentMethodDataAffirmr  9SetupIntent.ModifyParamsPaymentMethodDataAfterpayClearpayr  /SetupIntent.ModifyParamsPaymentMethodDataAlipayr  4SetupIntent.ModifyParamsPaymentMethodDataAuBecsDebitr  2SetupIntent.ModifyParamsPaymentMethodDataBacsDebitr  3SetupIntent.ModifyParamsPaymentMethodDataBancontactr  7SetupIntent.ModifyParamsPaymentMethodDataBillingDetailsr  -SetupIntent.ModifyParamsPaymentMethodDataBlikr  /SetupIntent.ModifyParamsPaymentMethodDataBoletor  0SetupIntent.ModifyParamsPaymentMethodDataCashappr  8SetupIntent.ModifyParamsPaymentMethodDataCustomerBalancer  ,SetupIntent.ModifyParamsPaymentMethodDataEpsr  ,SetupIntent.ModifyParamsPaymentMethodDataFpxr  0SetupIntent.ModifyParamsPaymentMethodDataGiropayr  0SetupIntent.ModifyParamsPaymentMethodDataGrabpayr  .SetupIntent.ModifyParamsPaymentMethodDataIdealr  7SetupIntent.ModifyParamsPaymentMethodDataInteracPresentr  /SetupIntent.ModifyParamsPaymentMethodDataKlarnar  0SetupIntent.ModifyParamsPaymentMethodDataKonbinir  -SetupIntent.ModifyParamsPaymentMethodDataLinkrr  r  r  -SetupIntent.ModifyParamsPaymentMethodDataOxxor  ,SetupIntent.ModifyParamsPaymentMethodDataP24r  /SetupIntent.ModifyParamsPaymentMethodDataPaynowr  /SetupIntent.ModifyParamsPaymentMethodDataPaypalrs  ,SetupIntent.ModifyParamsPaymentMethodDataPixr  2SetupIntent.ModifyParamsPaymentMethodDataPromptpayr  5SetupIntent.ModifyParamsPaymentMethodDataRadarOptionsr  3SetupIntent.ModifyParamsPaymentMethodDataRevolutPayr  2SetupIntent.ModifyParamsPaymentMethodDataSepaDebitrt  /SetupIntent.ModifyParamsPaymentMethodDataSofortr  r  r   6SetupIntent.ModifyParamsPaymentMethodDataUsBankAccountru  2SetupIntent.ModifyParamsPaymentMethodDataWechatPayr  ,SetupIntent.ModifyParamsPaymentMethodDataZipr  Nr  r3   r4   r5   ModifyParamsPaymentMethodDataz)SetupIntent.ModifyParamsPaymentMethodDataW
  r  r4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5    ModifyParamsPaymentMethodDataZipz,SetupIntent.ModifyParamsPaymentMethodDataZip=  r  r4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   &ModifyParamsPaymentMethodDataWechatPayz2SetupIntent.ModifyParamsPaymentMethodDataWechatPay@  r  r4   r  c                   f    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<   y	)
r  r
  r  r   r  r  r  r  r  Nr|  r3   r4   r5   *ModifyParamsPaymentMethodDataUsBankAccountz6SetupIntent.ModifyParamsPaymentMethodDataUsBankAccountC  r  r4   r  c                       e Zd ZU ed   ed<   y)r  r  r  Nr  r3   r4   r5   #ModifyParamsPaymentMethodDataSofortz/SetupIntent.ModifyParamsPaymentMethodDataSofort[  r  r4   r  c                       e Zd ZU eed<   y)r  r   Nr!  r3   r4   r5   &ModifyParamsPaymentMethodDataSepaDebitz2SetupIntent.ModifyParamsPaymentMethodDataSepaDebita  r#  r4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   'ModifyParamsPaymentMethodDataRevolutPayz3SetupIntent.ModifyParamsPaymentMethodDataRevolutPayg  r  r4   r  c                       e Zd ZU ed   ed<   y)r  r   r'  Nr|  r3   r4   r5   )ModifyParamsPaymentMethodDataRadarOptionsz5SetupIntent.ModifyParamsPaymentMethodDataRadarOptionsj  r)  r4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   &ModifyParamsPaymentMethodDataPromptpayz2SetupIntent.ModifyParamsPaymentMethodDataPromptpayp  r  r4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5    ModifyParamsPaymentMethodDataPixz,SetupIntent.ModifyParamsPaymentMethodDataPixs  r  r4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   #ModifyParamsPaymentMethodDataPaypalz/SetupIntent.ModifyParamsPaymentMethodDataPaypalv  r  r4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   #ModifyParamsPaymentMethodDataPaynowz/SetupIntent.ModifyParamsPaymentMethodDataPaynowy  r  r4   r  c                       e Zd ZU ed   ed<   y)r  r3  r4  Nr|  r3   r4   r5    ModifyParamsPaymentMethodDataP24z,SetupIntent.ModifyParamsPaymentMethodDataP24|  r6  r4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   !ModifyParamsPaymentMethodDataOxxoz-SetupIntent.ModifyParamsPaymentMethodDataOxxo  r  r4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   !ModifyParamsPaymentMethodDataLinkz-SetupIntent.ModifyParamsPaymentMethodDataLink  r  r4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   $ModifyParamsPaymentMethodDataKonbiniz0SetupIntent.ModifyParamsPaymentMethodDataKonbini  r  r4   r  c                       e Zd ZU ed   ed<   y)r  2SetupIntent.ModifyParamsPaymentMethodDataKlarnaDobr?  Nr|  r3   r4   r5   #ModifyParamsPaymentMethodDataKlarnaz/SetupIntent.ModifyParamsPaymentMethodDataKlarna  r<  r4   r  c                   0    e Zd ZU eed<   	 eed<   	 eed<   y)r  r>  r?  rA  NrB  r3   r4   r5   &ModifyParamsPaymentMethodDataKlarnaDobz2SetupIntent.ModifyParamsPaymentMethodDataKlarnaDob  rD  r4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   +ModifyParamsPaymentMethodDataInteracPresentz7SetupIntent.ModifyParamsPaymentMethodDataInteracPresent  r  r4   r  c                       e Zd ZU ed   ed<   y)r  rH  r4  Nr|  r3   r4   r5   "ModifyParamsPaymentMethodDataIdealz.SetupIntent.ModifyParamsPaymentMethodDataIdeal  rJ  r4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   $ModifyParamsPaymentMethodDataGrabpayz0SetupIntent.ModifyParamsPaymentMethodDataGrabpay  r  r4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   $ModifyParamsPaymentMethodDataGiropayz0SetupIntent.ModifyParamsPaymentMethodDataGiropay  r  r4   r  c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)r  r
  r  rP  r4  Nr  r3   r4   r5    ModifyParamsPaymentMethodDataFpxz,SetupIntent.ModifyParamsPaymentMethodDataFpx  rh  r4   r  c                       e Zd ZU ed   ed<   y)r  rj  r4  Nr|  r3   r4   r5    ModifyParamsPaymentMethodDataEpsz,SetupIntent.ModifyParamsPaymentMethodDataEps  rl  r4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   ,ModifyParamsPaymentMethodDataCustomerBalancez8SetupIntent.ModifyParamsPaymentMethodDataCustomerBalance  r  r4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   $ModifyParamsPaymentMethodDataCashappz0SetupIntent.ModifyParamsPaymentMethodDataCashapp  r  r4   r  c                       e Zd ZU eed<   y)r  rr  Nr!  r3   r4   r5   #ModifyParamsPaymentMethodDataBoletoz/SetupIntent.ModifyParamsPaymentMethodDataBoleto  rt  r4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   !ModifyParamsPaymentMethodDataBlikz-SetupIntent.ModifyParamsPaymentMethodDataBlik  r  r4   r  c                   T    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y)r  zJLiteral['']|SetupIntent.ModifyParamsPaymentMethodDataBillingDetailsAddressrx  r  ry  rz  r{  Nr|  r3   r4   r5   +ModifyParamsPaymentMethodDataBillingDetailsz7SetupIntent.ModifyParamsPaymentMethodDataBillingDetails  rU  r4   r  c                   x    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<   y)	>SetupIntent.ModifyParamsPaymentMethodDataBillingDetailsAddressr   r  r  r  r  r  r  Nr|  r3   r4   r5   2ModifyParamsPaymentMethodDataBillingDetailsAddressr	    r  r4   r
  c                       e Zd Zy)r  Nrb  r3   r4   r5   'ModifyParamsPaymentMethodDataBancontactz3SetupIntent.ModifyParamsPaymentMethodDataBancontact  r  r4   r  c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)r  r   r  r  Nr|  r3   r4   r5   &ModifyParamsPaymentMethodDataBacsDebitz2SetupIntent.ModifyParamsPaymentMethodDataBacsDebit  r  r4   r  c                   $    e Zd ZU eed<   	 eed<   y)r  r  r  Nr!  r3   r4   r5   (ModifyParamsPaymentMethodDataAuBecsDebitz4SetupIntent.ModifyParamsPaymentMethodDataAuBecsDebit)  r  r4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   #ModifyParamsPaymentMethodDataAlipayz/SetupIntent.ModifyParamsPaymentMethodDataAlipay3  r  r4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   -ModifyParamsPaymentMethodDataAfterpayClearpayz9SetupIntent.ModifyParamsPaymentMethodDataAfterpayClearpay6  r  r4   r  c                       e Zd Zy)r  Nrb  r3   r4   r5   #ModifyParamsPaymentMethodDataAffirmz/SetupIntent.ModifyParamsPaymentMethodDataAffirm9  r  r4   r  c                   0    e Zd ZU eed<   	 eed<   	 eed<   y)r  r  r  r  Nr!  r3   r4   r5   &ModifyParamsPaymentMethodDataAcssDebitz2SetupIntent.ModifyParamsPaymentMethodDataAcssDebit<  r  r4   r  c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)SetupIntent.RetrieveParamsr   client_secretrz  r{  Nr|  r3   r4   r5   RetrieveParamsr  J  s$    &u--  ,,r4   r  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)%SetupIntent.VerifyMicrodepositsParamsz	List[int]r  r   r  rz  r{  Nr|  r3   r4   r5   VerifyMicrodepositsParamsr  T  s6     -- )//  ,,r4   r  r   applicationr  r  )	abandoned	duplicaterequested_by_customerry  r  rw  r   r  r;  )inboundoutboundr  r  last_setup_errorr"   latest_attemptlivemoder   mandater  next_actionobjectr   r  r!   r   $payment_method_configuration_detailsr  r  single_use_mandate)canceled
processingrequires_actionrequires_confirmationrequires_payment_method	succeededstatusr  Nintentapi_keystripe_versionstripe_accountparamsrx  returnc                     t        d| j                  ddj                  t        j                  |            ||||            S )  
        You can cancel a SetupIntent object when it's in one of these statuses: requires_payment_method, requires_confirmation, or requires_action.

        After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error.
        r%   post!/v1/setup_intents/{intent}/cancelr5  r6  r7  r8  r9  r   _static_requestformatr   sanitize_idclsr5  r6  r7  r8  r9  s         r5   _cls_cancelzSetupIntent._cls_cancel  sY     3::++F3 ;   --   	
 	
r4   c                      yr<  Nr3   r5  r6  r7  r8  r9  s        r5   cancelzSetupIntent.cancel  s     	r4   idempotency_keyc                      yrI  r3   selfrL  r9  s      r5   rK  zSetupIntent.cancel  s     	r4   rG  c                     t        d| j                  ddj                  t        j                  | j                  d                  ||            S )r<  r%   r=  r>  r  r?  rL  r9  r   _requestrC  r   rD  getrN  s      r5   rK  zSetupIntent.cancel  sY     MM3::++DHHTN; ;  !0  

 
	
r4   r  c                     t        d| j                  ddj                  t        j                  |            ||||            S )  
        Confirm that your customer intends to set up the current or
        provided payment method. For example, you would confirm a SetupIntent
        when a customer hits the “Save” button on a payment method management
        page on your website.

        If the selected payment method does not require any additional
        steps from the customer, the SetupIntent will transition to the
        succeeded status.

        Otherwise, it will transition to the requires_action status and
        suggest additional actions via next_action. If setup fails,
        the SetupIntent will transition to the
        requires_payment_method status or the canceled status if the
        confirmation limit is reached.
        r%   r=  "/v1/setup_intents/{intent}/confirmr?  r@  rA  rE  s         r5   _cls_confirmzSetupIntent._cls_confirm,  sY    2 4;;++F3 <   --   	
 	
r4   c                      yrV  Nr3   rJ  s        r5   r  zSetupIntent.confirmS  s    2 	r4   c                      yrZ  r3   rN  s      r5   r  zSetupIntent.confirmn  s    , 	r4   rX  c                     t        d| j                  ddj                  t        j                  | j                  d                  ||            S )rV  r%   r=  rW  r  r?  rQ  rR  rN  s      r5   r  zSetupIntent.confirm  sY    , MM4;;++DHHTN; <  !0  

 
	
r4   r  c                 `    t        d| j                  d| j                         |||||            S )a  
        Creates a SetupIntent object.

        After you create the SetupIntent, attach a payment method and [confirm](https://stripe.com/docs/api/setup_intents/confirm)
        it to collect any required permissions to charge the payment method later.
        r%   r=  )r   rB  	class_url)rF  r6  rL  r7  r8  r9  s         r5   createzSetupIntent.create  s=     
 	
r4   rv  c                     | j                  d| j                         ||||      }t        |t              s!t	        dt        |      j                  z        |S )z1
        Returns a list of SetupIntents.
        rT  r@  z%Expected list object from API, got %s)rB  r^  
isinstancer   	TypeErrorr   r.   )rF  r6  r7  r8  r9  results         r5   listzSetupIntent.list  sf     $$MMO)) % 
 &*-7<((* 
 r4   r  c                 z    | j                         dt        |      }t        d| j                  d||            S )z/
        Updates a SetupIntent object.
        /r%   r=  )r9  )r^  r   r   rB  )rF  r  r9  r   s       r5   modifyzSetupIntent.modify  s=     *R.9F;
 	
r4   r  c                 8     | |fi |}|j                          |S )a  
        Retrieves the details of a SetupIntent that has previously been created.

        Client-side retrieval using a publishable key is allowed when the client_secret is provided in the query string.

        When retrieved with a publishable key, only a subset of properties will be returned. Please refer to the [SetupIntent](https://stripe.com/docs/api#setup_intent_object) object reference for more details.
        )refresh)rF  r  r9  instances       r5   retrievezSetupIntent.retrieve  s$     r$V$r4   r  c                     t        d| j                  ddj                  t        j                  |            ||||            S )A
        Verifies microdeposits on a SetupIntent object.
        r%   r=  //v1/setup_intents/{intent}/verify_microdepositsr?  r@  rA  rE  s         r5   _cls_verify_microdepositsz%SetupIntent._cls_verify_microdeposits  sZ     AHH++F3 I   --   	
 	
r4   c                      yrm  Nr3   rJ  s        r5   verify_microdepositsz SetupIntent.verify_microdeposits  s     	r4   c                      yrq  r3   rN  s      r5   rr  z SetupIntent.verify_microdeposits$  s     	r4   ro  c                     t        d| j                  ddj                  t        j                  | j                  d                  ||            S )rm  r%   r=  rn  r  r?  rQ  rR  rN  s      r5   rr  z SetupIntent.verify_microdeposits/  sZ     MMAHH++DHHTN; I  !0  

 
	
r4   )r  r&  r*  r,  r  )NNN)N)NNNN)r.   r/   r0   __doc__r'   r   r   r1   r
   r6   r   r  r  rv  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/  r1  r5  r8  r:  r<  r@  rC  rF  rI  rL  rN  rg  rk  rn  rp  rs  rv  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.  r0  r2  r4  r6  r8  r;  r>  r@  rB  rD  rF  rH  rJ  rL  rN  rP  rR  rT  rX  rZ  r\  r^  r`  rb  rd  rf  rj  rn  rp  rr  rt  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   r   r   r   r   classmethodr   rG  r   staticmethodrK  r   rX  r  r_  r   rd  rg  rk  ro  rr  r   r3   r4   r5   r%   r%   %   s   
0 6DK'.12C
, 
} }~D
\ D
LL s
| s
j 
	> 
	"	N "	H$		 $	L	Y 	(				$	 			
	i 		I 		I 	0(	) (	T	 	$		<d	Y d	L		 		i 		) 	0	9 		i 		y 		 		i 			 		9 		9 			 		 		 		I 		9 		i 		9 		) 		I 		I 	!		 !	F		 		I 		I 		9 		 		9 	(	) 	4	y 		i 			 		9 		Y 		9 		i 			 		) 			 		y 		 	,	y 			 	]	> ]	~	I 	$	y $	L	I 	(	I 			$		 			
	Y 		9 		9 	0(	 (	T		 	$		<d	I d	L	y 		Y 		 	0	) 		Y 		i 			 		Y 		y 		) 		) 		y 			 			 		9 		) 		Y 		) 		 		9 		9 	!	y !	F	y 		9 		9 		) 			 		) 	(	 	4	i 		Y 		y 		) 		I 		) 		Y 		i 			 	,	i 		y 	
	) 
	"	 "	H		 	$9	> 9	v$	y $	L	I 	(	I 			$		 			
	Y 		9 		9 	0(	 (	T		 	$		<d	I d	L	y 		Y 		 	0	) 		Y 		i 			 		Y 		y 		) 		) 		y 			 			 		9 		) 		Y 		) 		 		9 		9 	!	y !	F	y 		9 		9 		) 			 		) 	(	 	4	i 		Y 		y 		) 		I 		) 		Y 		^ 		 	 /-899 TN"
  ((?@@ "AB  C= 
 L z233
 # d7+@#ABCC
 	G ~.. _^<== N oi011 tCH~&& *%% N## ?9566 __=>> +3)+  %%9:: s)# !!;<< 	  J  "&(,(,

 #
 !	

 !
 34
 

 
6  "&(,(,	# ! !	
 34 
    *.
!#
 34
 
	
 
 -( *.
!#
 34
 
	
 )
,  "&(,(,$
$
 #$
 !	$

 !$
 45$
 
$
 $
L  "&(,(,	# ! !	
 45 
  2  *.!# 45 
	 . .) *.
!#
 45
 
	
 *
B  "&)-(,(,
#
 "#
 !	

 !
 34
 

 
6  "&(,(,	# ! !	
 12 
M	" 6 



 &'A B

	

 

  &'C D	   "&(,(,

 #
 !	

 !
 @A
 

 
2  "&(,(,	

#
 !
 !	

 @A
 

  
  *.!# @A 
	  56 *.
!#
 @A
 
	
 7
* &=*!0Q"6r4   r%   N)7striper   stripe.api_resources.abstractr   r   r   %stripe.api_resources.expandable_fieldr    stripe.api_resources.list_objectr   stripe.request_optionsr	   stripe.stripe_objectr
   stripe.utilr   typingr   r   r   r   r   r   r   r   typing_extensionsr   r   r   r   r   urllib.parser   stripe.api_resources.accountr    stripe.api_resources.applicationr   !stripe.api_resources.bank_accountr   stripe.api_resources.cardr   r   stripe.api_resources.customerr   stripe.api_resources.mandater   #stripe.api_resources.payment_intentr    #stripe.api_resources.payment_methodr!   "stripe.api_resources.setup_attemptr"   stripe.api_resources.sourcer#   r%   r3   r4   r5   <module>r     s     
 B 7 1 - , M M M  $4<=>64AA?2e8-(&-(e8r4   