
    (g,             
          S SK Jr  S SKJr  S SKJr  S SKJr  S SKJ	r	  S SK
Jr  S SKJr  S SKJr  S S	KJr  S S
KJr  S SKJrJr  S SKJrJrJrJrJrJrJrJrJ r   S SK!J"r"J#r#J$r$J%r%J&r&  \&(       aZ  S SK'J(r(  S SK)J*r*  S SK+J,r,  S SK-J.r/  S SK0J1r1  S SK2J3r3  S SK4J5r5  S SK6J7r7  S SK8J9r9  S SK:J;r;  S SK<J=r=  S SK>J?r?  S SK@JArA  S SKBJCrC  S SKDJErE   " S S\S   \S   \	S   \S   \S   5      rFg)     )CreateableAPIResource)DeletableAPIResource)ExpandableField)
ListObject)ListableAPIResource)RequestOptions)SearchResultObject)SearchableAPIResource)StripeObject)UpdateableAPIResource)class_method_variantsanitize_id)	AsyncIteratorClassVarDictIteratorListOptionalUnioncastoverload)LiteralNotRequired	TypedDictUnpackTYPE_CHECKING)Account)Application)BankAccount)Card)Customer)Discount)Invoice)PaymentMethod)SetupIntent)Source)SubscriptionItem)SubscriptionSchedule)TaxId)TaxRate)	TestClockc                      \ rS rSr% SrSr\\S      \S'    " S S\	5      r
 " S S\	5      r " S	 S
\	5      r " S S\	5      r " S S\	5      r " S S\	5      r " S S\	5      r " S S\	5      r " S S\	5      r " S S\	5      r " S S\5      r " S S\5      r " S S\5      r " S S \5      r " S! S"\5      r " S# S$\5      r " S% S&\5      r " S' S(\5      r " S) S*\5      r " S+ S,\5      r " S- S.\5      r  " S/ S0\5      r! " S1 S2\5      r" " S3 S4\5      r# " S5 S6\5      r$ " S7 S8\5      r% " S9 S:\5      r& " S; S<\5      r' " S= S>\5      r( " S? S@\5      r) " SA SB\5      r* " SC SD\5      r+ " SE SF\5      r, " SG SH\5      r- " SI SJ\5      r. " SK SL\5      r/ " SM SN\5      r0 " SO SP\5      r1 " SQ SR\5      r2 " SS ST\5      r3 " SU SV\5      r4 " SW SX\5      r5 " SY SZ\5      r6 " S[ S\\5      r7 " S] S^\5      r8 " S_ S`\5      r9 " Sa Sb\5      r: " Sc Sd\5      r; " Se Sf\5      r< " Sg Sh\5      r= " Si Sj\5      r> " Sk Sl\5      r? " Sm Sn\5      r@ " So Sp\5      rA " Sq Sr\5      rB " Ss St\5      rC " Su Sv\5      rD " Sw Sx\5      rE " Sy Sz\5      rF " S{ S|\5      rG " S} S~\5      rH " S S\5      rI " S S\5      rJ " S S\5      rK " S S\5      rL " S S\5      rM " S S\5      rN " S S\5      rO " S S\5      rP " S S\5      rQ " S S\5      rR " S S\5      rS " S S\5      rT " S S\5      rU " S S\5      rV " S S\5      rW " S S\5      rX " S S\5      rY " S S\5      rZ " S S\5      r[ " S S\5      r\ " S S\5      r] " S S\5      r^ " S S\5      r_ " S S\5      r` " S S\5      ra " S S\5      rb " S S\5      rc\d\eS      \S'    \d\f   \S'    \
\S'   \g\S'    \d\   \S'    \d\g   \S'    \h\S'    \d\g   \S'    \d\   \S'    \S   \S'    \g\S'    \i\S'    \eS   \S'    \d\g   \S'    \d\eS      \S'    \d\e\jS         \S'    \d\kS      \S'    \d\i   \S'    \k\eS      \S'    \d\g   \S'    \i\S'    \\S'   \lS   \S'    \d\eS      \S'    \h\S'    \m\i\i4   \S'    \d\g   \S'    \S   \S'    \d\eS      \S'    \d\   \S'    \d\   \S'    \d\   \S'    \d\eS      \S'    \d\   \S'    \d\eS      \S'    \g\S'    \S   \S'    \d\eS      \S'    \d\   \S'    \d\g   \S'    \d\   \S'    \d\g   \S'    \nS\iS\oS   SS 4S j5       rp\q\rS\iS\oS   SS 4S j5       5       rs\qS\oS   SS 4S j5       rs\t" S5      S\oS   SS 4S j5       rs\nS\iS\oS   SS 4S j5       ru\q\rS\iS\oS   SS 4S j5       5       rv\qS\oS   SS 4S j5       rv\t" S5      S\oS   SS 4S j5       rv\nS\oS   SS 4S j5       rw\nS\oS   SS 4S j5       rx\nS\iS\oS   SS4S j5       ry\q\rS\iS\oS   SS4GS  j5       5       rz\qS\oS   SS4GS j5       rz\t" GS5      S\oS   SS4GS j5       rz\nS\iS\oS   SS4GS j5       r{\q\rS\iS\oS   SS4GS j5       5       r|\qS\oS   SS4GS j5       r|\t" GS5      S\oS   SS4GS j5       r|\nS\oGS	   S\lS    4GS
 j5       r}\nS\oGS	   S\lS    4GS j5       r~\nS\iS\oGS   SS 4GS j5       r\nS\iS\oGS   SS 4GS j5       r\nS\iS\oGS   SS 4GS j5       r\q\rS\iS\oGS   SS 4GS j5       5       r\qS\oGS   SS 4GS j5       r\t" GS5      S\oGS   SS 4GS j5       r\nS\iS\oGS   SS 4GS j5       r\q\rS\iS\oGS   SS 4GS j5       5       r\qS\oGS   SS 4GS j5       r\t" GS5      S\oGS   SS 4GS j5       r\nS\iS\oGS   SS 4GS j5       r\nS\iS\oGS   SS 4GS j5       r\nGS\oGS   S\S    4GS j5       r\nGS\oGS   S\S    4GS  j5       r\nGS\oGS   S\S    4GS! j5       r\nGS\oGS   S\S    4GS" j5       r\
\\\\\\\\\GS#.
rGS$rGg%(&  Subscription3   z
Subscriptions allow you to charge a customer on a recurring basis.

Related guide: [Creating subscriptions](https://stripe.com/docs/billing/subscriptions/creating)
subscriptionOBJECT_NAMEc                   j    \ rS rSr%  " S S\5      r\\S      \S'    \	\S'    \\   \S'    S\0r
Srg	)
Subscription.AutomaticTaxB   c                   >    \ rS rSr% \\S      \S'    \S   \S'   Srg)#Subscription.AutomaticTax.LiabilityC   r   accountr7   selftype N	__name__
__module____qualname____firstlineno__r   r   __annotations__r   __static_attributes__r;       YC:\Suresh\moveshuttle\MDcreated\moveengine\venv\Lib\site-packages\stripe/_subscription.py	Liabilityr5   C   *    oi899 +,,rC   rE   requires_location_inputsdisabled_reasonenabled	liabilityr;   N)r=   r>   r?   r@   r   rE   r   r   rA   bool_inner_class_typesrB   r;   rC   rD   AutomaticTaxr2   B   sQ    	 	 "'*D"EFF	 	 I&&	 *95rC   rM   c                   h    \ rS rSr% \\S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg)	%Subscription.BillingCycleAnchorConfig[   day_of_monthhourminutemonthsecondr;   N)r=   r>   r?   r@   intrA   r   rB   r;   rC   rD   BillingCycleAnchorConfigrO   [   sQ    	 sm	 	 }	 	rC   rW   c                   V    \ rS rSr% \\   \S'    \\S      \S'    \\S      \S'   Srg)	 Subscription.CancellationDetailsq   comment)customer_servicelow_qualitymissing_featuresotherswitched_servicetoo_complextoo_expensiveunusedfeedback)cancellation_requestedpayment_disputedpayment_failedreasonr;   N)	r=   r>   r?   r@   r   strrA   r   rB   r;   rC   rD   CancellationDetailsrY   q   sQ    #	 	
 	
	 N
 	

	rC   rj   c                   \    \ rS rSr%  " S S\5      r\\\S         \	S'    \\	S'   S\0r
Srg)	Subscription.InvoiceSettings   c                   >    \ rS rSr% \\S      \S'    \S   \S'   Srg)#Subscription.InvoiceSettings.Issuer   r   r7   r8   r:   r;   Nr<   r;   rC   rD   Issuerro      rF   rC   rq   r)   account_tax_idsissuerr;   N)r=   r>   r?   r@   r   rq   r   r   r   rA   rL   rB   r;   rC   rD   InvoiceSettingsrl      s<    	\ 	 "$w'?"@AA	 &/rC   rt   c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)Subscription.PauseCollection   keep_as_draftmark_uncollectiblevoidbehavior
resumes_atr;   N)	r=   r>   r?   r@   r   rA   r   rV   rB   r;   rC   rD   PauseCollectionrv      s$    GHH	 SM!	rC   r~   c                   |    \ rS rSr%  " S S\5      r\\   \S'    \\\	S         \S'    \\	S      \S'    S\0r
S	rg
)Subscription.PaymentSettings   c                   B   \ rS rSr%  " S S\5      r " S S\5      r " S S\5      r " S S	\5      r " S
 S\5      r	 " S S\5      r
 " S S\5      r\\   \S'    \\   \S'    \\   \S'    \\   \S'    \\	   \S'    \\
   \S'    \\   \S'    \\\\\	\
\S.rSrg)1Subscription.PaymentSettings.PaymentMethodOptions   c                   \    \ rS rSr%  " S S\5      r\\   \S'   \\S      \S'    S\0r	Sr
g)	;Subscription.PaymentSettings.PaymentMethodOptions.AcssDebit   c                   ,    \ rS rSr% \\S      \S'   Srg)JSubscription.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions   businesspersonaltransaction_typer;   N)r=   r>   r?   r@   r   r   rA   rB   r;   rC   rD   MandateOptionsr      s    &.w7M/N&OOrC   r   mandate_options	automaticinstantmicrodepositsverification_methodr;   Nr=   r>   r?   r@   r   r   r   rA   r   rL   rB   r;   rC   rD   	AcssDebitr      sC    \  "*.!99%-CD&  '8%H"rC   r   c                   &    \ rS rSr% \S   \S'   Srg)<Subscription.PaymentSettings.PaymentMethodOptions.Bancontact   deenfrnlpreferred_languager;   Nr=   r>   r?   r@   r   rA   rB   r;   rC   rD   
Bancontactr      s    $+,B$CCrC   r   c                   t    \ rS rSr%  " S S\5      r\\   \S'   \\S      \S'    \\S      \S'    S\0r	S	r
g
)6Subscription.PaymentSettings.PaymentMethodOptions.Card   c                   P    \ rS rSr% \\   \S'    \\S      \S'    \\   \S'   Sr	g)ESubscription.PaymentSettings.PaymentMethodOptions.Card.MandateOptions   amountfixedmaximumamount_typedescriptionr;   N)
r=   r>   r?   r@   r   rV   rA   r   ri   rB   r;   rC   rD   r   r      s:    $SM) "*'2D*E!FF "*#.rC   r   r   amexcartes_bancairesdinersdiscover	eftpos_augirocardinteracjcblink
mastercardunionpayunknownvisanetworkanyr   	challengerequest_three_d_securer;   Nr   r;   rC   rD   r    r      sd    \  "*.!99!  " )1;<)  '8%H"rC   r    c                   \    \ rS rSr%  " S S\5      r\\   \S'   \\S      \S'    S\0r	Sr
g)ASubscription.PaymentSettings.PaymentMethodOptions.CustomerBalance   c                   V    \ rS rSr%  " S S\5      r\\   \S'   \\   \S'    S\0r	Sr
g)NSubscription.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer   c                   &    \ rS rSr% \S   \S'   Srg)]Subscription.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer   )BEDEESFRIENLcountryr;   Nr   r;   rC   rD   EuBankTransferr      s    !()K!LLrC   r   eu_bank_transferr:   r;   N)r=   r>   r?   r@   r   r   r   rA   ri   rL   rB   r;   rC   rD   BankTransferr      s7      '/~&>>"3-' +=n)M&rC   r   bank_transferfunding_typer;   N)r=   r>   r?   r@   r   r   r   rA   r   rL   rB   r;   rC   rD   CustomerBalancer      s?    N< N  (55&w'?@@ '6|%D"rC   r   c                       \ rS rSrSrg)9Subscription.PaymentSettings.PaymentMethodOptions.Konbinii  r;   Nr=   r>   r?   r@   rB   r;   rC   rD   Konbinir         rC   r   c                       \ rS rSrSrg);Subscription.PaymentSettings.PaymentMethodOptions.SepaDebiti  r;   Nr   r;   rC   rD   	SepaDebitr     r   rC   r   c                   \    \ rS rSr%  " S S\5      r\\   \S'   \\S      \S'    S\0r	Sr
g)	?Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccounti
  c                       \ rS rSr%  " S S\5      r\\   \S'   \\\	S         \S'    \\\	S         \S'    S\0r
S	rg
)TSubscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnectionsi  c                   2    \ rS rSr% \\\S         \S'   Srg)\Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filtersi  checkingsavingsaccount_subcategoriesr;   N)	r=   r>   r?   r@   r   r   r   rA   rB   r;   rC   rD   Filtersr     s"    /7 )>!?@0 rC   r   filtersbalances	ownershippayment_methodtransactionspermissionsr   r   r   prefetchr;   N)r=   r>   r?   r@   r   r   r   rA   r   r   rL   rB   r;   rC   rD   FinancialConnectionsr     sq    ,  &g..!)#!0	" 	 'W%LMN  +4W)=&rC   r   financial_connectionsr   r   r;   N)r=   r>   r?   r@   r   r   r   rA   r   rL   rB   r;   rC   rD   UsBankAccountr   
  sG    >< >> (00D'EE%-CD&  ,-A&"rC   r   
acss_debit
bancontactcardcustomer_balancekonbini
sepa_debitus_bank_account)r   r   r   r   r   r   r   r;   N)r=   r>   r?   r@   r   r   r   r    r   r   r   r   r   rA   rL   rB   r;   rC   rD   PaymentMethodOptionsr      s    IL I \ *I| *IXE, E,, L ) )V !++ !,, 4.  '77 g&& !++ &m44 (($3"'#0"rC   r   payment_method_options)%ach_credit_transfer	ach_debitr   
amazon_payau_becs_debit
bacs_debitr   boletor   cashappr   epsfpxgiropaygrabpayidealjp_credit_transfer	kakao_payklarnar   kr_cardr   
multibanco	naver_paynz_bank_accountp24paycopaynowpaypal	promptpayrevolut_paysepa_credit_transferr   sofortswishr   
wechat_paypayment_method_typesoffon_subscriptionsave_default_payment_methodr;   N)r=   r>   r?   r@   r   r   r   rA   r   r   rL   rB   r;   rC   rD   PaymentSettingsr      sy    n	< n	` !))= >>	 '$"&(*
 *	
V	 &.,-&
 	
	 78LMrC   r"  c                   2    \ rS rSr% \S   \S'    \\S'   Srg)'Subscription.PendingInvoiceItemIntervali  dayrT   weekyearintervalinterval_countr;   N)r=   r>   r?   r@   r   rA   rV   rB   r;   rC   rD   PendingInvoiceItemIntervalr$    s     899	 	rC   r+  c                   n    \ rS rSr% \\   \S'    \\S'    \\S      \S'    \\   \S'    \\   \S'   Sr	g	)
Subscription.PendingUpdatei  billing_cycle_anchor
expires_atr'   subscription_items	trial_endtrial_from_planr;   N)
r=   r>   r?   r@   r   rV   rA   r   rK   rB   r;   rC   rD   PendingUpdater-    sW    &sm+	 	 %T*<%=>>	 C= 	 "$'	rC   r3  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)Subscription.TransferDatai  amount_percentr   destinationr;   N)	r=   r>   r?   r@   r   floatrA   r   rB   r;   rC   rD   TransferDatar5    s#     '	 %Y//	rC   r9  c                   @    \ rS rSr%  " S S\5      r\\S'    S\0rSrg)Subscription.TrialSettingsi  c                   &    \ rS rSr% \S   \S'   Srg)&Subscription.TrialSettings.EndBehaviori  cancelcreate_invoicepausemissing_payment_methodr;   Nr   r;   rC   rD   EndBehaviorr=    s    $+3% rC   rC  end_behaviorr;   N)	r=   r>   r?   r@   r   rC  rA   rL   rB   r;   rC   rD   TrialSettingsr;    s(    	, 	 "!	 -k:rC   rE  c                   b    \ rS rSr% \S   \S'    \\\      \S'    \\   \S'    \\   \S'   Sr	g)	Subscription.CancelParamsi  ,Subscription.CancelParamsCancellationDetailscancellation_detailsexpandinvoice_nowprorater;   N)
r=   r>   r?   r@   r   rA   r   ri   rK   rB   r;   rC   rD   CancelParamsrG    sQ    ):
 	
	 DI&&	 !&&	 T""	rC   rM  c                   8    \ rS rSr% \S   \S'    \S   \S'   Srg)rH  i  Literal['']|strr[   Literal['']|Literal['customer_service', 'low_quality', 'missing_features', 'other', 'switched_service', 'too_complex', 'too_expensive', 'unused']rd   r;   Nr=   r>   r?   r@   r   rA   rB   r;   rC   rD   CancelParamsCancellationDetails,Subscription.CancelParamsCancellationDetails  -    .//	  `
 	
	rC   rR  c                   r   \ rS rSr% \\S      \S'    \S   \S'    \S   \S'    \\   \S'    \\   \S	'    \S
   \S'    \\   \S'    \\   \S'    \\	S      \S'    \\
   \S'    \
\S'    \\   \S'    \\
   \S'    \\
   \S'    \S   \S'    \\
   \S'    \S   \S'    \\\
      \S'    \S   \S'    \\S      \S'    \S   \S '    \\   \S!'    \S"   \S#'    \\	S$      \S%'    \S&   \S''    \S(   \S)'    \\	S*      \S+'    \S,   \S-'    \S.   \S/'    \\   \S0'    \\   \S1'    \S2   \S3'   S4rg5)6Subscription.CreateParamsi  'Subscription.CreateParamsAddInvoiceItemadd_invoice_itemsLiteral['']|floatapplication_fee_percent%Subscription.CreateParamsAutomaticTaxautomatic_taxbackdate_start_dater.  1Subscription.CreateParamsBillingCycleAnchorConfigbilling_cycle_anchor_config	cancel_atcancel_at_period_endcharge_automaticallysend_invoicecollection_methodcurrencycustomerdays_until_duedefault_payment_methoddefault_sourceLiteral['']|List[str]default_tax_ratesr   z3Literal['']|List[Subscription.CreateParamsDiscount]	discountsrJ  (Subscription.CreateParamsInvoiceSettingsinvoice_settingsSubscription.CreateParamsItemitemsLiteral['']|Dict[str, str]metadataoff_sessionrO  on_behalf_ofallow_incompletedefault_incompleteerror_if_incompletepending_if_incompletepayment_behavior(Subscription.CreateParamsPaymentSettingspayment_settingsz?Literal['']|Subscription.CreateParamsPendingInvoiceItemIntervalpending_invoice_item_intervalalways_invoicecreate_prorationsnoneproration_behavior%Subscription.CreateParamsTransferDatatransfer_dataLiteral['now']|intr1  r2  trial_period_days&Subscription.CreateParamsTrialSettingstrial_settingsr;   N)r=   r>   r?   r@   r   r   rA   rV   rK   r   ri   rB   r;   rC   rD   CreateParamsrV    s   &:;
 	
	 "--@!AA	 ##JKK	 )--	 *#..	 &1?&
 	
	 s##	 *$//	 ':;
 	
	 c""	 	 $C((	 !,C 00	 $C((	 ''>??	 !%%	 A
 	
	 DI&&	 &6
 	
	 4 ?@AA	 :;;	 !&&	 ""344	 &)
 	
	 &6
 	
	 (3M(
 	
	 (AB
 	
	 ##JKK	 344	 %T**	 's++	 $$LMM	rC   r  c                   t    \ rS rSr% \\S      \S'    \\   \S'    \S   \S'    \\   \S'    \S   \S	'   S
r	g)rW  i  /Subscription.CreateParamsAddInvoiceItemDiscountrm  price0Subscription.CreateParamsAddInvoiceItemPriceData
price_dataquantityrk  	tax_ratesr;   N
r=   r>   r?   r@   r   r   rA   ri   rV   rB   r;   rC   rD   CreateParamsAddInvoiceItem'Subscription.CreateParamsAddInvoiceItem  k    BC
 	
	 3	  >
 	
	 c""	 677	rC   r  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)r  i  coupondiscountpromotion_coder;   Nr=   r>   r?   r@   r   ri   rA   rB   r;   rC   rD   "CreateParamsAddInvoiceItemDiscount/Subscription.CreateParamsAddInvoiceItemDiscount  6    C  	 c""	 $C((	rC   r  c                   h    \ rS rSr% \\S'    \\S'    \\S      \S'    \\   \S'    \\   \S'   Sr	g	)
r  i  rf  product	exclusive	inclusiveunspecifiedtax_behaviorunit_amountunit_amount_decimalr;   N
r=   r>   r?   r@   ri   rA   r   r   rV   rB   r;   rC   rD   #CreateParamsAddInvoiceItemPriceData0Subscription.CreateParamsAddInvoiceItemPriceData  Y    	 	 ";<
 	
	 !%%	 )--	rC   r  c                   2    \ rS rSr% \\S'    \S   \S'   Srg)r[  i  rI   .Subscription.CreateParamsAutomaticTaxLiabilityrJ   r;   Nr=   r>   r?   r@   rK   rA   r   rB   r;   rC   rD   CreateParamsAutomaticTax%Subscription.CreateParamsAutomaticTax  #    	 <
 	
	rC   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r  i  r7   r8   r:   r;   N	r=   r>   r?   r@   r   ri   rA   r   rB   r;   rC   rD   !CreateParamsAutomaticTaxLiability.Subscription.CreateParamsAutomaticTaxLiability  %    S!!	 '((	rC   r  c                   h    \ rS rSr% \\S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg)	r^  i  rQ   rR   rS   rT   rU   r;   N)r=   r>   r?   r@   rV   rA   r   rB   r;   rC   rD   $CreateParamsBillingCycleAnchorConfig1Subscription.CreateParamsBillingCycleAnchorConfig  sU    	 #	 C  	 3	 C  	rC   r  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)!Subscription.CreateParamsDiscounti  r  r  r  r;   Nr  r;   rC   rD   CreateParamsDiscountr    r  rC   r  c                   8    \ rS rSr% \S   \S'    \S   \S'   Srg)rn  i  rk  rr   .Subscription.CreateParamsInvoiceSettingsIssuerrs   r;   NrQ  r;   rC   rD   CreateParamsInvoiceSettings(Subscription.CreateParamsInvoiceSettings  &    $%<==	 LMM	rC   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r  i  r7   r8   r:   r;   Nr  r;   rC   rD   !CreateParamsInvoiceSettingsIssuer.Subscription.CreateParamsInvoiceSettingsIssuer  r  rC   r  c                       \ rS rSr% \S   \S'    \\\\4      \S'    \\   \S'    \\   \S'    \S   \S'    \\   \S	'    \S
   \S'   Sr	g)rp  i  z7Literal['']|List[Subscription.CreateParamsItemDiscount]rm  rs  planr  &Subscription.CreateParamsItemPriceDatar  r  rk  r  r;   N)
r=   r>   r?   r@   r   rA   r   ri   rV   rB   r;   rC   rD   CreateParamsItemSubscription.CreateParamsItem  s    E
 	
	 d38n--	 #	 3	   HII	 c""	 677	rC   r  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)%Subscription.CreateParamsItemDiscounti?  r  r  r  r;   Nr  r;   rC   rD   CreateParamsItemDiscountr  ?  r  rC   r  c                   t    \ rS rSr% \\S'    \\S'    S\S'    \\S      \S'    \\   \S'    \\   \S	'   S
r	g)r  iM  rf  r  /Subscription.CreateParamsItemPriceDataRecurring	recurringr  r  r  r  r;   Nr  r;   rC   rD   CreateParamsItemPriceData&Subscription.CreateParamsItemPriceDataM  g    	 	 ED	 ";<
 	
	 !%%	 )--	rC   r  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)r  ii  r%  r)  r*  r;   N	r=   r>   r?   r@   r   rA   r   rV   rB   r;   rC   rD   "CreateParamsItemPriceDataRecurring/Subscription.CreateParamsItemPriceDataRecurringi  %    899	 $C((	rC   r  c                   P    \ rS rSr% \S   \S'    \S   \S'    \\S      \S'   Srg	)
r|  is  <Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsr     Literal['']|List[Literal['ach_credit_transfer', 'ach_debit', 'acss_debit', 'amazon_pay', 'au_becs_debit', 'bacs_debit', 'bancontact', 'boleto', 'card', 'cashapp', 'customer_balance', 'eps', 'fpx', 'giropay', 'grabpay', 'ideal', 'jp_credit_transfer', 'kakao_pay', 'klarna', 'konbini', 'kr_card', 'link', 'multibanco', 'naver_pay', 'nz_bank_account', 'p24', 'payco', 'paynow', 'paypal', 'promptpay', 'revolut_pay', 'sepa_credit_transfer', 'sepa_debit', 'sofort', 'swish', 'us_bank_account', 'wechat_pay']]r  r  r!  r;   Nr=   r>   r?   r@   r   rA   r   rB   r;   rC   rD   CreateParamsPaymentSettings(Subscription.CreateParamsPaymentSettingss  N     +J!
 	
	 * F
 	
	 &1,-&
 	
	rC   r  c                       \ rS rSr% \S   \S'    \S   \S'    \S   \S'    \S   \S	'    \S
   \S'    \S   \S'    \S   \S'   Srg)r  i  zQLiteral['']|Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitr   zRLiteral['']|Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsBancontactr   zLLiteral['']|Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsCardr   zWLiteral['']|Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancer   zOLiteral['']|Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsKonbinir   zQLiteral['']|Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebitr   zULiteral['']|Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountr   r;   NrQ  r;   rC   rD   /CreateParamsPaymentSettingsPaymentMethodOptions<Subscription.CreateParamsPaymentSettingsPaymentMethodOptions      _
 	
	  `
 	
	 Z
 	
	 &e
 	
	 ]
 	
	  _
 	
	 %c
 	
	rC   r  c                   >    \ rS rSr% \S   \S'    \\S      \S'   Srg)ESubscription.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebiti  SSubscription.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsr   r   r   r;   Nr  r;   rC   rD   8CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitr    4    $a
 	
	 );<
 	
	rC   r  c                   ,    \ rS rSr% \\S      \S'   Srg)r  i  r   r   r;   Nr=   r>   r?   r@   r   r   rA   rB   r;   rC   rD   FCreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsSSubscription.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptions       &g.D&EFF	rC   r  c                   ,    \ rS rSr% \\S      \S'   Srg)FSubscription.CreateParamsPaymentSettingsPaymentMethodOptionsBancontacti  r   r   r;   Nr  r;   rC   rD   9CreateParamsPaymentSettingsPaymentMethodOptionsBancontactr        '0F(GHH	rC   r  c                   V    \ rS rSr% \S   \S'    \\S      \S'    \\S      \S'   Srg	)
@Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsCardi  NSubscription.CreateParamsPaymentSettingsPaymentMethodOptionsCardMandateOptionsr   r   r   r   r   r;   Nr  r;   rC   rD   3CreateParamsPaymentSettingsPaymentMethodOptionsCardr    U    $\
 	
	 
 	
"	 !,34!
 	
	rC   r  c                   P    \ rS rSr% \\   \S'    \\S      \S'    \\   \S'   Sr	g)r  i  r   r   r   r   r;   N
r=   r>   r?   r@   r   rV   rA   r   ri   rB   r;   rC   rD   ACreateParamsPaymentSettingsPaymentMethodOptionsCardMandateOptionsNSubscription.CreateParamsPaymentSettingsPaymentMethodOptionsCardMandateOptions  >     C  	 !);!<==	 !%%	rC   r  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)KSubscription.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancei  WSubscription.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferr   r   r;   Nr=   r>   r?   r@   r   rA   ri   rB   r;   rC   rD   >CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancer    +     #e
 	
	 "#&&	rC   r  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)r  i  eSubscription.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferr   r:   r;   Nr  r;   rC   rD   JCreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferWSubscription.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer  +     &s
 	
	 #	rC   r  c                        \ rS rSr% \\S'   Srg)r  i  r   r;   Nr=   r>   r?   r@   ri   rA   rB   r;   rC   rD   XCreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfereSubscription.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer       	rC   r  c                       \ rS rSrSrg)CSubscription.CreateParamsPaymentSettingsPaymentMethodOptionsKonbinii%  r;   Nr   r;   rC   rD   6CreateParamsPaymentSettingsPaymentMethodOptionsKonbinir  %      rC   r  c                       \ rS rSrSrg)ESubscription.CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebiti(  r;   Nr   r;   rC   rD   8CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebitr  (  r  rC   r  c                   >    \ rS rSr% \S   \S'    \\S      \S'   Srg)ISubscription.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccounti+  ]Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsr   r   r   r;   Nr  r;   rC   rD   <CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountr  +  6      +k 
 	
	 );<
 	
	rC   r  c                   b    \ rS rSr% \S   \S'    \\\S         \S'    \\\S         \S'   Srg	)
r  i;  dSubscription.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersr   r   r   r   r   r;   N	r=   r>   r?   r@   r   rA   r   r   rB   r;   rC   rD   PCreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections]Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections;  b     r
 	
	 !M
 	
	 @AB
 	
	rC   r  c                   2    \ rS rSr% \\\S         \S'   Srg)r  iU  r   r   r;   N	r=   r>   r?   r@   r   r   r   rA   rB   r;   rC   rD   WCreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersdSubscription.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersU  $      +./0 
 	
	rC   r  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)3Subscription.CreateParamsPendingInvoiceItemIntervali_  r%  r)  r*  r;   Nr  r;   rC   rD   &CreateParamsPendingInvoiceItemIntervalr"  _  r  rC   r#  c                   2    \ rS rSr% \\   \S'    \\S'   Srg)r  ii  r6  r7  r;   N	r=   r>   r?   r@   r   r8  rA   ri   rB   r;   rC   rD   CreateParamsTransferData%Subscription.CreateParamsTransferDatai      #E**	 	rC   r&  c                        \ rS rSr% S\S'   Srg)r  is  1Subscription.CreateParamsTrialSettingsEndBehaviorrD  r;   Nr=   r>   r?   r@   rA   rB   r;   rC   rD   CreateParamsTrialSettings&Subscription.CreateParamsTrialSettingss      II	rC   r,  c                   &    \ rS rSr% \S   \S'   Srg)r*  iy  r>  rB  r;   Nr   r;   rC   rD   $CreateParamsTrialSettingsEndBehavior1Subscription.CreateParamsTrialSettingsEndBehaviory       '(K LL	rC   r0  c                       \ rS rSrSrg)!Subscription.DeleteDiscountParamsi  r;   Nr   r;   rC   rD   DeleteDiscountParamsr4    r  rC   r5  c                   "   \ rS rSr% \S   \S'    \\S      \S'    \S   \S'    \S   \S	'    \S
   \S'    \\   \S'    \\   \S'    \\\      \S'    \\	   \S'    \\   \S'    \\   \S'    \\   \S'    \\S      \S'    \\   \S'   Sr
g)Subscription.ListParamsi  #Subscription.ListParamsAutomaticTaxr\  rb  re  z"Subscription.ListParamsCreated|intcreatedz+Subscription.ListParamsCurrentPeriodEnd|intcurrent_period_endz-Subscription.ListParamsCurrentPeriodStart|intcurrent_period_startrg  ending_beforerJ  limitr  r  starting_after)
activeallcanceledended
incompleteincomplete_expiredpast_duepausedtrialingunpaidstatus
test_clockr;   N)r=   r>   r?   r@   r   rA   r   ri   r   rV   rB   r;   rC   rD   
ListParamsr7    s&   "#HII	 ':;
 	
	 ABB	 (9
 	
	 *;
 	
	 c""	 #3''	 DI&&	 3	 #	 3	 $C((	 	
 	
	  $$	rC   rK  c                        \ rS rSr% \\S'   Srg)r8  i  rI   r;   N)r=   r>   r?   r@   rK   rA   rB   r;   rC   rD   ListParamsAutomaticTax#Subscription.ListParamsAutomaticTax  s    	rC   rM  c                   \    \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg)Subscription.ListParamsCreatedi  gtgteltlter;   Nr=   r>   r?   r@   r   rV   rA   rB   r;   rC   rD   ListParamsCreatedrP    H    	 	 	 	rC   rV  c                   \    \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg)'Subscription.ListParamsCurrentPeriodEndi  rQ  rR  rS  rT  r;   NrU  r;   rC   rD   ListParamsCurrentPeriodEndrY    rW  rC   rZ  c                   \    \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg))Subscription.ListParamsCurrentPeriodStarti  rQ  rR  rS  rT  r;   NrU  r;   rC   rD   ListParamsCurrentPeriodStartr\    rW  rC   r]  c                   Z   \ rS rSr% \\S      \S'    \S   \S'    \S   \S'    \\S      \S	'    \S
   \S'    \\   \S'    \S   \S'    \\S      \S'    \\	   \S'    \\
   \S'    \S   \S'    \S   \S'    \S   \S'    \S   \S'    \\\
      \S'    \S   \S'    \\S      \S'    \S   \S '    \\   \S!'    \S   \S"'    \S#   \S$'    \\S%      \S&'    \S'   \S('    \S)   \S*'    \\S+      \S,'    \\	   \S-'    \S.   \S/'    \S0   \S1'    \\   \S2'    \S3   \S4'   S5rg6)7Subscription.ModifyParamsi  'Subscription.ModifyParamsAddInvoiceItemrX  rY  rZ  %Subscription.ModifyParamsAutomaticTaxr\  now	unchangedr.  zLiteral['']|intr`  ra  ,Subscription.ModifyParamsCancellationDetailsrI  rb  re  rh  ri  rO  rj  rk  rl  r   z3Literal['']|List[Subscription.ModifyParamsDiscount]rm  rJ  (Subscription.ModifyParamsInvoiceSettingsro  Subscription.ModifyParamsItemrq  rr  rs  rt  ru  z4Literal['']|Subscription.ModifyParamsPauseCollectionpause_collectionrv  r{  (Subscription.ModifyParamsPaymentSettingsr}  z?Literal['']|Subscription.ModifyParamsPendingInvoiceItemIntervalr~  r  r  proration_datez1Literal['']|Subscription.ModifyParamsTransferDatar  r  r1  r2  &Subscription.ModifyParamsTrialSettingsr  r;   N)r=   r>   r?   r@   r   r   rA   r   rK   rV   ri   rB   r;   rC   rD   ModifyParamsr_    s   &:;
 	
	 "--@!AA	 ##JKK	 *'2D*EFF	 011	 *$//	 *:
 	
	 ':;
 	
	 $C((	 !,C 00	 $$566	 ''>??	 !!233	 A
 	
	 DI&&	 &6
 	
	 4 ?@AA	 :;;	 !&&	 ""344	 &B
 	
	 &)
 	
	 &6
 	
	 (3M(
 	
	 (AB
 	
	 $C((	 #?
 	
	 344	 %T**	 $$LMM	rC   rl  c                   t    \ rS rSr% \\S      \S'    \\   \S'    \S   \S'    \\   \S'    \S   \S	'   S
r	g)r`  i  /Subscription.ModifyParamsAddInvoiceItemDiscountrm  r  0Subscription.ModifyParamsAddInvoiceItemPriceDatar  r  rk  r  r;   Nr  r;   rC   rD   ModifyParamsAddInvoiceItem'Subscription.ModifyParamsAddInvoiceItem  r  rC   rp  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)rn  i  r  r  r  r;   Nr  r;   rC   rD   "ModifyParamsAddInvoiceItemDiscount/Subscription.ModifyParamsAddInvoiceItemDiscount  r  rC   rs  c                   h    \ rS rSr% \\S'    \\S'    \\S      \S'    \\   \S'    \\   \S'   Sr	g	)
ro  i  rf  r  r  r  r  r  r;   Nr  r;   rC   rD   #ModifyParamsAddInvoiceItemPriceData0Subscription.ModifyParamsAddInvoiceItemPriceData  r  rC   rv  c                   2    \ rS rSr% \\S'    \S   \S'   Srg)ra  i  rI   .Subscription.ModifyParamsAutomaticTaxLiabilityrJ   r;   Nr  r;   rC   rD   ModifyParamsAutomaticTax%Subscription.ModifyParamsAutomaticTax  r  rC   rz  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)ry  i  r7   r8   r:   r;   Nr  r;   rC   rD   !ModifyParamsAutomaticTaxLiability.Subscription.ModifyParamsAutomaticTaxLiability  r  rC   r}  c                   8    \ rS rSr% \S   \S'    \S   \S'   Srg)re  i  rO  r[   rP  rd   r;   NrQ  r;   rC   rD   ModifyParamsCancellationDetails,Subscription.ModifyParamsCancellationDetails  rT  rC   r  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)!Subscription.ModifyParamsDiscounti  r  r  r  r;   Nr  r;   rC   rD   ModifyParamsDiscountr    r  rC   r  c                   8    \ rS rSr% \S   \S'    \S   \S'   Srg)rf  i  rk  rr   .Subscription.ModifyParamsInvoiceSettingsIssuerrs   r;   NrQ  r;   rC   rD   ModifyParamsInvoiceSettings(Subscription.ModifyParamsInvoiceSettings  r  rC   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r  i   r7   r8   r:   r;   Nr  r;   rC   rD   !ModifyParamsInvoiceSettingsIssuer.Subscription.ModifyParamsInvoiceSettingsIssuer   r  rC   r  c                       \ rS rSr% \\   \S'    \\   \S'    \S   \S'    \\   \S'    \S   \S'    \\   \S	'    \\   \S
'    \S   \S'    \\   \S'    \S   \S'   Sr	g)rg  i*  clear_usagedeletedz7Literal['']|List[Subscription.ModifyParamsItemDiscount]rm  idrr  rs  r  r  &Subscription.ModifyParamsItemPriceDatar  r  rk  r  r;   N)
r=   r>   r?   r@   r   rK   rA   ri   rV   rB   r;   rC   rD   ModifyParamsItemSubscription.ModifyParamsItem*  s     &&	 T""	 E
 	
	 	 :;;	 #	 3	   HII	 c""	 677	rC   r  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)%Subscription.ModifyParamsItemDiscountiV  r  r  r  r;   Nr  r;   rC   rD   ModifyParamsItemDiscountr  V  r  rC   r  c                   t    \ rS rSr% \\S'    \\S'    S\S'    \\S      \S'    \\   \S'    \\   \S	'   S
r	g)r  id  rf  r  /Subscription.ModifyParamsItemPriceDataRecurringr  r  r  r  r  r;   Nr  r;   rC   rD   ModifyParamsItemPriceData&Subscription.ModifyParamsItemPriceDatad  r  rC   r  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)r  i  r%  r)  r*  r;   Nr  r;   rC   rD   "ModifyParamsItemPriceDataRecurring/Subscription.ModifyParamsItemPriceDataRecurring  r  rC   r  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)(Subscription.ModifyParamsPauseCollectioni  rx   r|   r}   r;   Nr  r;   rC   rD   ModifyParamsPauseCollectionr    s%    GHH	  $$	rC   r  c                   P    \ rS rSr% \S   \S'    \S   \S'    \\S      \S'   Srg	)
ri  i  <Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsr   r  r  r  r!  r;   Nr  r;   rC   rD   ModifyParamsPaymentSettings(Subscription.ModifyParamsPaymentSettings  r  rC   r  c                       \ rS rSr% \S   \S'    \S   \S'    \S   \S'    \S   \S	'    \S
   \S'    \S   \S'    \S   \S'   Srg)r  i  zQLiteral['']|Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebitr   zRLiteral['']|Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsBancontactr   zLLiteral['']|Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsCardr   zWLiteral['']|Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalancer   zOLiteral['']|Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsKonbinir   zQLiteral['']|Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsSepaDebitr   zULiteral['']|Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountr   r;   NrQ  r;   rC   rD   /ModifyParamsPaymentSettingsPaymentMethodOptions<Subscription.ModifyParamsPaymentSettingsPaymentMethodOptions  r  rC   r  c                   >    \ rS rSr% \S   \S'    \\S      \S'   Srg)ESubscription.ModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebiti  SSubscription.ModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsr   r   r   r;   Nr  r;   rC   rD   8ModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebitr    r  rC   r  c                   ,    \ rS rSr% \\S      \S'   Srg)r  i  r   r   r;   Nr  r;   rC   rD   FModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsSSubscription.ModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptions  r  rC   r  c                   ,    \ rS rSr% \\S      \S'   Srg)FSubscription.ModifyParamsPaymentSettingsPaymentMethodOptionsBancontacti  r   r   r;   Nr  r;   rC   rD   9ModifyParamsPaymentSettingsPaymentMethodOptionsBancontactr    r  rC   r  c                   V    \ rS rSr% \S   \S'    \\S      \S'    \\S      \S'   Srg	)
@Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsCardi  NSubscription.ModifyParamsPaymentSettingsPaymentMethodOptionsCardMandateOptionsr   r   r   r   r   r;   Nr  r;   rC   rD   3ModifyParamsPaymentSettingsPaymentMethodOptionsCardr    r  rC   r  c                   P    \ rS rSr% \\   \S'    \\S      \S'    \\   \S'   Sr	g)r  i  r   r   r   r   r;   Nr  r;   rC   rD   AModifyParamsPaymentSettingsPaymentMethodOptionsCardMandateOptionsNSubscription.ModifyParamsPaymentSettingsPaymentMethodOptionsCardMandateOptions  r  rC   r  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)KSubscription.ModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalancei"  WSubscription.ModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferr   r   r;   Nr  r;   rC   rD   >ModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalancer  "  r  rC   r  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)r  i0  eSubscription.ModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferr   r:   r;   Nr  r;   rC   rD   JModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferWSubscription.ModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer0  r  rC   r  c                        \ rS rSr% \\S'   Srg)r  i>  r   r;   Nr  r;   rC   rD   XModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfereSubscription.ModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer>  r	  rC   r  c                       \ rS rSrSrg)CSubscription.ModifyParamsPaymentSettingsPaymentMethodOptionsKonbiniiF  r;   Nr   r;   rC   rD   6ModifyParamsPaymentSettingsPaymentMethodOptionsKonbinir  F  r  rC   r  c                       \ rS rSrSrg)ESubscription.ModifyParamsPaymentSettingsPaymentMethodOptionsSepaDebitiI  r;   Nr   r;   rC   rD   8ModifyParamsPaymentSettingsPaymentMethodOptionsSepaDebitr  I  r  rC   r  c                   >    \ rS rSr% \S   \S'    \\S      \S'   Srg)ISubscription.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountiL  ]Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsr   r   r   r;   Nr  r;   rC   rD   <ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountr  L  r  rC   r  c                   b    \ rS rSr% \S   \S'    \\\S         \S'    \\\S         \S'   Srg	)
r  i\  dSubscription.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersr   r   r   r   r   r;   Nr  r;   rC   rD   PModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections]Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections\  r  rC   r  c                   2    \ rS rSr% \\\S         \S'   Srg)r  iv  r   r   r;   Nr  r;   rC   rD   WModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersdSubscription.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersv  r   rC   r  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)3Subscription.ModifyParamsPendingInvoiceItemIntervali  r%  r)  r*  r;   Nr  r;   rC   rD   &ModifyParamsPendingInvoiceItemIntervalr    r  rC   r  c                   2    \ rS rSr% \\   \S'    \\S'   Srg)%Subscription.ModifyParamsTransferDatai  r6  r7  r;   Nr%  r;   rC   rD   ModifyParamsTransferDatar    r(  rC   r  c                        \ rS rSr% S\S'   Srg)rk  i  1Subscription.ModifyParamsTrialSettingsEndBehaviorrD  r;   Nr+  r;   rC   rD   ModifyParamsTrialSettings&Subscription.ModifyParamsTrialSettings  r.  rC   r  c                   &    \ rS rSr% \S   \S'   Srg)r  i  r>  rB  r;   Nr   r;   rC   rD   $ModifyParamsTrialSettingsEndBehavior1Subscription.ModifyParamsTrialSettingsEndBehavior  r2  rC   r  c                   n    \ rS rSr% \\S      \S'    \\\      \S'    \\S      \S'    \\	   \S'   Sr
g	)
Subscription.ResumeParamsi  rb  r.  rJ  r  r  rj  r;   N)r=   r>   r?   r@   r   r   rA   r   ri   rV   rB   r;   rC   rD   ResumeParamsr    s]    )'2D*EFF	 DI&&	 (AB
 	
	 $C((	rC   r  c                   ,    \ rS rSr% \\\      \S'   Srg)Subscription.RetrieveParamsi  rJ  r;   N)	r=   r>   r?   r@   r   r   ri   rA   rB   r;   rC   rD   RetrieveParamsr    s    DI&&	rC   r  c                   \    \ rS rSr% \\\      \S'    \\   \S'    \\   \S'    \\S'   Sr	g)Subscription.SearchParamsi  rJ  r=  pagequeryr;   N)
r=   r>   r?   r@   r   r   ri   rA   rV   rB   r;   rC   rD   SearchParamsr    sF    DI&&	 3	 #	 
	rC   r  r   applicationrZ  r\  r.  r_  r`  ra  canceled_atrI  rb  re  r9  rf  r!   rg  rh  r$   ri  )r   r   CardResourcer&   rj  r*   rl  r   r"   rm  ended_atr  ro  r'   rq  r#   latest_invoicelivemoders  !next_pending_invoice_item_invoiceobjectr   ru  rh  r}  r~  r%   pending_setup_intentpending_updater(   schedule
start_date)r?  rA  rC  rD  rE  rF  rG  rH  rI  r+   rJ  r  r1  r  trial_startsubscription_exposed_idparamsrG  returnc                 d    [        SU R                  SSR                  [        U5      S9US95      $ )3  
Cancels a customer's subscription immediately. The customer won't be charged again for the subscription. After it's canceled, you can no longer update the subscription or its [metadata](https://stripe.com/metadata).

Any pending invoice items that you've created are still charged at the end of the period, unless manually [deleted](https://stripe.com/docs/api#delete_invoiceitem). If you've set the subscription to cancel at the end of the period, any pending prorations are also left in place and collected at the end of the period. But if the subscription is set to cancel immediately, pending prorations are removed.

By default, upon subscription cancellation, Stripe stops automatic collection of all finalized invoices for the customer. This is intended to prevent unexpected payment attempts after the customer has canceled a subscription. However, you can resume automatic collection of the invoices manually after subscription cancellation to have us proceed. Or, you could check for unpaid invoices before allowing the customer to cancel the subscription at all.
r-   delete+/v1/subscriptions/{subscription_exposed_id}r  r  r   _static_requestformatr   clsr  r  s      rD   _cls_cancelSubscription._cls_cancel  sN     =DD,7/- E 
    
 	
rC   c                     gr  Nr;   r  r  s     rD   r?  Subscription.cancel  s     	rC   c                     gr
  r;   r9   r  s     rD   r?  r    s     	rC   r  c                     [        SU R                  SSR                  [        U R	                  S5      5      S9US95      $ )r  r-   r  r  r  r   r  r   _requestr  r   getr  s     rD   r?  r    sQ     MM=DD,7,G E    	
 		
rC   c                    #    [        SU R                  SSR                  [        U5      S9US9I Sh  vN 5      $  N7f)r  r-   r  r  r   r  Nr   _static_request_asyncr  r   r  s      rD   _cls_cancel_asyncSubscription._cls_cancel_async  s[      ++=DD,7/- E 
  ,  
 	
   1><
	>c                    #    g7fr
  r;   r  s     rD   cancel_asyncSubscription.cancel_async  s
      	   c                    #    g7fr
  r;   r  s     rD   r  r    s
      	r  r  c                    #    [        SU R                  SSR                  [        U R	                  S5      5      S9US9I Sh  vN 5      $  N7f)r  r-   r  r  r  r   r  Nr   _request_asyncr  r   r  r  s     rD   r  r  	  s`      %%=DD,7,G E   &  	
 		
   A AA
	ArV  c           	      T    [        SU R                  SU R                  5       US95      $ )~  
Creates a new subscription on an existing customer. Each customer can have up to 500 active or scheduled subscriptions.

When you create a subscription with collection_method=charge_automatically, the first invoice is finalized as part of the request.
The payment_behavior parameter determines the exact behavior of the initial payment.

To start subscriptions where the first invoice always begins in a draft status, use [subscription schedules](https://stripe.com/docs/billing/subscriptions/subscription-schedules#managing) instead.
Schedules provide the flexibility to model more complex billing configurations that change over time.
r-   postr  )r   r  	class_urlr  r  s     rD   createSubscription.create	  s6        
 	
rC   c           	      p   #    [        SU R                  SU R                  5       US9I Sh  vN 5      $  N7f)r#  r-   r$  r  N)r   r  r%  r&  s     rD   create_asyncSubscription.create_async4	  sC      ++ ,  
 	
s   )64
	6r4  c                 d    [        SU R                  SSR                  [        U5      S9US95      $ );
Removes the currently applied discount on a subscription.
r"   r  4/v1/subscriptions/{subscription_exposed_id}/discountr   r  r  r  s      rD   _cls_delete_discount!Subscription._cls_delete_discountJ	  sN     FMM,7/- N 
    
 	
rC   c                     gr-  Nr;   r  s     rD   delete_discountSubscription.delete_discount`	  s     	rC   c                     gr2  r;   r  s     rD   r3  r4  k	       	rC   r/  c                     [        SU R                  SSR                  [        U R	                  S5      5      S9US95      $ )r-  r"   r  r.  r  r   r  r  r  s     rD   r3  r4  t	  sQ     MMFMM,7,G N    	
 		
rC   c                    #    [        SU R                  SSR                  [        U5      S9US9I Sh  vN 5      $  N7f)r-  r"   r  r.  r   r  Nr  r  s      rD   _cls_delete_discount_async'Subscription._cls_delete_discount_async	  s[      ++FMM,7/- N 
  ,  
 	
r  c                    #    g7fr2  r;   r  s     rD   delete_discount_async"Subscription.delete_discount_async	  s
      	r  c                    #    g7fr2  r;   r  s     rD   r<  r=  	  
      	r  r9  c                    #    [        SU R                  SSR                  [        U R	                  S5      5      S9US9I Sh  vN 5      $  N7f)r-  r"   r  r.  r  r   r  Nr  r  s     rD   r<  r=  	  s`      %%FMM,7,G N   &  	
 		
r!  r7  c                     U R                  SU R                  5       US9n[        U[        5      (       d!  [	        S[        U5      R                  -  5      eU$ )
By default, returns a list of subscriptions that have not been canceled. In order to list canceled subscriptions, specify status=canceled.
r  r  %Expected list object from API, got %s)r  r%  
isinstancer   	TypeErrorr:   r=   r  r  results      rD   listSubscription.list	  s`     $$MMO % 

 &*--7<((* 
 rC   c                    #    U R                  SU R                  5       US9I Sh  vN n[        U[        5      (       d!  [	        S[        U5      R                  -  5      eU$  N<7f)rB  r  r  NrC  )r  r%  rD  r   rE  r:   r=   rF  s      rD   
list_asyncSubscription.list_async	  sm      00MMO 1 
 

 &*--7<((* 
 
s   #A$A"=A$r_  c           	      x    U R                  5       < S[        U5      < 3n[        SU R                  SUUS95      $ )
  
Updates an existing subscription to match the specified parameters.
When changing prices or quantities, we optionally prorate the price we charge next month to make up for any price changes.
To preview how the proration is calculated, use the [create preview](https://stripe.com/docs/api/invoices/create_preview) endpoint.

By default, we prorate subscription changes. For example, if a customer signs up on May 1 for a 100 price, they'll be billed 100 immediately. If on May 15 they switch to a 200 price, then on June 1 they'll be billed 250 (200 for a renewal of her subscription, plus a 50 prorating adjustment for half of the previous month's 100 difference). Similarly, a downgrade generates a credit that is applied to the next invoice. We also prorate when you make quantity changes.

Switching prices does not normally change the billing date or generate an immediate charge unless:


The billing interval is changed (for example, from monthly to yearly).
The subscription moves from free to paid.
A trial starts or ends.


In these cases, we apply a credit for the unused time on the previous price, immediately charge the customer using the new price, and reset the billing date. Learn about how [Stripe immediately attempts payment for subscription changes](https://stripe.com/docs/billing/subscriptions/upgrade-downgrade#immediate-payment).

If you want to charge for an upgrade immediately, pass proration_behavior as always_invoice to create prorations, automatically invoice the customer for those proration adjustments, and attempt to collect payment. If you pass create_prorations, the prorations are created but not automatically invoiced. If you want to bill the customer for the prorations before the subscription's renewal date, you need to manually [invoice the customer](https://stripe.com/docs/api/invoices/create).

If you don't want to prorate, set the proration_behavior option to none. With this option, the customer is billed 100 on May 1 and 200 on June 1. Similarly, if you set proration_behavior to none when switching between different billing intervals (for example, from monthly to yearly), we don't generate any credits for the old subscription's unused time. We still reset the billing date and bill immediately for the new subscription.

Updating the quantity on a subscription many times in an hour may result in [rate limiting. If you need to bill for a frequently changing quantity, consider integrating <a href="/docs/billing/subscriptions/usage-based">usage-based billing](https://stripe.com/docs/rate-limits) instead.
/r-   r$  r  )r%  r   r   r  r  r  r  urls       rD   modifySubscription.modify	  sD    6 +b/:   
 	
rC   c           	         #    U R                  5       < S[        U5      < 3n[        SU R                  SUUS9I Sh  vN 5      $  N7f)rN  rO  r-   r$  r  N)r%  r   r   r  rP  s       rD   modify_asyncSubscription.modify_async
  sQ     6 +b/:++ ,  
 	
s   ;AA
	Ar  c                 d    [        SU R                  SSR                  [        U5      S9US95      $ )  
Initiates resumption of a paused subscription, optionally resetting the billing cycle anchor and creating prorations. If a resumption invoice is generated, it must be paid or marked uncollectible before the subscription will be unpaused. If payment succeeds the subscription will become active, and if payment fails the subscription will be past_due. The resumption invoice will void automatically if not paid by the expiration date.
r-   r$  '/v1/subscriptions/{subscription}/resumer/   r  r  r  r/   r  s      rD   _cls_resumeSubscription._cls_resume4
  sK     9@@!,\!: A     	
 		
rC   c                     grX  Nr;   r/   r  s     rD   resumeSubscription.resumeF
  s     	rC   c                     gr_  r;   r  s     rD   ra  rb  P
  r6  rC   r\  c                     [        SU R                  SSR                  [        U R	                  S5      5      S9US95      $ )rX  r-   r$  rY  r  rZ  r  r  r  s     rD   ra  rb  Y
  sQ     MM9@@!,TXXd^!< A    	
 		
rC   c                    #    [        SU R                  SSR                  [        U5      S9US9I Sh  vN 5      $  N7f)rX  r-   r$  rY  rZ  r  Nr  r[  s      rD   _cls_resume_asyncSubscription._cls_resume_asynck
  sX      ++9@@!,\!: A   ,  	
 		
r  c                    #    g7fr_  r;   r`  s     rD   resume_asyncSubscription.resume_async}
  s
      	r  c                    #    g7fr_  r;   r  s     rD   ri  rj  
  r?  r  rf  c                    #    [        SU R                  SSR                  [        U R	                  S5      5      S9US9I Sh  vN 5      $  N7f)rX  r-   r$  rY  r  rZ  r  Nr  r  s     rD   ri  rj  
  s`      %%9@@!,TXXd^!< A   &  	
 		
r!  r  c                 8    U " U40 UD6nUR                  5         U$ )/
Retrieves the subscription with the given ID.
)refreshr  r  r  instances       rD   retrieveSubscription.retrieve
  s$     r$V$rC   c                 T   #    U " U40 UD6nUR                  5       I Sh  vN   U$  N7f)rn  N)refresh_asyncrp  s       rD   retrieve_asyncSubscription.retrieve_async
  s2      r$V$$$&&& 	's   (&(kwargsr  c                 *    U R                   " USS0UD6$ )  
Search for subscriptions 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_url/v1/subscriptions/search)_searchr  argsrx  s      rD   searchSubscription.search
  s(     {{48
1
<B
 	
rC   c                 F   #    U R                   " USS0UD6I Sh  vN $  N7f)rz  r{  r|  N)_search_asyncr~  s      rD   search_asyncSubscription.search_async
  s7      &&48
1
<B
 
 	
 
s   !!c                 B    U R                   " U0 UD6R                  5       $ N)r  auto_paging_iterr~  s      rD   search_auto_paging_iter$Subscription.search_auto_paging_iter
  s!     zz4*6*;;==rC   c                 ^   #    U R                   " U0 UD6I S h  vN R                  5       $  N7fr  )r  r  r~  s      rD   search_auto_paging_iter_async*Subscription.search_auto_paging_iter_async
  s,      &&777IIKK7s   -+-)
r\  r_  rI  ro  rh  r}  r~  r  r  r  r;   N)r=   r>   r?   r@   __doc__r0   r   r   rA   r   rM   rW   rj   rt   r~   r"  r+  r3  r9  rE  r   rM  r   rR  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  r5  rK  rM  rV  rZ  r]  rl  rp  rs  rv  rz  r}  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r   r8  rV   rK   ri   r   r   r   r   classmethodr   r  r   staticmethodr?  r   r  r  r'  r*  r/  r3  r9  r<  rH  rK  rR  rU  r\  ra  rf  ri  rr  rv  r	   r  r  r   r  r   r  rL   rB   r;   rC   rD   r-   r-   3   sz    6DK'.12C6| 62< ,l :0, 0$, iN, iNV\  ,| ; ;~ (
) 
a~ aFY 4Y i 0
9 
I y ,y i I 9 @9 I 8Y i (*) *X9 I  i  D  9  4 9 I y ~ K^ KZ I $Y $y $Y~ YvY 4Y i 0
9 
I 
) 
y i I *9 *X9 I 8Y i i (*) *X9 I  i  D  9  4 9 I y ~ ( ~ $ /-899 &e_,   "**B!CC }  # ##677 EFF L M j)) SM! %__%EFF DE	
 
  Y00 # OJ/00 sm 	G &%()) _Y788 N 38n (0}4 N## ?9566 // // $,,F#GG #?=#ABB ]++ '=>?? O 		 	 566 L)) } ]++ # 
!$
 45
 
	
 
2 !$45 
   
:;
	
 
 -(
:;
	
 )
* 
!$
 45
 
	
 
2 !$45 
   
:;
	
 
 -.
:;
	
 /
* 
9:
	
 
* 
9:
	
 
* 
!$
 <=
 
	
 
* !$<= 
   BC	  01
BC
	
 2
" 
!$
 <=
 
	
 
* !$<= 
   BC	  67
BC
	
 8
" 78	N	# & 78	N	# & "
"
 &'B C"
	"
 "
H "
"
 &'B C"
	"
 "
H 

*01L*M
	
 
" %+,G%H	   :;	  -(
:;
	
 )
" 

*01L*M
	
 
" %+,G%H	   :;	  -.
:;
	
 /
"  &'D E	   &'D E	  
$%@A
	N	+
 
 
$%@A
	N	+
 
 >$%@A>	.	!> >
 L$%@AL	~	&L L &'? 3+++)C'%'rC   r-   N)Gstripe._createable_api_resourcer   stripe._deletable_api_resourcer   stripe._expandable_fieldr   stripe._list_objectr   stripe._listable_api_resourcer   stripe._request_optionsr   stripe._search_result_objectr	   stripe._searchable_api_resourcer
   stripe._stripe_objectr   stripe._updateable_api_resourcer   stripe._utilr   r   typingr   r   r   r   r   r   r   r   r   typing_extensionsr   r   r   r   r   stripe._accountr   stripe._applicationr   stripe._bank_accountr   stripe._cardr    r  stripe._customerr!   stripe._discountr"   stripe._invoicer#   stripe._payment_methodr$   stripe._setup_intentr%   stripe._sourcer&   stripe._subscription_itemr'   stripe._subscription_scheduler(   stripe._tax_idr)   stripe._tax_rater*   stripe.test_helpers._test_clockr+   r-   r;   rC   rD   <module>r     s    B ? 4 * = 2 ; A . A :
 
 
  '/01))'40%:B$(9x*.)('.).)x*rC   