
    +hq                    &   d dl mZ d dlmZmZmZmZ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 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$m%Z% d dl&m'Z' e%rNd 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 d dl6m7Z7 d dl8m9Z9 d dl:m;Z; d dl<m=Z= d dl>m?Z? d dl@mAZA  e	d       e	d       e	d       e	d       G d ded   ed   ed   ed   ed                                     ZBeBeBj                  _D        y)     )util)APIResourceTestHelpersCreateableAPIResourceDeletableAPIResourceListableAPIResourceSearchableAPIResourceUpdateableAPIResourcenested_resource_class_methods)ExpandableField)
ListObject)SearchResultObject)RequestOptions)StripeObject)class_method_variant)ClassVarDictIteratorListOptionalUnioncastoverload)LiteralNotRequiredType	TypedDictUnpackTYPE_CHECKING)
quote_plus)Account)BankAccount)Card)CashBalance)CustomerBalanceTransaction)CustomerCashBalanceTransaction)Discount)FundingInstructions)PaymentMethod)Source)Subscription)TaxId)	TestClockbalance_transactioncash_balance_transactionsourcetax_idc                      e Zd ZU dZdZeed      ed<    G d de      Z	 G d de      Z
 G d d	e      Z G d
 de      ZerG 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      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      ZDeEe	   edv<   	 eEeF   edw<   	 eEdx   edy<   	 eFedz<   	 eEeG   ed{<   	 eEeHeId|         ed}<   	 eEeJ   ed~<   	 eEeG   ed<   	 eEd   ed<   	 eEeG   ed<   	 eGed<   	 eEeKeGeFf      ed<   	 eEeG   ed<   	 eEe
   ed<   eJed<   	 eEeKeGeGf      ed<   	 eEeG   ed<   	 eEeF   ed<   	 ed   ed<   	 eEeG   ed<   	 eEeLeG      ed<   	 eEe   ed<   	 eEeMeId|         ed<   	 eEeMd      ed<   	 eEe   ed<   eEed      ed<   	 eEeMd      ed<   	 eEeHd      ed<   	 eEed      ed<   	 eN	 	 	 	 ddeEeG   deEeG   deEeG   deEeG   deOd   dd fd       ZPeN	 	 	 ddeGdeEeG   deEeG   deEeG   deOd   ddfd       ZQeReS	 	 	 ddeGdeEeG   deEeG   deEeG   deOd   ddfd              ZTeR	 ddeEeG   deOd   ddfd       ZT eUd      	 ddeEeG   deOd   ddfd       ZTeNdeGdeOd   dd fd       ZVeReSdeGdeOd   dd fd              ZWeRdeOd   dd fd       ZW eUd      deOd   dd fd       ZWeN	 	 	 ddeGdeEeG   deEeG   deEeG   deOd   ddfd       ZXeReS	 	 	 ddeGdeEeG   deEeG   deEeG   deOd   ddfd              ZYeR	 ddeEeG   deOd   ddfd       ZY eUd      	 ddeEeG   deOd   ddfd       ZYeN	 	 	 ddeEeG   deEeG   deEeG   deOd   deMd    f
d       ZZeN	 	 	 ddeGdeEeG   deEeG   deEeG   deOd   deMd   fd       Z[eReS	 	 	 ddeGdeEeG   deEeG   deEeG   deOd   deMd   fd              Z\eR	 ddeEeG   deOd   deMd   fd       Z\ eUd      	 ddeEeG   deOd   deMd   fd       Z\eNdeGdeOd   dd fd       Z]eNdeGdeOd   dd fdĄ       Z^eN	 	 	 ddeGdeGdeEeG   deEeG   deEeG   deOd   ddfdǄ       Z_eReS	 	 	 ddeGdeGdeEeG   deEeG   deEeG   deOd   ddfdȄ              Z`eR	 ddeGdeEeG   deOd   ddfdɄ       Z` eUdʫ      	 ddeGdeEeG   deOd   ddfd˄       Z`eNdeOd   dead    fd΄       ZbeNdeOd   decd    fdτ       ZdeN	 	 	 ddeGdeEeG   deEeG   deEeG   deOd   ddfd҄       ZeeN	 	 	 ddeGdeGdeEeG   deEeG   deEeG   deOd   ddfdՄ       ZfeN	 	 	 ddeGdeGdeEeG   deEeG   deEeG   deOd   ddfdׄ       ZgeN	 	 	 ddeGdeEeG   deEeG   deEeG   deOd   deMd   fdل       ZheN	 	 	 ddeGdeGdeEeG   deEeG   deEeG   deOd   ddfd܄       ZieN	 	 	 ddeGdeEeG   deEeG   deEeG   deOd   deMd   fdބ       ZjeN	 	 	 ddeGdeEeG   deEeG   deEeG   deOd   deId|   fd       ZkeN	 	 	 ddeGdeGdeEeG   deEeG   deEeG   deOd   deId|   fd       ZleN	 	 	 ddeGdeGdeEeG   deEeG   deEeG   deOd   deId|   fd       ZmeN	 	 	 ddeGdeGdeEeG   deEeG   deEeG   deOd   deId|   fd       ZneN	 	 	 ddeGdeEeG   deEeG   deEeG   deOd   deMeId|      fd       ZoeN	 	 	 ddeGdeEeG   deEeG   deEeG   deOd   ddfd       ZpeN	 	 	 ddeGdeGdeEeG   deEeG   deEeG   deOd   ddfd       ZqeN	 	 	 ddeGdeGdeEeG   deEeG   deEeG   deOd   ddfd       ZreN	 	 	 ddeGdeEeG   deEeG   deEeG   deOd   deMd   fd       ZseN	 	 	 ddeGdeEeG   deEeG   deEeG   deOd   ddxfd       ZteN	 	 	 ddeGdeEeG   deEeG   deEeG   deOd   ddxfd       Zu G d devd          Zwexd        Zye	e
eedZzy)Customerz
    This object represents a customer of your business. Use it to create recurring charges and track payments that belong to the same customer.

    Related guide: [Save a card during payment](https://stripe.com/docs/payments/save-during-payment)
    customerOBJECT_NAMEc                   x    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)Customer.Addresscitycountryline1line2postal_codestateN__name__
__module____qualname__r   str__annotations__     P/var/www/html/venv/lib/python3.12/site-packages/stripe/api_resources/customer.pyAddressr6   N   sf    sm	 #	 }	 }	 c]"	 }	rD   rF   c                       e Zd ZU  G d de      Z G d de      Zeee      ed<   	 ee	d      ed<   	 ee
   ed<   	 ee   ed	<   	 eed
Zy)Customer.InvoiceSettingsc                   $    e Zd ZU eed<   	 eed<   y)$Customer.InvoiceSettings.CustomFieldnamevalueNr>   r?   r@   rA   rB   rC   rD   rE   CustomFieldrJ   i       I JrD   rN   c                       e Zd ZU ee   ed<   y))Customer.InvoiceSettings.RenderingOptionsamount_tax_displayNr=   rC   rD   rE   RenderingOptionsrQ   s   s     (-rD   rS   custom_fieldsr(   default_payment_methodfooterrendering_options)rT   rW   N)r>   r?   r@   r   rN   rS   r   r   rB   r   rA   _inner_class_typesrC   rD   rE   InvoiceSettingsrH   h   s|    	, 		| 	  [ 122	 !))I JJ	 	 $$455	 )!1
rD   rY   c                       e Zd ZU  G d de      Zee   ed<   ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 deiZy)	Customer.Shippingc                   x    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)Customer.Shipping.Addressr7   r8   r9   r:   r;   r<   Nr=   rC   rD   rE   rF   r]      sf    3- c]" C=  C=  "#& C= rD   rF   addresscarrierrK   phonetracking_numberN)	r>   r?   r@   r   rF   r   rB   rA   rX   rC   rD   rE   Shippingr[      sj    	l 	4 '""#	 sm	 }	 "#&	 (1rD   rb   c                   b    e Zd ZU  G d de      Zed   ed<   	 ee   ed<   	 ee   ed<   	 deiZ	y)Customer.Taxc                   <    e Zd ZU eed<   	 ed   ed<   	 ee   ed<   y)Customer.Tax.Locationr8   )billing_address
ip_addresspayment_methodshipping_destinationr/   r<   N)r>   r?   r@   rA   rB   r   r   rC   rD   rE   Locationrf      s6    L (  C= rD   rk   )failednot_collecting	supportedunrecognized_locationautomatic_taxrh   locationN)
r>   r?   r@   r   rk   r   rB   r   rA   rX   rC   rD   rE   Taxrd      sU    	| 	& L
 	
	 SM!	 8$$	 )(3rD   rr   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#<   y$)%Customer.CreateParamsz(Literal['']|Customer.CreateParamsAddressr^   intbalance Customer.CreateParamsCashBalancecash_balancerA   coupondescriptionemail	List[str]expandinvoice_prefix$Customer.CreateParamsInvoiceSettingsinvoice_settingsLiteral['']|Dict[str, str]metadatarK   next_invoice_sequenceri   r`   preferred_localespromotion_codez)Literal['']|Customer.CreateParamsShippingshippingr/   Customer.CreateParamsTaxtax0Literal['']|Literal['exempt', 'none', 'reverse']
tax_exemptz%List[Customer.CreateParamsTaxIdDatum]tax_id_data
test_clockboolvalidateNr>   r?   r@   r   rB   rC   rD   rE   CreateParamsrt      s    !KLL !'' &&HII  &&$U++ u%%  ,, (.. *6  "">?? e$$ $/u#55 (..u%%  +;77 (.. ""MNN  &&788 $B  %%LMM $E** "&))rD   r   c                   *    e Zd ZU ed   ed<   	 eed<   y)Customer.CreateParamsTaxIdDatumBad_nrtae_trnar_cuitau_abnau_arnbg_uicbo_tinbr_cnpjbr_cpfca_bn
ca_gst_hst	ca_pst_bc	ca_pst_mb	ca_pst_skca_qstch_vatcl_tincn_tinco_nitcr_tindo_rcnec_ruceg_tines_cif
eu_oss_vateu_vatgb_vatge_vathk_brhu_tinid_npwpil_vatin_gstis_vatjp_cnjp_rnjp_trnke_pinkr_brnli_uidmx_rfcmy_frpmy_itnmy_sstno_vatnz_gst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us_einuy_rucve_rifvn_tinza_vattyperL   N)r>   r?   r@   r   rB   rA   rC   rD   rE   CreateParamsTaxIdDatumr   8  s)    AC CH JrD   r   c                       e Zd ZU ed   ed<   y)r   Literal['']|strrh   Nr   rC   rD   rE   CreateParamsTaxzCustomer.CreateParamsTax      #$566rD   r   c                   6    e Zd ZU ded<   	 eed<   	 ed   ed<   y)Customer.CreateParamsShipping$Customer.CreateParamsShippingAddressr^   rK   rA   r`   Nr>   r?   r@   rB   rA   r   rC   rD   rE   CreateParamsShippingr     +    ;; I u%%rD   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   rA   r7   r8   r9   r:   r;   r<   Nr   rC   rD   rE   CreateParamsShippingAddressz$Customer.CreateParamsShippingAddress  l    e$$ !'' u%% u%% %U++ u%%rD   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   zALiteral['']|List[Customer.CreateParamsInvoiceSettingsCustomField]rT   rA   rU   rV   z@Literal['']|Customer.CreateParamsInvoiceSettingsRenderingOptionsrW   Nr   rC   rD   rE   CreateParamsInvoiceSettingsz$Customer.CreateParamsInvoiceSettings  R    &S  %0$66  &&  +R  rD   r   c                       e Zd ZU ed   ed<   y)4Customer.CreateParamsInvoiceSettingsRenderingOptions;Literal['']|Literal['exclude_tax', 'include_inclusive_tax']rR   Nr   rC   rD   rE   +CreateParamsInvoiceSettingsRenderingOptionsr          +M! rD   r   c                   $    e Zd ZU eed<   	 eed<   y)/Customer.CreateParamsInvoiceSettingsCustomFieldrK   rL   NrM   rC   rD   rE   &CreateParamsInvoiceSettingsCustomFieldr     rO   rD   r   c                       e Zd ZU ed   ed<   y)rw   (Customer.CreateParamsCashBalanceSettingssettingsNr   rC   rD   rE   CreateParamsCashBalancez Customer.CreateParamsCashBalance      !"LMMrD   r   c                       e Zd ZU ed   ed<   y)r   2Literal['automatic', 'manual', 'merchant_default']reconciliation_modeNr   rC   rD   rE   CreateParamsCashBalanceSettingsz(Customer.CreateParamsCashBalanceSettings      !,D" rD   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)	Customer.CreateParamsAddressrA   r7   r8   r9   r:   r;   r<   Nr   rC   rD   rE   CreateParamsAddressr     r   rD   r   c                   H    e Zd ZU ded<   	 eed<   	 ed   ed<   	 ed   ed<   y)(Customer.CreateFundingInstructionsParams4Customer.CreateFundingInstructionsParamsBankTransferbank_transfercurrencyr|   r}   funding_typeN)r>   r?   r@   rB   rA   r   r   rC   rD   rE   CreateFundingInstructionsParamsr     s=    QQ M  ,, "/22rD   r  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)r   BCustomer.CreateFundingInstructionsParamsBankTransferEuBankTransfereu_bank_transferz4List[Literal['iban', 'sort_code', 'spei', 'zengin']]requested_address_types)r  gb_bank_transferjp_bank_transfermx_bank_transferus_bank_transferr   N)r>   r?   r@   r   rB   r   rC   rD   rE   +CreateFundingInstructionsParamsBankTransferz4Customer.CreateFundingInstructionsParamsBankTransfer  sG    )T  &1F& 
 $ rD   r  c                       e Zd ZU eed<   y)r  r8   NrM   rC   rD   rE   9CreateFundingInstructionsParamsBankTransferEuBankTransferzBCustomer.CreateFundingInstructionsParamsBankTransferEuBankTransfer0  s     LrD   r  c                       e Zd Zy)Customer.DeleteParamsNr>   r?   r@   rC   rD   rE   DeleteParamsr  8      rD   r  c                       e Zd Zy)Customer.DeleteDiscountParamsNr  rC   rD   rE   DeleteDiscountParamsr  ;  r  rD   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)Customer.ListParamszCustomer.ListParamsCreated|intcreatedrA   r{   ending_beforer|   r}   ru   limitstarting_afterr   Nr   rC   rD   rE   
ListParamsr  >  sx     !ABBu%% 'u--  ,, u%% (.. $E**rD   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)Customer.ListParamsCreatedru   gtgteltlteNr   rC   rD   rE   ListParamsCreatedr  Y  sH    E"" U## E"" U##rD   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
)!Customer.ListPaymentMethodsParamsrA   r  r|   r}   ru   r  r  at  Literal['acss_debit', 'affirm', 'afterpay_clearpay', 'alipay', 'au_becs_debit', 'bacs_debit', 'bancontact', 'blik', 'boleto', 'card', 'cashapp', 'customer_balance', 'eps', 'fpx', 'giropay', 'grabpay', 'ideal', 'klarna', 'konbini', 'link', 'oxxo', 'p24', 'paynow', 'paypal', 'pix', 'promptpay', 'revolut_pay', 'sepa_debit', 'sofort', 'us_bank_account', 'wechat_pay', 'zip']r   Nr   rC   rD   rE   ListPaymentMethodsParamsr&  k  sb    &u--  ,, u%% (..  G rD   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 <   y!)"Customer.ModifyParamsz(Literal['']|Customer.ModifyParamsAddressr^   ru   rv    Customer.ModifyParamsCashBalancerx   rA   ry   default_sourcerz   r{   r|   r}   r~   $Customer.ModifyParamsInvoiceSettingsr   r   r   rK   r   r`   r   r   z)Literal['']|Customer.ModifyParamsShippingr   r/   Customer.ModifyParamsTaxr   r   r   r   r   Nr   rC   rD   rE   ModifyParamsr)    sv    !KLL !'' &&HII  &&'.. %U++ u%%  ,, (.. *6  "">?? e$$ $/u#55 u%%  +;77 (.. ""MNN  &&788 $B  "&))rD   r.  c                       e Zd ZU ed   ed<   y)r-  r   rh   Nr   rC   rD   rE   ModifyParamsTaxzCustomer.ModifyParamsTax  r   rD   r0  c                   6    e Zd ZU ded<   	 eed<   	 ed   ed<   y)Customer.ModifyParamsShipping$Customer.ModifyParamsShippingAddressr^   rK   rA   r`   Nr   rC   rD   rE   ModifyParamsShippingr2    r   rD   r4  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)	r3  rA   r7   r8   r9   r:   r;   r<   Nr   rC   rD   rE   ModifyParamsShippingAddressz$Customer.ModifyParamsShippingAddress  r   rD   r6  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,  zALiteral['']|List[Customer.ModifyParamsInvoiceSettingsCustomField]rT   rA   rU   rV   z@Literal['']|Customer.ModifyParamsInvoiceSettingsRenderingOptionsrW   Nr   rC   rD   rE   ModifyParamsInvoiceSettingsz$Customer.ModifyParamsInvoiceSettings  r   rD   r8  c                       e Zd ZU ed   ed<   y)4Customer.ModifyParamsInvoiceSettingsRenderingOptionsr   rR   Nr   rC   rD   rE   +ModifyParamsInvoiceSettingsRenderingOptionsr:    r   rD   r;  c                   $    e Zd ZU eed<   	 eed<   y)/Customer.ModifyParamsInvoiceSettingsCustomFieldrK   rL   NrM   rC   rD   rE   &ModifyParamsInvoiceSettingsCustomFieldr=  $  rO   rD   r>  c                       e Zd ZU ed   ed<   y)r*  (Customer.ModifyParamsCashBalanceSettingsr   Nr   rC   rD   rE   ModifyParamsCashBalancez Customer.ModifyParamsCashBalance.  r   rD   rA  c                       e Zd ZU ed   ed<   y)r@  r   r   Nr   rC   rD   rE   ModifyParamsCashBalanceSettingsz(Customer.ModifyParamsCashBalanceSettings5  r   rD   rC  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)	Customer.ModifyParamsAddressrA   r7   r8   r9   r:   r;   r<   Nr   rC   rD   rE   ModifyParamsAddressrE  =  r   rD   rF  c                       e Zd ZU ed   ed<   y)Customer.RetrieveParamsr|   r}   Nr   rC   rD   rE   RetrieveParamsrH  W      ,,rD   rI  c                       e Zd ZU ed   ed<   y)$Customer.RetrievePaymentMethodParamsr|   r}   Nr   rC   rD   rE   RetrievePaymentMethodParamsrL  ]  rJ  rD   rM  c                   N    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 eed<   y)	Customer.SearchParamsr|   r}   ru   r  rA   pagequeryNr>   r?   r@   r   rB   rA   rC   rD   rE   SearchParamsrO  c  sB    ,, u%% e$$ JrD   rS  c                   0    e Zd ZU ed   ed<   	 ed   ed<   y) Customer.ModifyCashBalanceParamsr|   r}   (Customer.ModifyCashBalanceParamsSettingsr   Nr   rC   rD   rE   ModifyCashBalanceParamsrU  u  s%    ,, ""LMMrD   rW  c                       e Zd ZU ed   ed<   y)rV  r   r   Nr   rC   rD   rE   ModifyCashBalanceParamsSettingsz(Customer.ModifyCashBalanceParamsSettings  r   rD   rY  c                       e Zd ZU ed   ed<   y)"Customer.RetrieveCashBalanceParamsr|   r}   Nr   rC   rD   rE   RetrieveCashBalanceParamsr[    rJ  rD   r\  c                   H    e Zd ZU eed<   	 eed<   	 ed   ed<   	 ed   ed<   y)Customer.FundCashBalanceParamsamountr  r|   r}   rA   	referenceNr>   r?   r@   ru   rB   rA   r   rC   rD   rE   FundCashBalanceParamsr^    s<    K M  ,, #5))rD   rb  c                   Z    e Zd ZU eed<   	 eed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y	)
'Customer.CreateBalanceTransactionParamsr_  r  rA   rz   r|   r}   r   r   Nra  rC   rD   rE   CreateBalanceTransactionParamsrd    sO    K M %U++  ,, "">??rD   re  c                       e Zd ZU ed   ed<   y))Customer.RetrieveBalanceTransactionParamsr|   r}   Nr   rC   rD   rE    RetrieveBalanceTransactionParamsrg    rJ  rD   rh  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)'Customer.ModifyBalanceTransactionParamsrA   rz   r|   r}   r   r   Nr   rC   rD   rE   ModifyBalanceTransactionParamsrj    s7    $U++  ,, "">??rD   rk  c                   T    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y)	&Customer.ListBalanceTransactionsParamsrA   r  r|   r}   ru   r  r  Nr   rC   rD   rE   ListBalanceTransactionsParamsrm    H    &u--  ,, u%% (..rD   rn  c                       e Zd ZU ed   ed<   y)-Customer.RetrieveCashBalanceTransactionParamsr|   r}   Nr   rC   rD   rE   $RetrieveCashBalanceTransactionParamsrq    rJ  rD   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)	*Customer.ListCashBalanceTransactionsParamsrA   r  r|   r}   ru   r  r  Nr   rC   rD   rE   !ListCashBalanceTransactionsParamsrt    ro  rD   ru  c                   N    e Zd ZU ed   ed<   	 ed   ed<   	 eed<   	 ed   ed<   y)	Customer.CreateSourceParamsr|   r}   zDict[str, str]r   r/   r   r   NrR  rC   rD   rE   CreateSourceParamsrw    s>    ,, ""233 K "&))rD   rx  c                       e Zd ZU ed   ed<   y)Customer.RetrieveSourceParamsr|   r}   Nr   rC   rD   rE   RetrieveSourceParamsrz    rJ  rD   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<   y)Customer.ModifySourceParamsrA   account_holder_namez Literal['company', 'individual']account_holder_typeaddress_cityaddress_countryaddress_line1address_line2address_stateaddress_zip	exp_monthexp_yearr|   r}   r   r   rK    Customer.ModifySourceParamsOwnerownerNr   rC   rD   rE   ModifySourceParamsr}    s    !,U!33 "-2"  &e,, )// 'u-- 'u-- 'u-- %U++ #5)) "%((  ,, "">?? e$$ ABBrD   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  'Customer.ModifySourceParamsOwnerAddressr^   rA   r{   rK   r`   Nr   rC   rD   rE   ModifySourceParamsOwnerz Customer.ModifySourceParamsOwnerA  sI     !JKK u%% e$$ u%%rD   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  rA   r7   r8   r9   r:   r;   r<   Nr   rC   rD   rE   ModifySourceParamsOwnerAddressz'Customer.ModifySourceParamsOwnerAddressS  r   rD   r  c                       e Zd ZU ed   ed<   y)Customer.DeleteSourceParamsr|   r}   Nr   rC   rD   rE   DeleteSourceParamsr  m  rJ  rD   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	)
Customer.ListSourcesParamsrA   r  r|   r}   ru   r  objectr  Nr   rC   rD   rE   ListSourcesParamsr  s  sZ    &u--  ,, u%%  && (..rD   r  c                   <    e Zd ZU ed   ed<   	 ed   ed<   	 eed<   y)Customer.CreateTaxIdParamsr|   r}   r   r   rL   N)r>   r?   r@   r   rB   r   rA   rC   rD   rE   CreateTaxIdParamsr    s;    ,, AC CH JrD   r  c                       e Zd ZU ed   ed<   y)Customer.RetrieveTaxIdParamsr|   r}   Nr   rC   rD   rE   RetrieveTaxIdParamsr    rJ  rD   r  c                       e Zd Zy)Customer.DeleteTaxIdParamsNr  rC   rD   rE   DeleteTaxIdParamsr    r  rD   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)	Customer.ListTaxIdsParamsrA   r  r|   r}   ru   r  r  Nr   rC   rD   rE   ListTaxIdsParamsr    ro  rD   r  r^   rv   r#   rx   r  r  r    r!   r"   r)   r+  
delinquentrz   r&   discountr{   idinvoice_credit_balancer~   r   livemoder   rK   r   r  r`   r   r   sourcesr*   subscriptionsr   )exemptnonereverser   r+   tax_idsr,   r   TdeletedNapi_keyidempotency_keystripe_versionstripe_accountparamsrt   returnc                 `    t        d| j                  d| j                         |||||            S )z0
        Creates a new customer object.
        r2   post)r   _static_request	class_url)clsr  r  r  r  r  s         rE   createzCustomer.createn  s=     
 	
rD   r   r'   c                     t        d| j                  ddj                  t        j                  |            ||||            S )  
        Retrieve funding instructions for a customer cash balance. If funding instructions do not yet exist for the customer, new
        funding instructions will be created. If funding instructions have already been created for a given customer, the same
        funding instructions will be retrieved. In other words, we will return the same funding instructions each time.
        r'   r  -/v1/customers/{customer}/funding_instructionsr3   r  r  r  r  r   r  formatr   sanitize_idr  r3   r  r  r  r  s         rE    _cls_create_funding_instructionsz)Customer._cls_create_funding_instructions  sZ     !?FF!--h7 G   --   	
 	
rD   c                      yr  NrC   r3   r  r  r  r  s        rE   create_funding_instructionsz$Customer.create_funding_instructions  s     	rD   c                      yr  rC   selfr  r  s      rE   r  z$Customer.create_funding_instructions  s     	rD   r  c                     t        d| j                  ddj                  t        j                  | j                  d                  ||            S )r  r'   r  r  r  r  r  r  r   _requestr  r   r  getr  s      rE   r  z$Customer.create_funding_instructions  sZ     !MM?FF!--dhhtn= G  !0  

 
	
rD   sidr  c                 z    | j                         dt        |      }t        d| j                  d||            S )
        Permanently deletes a customer. It cannot be undone. Also immediately cancels any active subscriptions on the customer.
        /r2   deleter  r  r   r   r  )r  r  r  urls       rE   _cls_deletezCustomer._cls_delete  s=     *S/:#f=
 	
rD   c                      yr  NrC   )r  r  s     rE   r  zCustomer.delete  s     	rD   c                      yr  rC   r  r  s     rE   r  zCustomer.delete  s    
 	rD   r  c                 F    | j                  d| j                         |      S )r  r  r  )_request_and_refreshinstance_urlr  s     rE   r  zCustomer.delete  s.     (( ) 
 	
rD   r  c                     t        d| j                  ddj                  t        j                  |            ||||            S )G
        Removes the currently applied discount on a customer.
        r&   r  !/v1/customers/{customer}/discountr  r  r  r  s         rE   _cls_delete_discountzCustomer._cls_delete_discount  sY     3::!--h7 ;   --   	
 	
rD   c                      yr  NrC   r  s        rE   delete_discountzCustomer.delete_discount       	rD   c                      yr  rC   r  s      rE   r  zCustomer.delete_discount*       	rD   r  c                     t        d| j                  ddj                  t        j                  | j                  d                  ||            S )r  r&   r  r  r  r  r  r  r  s      rE   r  zCustomer.delete_discount5  sY     MM3::!--dhhtn= ;  !0  

 
	
rD   r  c                     | j                  d| j                         ||||      }t        |t              s!t	        dt        |      j                  z        |S )z
        Returns a list of your customers. The customers are returned sorted by creation date, with the most recent customers appearing first.
        r  r  z%Expected list object from API, got %s)r  r  
isinstancer   	TypeErrorr   r>   )r  r  r  r  r  results         rE   listzCustomer.listJ  sf     $$MMO)) % 
 &*-7<((* 
 rD   r&  r(   c                     t        t        d   | j                  ddj                  t	        j
                  |            ||||            S )G
        Returns a list of PaymentMethods for a given Customer
        r(   r  (/v1/customers/{customer}/payment_methodsr  r  r   r   r  r  r   r  r  s         rE   _cls_list_payment_methodsz"Customer._cls_list_payment_methodsf  s_     ':AA!--h7 B   --   	
 	
rD   c                      yr  NrC   r  s        rE   list_payment_methodszCustomer.list_payment_methods  r  rD   c                      yr  rC   r  s      rE   r  zCustomer.list_payment_methods  r  rD   r  c                     t        t        d   | j                  ddj                  t	        j
                  | j                  d                  ||            S )r  r(   r  r  r  r  r  )r   r   r  r  r   r  r  r  s      rE   r  zCustomer.list_payment_methods  s_     'MM:AA!--dhhtn= B  !0  

 
	
rD   r)  c                 z    | j                         dt        |      }t        d| j                  d||            S )aw  
        Updates the specified customer by setting the values of the parameters passed. Any parameters not provided will be left unchanged. For example, if you pass the source parameter, that becomes the customer's active source (e.g., a card) to be used for all charges in the future. When you update a customer to a new valid card source by passing the source parameter: for each of the customer's current subscriptions, if the subscription bills automatically and is in the past_due state, then the latest open invoice for the subscription with automatic collection enabled will be retried. This retry will not count as an automatic retry, and will not affect the next regularly scheduled payment for the invoice. Changing the default_source for a customer will not trigger this behavior.

        This request accepts mostly the same arguments as the customer creation call.
        r  r2   r  r  r  )r  r  r  r  s       rE   modifyzCustomer.modify  s=     *R.9F;
 	
rD   rH  c                 8     | |fi |}|j                          |S )z.
        Retrieves a Customer object.
        )refresh)r  r  r  instances       rE   retrievezCustomer.retrieve  s$     r$V$rD   ri   rL  c                     t        d| j                  ddj                  t        j                  |      t        j                  |            ||||            S )H
        Retrieves a PaymentMethod object for a given Customer.
        r(   r  9/v1/customers/{customer}/payment_methods/{payment_method}r3   ri   r  r  )r  r3   ri   r  r  r  r  s          rE   _cls_retrieve_payment_methodz%Customer._cls_retrieve_payment_method  sh     KRR!--h7#'#3#3N#C S   --   

 	
rD   c                      yr  NrC   )r3   ri   r  r  r  r  s         rE   retrieve_payment_methodz Customer.retrieve_payment_method  s     	rD   c                      yr  rC   r  ri   r  r  s       rE   r	  z Customer.retrieve_payment_method  s     	rD   r  c                     t        d| j                  ddj                  t        j                  | j                  d            t        j                  |            ||            S )r  r(   r  r  r  r  r  r  r  s       rE   r	  z Customer.retrieve_payment_method  sh     MMKRR!--dhhtn=#'#3#3N#C S  !0  
 	
rD   kwargsrO  c                 *     | j                   |ddi|S )a  
        Search for customers you've previously created using Stripe's [Search Query Language](https://stripe.com/docs/search#search-query-language).
        Don't use search in read-after-write flows where strict consistency is necessary. Under normal operating
        conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up
        to an hour behind during outages. Search functionality is not available to merchants in India.
        
search_urlz/v1/customers/search)_searchr  argsr  s      rE   searchzCustomer.search  s      s{{tN&<NvNNrD   c                 B     | j                   |i |j                         S N)r  auto_paging_iterr  s      rE   search_auto_paging_iterz Customer.search_auto_paging_iter"  s#     szz4*6*;;==rD   rd  r$   c                     t        d| j                  ddj                  t        j                  |            ||||            S )z
        Creates an immutable transaction that updates the customer's credit [balance](https://stripe.com/docs/billing/customer/balance).
        r$   r  -/v1/customers/{customer}/balance_transactionsr  r  r  r  s         rE   create_balance_transactionz#Customer.create_balance_transaction(  sZ     (?FF!--h7 G   --   	
 	
rD   transactionrg  c                     t        d| j                  ddj                  t        j                  |      t        j                  |            ||||            S )z
        Retrieves a specific customer balance transaction that updated the customer's [balances](https://stripe.com/docs/billing/customer/balance).
        r$   r  ;/v1/customers/{customer}/balance_transactions/{transaction}r3   r  r  r  r  r3   r  r  r  r  r  s          rE   retrieve_balance_transactionz%Customer.retrieve_balance_transactionB  sh     (MTT!--h7 $ 0 0 = U   --   

 	
rD   rj  c                     t        d| j                  ddj                  t        j                  |      t        j                  |            ||||            S )zx
        Most credit balance transaction fields are immutable, but you may update its description and metadata.
        r$   r  r  r  r  r  r  s          rE   modify_balance_transactionz#Customer.modify_balance_transaction^  sh     (MTT!--h7 $ 0 0 = U   --   

 	
rD   rm  c                     t        t        d   | j                  ddj                  t	        j
                  |            ||||            S )z
        Returns a list of transactions that updated the customer's [balances](https://stripe.com/docs/billing/customer/balance).
        r$   r  r  r  r  r  r  s         rE   list_balance_transactionsz"Customer.list_balance_transactionsz  s`     34?FF!--h7 G   --   	
 	
rD   rq  r%   c                     t        d| j                  ddj                  t        j                  |      t        j                  |            ||||            S )z
        Retrieves a specific cash balance transaction, which updated the customer's [cash balance](https://stripe.com/docs/payments/customer-balance).
        r%   r  z@/v1/customers/{customer}/cash_balance_transactions/{transaction}r  r  r  r  s          rE   !retrieve_cash_balance_transactionz*Customer.retrieve_cash_balance_transaction  sh     ,RYY!--h7 $ 0 0 = Z   --   

 	
rD   rt  c                     t        t        d   | j                  ddj                  t	        j
                  |            ||||            S )z
        Returns a list of transactions that modified the customer's [cash balance](https://stripe.com/docs/payments/customer-balance).
        r%   r  z2/v1/customers/{customer}/cash_balance_transactionsr  r  r  r  s         rE   list_cash_balance_transactionsz'Customer.list_cash_balance_transactions  s`     78DKK!--h7 L   --   	
 	
rD   rw  c                     t        t        d   | j                  ddj                  t	        j
                  |            ||||            S )a  
        When you create a new credit card, you must specify a customer or recipient on which to create it.

        If the card's owner has no default card, then the new card will become the default.
        However, if the owner already has a default, then it will not change.
        To change the default, you should [update the customer](https://stripe.com/docs/api#update_customer) to have a new default_source.
        r  r   /v1/customers/{customer}/sourcesr  r  r   r   r  r  r   r  r  s         rE   create_sourcezCustomer.create_source  s_      <=299!--h7 :   --   	
 	
rD   rz  c                     t        t        d   | j                  ddj                  t	        j
                  |      t	        j
                  |            ||||            S )zC
        Retrieve a specified source for a given customer.
        r  r  %/v1/customers/{customer}/sources/{id}r3   r  r  r+  r  r3   r  r  r  r  r  s          rE   retrieve_sourcezCustomer.retrieve_source  sm     <=7>>!--h7''+ ?   --   

 	
rD   r}  c                     t        t        d   | j                  ddj                  t	        j
                  |      t	        j
                  |            ||||            S )zA
        Update a specified source for a given customer.
        r  r  r.  r/  r  r+  r0  s          rE   modify_sourcezCustomer.modify_source  sm     <=7>>!--h7''+ ?   --   

 	
rD   r  c                     t        t        d   | j                  ddj                  t	        j
                  |      t	        j
                  |            ||||            S )zA
        Delete a specified source for a given customer.
        r  r  r.  r/  r  r+  r0  s          rE   delete_sourcezCustomer.delete_source   sm     <=7>>!--h7''+ ?   --   

 	
rD   r  c                     t        t        t        d      | j                  ddj	                  t        j                  |            ||||            S )z8
        List sources for a specified customer.
        r  r  r*  r  r  )r   r   r   r  r  r   r  r  s         rE   list_sourceszCustomer.list_sources<  sd     uGHI299!--h7 :   --   	
 	
rD   r  c                     t        d| j                  ddj                  t        j                  |            ||||            S )z=
        Creates a new tax_id object for a customer.
        r+   r   /v1/customers/{customer}/tax_idsr  r  r  r  s         rE   create_tax_idzCustomer.create_tax_idV  sY     299!--h7 :   --   	
 	
rD   r  c                     t        d| j                  ddj                  t        j                  |      t        j                  |            ||||            S )zH
        Retrieves the tax_id object with the given identifier.
        r+   r  %/v1/customers/{customer}/tax_ids/{id}r/  r  r  r0  s          rE   retrieve_tax_idzCustomer.retrieve_tax_idp  sg     7>>!--h7''+ ?   --   

 	
rD   r  c                     t        d| j                  ddj                  t        j                  |      t        j                  |            ||||            S )z4
        Deletes an existing tax_id object.
        r+   r  r<  r/  r  r  r0  s          rE   delete_tax_idzCustomer.delete_tax_id  sg     7>>!--h7''+ ?   --   

 	
rD   r  c                     t        t        d   | j                  ddj                  t	        j
                  |            ||||            S )z;
        Returns a list of tax IDs for a customer.
        r+   r  r9  r  r  r  r  s         rE   list_tax_idszCustomer.list_tax_ids  s^     w299!--h7 :   --   	
 	
rD   rU  c                     t        d| j                  ddj                  t        j                  |            ||||            S )zD
        Changes the settings on a customer's cash balance.
        r#   r  %/v1/customers/{customer}/cash_balancer  r  r  r  s         rE   modify_cash_balancezCustomer.modify_cash_balance  sY     7>>!--h7 ?   --   	
 	
rD   r[  c                     t        d| j                  ddj                  t        j                  |            ||||            S )z6
        Retrieves a customer's cash balance.
        r#   r  rC  r  r  r  r  s         rE   retrieve_cash_balancezCustomer.retrieve_cash_balance  sY     7>>!--h7 ?   --   	
 	
rD   c                   $   e Zd ZU ed   ed<   e	 	 	 ddedee   dee   dee   ded	   d
dfd       Z	e
e	 	 	 ddedee   dee   dee   ded	   d
dfd              Ze
	 ddee   ded	   d
dfd       Z ed      	 ddee   ded	   d
dfd       Zy)Customer.TestHelpersr2   _resource_clsNr3   r  r  r  r  r^  r  r%   c                     t        d| j                  ddj                  t        j                  |            ||||            S )C
            Create an incoming testmode bank transfer
            r%   r  7/v1/test_helpers/customers/{customer}/fund_cash_balancer  r  r  r  s         rE   _cls_fund_cash_balancez+Customer.TestHelpers._cls_fund_cash_balance  sZ     0##MTT!%!1!1(!; U  $#1#1! $ 	 rD   c                      yrK  NrC   r  s        rE   fund_cash_balancez&Customer.TestHelpers.fund_cash_balance	  s     rD   r  c                      yrO  rC   r  s      rE   rP  z&Customer.TestHelpers.fund_cash_balance!	  s     rD   rM  c                     t        d| j                  j                  ddj                  t	        j
                  | j                  j                  d                  ||            S )rK  r%   r  rL  r  r  r  )r   resourcer  r  r   r  r  r  s      rE   rP  z&Customer.TestHelpers.fund_cash_balance,	  sg     0&&MTT!%!1!1$--2C2CD2I!J U  %4! ' 
 
rD   NNNr  )r>   r?   r@   r   rB   classmethodrA   r   r   rM  r   staticmethodrP  r   rC   rD   rE   TestHelpersrH    sk   J''	 &*,0,0		 c]	 %SM		
 %SM	 =>	 .	 
	2 
	 &*,0,0	
	
	c]
	 %SM
	 %SM	
	
 =>
	 .
	 
 

	 
 .2	%c]	 =>	 .		 
	 
6	7 .2	%c]	 =>	 .		 
8	rD   rW  c                 $    | j                  |       S r  )rW  )r  s    rE   test_helperszCustomer.test_helpersA	  s    %%rD   )r^   r   r   r   )NNNNrT  r  ){r>   r?   r@   __doc__r4   r   r   rB   r   rF   rY   rb   rr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  r  r  r  r$  r'  r.  r0  r4  r6  r8  r;  r>  rA  rC  rF  rI  rM  rS  rW  rY  r\  rb  re  rh  rk  rn  rr  ru  rx  r{  r  r  r  r  r  r  r  r  r  r   ru   rA   r   r   r   r   r   r   rU  r   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,  r1  r3  r5  r7  r:  r=  r?  rA  rD  rF  r   rW  propertyrY  rX   rC   rD   rE   r2   r2   ;   s	    2<K'*-.;, 4$
, $
L,2< ,2\"4l "4H T	*> T	*lK	Y K	Z	i 		9 		) 	4	) 	,	) 		Y 		i 		i 		) 	4	n 	$	) 	4			> 		> 		 	6		 	$	~ 	0S	*> S	*j	i 		9 		) 	4	) 	,	) 		Y 		i 		i 		) 	4	^ 		. 		> 	$	n 		i 		 		N 	$	^ 	,	~ 		^ 		N 	$	> 		 	$	* 	*	> 	7	C 7	Cr	i 	$	Y 	4	 		 	,O	 O	b	. 		 		~ 	$ g c] =)) L sm HIJ 
  # z"" C= 	G %T#s(^44 SM! //N tCH~&& 3- $C=( J C=  S	** x   5CDE  J~677 
#!<=>> j)** 566 gdm$$  "&)-(,(,
#
 "#
 !	

 !
 01
 

 
0  "&(,(,

 #
 !	

 !
 CD
 

 
6  "&(,(,	# ! !	
 CD 
    *.
!#
 CD
 
	
 
 <= *.
!#
 CD
 
	
 >
, 



!'(?!@

	

 

 "#:;	   v&=> :   -(

67

	

 )

  "&(,(,

 #
 !	

 !
 89
 

 
2  "&(,(,	

#
 !
 !	

 89
 

  
  *.!# 89 
	  01 *.
!#
 89
 
	
 2
(  "&(,(,	# ! !	
 ./ 
J	 6  "&(,(,

 #
 !	

 !
 <=
 
O	$
 
2  "&(,(,	

#
 !
 !	

 <=
 
O	$
  
  *.!# <= 
O	$	  56 *.
!#
 <=
 
O	$	
 7
( 

 &'> ?
	
 
  &'@ A	  
 "&(,(,

 
 #	

 !
 !
 ?@
 

 
6  "&(,(, # !	
 ! ?@ 
    *.		 "#	 ?@		
 
	 	 89 *.

 "#
 ?@	

 

 :
, 	O$%<=	O	J	'	O 	O >$%<=>	*	> >
  "&(,(,

 #
 !	

 !
 BC
 
&
 
2 
 "&(,(,

 
 #	

 !
 !
 DE
 
&
 
6 
 "&(,(,

 
 #	

 !
 !
 BC
 
&
 
6  "&(,(,

 #
 !	

 !
 AB
 
0	1
 
2 
 "&(,(,

 
 #	

 !
 !
 HI
 
*
 
6  "&(,(,

 #
 !	

 !
 EF
 
4	5
 
2  "&(,(,

 #
 !	

 !
 67
 
9	:
 
: 
 "&(,(,

 
 #	

 !
 !
 89
 
9	:
 
6 
 "&(,(,

 
 #	

 !
 !
 67
 
9	:
 
6 
 "&(,(,

 
 #	

 !
 !
 67
 
9	:
 
6  "&(,(,

 #
 !	

 !
 56
 
EDE	F
 
2  "&(,(,

 #
 !	

 !
 56
 

 
2 
 "&(,(,

 
 #	

 !
 !
 78
 

 
6 
 "&(,(,

 
 #	

 !
 !
 56
 

 
6  "&(,(,

 #
 !	

 !
 45
 
G	
 
2  "&(,(,

 #
 !	

 !
 ;<
 

 
2  "&(,(,

 #
 !	

 !
 =>
 

 
2I,Z8 IV & & +	rD   r2   N)Estriper   stripe.api_resources.abstractr   r   r   r   r   r	   r
   %stripe.api_resources.expandable_fieldr    stripe.api_resources.list_objectr   )stripe.api_resources.search_result_objectr   stripe.request_optionsr   stripe.stripe_objectr   stripe.utilr   typingr   r   r   r   r   r   r   r   typing_extensionsr   r   r   r   r   r   urllib.parser   stripe.api_resources.accountr    !stripe.api_resources.bank_accountr!   stripe.api_resources.cardr"   !stripe.api_resources.cash_balancer#   1stripe.api_resources.customer_balance_transactionr$   6stripe.api_resources.customer_cash_balance_transactionr%   stripe.api_resources.discountr&   )stripe.api_resources.funding_instructionsr'   #stripe.api_resources.payment_methodr(   stripe.api_resources.sourcer)   !stripe.api_resources.subscriptionr*   stripe.api_resources.tax_idr+   ,stripe.api_resources.test_helpers.test_clockr,   r2   rW  rI  rC   rD   rE   <module>rt     s       B 7 H 1 - ,	 	 	  $4=.= 7MA2>1F 459:x(x(K$*%$
#*%*%K$ ) ) ; 6K$\H &.   "rD   