
    Ch'                    ~    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Jr  S SKJrJrJr   " S S	\5      rg
)    )
ListObject)RequestOptions)StripeService)SubscriptionSchedule)sanitize_id)DictListcast)LiteralNotRequired	TypedDictc            	       >   \ 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\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 " S0 S1\5      r " S2 S3\5      r " S4 S5\5      r " S6 S7\5      r " S8 S9\5      r  " S: S;\5      r! " S< S=\5      r" " S> S?\5      r# " S@ SA\5      r$ " SB SC\5      r% " SD SE\5      r& " SF SG\5      r' " SH SI\5      r( " SJ SK\5      r) " SL SM\5      r* " SN SO\5      r+ " SP SQ\5      r, " SR SS\5      r- " ST SU\5      r. " SV SW\5      r/ " SX SY\5      r0 " SZ S[\5      r1 " S\ S]\5      r2 " S^ S_\5      r3 " S` Sa\5      r4 " Sb Sc\5      r5 " Sd Se\5      r6 " Sf Sg\5      r7 " Sh Si\5      r8 " Sj Sk\5      r9 " Sl Sm\5      r: " Sn So\5      r; " Sp Sq\5      r< " Sr Ss\5      r= " St Su\5      r> " Sv Sw\5      r? " Sx Sy\5      r@ " Sz S{\5      rA " S| S}\5      rB " S~ S\5      rC " S S\5      rD " S S\5      rE0 0 4SSS\FS\G\H   4S jjrI0 0 4SSS\FS\G\H   4S jjrJ0 0 4SSS\FS\H4S jjrK0 0 4SSS\FS\H4S jjrL0 0 4S\MSSS\FS\H4S jjrN0 0 4S\MSSS\FS\H4S jjrO0 0 4S\MSSS\FS\H4S jjrP0 0 4S\MSSS\FS\H4S jjrQ0 0 4S\MSSS\FS\H4S jjrR0 0 4S\MSSS\FS\H4S jjrS0 0 4S\MSSS\FS\H4S jjrT0 0 4S\MSSS\FS\H4S jjrUSrVg)SubscriptionScheduleService   c                   P    \ rS rSr% \\\      \S'    \\   \S'    \\   \S'   Sr	g)(SubscriptionScheduleService.CancelParams   expandinvoice_nowprorate N
__name__
__module____qualname____firstlineno__r   r	   str__annotations__bool__static_attributes__r       h/home/kali/devsecops-assessor/venv/lib/python3.13/site-packages/stripe/_subscription_schedule_service.pyCancelParamsr      s:    DI&&	 !&&	 T""	r!   r#   c                       \ rS rSr% \S   \S'    \\   \S'    \S   \S'    \\S      \S'    \\\      \S	'    \\   \S
'    \S   \S'    \\S      \S'    \S   \S'   Sr	g)(SubscriptionScheduleService.CreateParams   3SubscriptionScheduleService.CreateParamsBillingModebilling_modecustomer7SubscriptionScheduleService.CreateParamsDefaultSettingsdefault_settingscancelnonereleaserenewend_behaviorr   from_subscriptionLiteral['']|Dict[str, str]metadata-SubscriptionScheduleService.CreateParamsPhasephasesint|Literal['now']
start_dater   N)
r   r   r   r   r   r   r   r   r	   r    r   r!   r"   CreateParamsr%      s    !A
 	
	 c""	 &E
 	
	 "89
 	
	 DI&&	 's++	 :;;	 @A
 	
	   455	r!   r9   c                   &    \ rS rSr% \S   \S'   Srg)r'   I   )classicflexibletyper   N)r   r   r   r   r   r   r    r   r!   r"   CreateParamsBillingMode3SubscriptionScheduleService.CreateParamsBillingModeI   s    +,,	r!   r?   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r	g)r*   O   application_fee_percentCSubscriptionScheduleService.CreateParamsDefaultSettingsAutomaticTaxautomatic_tax	automaticphase_startbilling_cycle_anchorzTLiteral['']|SubscriptionScheduleService.CreateParamsDefaultSettingsBillingThresholdsbilling_thresholdscharge_automaticallysend_invoicecollection_methoddefault_payment_methodLiteral['']|strdescriptionFSubscriptionScheduleService.CreateParamsDefaultSettingsInvoiceSettingsinvoice_settingson_behalf_ofzOLiteral['']|SubscriptionScheduleService.CreateParamsDefaultSettingsTransferDatatransfer_datar   N
r   r   r   r   r   floatr   r   r   r    r   r!   r"   CreateParamsDefaultSettings7SubscriptionScheduleService.CreateParamsDefaultSettingsO       !,U!33	 #Q
 	
	 *'2L*MNN	 (b
 	
	 ':;
 	
	 !,C 00	 !!233	 &T
 	
	 ""344	 #]
 	
	r!   rX   c                   2    \ rS rSr% \\S'    \S   \S'   Srg)rD      enabledLSubscriptionScheduleService.CreateParamsDefaultSettingsAutomaticTaxLiability	liabilityr   Nr   r   r   r   r   r   r   r    r   r!   r"   'CreateParamsDefaultSettingsAutomaticTaxCSubscriptionScheduleService.CreateParamsDefaultSettingsAutomaticTax   #    	 Z
 	
	r!   ra   c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r^      accountrf   selfr>   r   N	r   r   r   r   r   r   r   r   r    r   r!   r"   0CreateParamsDefaultSettingsAutomaticTaxLiabilityLSubscriptionScheduleService.CreateParamsDefaultSettingsAutomaticTaxLiability   %    S!!	 '((	r!   rj   c                   8    \ rS rSr% \\   \S'    \\   \S'   Srg)HSubscriptionScheduleService.CreateParamsDefaultSettingsBillingThresholds   
amount_gtereset_billing_cycle_anchorr   N	r   r   r   r   r   intr   r   r    r   r!   r"   ,CreateParamsDefaultSettingsBillingThresholdsrn      $    $$	 %0$55	r!   rt   c                   J    \ rS rSr% \S   \S'    \\   \S'    \S   \S'   Srg)	rR      Literal['']|List[str]account_tax_idsdays_until_dueLSubscriptionScheduleService.CreateParamsDefaultSettingsInvoiceSettingsIssuerissuerr   Nr   r   r   r   r   r   rs   r    r   r!   r"   *CreateParamsDefaultSettingsInvoiceSettingsFSubscriptionScheduleService.CreateParamsDefaultSettingsInvoiceSettings   <    $%<==	 $C((	 Z
 	
	r!   r~   c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r{      rf   rg   r>   r   Nri   r   r!   r"   0CreateParamsDefaultSettingsInvoiceSettingsIssuerLSubscriptionScheduleService.CreateParamsDefaultSettingsInvoiceSettingsIssuer   rl   r!   r   c                   2    \ rS rSr% \\   \S'    \\S'   Srg)CSubscriptionScheduleService.CreateParamsDefaultSettingsTransferData   amount_percentdestinationr   N	r   r   r   r   r   rW   r   r   r    r   r!   r"   'CreateParamsDefaultSettingsTransferDatar          #E**	 	r!   r   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'    \\
   \S'    \S   \S'    \S   \S'    \\
   \S'    \\\	\	4      \S'    \\	   \S'    \\S      \S '    \S!   \S"'    \\   \S#'    \\
   \S$'   S%rg&)'r5      ;SubscriptionScheduleService.CreateParamsPhaseAddInvoiceItemadd_invoice_itemsrC   9SubscriptionScheduleService.CreateParamsPhaseAutomaticTaxrE   rF   rI   zJLiteral['']|SubscriptionScheduleService.CreateParamsPhaseBillingThresholdsrJ   rK   rN   currencyrO   rx   default_tax_ratesrP   rQ   zGLiteral['']|List[SubscriptionScheduleService.CreateParamsPhaseDiscount]	discounts5SubscriptionScheduleService.CreateParamsPhaseDurationdurationend_date<SubscriptionScheduleService.CreateParamsPhaseInvoiceSettingsrS   1SubscriptionScheduleService.CreateParamsPhaseItemitems
iterationsr4   rT   always_invoicecreate_prorationsr.   proration_behavior9SubscriptionScheduleService.CreateParamsPhaseTransferDatarU   trial	trial_endr   Nr   r   r   r   r   r	   r   rW   r   r   rs   r   r   r    r   r!   r"   CreateParamsPhase-SubscriptionScheduleService.CreateParamsPhase   s   &NO
 	
	 "-U!33	 #G
 	
	 *'2L*MNN	 (X
 	
	 ':;
 	
	 c""	 !,C 00	 ''>??	 !!233	 U
 	
	 C
 	
	 c""	 &J
 	
	 GHH	  $$	 d38n--	 "#&&	 (AB
 	
	 #G
 	
	 4  	 s##	r!   r   c                       \ rS rSr% \\S      \S'    \\\\4      \S'    \S   \S'    \\   \S'    \S   \S	'    \\	   \S
'    \S   \S'   Sr
g)r   i3  CSubscriptionScheduleService.CreateParamsPhaseAddInvoiceItemDiscountr   r4   ASubscriptionScheduleService.CreateParamsPhaseAddInvoiceItemPeriodperiodpriceDSubscriptionScheduleService.CreateParamsPhaseAddInvoiceItemPriceData
price_dataquantityrx   	tax_ratesr   Nr   r   r   r   r   r	   r   r   r   rs   r    r   r!   r"   CreateParamsPhaseAddInvoiceItem;SubscriptionScheduleService.CreateParamsPhaseAddInvoiceItem3      U
 	

	 d38n--	 O
 	
	 3	  R
 	
	 c""	 677	r!   r   c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)r   iY  coupondiscountpromotion_coder   Nr   r   r   r   r   r   r   r    r   r!   r"   'CreateParamsPhaseAddInvoiceItemDiscountCSubscriptionScheduleService.CreateParamsPhaseAddInvoiceItemDiscountY  6    C  	 c""	 $C((	r!   r   c                   ,    \ rS rSr% S\S'    S\S'   Srg)r   ig  DSubscriptionScheduleService.CreateParamsPhaseAddInvoiceItemPeriodEndendFSubscriptionScheduleService.CreateParamsPhaseAddInvoiceItemPeriodStartstartr   Nr   r   r   r   r   r    r   r!   r"   %CreateParamsPhaseAddInvoiceItemPeriodASubscriptionScheduleService.CreateParamsPhaseAddInvoiceItemPeriodg      SS	 XW	r!   r   c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r   iq  	timestampmin_item_period_end	phase_endr   r>   r   N	r   r   r   r   r   rs   r   r   r    r   r!   r"   (CreateParamsPhaseAddInvoiceItemPeriodEndDSubscriptionScheduleService.CreateParamsPhaseAddInvoiceItemPeriodEndq  %    s##	 EFF	r!   r   c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r   i{  r   max_item_period_startrH   r   r>   r   Nr   r   r!   r"   *CreateParamsPhaseAddInvoiceItemPeriodStartFSubscriptionScheduleService.CreateParamsPhaseAddInvoiceItemPeriodStart{  %    s##	 IJJ	r!   r   c                   h    \ rS rSr% \\S'    \\S'    \\S      \S'    \\   \S'    \\   \S'   Sr	g	)
r   i  r   product	exclusive	inclusiveunspecifiedtax_behaviorunit_amountunit_amount_decimalr   N
r   r   r   r   r   r   r   r   rs   r    r   r!   r"   (CreateParamsPhaseAddInvoiceItemPriceDataDSubscriptionScheduleService.CreateParamsPhaseAddInvoiceItemPriceData  Y    	 	 ";<
 	
	 !%%	 )--	r!   r   c                   2    \ rS rSr% \\S'    \S   \S'   Srg)r   i  r]   BSubscriptionScheduleService.CreateParamsPhaseAutomaticTaxLiabilityr_   r   Nr`   r   r!   r"   CreateParamsPhaseAutomaticTax9SubscriptionScheduleService.CreateParamsPhaseAutomaticTax  #    	 P
 	
	r!   r   c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r   i  rf   rg   r>   r   Nri   r   r!   r"   &CreateParamsPhaseAutomaticTaxLiabilityBSubscriptionScheduleService.CreateParamsPhaseAutomaticTaxLiability  rl   r!   r   c                   8    \ rS rSr% \\   \S'    \\   \S'   Srg)>SubscriptionScheduleService.CreateParamsPhaseBillingThresholdsi  rp   rq   r   Nrr   r   r!   r"   "CreateParamsPhaseBillingThresholdsr     ru   r!   r   c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)5SubscriptionScheduleService.CreateParamsPhaseDiscounti  r   r   r   r   Nr   r   r!   r"   CreateParamsPhaseDiscountr     r   r!   r   c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)r   i  daymonthweekyearintervalinterval_countr   N	r   r   r   r   r   r   r   rs   r    r   r!   r"   CreateParamsPhaseDuration5SubscriptionScheduleService.CreateParamsPhaseDuration  %    899	 $C((	r!   r   c                   J    \ rS rSr% \S   \S'    \\   \S'    \S   \S'   Srg)	r   i  rx   ry   rz   BSubscriptionScheduleService.CreateParamsPhaseInvoiceSettingsIssuerr|   r   Nr}   r   r!   r"    CreateParamsPhaseInvoiceSettings<SubscriptionScheduleService.CreateParamsPhaseInvoiceSettings  <    $%<==	 $C((	 P
 	
	r!   r   c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r   i  rf   rg   r>   r   Nri   r   r!   r"   &CreateParamsPhaseInvoiceSettingsIssuerBSubscriptionScheduleService.CreateParamsPhaseInvoiceSettingsIssuer  rl   r!   r   c                       \ rS rSr% \S   \S'    \S   \S'    \\\\4      \S'    \\   \S'    \\   \S'    \S	   \S
'    \\   \S'    \S   \S'   Sr	g)r   i  zNLiteral['']|SubscriptionScheduleService.CreateParamsPhaseItemBillingThresholdsrJ   zKLiteral['']|List[SubscriptionScheduleService.CreateParamsPhaseItemDiscount]r   r4   planr   :SubscriptionScheduleService.CreateParamsPhaseItemPriceDatar   r   rx   r   r   N
r   r   r   r   r   r   r   r   rs   r    r   r!   r"   CreateParamsPhaseItem1SubscriptionScheduleService.CreateParamsPhaseItem      '\
 	
	 Y
 	
	 d38n--	 #	 3	  H
 	
	 c""	 677	r!   r  c                        \ rS rSr% \\S'   Srg)BSubscriptionScheduleService.CreateParamsPhaseItemBillingThresholdsi  	usage_gter   Nr   r   r   r   rs   r   r    r   r!   r"   &CreateParamsPhaseItemBillingThresholdsr
        	r!   r  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)9SubscriptionScheduleService.CreateParamsPhaseItemDiscounti  r   r   r   r   Nr   r   r!   r"   CreateParamsPhaseItemDiscountr    r   r!   r  c                   t    \ rS rSr% \\S'    \\S'    S\S'    \\S      \S'    \\   \S'    \\   \S	'   S
r	g)r  i+  r   r   CSubscriptionScheduleService.CreateParamsPhaseItemPriceDataRecurring	recurringr   r   r   r   r   Nr   r   r!   r"   CreateParamsPhaseItemPriceData:SubscriptionScheduleService.CreateParamsPhaseItemPriceData+  g    	 	 YX	 ";<
 	
	 !%%	 )--	r!   r  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)r  iG  r   r   r   r   Nr   r   r!   r"   'CreateParamsPhaseItemPriceDataRecurringCSubscriptionScheduleService.CreateParamsPhaseItemPriceDataRecurringG  r   r!   r  c                   2    \ rS rSr% \\   \S'    \\S'   Srg)r   iQ  r   r   r   Nr   r   r!   r"   CreateParamsPhaseTransferData9SubscriptionScheduleService.CreateParamsPhaseTransferDataQ  r   r!   r  c                       \ rS rSr% \S   \S'    \S   \S'    \S   \S'    \\   \S'    \\   \S	'    \\\      \S
'    \\   \S'    \S   \S'    \\	   \S'    \\   \S'   Sr
g)&SubscriptionScheduleService.ListParamsi[  z4SubscriptionScheduleService.ListParamsCanceledAt|intcanceled_atz5SubscriptionScheduleService.ListParamsCompletedAt|intcompleted_atz1SubscriptionScheduleService.ListParamsCreated|intcreatedr)   ending_beforer   limitz4SubscriptionScheduleService.ListParamsReleasedAt|intreleased_at	scheduledstarting_afterr   N)r   r   r   r   r   r   r   r	   rs   r   r    r   r!   r"   
ListParamsr  [  s     B
 	
	 "C
 	
	 ?
 	
	 c""	 #3''	 DI&&	 3	 !B
 	
	 t$$	 $C((	r!   r(  c                   \    \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg)0SubscriptionScheduleService.ListParamsCanceledAti  gtgteltlter   Nr   r   r   r   r   rs   r   r    r   r!   r"   ListParamsCanceledAtr*    H    	 	 	 	r!   r0  c                   \    \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg)1SubscriptionScheduleService.ListParamsCompletedAti  r+  r,  r-  r.  r   Nr/  r   r!   r"   ListParamsCompletedAtr3    r1  r!   r4  c                   \    \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg)-SubscriptionScheduleService.ListParamsCreatedi  r+  r,  r-  r.  r   Nr/  r   r!   r"   ListParamsCreatedr6    r1  r!   r7  c                   \    \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg)0SubscriptionScheduleService.ListParamsReleasedAti  r+  r,  r-  r.  r   Nr/  r   r!   r"   ListParamsReleasedAtr9    r1  r!   r:  c                   >    \ rS rSr% \\\      \S'    \\   \S'   Sr	g))SubscriptionScheduleService.ReleaseParamsi  r   preserve_cancel_dater   Nr   r   r!   r"   ReleaseParamsr<    s(    DI&&	 *$//	r!   r>  c                   ,    \ rS rSr% \\\      \S'   Srg)*SubscriptionScheduleService.RetrieveParamsi  r   r   N)	r   r   r   r   r   r	   r   r   r    r   r!   r"   RetrieveParamsr@    s    DI&&	r!   rA  c                       \ rS rSr% \S   \S'    \\S      \S'    \\\      \S'    \S   \S'    \\S	      \S
'    \\S      \S'   Sr	g)(SubscriptionScheduleService.UpdateParamsi  7SubscriptionScheduleService.UpdateParamsDefaultSettingsr+   r,   r1   r   r3   r4   -SubscriptionScheduleService.UpdateParamsPhaser6   r   r   r   N)
r   r   r   r   r   r   r   r	   r   r    r   r!   r"   UpdateParamsrC    s    %E
 	
	 "89
 	
	 DI&&	 :;;	 @A
 	
	 (AB
 	
	r!   rF  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r	g)rD  i  rC   CSubscriptionScheduleService.UpdateParamsDefaultSettingsAutomaticTaxrE   rF   rI   zTLiteral['']|SubscriptionScheduleService.UpdateParamsDefaultSettingsBillingThresholdsrJ   rK   rN   rO   rP   rQ   FSubscriptionScheduleService.UpdateParamsDefaultSettingsInvoiceSettingsrS   rT   zOLiteral['']|SubscriptionScheduleService.UpdateParamsDefaultSettingsTransferDatarU   r   NrV   r   r!   r"   UpdateParamsDefaultSettings7SubscriptionScheduleService.UpdateParamsDefaultSettings  rZ   r!   rJ  c                   2    \ rS rSr% \\S'    \S   \S'   Srg)rH  i;  r]   LSubscriptionScheduleService.UpdateParamsDefaultSettingsAutomaticTaxLiabilityr_   r   Nr`   r   r!   r"   'UpdateParamsDefaultSettingsAutomaticTaxCSubscriptionScheduleService.UpdateParamsDefaultSettingsAutomaticTax;  rc   r!   rN  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)rM  iG  rf   rg   r>   r   Nri   r   r!   r"   0UpdateParamsDefaultSettingsAutomaticTaxLiabilityLSubscriptionScheduleService.UpdateParamsDefaultSettingsAutomaticTaxLiabilityG  rl   r!   rQ  c                   8    \ rS rSr% \\   \S'    \\   \S'   Srg)HSubscriptionScheduleService.UpdateParamsDefaultSettingsBillingThresholdsiQ  rp   rq   r   Nrr   r   r!   r"   ,UpdateParamsDefaultSettingsBillingThresholdsrT  Q  ru   r!   rU  c                   J    \ rS rSr% \S   \S'    \\   \S'    \S   \S'   Srg)	rI  i[  rx   ry   rz   LSubscriptionScheduleService.UpdateParamsDefaultSettingsInvoiceSettingsIssuerr|   r   Nr}   r   r!   r"   *UpdateParamsDefaultSettingsInvoiceSettingsFSubscriptionScheduleService.UpdateParamsDefaultSettingsInvoiceSettings[  r   r!   rX  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)rW  ik  rf   rg   r>   r   Nri   r   r!   r"   0UpdateParamsDefaultSettingsInvoiceSettingsIssuerLSubscriptionScheduleService.UpdateParamsDefaultSettingsInvoiceSettingsIssuerk  rl   r!   r[  c                   2    \ rS rSr% \\   \S'    \\S'   Srg)CSubscriptionScheduleService.UpdateParamsDefaultSettingsTransferDataiu  r   r   r   Nr   r   r!   r"   'UpdateParamsDefaultSettingsTransferDatar^  u  r   r!   r_  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'    \S   \S'    \S   \S'    \S   \S'    \\
   \S'    \\\	\	4      \S'    \\	   \S'    \\S       \S!'    \S   \S"'    \S#   \S$'    \\   \S%'    \S   \S&'   S'rg())rE  i  ;SubscriptionScheduleService.UpdateParamsPhaseAddInvoiceItemr   rC   9SubscriptionScheduleService.UpdateParamsPhaseAutomaticTaxrE   rF   rI   zJLiteral['']|SubscriptionScheduleService.UpdateParamsPhaseBillingThresholdsrJ   rK   rN   r   rO   rx   r   rP   rQ   zGLiteral['']|List[SubscriptionScheduleService.UpdateParamsPhaseDiscount]r   5SubscriptionScheduleService.UpdateParamsPhaseDurationr   r7   r   <SubscriptionScheduleService.UpdateParamsPhaseInvoiceSettingsrS   1SubscriptionScheduleService.UpdateParamsPhaseItemr   r   r4   rT   r   r   r8   9SubscriptionScheduleService.UpdateParamsPhaseTransferDatarU   r   r   r   Nr   r   r!   r"   UpdateParamsPhase-SubscriptionScheduleService.UpdateParamsPhase  s   &NO
 	
	 "-U!33	 #G
 	
	 *'2L*MNN	 (X
 	
	 ':;
 	
	 c""	 !,C 00	 ''>??	 !!233	 U
 	
	 C
 	
	 233	 &J
 	
	 GHH	  $$	 d38n--	 "#&&	 (AB
 	
	   455	 #G
 	
	 4  	 344	r!   rg  c                       \ rS rSr% \\S      \S'    \\\\4      \S'    \S   \S'    \\   \S'    \S   \S	'    \\	   \S
'    \S   \S'   Sr
g)ra  i  CSubscriptionScheduleService.UpdateParamsPhaseAddInvoiceItemDiscountr   r4   ASubscriptionScheduleService.UpdateParamsPhaseAddInvoiceItemPeriodr   r   DSubscriptionScheduleService.UpdateParamsPhaseAddInvoiceItemPriceDatar   r   rx   r   r   Nr   r   r!   r"   UpdateParamsPhaseAddInvoiceItem;SubscriptionScheduleService.UpdateParamsPhaseAddInvoiceItem  r   r!   rm  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)rj  i  r   r   r   r   Nr   r   r!   r"   'UpdateParamsPhaseAddInvoiceItemDiscountCSubscriptionScheduleService.UpdateParamsPhaseAddInvoiceItemDiscount  r   r!   rp  c                   ,    \ rS rSr% S\S'    S\S'   Srg)rk  i#  DSubscriptionScheduleService.UpdateParamsPhaseAddInvoiceItemPeriodEndr   FSubscriptionScheduleService.UpdateParamsPhaseAddInvoiceItemPeriodStartr   r   Nr   r   r!   r"   %UpdateParamsPhaseAddInvoiceItemPeriodASubscriptionScheduleService.UpdateParamsPhaseAddInvoiceItemPeriod#  r   r!   ru  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)rs  i-  r   r   r>   r   Nr   r   r!   r"   (UpdateParamsPhaseAddInvoiceItemPeriodEndDSubscriptionScheduleService.UpdateParamsPhaseAddInvoiceItemPeriodEnd-  r   r!   rx  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)rt  i7  r   r   r>   r   Nr   r   r!   r"   *UpdateParamsPhaseAddInvoiceItemPeriodStartFSubscriptionScheduleService.UpdateParamsPhaseAddInvoiceItemPeriodStart7  r   r!   r{  c                   h    \ rS rSr% \\S'    \\S'    \\S      \S'    \\   \S'    \\   \S'   Sr	g	)
rl  iA  r   r   r   r   r   r   r   Nr   r   r!   r"   (UpdateParamsPhaseAddInvoiceItemPriceDataDSubscriptionScheduleService.UpdateParamsPhaseAddInvoiceItemPriceDataA  r   r!   r~  c                   2    \ rS rSr% \\S'    \S   \S'   Srg)rb  iY  r]   BSubscriptionScheduleService.UpdateParamsPhaseAutomaticTaxLiabilityr_   r   Nr`   r   r!   r"   UpdateParamsPhaseAutomaticTax9SubscriptionScheduleService.UpdateParamsPhaseAutomaticTaxY  r   r!   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r  ie  rf   rg   r>   r   Nri   r   r!   r"   &UpdateParamsPhaseAutomaticTaxLiabilityBSubscriptionScheduleService.UpdateParamsPhaseAutomaticTaxLiabilitye  rl   r!   r  c                   8    \ rS rSr% \\   \S'    \\   \S'   Srg)>SubscriptionScheduleService.UpdateParamsPhaseBillingThresholdsio  rp   rq   r   Nrr   r   r!   r"   "UpdateParamsPhaseBillingThresholdsr  o  ru   r!   r  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)5SubscriptionScheduleService.UpdateParamsPhaseDiscountiy  r   r   r   r   Nr   r   r!   r"   UpdateParamsPhaseDiscountr  y  r   r!   r  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)rc  i  r   r   r   r   Nr   r   r!   r"   UpdateParamsPhaseDuration5SubscriptionScheduleService.UpdateParamsPhaseDuration  r   r!   r  c                   J    \ rS rSr% \S   \S'    \\   \S'    \S   \S'   Srg)	rd  i  rx   ry   rz   BSubscriptionScheduleService.UpdateParamsPhaseInvoiceSettingsIssuerr|   r   Nr}   r   r!   r"    UpdateParamsPhaseInvoiceSettings<SubscriptionScheduleService.UpdateParamsPhaseInvoiceSettings  r   r!   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r  i  rf   rg   r>   r   Nri   r   r!   r"   &UpdateParamsPhaseInvoiceSettingsIssuerBSubscriptionScheduleService.UpdateParamsPhaseInvoiceSettingsIssuer  rl   r!   r  c                       \ rS rSr% \S   \S'    \S   \S'    \\\\4      \S'    \\   \S'    \\   \S'    \S	   \S
'    \\   \S'    \S   \S'   Sr	g)re  i  zNLiteral['']|SubscriptionScheduleService.UpdateParamsPhaseItemBillingThresholdsrJ   zKLiteral['']|List[SubscriptionScheduleService.UpdateParamsPhaseItemDiscount]r   r4   r  r   :SubscriptionScheduleService.UpdateParamsPhaseItemPriceDatar   r   rx   r   r   Nr  r   r!   r"   UpdateParamsPhaseItem1SubscriptionScheduleService.UpdateParamsPhaseItem  r  r!   r  c                        \ rS rSr% \\S'   Srg)BSubscriptionScheduleService.UpdateParamsPhaseItemBillingThresholdsi  r  r   Nr  r   r!   r"   &UpdateParamsPhaseItemBillingThresholdsr    r  r!   r  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)9SubscriptionScheduleService.UpdateParamsPhaseItemDiscounti  r   r   r   r   Nr   r   r!   r"   UpdateParamsPhaseItemDiscountr    r   r!   r  c                   t    \ rS rSr% \\S'    \\S'    S\S'    \\S      \S'    \\   \S'    \\   \S	'   S
r	g)r  i  r   r   CSubscriptionScheduleService.UpdateParamsPhaseItemPriceDataRecurringr  r   r   r   r   r   Nr   r   r!   r"   UpdateParamsPhaseItemPriceData:SubscriptionScheduleService.UpdateParamsPhaseItemPriceData  r  r!   r  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)r  i  r   r   r   r   Nr   r   r!   r"   'UpdateParamsPhaseItemPriceDataRecurringCSubscriptionScheduleService.UpdateParamsPhaseItemPriceDataRecurring  r   r!   r  c                   2    \ rS rSr% \\   \S'    \\S'   Srg)rf  i  r   r   r   Nr   r   r!   r"   UpdateParamsPhaseTransferData9SubscriptionScheduleService.UpdateParamsPhaseTransferData  r   r!   r  paramsr  optionsreturnc                 R    [        [        [           U R                  SSSUUS95      $ )4
Retrieves the list of your subscription schedules.
get/v1/subscription_schedulesapibase_addressr  r  )r
   r   r   _requestrh   r  r  s      r"   list SubscriptionScheduleService.list  s:     +,MM,"  	
 		
r!   c                 n   #    [        [        [           U R                  SSSUUS9I Sh  vN 5      $  N7f)r  r  r  r  r  N)r
   r   r   _request_asyncr  s      r"   
list_async&SubscriptionScheduleService.list_async*  sI      +,%%," &  	
 		
s   (53
	5r%   c                 D    [        [        U R                  SSSUUS95      $ )q
Creates a new subscription schedule object. Each customer can have up to 500 active or scheduled subscriptions.
postr  r  r  )r
   r   r  r  s      r"   create"SubscriptionScheduleService.create=  s4      MM,"  	
 		
r!   c                 `   #    [        [        U R                  SSSUUS9I Sh  vN 5      $  N7f)r  r  r  r  r  N)r
   r   r  r  s      r"   create_async(SubscriptionScheduleService.create_asyncP  sC       %%," &  	
 		
s   !.,
	.scheduler@  c                 p    [        [        U R                  SSR                  [	        U5      S9SUUS95      $ )
Retrieves the details of an existing subscription schedule. You only need to supply the unique subscription schedule identifier that was returned upon subscription schedule creation.
r  %/v1/subscription_schedules/{schedule}r  r  r  r
   r   r  formatr   rh   r  r  r  s       r"   retrieve$SubscriptionScheduleService.retrievec  sN      MM7>>(2 ?  #  
 	
r!   c                    #    [        [        U R                  SSR                  [	        U5      S9SUUS9I Sh  vN 5      $  N7f)r  r  r  r  r  r  Nr
   r   r  r  r   r  s       r"   retrieve_async*SubscriptionScheduleService.retrieve_asyncy  s]       %%7>>(2 ?  # &  
 	
   7AA
	ArC  c                 p    [        [        U R                  SSR                  [	        U5      S9SUUS95      $ ),
Updates an existing subscription schedule.
r  r  r  r  r  r  r  s       r"   update"SubscriptionScheduleService.update  sN      MM7>>(2 ?  #  
 	
r!   c                    #    [        [        U R                  SSR                  [	        U5      S9SUUS9I Sh  vN 5      $  N7f)r  r  r  r  r  r  Nr  r  s       r"   update_async(SubscriptionScheduleService.update_async  s]       %%7>>(2 ?  # &  
 	
r  r   c                 p    [        [        U R                  SSR                  [	        U5      S9SUUS95      $ )
Cancels a subscription schedule and its associated subscription immediately (if the subscription schedule has an active subscription). A subscription schedule can only be canceled if its status is not_started or active.
r  ,/v1/subscription_schedules/{schedule}/cancelr  r  r  r  r  s       r"   r-   "SubscriptionScheduleService.cancel  sO      MM>EE(2 F  #  
 	
r!   c                    #    [        [        U R                  SSR                  [	        U5      S9SUUS9I Sh  vN 5      $  N7f)r  r  r  r  r  r  Nr  r  s       r"   cancel_async(SubscriptionScheduleService.cancel_async  s^       %%>EE(2 F  # &  
 	
r  r<  c                 p    [        [        U R                  SSR                  [	        U5      S9SUUS95      $ )  
Releases the subscription schedule immediately, which will stop scheduling of its phases, but leave any existing subscription in place. A schedule can only be released if its status is not_started or active. If the subscription schedule is currently associated with a subscription, releasing it will remove its subscription property and set the subscription's ID to the released_subscription property.
r  -/v1/subscription_schedules/{schedule}/releaser  r  r  r  r  s       r"   r/   #SubscriptionScheduleService.release  sO      MM?FF(2 G  #  
 	
r!   c                    #    [        [        U R                  SSR                  [	        U5      S9SUUS9I Sh  vN 5      $  N7f)r  r  r  r  r  r  Nr  r  s       r"   release_async)SubscriptionScheduleService.release_async  s^       %%?FF(2 G  # &  
 	
r  r   N)Wr   r   r   r   r   r#   r9   r?   rX   ra   rj   rt   r~   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  r  r  r  r(  r0  r4  r7  r:  r>  rA  rF  rJ  rN  rQ  rU  rX  r[  r_  rg  rm  rp  ru  rx  r{  r~  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r   r   r  r  r  r  r   r  r  r  r  r-   r  r/   r  r    r   r!   r"   r   r      sv   y ,y ,\) 2i 2h
) 
9 y Y  9 ) jI jX$) $L) 	 9 Y 9 0
	 
 Y I I 9   &	 &P 	  8) 	 0Y 0dy $	 $I $y $	   y  D2i 2h
) 
9 y Y  9 ) nI n`$) $L) 	 9 Y 9 0
	 
 Y I I 9   &	 &P 	  8) 	  <>"$
8
  
 
(	)	
* <>"$
8
  
 
(	)	
* >@"$
:
  
 
	
* >@"$
:
  
 
	
, @B"$	

 =
  	

 

2 @B"$	

 =
  	

 

2 >@"$	

 ;
  	

 

2 >@"$	

 ;
  	

 

2 >@"$	

 ;
  	

 

2 >@"$	

 ;
  	

 

2 ?A"$	

 <
  	

 

2 ?A"$	

 <
  	

 

 
r!   r   N)stripe._list_objectr   stripe._request_optionsr   stripe._stripe_servicer   stripe._subscription_scheduler   stripe._utilr   typingr   r	   r
   typing_extensionsr   r   r   r   r   r!   r"   <module>r     s0    + 2 0 > $ # # = =E
- E
r!   