
    Aiь                        d dl mZ d dlmZmZ d dlmZmZmZ  G d de      Z	 G d de      Z
 G d d	e      Z G d
 de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d  d!e      Z G d" d#e      Z G d$ d%e      Z G d& d'e      Z G d( d)e      Z G d* d+e      Z G d, d-e      Z G d. d/e      Z G d0 d1e      Z G d2 d3e      Z  G d4 d5e      Z! G d6 d7e      Z" G d8 d9e      Z# G d: d;e      Z$ G d< d=e      Z% G d> d?e      Z& G d@ dAe      Z' G dB dCe      Z( G dD dEe      Z) G dF dGe      Z* G dH dIe      Z+ G dJ dKe      Z, G dL dMe      Z- G dN dOe      Z. G dP dQe      Z/yR)S    )RequestOptions)DictList)LiteralNotRequired	TypedDictc                   d   e Zd ZU eed      ed<   	 ed   ed<   	 ed   ed<   	 eed      ed<   	 ed	   ed
<   	 ed   ed<   	 ee   ed<   	 ed   ed<   	 eed      ed<   	 ee   ed<   	 ee	   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 eee	      ed<   	 ed   ed<   	 eed      ed<   	 ed    ed!<   	 ee   ed"<   	 ed   ed#<   	 ed$   ed%<   	 eed&      ed'<   	 ed(   ed)<   	 ed*   ed+<   	 eed,      ed-<   	 ee   ed.<   	 ed/   ed0<   	 ed1   ed2<   	 ee   ed3<   	 ed4   ed5<   y6)7SubscriptionModifyParams&SubscriptionModifyParamsAddInvoiceItemadd_invoice_itemszLiteral['']|floatapplication_fee_percent$SubscriptionModifyParamsAutomaticTaxautomatic_tax)now	unchangedbilling_cycle_anchorz5Literal['']|SubscriptionModifyParamsBillingThresholdsbilling_thresholdsz;Literal['']|int|Literal['max_period_end', 'min_period_end']	cancel_atcancel_at_period_end+SubscriptionModifyParamsCancellationDetailscancellation_details)charge_automaticallysend_invoicecollection_methoddays_until_duedefault_payment_methodLiteral['']|strdefault_sourceLiteral['']|List[str]default_tax_ratesdescriptionz2Literal['']|List[SubscriptionModifyParamsDiscount]	discountsexpand'SubscriptionModifyParamsInvoiceSettingsinvoice_settingsSubscriptionModifyParamsItemitemsLiteral['']|Dict[str, str]metadataoff_sessionon_behalf_ofz3Literal['']|SubscriptionModifyParamsPauseCollectionpause_collection)allow_incompletedefault_incompleteerror_if_incompletepending_if_incompletepayment_behavior'SubscriptionModifyParamsPaymentSettingspayment_settingsz>Literal['']|SubscriptionModifyParamsPendingInvoiceItemIntervalpending_invoice_item_interval)always_invoicecreate_prorationsnoneproration_behaviorproration_datez0Literal['']|SubscriptionModifyParamsTransferDatatransfer_datazLiteral['now']|int	trial_endtrial_from_plan%SubscriptionModifyParamsTrialSettingstrial_settingsN)
__name__
__module____qualname__r   r   __annotations__r   boolintstr     \/var/www/html/immo/lib/python3.12/site-packages/stripe/params/_subscription_modify_params.pyr
   r
      s   "56  ))<== EFF &g.@&ABB $?  E  &d++ &5  #67   $$ (,,   122 ##:;; .// <  S	"" ""KLL t:;<< 677 T"" /00 "=  "%	
  ""KLL $/H$  $=>   $$ :  /00 !&&   GHHrG   r
   c                       e Zd ZU eed      ed<   	 eeeef      ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed	<   	 ed
   ed<   y)r   .SubscriptionModifyParamsAddInvoiceItemDiscountr"   r)   ,SubscriptionModifyParamsAddInvoiceItemPeriodperiodprice/SubscriptionModifyParamsAddInvoiceItemPriceData
price_dataquantityr   	tax_ratesN)	r?   r@   rA   r   r   rB   r   rE   rD   rF   rG   rH   r   r      s    =>  $sCx.)) FGG s MNN # 233rG   r   c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)rJ   coupondiscountpromotion_codeNr?   r@   rA   r   rE   rB   rF   rG   rH   rJ   rJ      6     #  $$rG   rJ   c                   $    e Zd ZU ded<   	 ded<   y)rK   /SubscriptionModifyParamsAddInvoiceItemPeriodEndend1SubscriptionModifyParamsAddInvoiceItemPeriodStartstartNr?   r@   rA   rB   rF   rG   rH   rK   rK      s    	:: ?>rG   rK   c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)rY   	timestamp)min_item_period_endr_   typeNr?   r@   rA   r   rD   rB   r   rF   rG   rH   rY   rY      s%    3 4
55rG   rY   c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r[   r_   )max_item_period_startr   r_   ra   Nrb   rF   rG   rH   r[   r[      s%    3 =
>>rG   r[   c                   `    e Zd ZU eed<   	 eed<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y)rN   currencyproduct	exclusive	inclusiveunspecifiedtax_behaviorunit_amountunit_amount_decimalNr?   r@   rA   rE   rB   r   r   rD   rF   rG   rH   rN   rN      sT    M L g&MNOO S!! %S))rG   rN   c                   *    e Zd ZU eed<   	 ed   ed<   y)r   enabled-SubscriptionModifyParamsAutomaticTaxLiability	liabilityN)r?   r@   rA   rC   rB   r   rF   rG   rH   r   r     s    M JKKrG   r   c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)rr   accountru   selfra   Nr?   r@   rA   r   rE   rB   r   rF   rG   rH   rr   rr     %     #
$$rG   rr   c                   0    e Zd ZU ee   ed<   	 ee   ed<   y))SubscriptionModifyParamsBillingThresholds
amount_gtereset_billing_cycle_anchorN)r?   r@   rA   r   rD   rB   rC   rF   rG   rH   r{   r{   &  s$    C   !,D 11rG   r{   c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)r   r   commentzLiteral['']|Literal['customer_service', 'low_quality', 'missing_features', 'other', 'switched_service', 'too_complex', 'too_expensive', 'unused']feedbackNr?   r@   rA   r   rB   rF   rG   rH   r   r   1  s-    *++  	\ rG   r   c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y) SubscriptionModifyParamsDiscountrS   rT   rU   NrV   rF   rG   rH   r   r   >  rW   rG   r   c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)r$   r   account_tax_ids-SubscriptionModifyParamsInvoiceSettingsIssuerissuerNr   rF   rG   rH   r$   r$   M  s&     !899 GHHrG   r$   c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r   ru   rv   ra   Nrx   rF   rG   rH   r   r   X  ry   rG   r   c                       e Zd ZU ed   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed	<   	 ee   ed
<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   y)r&   z9Literal['']|SubscriptionModifyParamsItemBillingThresholdsr   clear_usagedeletedz6Literal['']|List[SubscriptionModifyParamsItemDiscount]r"   idr(   r)   planrM   %SubscriptionModifyParamsItemPriceDatarO   rP   r   rQ   N)r?   r@   rA   r   rB   rC   rE   rD   rF   rG   rH   r&   r&   c  s    #C  T""  @  	C 677 c
 s CDD # 233rG   r&   c                       e Zd ZU eed<   y)-SubscriptionModifyParamsItemBillingThresholds	usage_gteN)r?   r@   rA   rD   rB   rF   rG   rH   r   r     s    NrG   r   c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)$SubscriptionModifyParamsItemDiscountrS   rT   rU   NrV   rF   rG   rH   r   r     rW   rG   r   c                   l    e Zd ZU eed<   	 eed<   	 ded<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y	)
r   rf   rg   .SubscriptionModifyParamsItemPriceDataRecurring	recurringrh   rl   rm   rn   Nro   rF   rG   rH   r   r     sb    M L @? g&MNOO S!! %S))rG   r   c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)r   daymonthweekyearintervalinterval_countNr?   r@   rA   r   rB   r   rD   rF   rG   rH   r   r     %    455  $$rG   r   c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)'SubscriptionModifyParamsPauseCollection)keep_as_draftmark_uncollectiblevoidbehavior
resumes_atNr   rF   rG   rH   r   r     s%    CDD C  rG   r   c                   H    e Zd ZU ed   ed<   	 ed   ed<   	 eed      ed<   y)r2   ;SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionspayment_method_optionsa  Literal['']|List[Literal['ach_credit_transfer', 'ach_debit', 'acss_debit', 'affirm', 'amazon_pay', 'au_becs_debit', 'bacs_debit', 'bancontact', 'boleto', 'card', 'cashapp', 'crypto', 'custom', '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']]payment_method_types)offon_subscriptionsave_default_payment_methodNr?   r@   rA   r   rB   r   rF   rG   rH   r2   r2     sI    'E  & 	`  "-W5M-N!OOrG   r2   c                       e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed	   ed
<   	 ed   ed<   	 ed   ed<   y)r   zPLiteral['']|SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebit
acss_debitzQLiteral['']|SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsBancontact
bancontactzKLiteral['']|SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsCardcardzVLiteral['']|SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalancecustomer_balancezNLiteral['']|SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsKonbinikonbinizPLiteral['']|SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsSepaDebit
sepa_debitzTLiteral['']|SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountus_bank_accountNr   rF   rG   rH   r   r     s    Z  [  U  "`  X  Z  !^ rG   r   c                   6    e Zd ZU ed   ed<   	 eed      ed<   y)DSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebitRSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsmandate_options	automaticinstantmicrodepositsverification_methodNr   rF   rG   rH   r   r     s6     !\  %78 rG   r   c                   $    e Zd ZU eed      ed<   y)r   )businesspersonaltransaction_typeNr?   r@   rA   r   r   rB   rF   rG   rH   r   r   .  s     "'*@"ABBrG   r   c                   $    e Zd ZU eed      ed<   y)ESubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsBancontact)deenfrnlpreferred_languageNr   rF   rG   rH   r   r   7  s     $G,B$CDDrG   r   c                   N    e Zd ZU ed   ed<   	 eed      ed<   	 eed      ed<   y)?SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsCardMSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsCardMandateOptionsr   )amexcartes_bancairesdinersdiscover	eftpos_augirocardinteracjcblink
mastercardunionpayunknownvisanetwork)anyr   	challengerequest_three_d_secureNr   rF   rG   rH   r   r   @  sW     !W  	
 " (/0 rG   r   c                   H    e Zd ZU ee   ed<   	 eed      ed<   	 ee   ed<   y)r   amount)fixedmaximumamount_typer!   N)r?   r@   rA   r   rD   rB   r   rE   rF   rG   rH   r   r   e  s>      W%7899 S!!rG   r   c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)JSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceVSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferbank_transferfunding_typeNr?   r@   rA   r   rB   rE   rF   rG   rH   r   r   v  s+     `  c""rG   r   c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)r   dSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfereu_bank_transferra   Nr   rF   rG   rH   r   r     s+     "n  c
rG   r   c                       e Zd ZU eed<   y)r   countryN)r?   r@   rA   rE   rB   rF   rG   rH   r   r     s     LrG   r   c                       e Zd Zy)BSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsKonbiniNr?   r@   rA   rF   rG   rH   r   r          	rG   r   c                       e Zd Zy)DSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsSepaDebitNr   rF   rG   rH   r   r     r   rG   r   c                   6    e Zd ZU ed   ed<   	 eed      ed<   y)HSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccount\SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsfinancial_connectionsr   r   Nr   rF   rG   rH   r   r     s6     'f  %78 rG   r   c                   Z    e Zd ZU ed   ed<   	 eeed         ed<   	 eeed         ed<   y)r   cSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersfilters)balances	ownershippayment_methodtransactionspermissions)r   r   r  prefetchN)r?   r@   rA   r   rB   r   r   rF   rG   rH   r   r     s`     m  MN	
 
 W<=> rG   r   c                   *    e Zd ZU eeed         ed<   y)r   )checkingsavingsaccount_subcategoriesN)r?   r@   rA   r   r   r   rB   rF   rG   rH   r   r     s     'tG4I,J'KLLrG   r   c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)2SubscriptionModifyParamsPendingInvoiceItemIntervalr   r   r   Nr   rF   rG   rH   r	  r	    r   rG   r	  c                   *    e Zd ZU ee   ed<   	 eed<   y)$SubscriptionModifyParamsTransferDataamount_percentdestinationN)r?   r@   rA   r   floatrB   rE   rF   rG   rH   r  r    s    && rG   r  c                       e Zd ZU ded<   y)r=   0SubscriptionModifyParamsTrialSettingsEndBehaviorend_behaviorNr]   rF   rG   rH   r=   r=     s    DDrG   r=   c                       e Zd ZU ed   ed<   y)r  )cancelcreate_invoicepausemissing_payment_methodN)r?   r@   rA   r   rB   rF   rG   rH   r  r    s    #$GHHrG   r  N)0stripe._request_optionsr   typingr   r   typing_extensionsr   r   r   r
   r   rJ   rK   rY   r[   rN   r   rr   r{   r   r   r$   r   r&   r   r   r   r   r   r2   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r	  r  r=   r  rF   rG   rH   <module>r     s   3  = =]~ ]@Y BY 9 i 	 i .9 I 	 
) 
y i I 09 0fI 9 I 6Y i i &*) *Z"""J"				"2 9 I y rG   