
    Ai                        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 d/ d0e      Z G d1 d2e      Z G d3 d4e      Z G d5 d6e      Z  G d7 d8e      Z! G d9 d:e      Z" G d; d<e      Z# G d= d>e      Z$ G d? d@e      Z% G dA dBe      Z& G dC dDe      Z' G dE dFe      Z( G dG dHe      Z) G dI dJe      Z* G dK dLe      Z+ G dM dNe      Z, G dO dPe      Z-yQ)R    )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SubscriptionUpdateParams&SubscriptionUpdateParamsAddInvoiceItemadd_invoice_itemszLiteral['']|floatapplication_fee_percent$SubscriptionUpdateParamsAutomaticTaxautomatic_tax)now	unchangedbilling_cycle_anchorz5Literal['']|SubscriptionUpdateParamsBillingThresholdsbilling_thresholdsz;Literal['']|int|Literal['max_period_end', 'min_period_end']	cancel_atcancel_at_period_end+SubscriptionUpdateParamsCancellationDetails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[SubscriptionUpdateParamsDiscount]	discountsexpand'SubscriptionUpdateParamsInvoiceSettingsinvoice_settingsSubscriptionUpdateParamsItemitemsLiteral['']|Dict[str, str]metadataoff_sessionon_behalf_ofz3Literal['']|SubscriptionUpdateParamsPauseCollectionpause_collection)allow_incompletedefault_incompleteerror_if_incompletepending_if_incompletepayment_behavior'SubscriptionUpdateParamsPaymentSettingspayment_settingsz>Literal['']|SubscriptionUpdateParamsPendingInvoiceItemIntervalpending_invoice_item_interval)always_invoicecreate_prorationsnoneproration_behaviorproration_datez0Literal['']|SubscriptionUpdateParamsTransferDatatransfer_datazLiteral['now']|int	trial_endtrial_from_plan%SubscriptionUpdateParamsTrialSettingstrial_settingsN)
__name__
__module____qualname__r   r   __annotations__r   boolintstr     \/var/www/html/immo/lib/python3.12/site-packages/stripe/params/_subscription_update_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rF   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
   .SubscriptionUpdateParamsAddInvoiceItemDiscountr!   r(   ,SubscriptionUpdateParamsAddInvoiceItemPeriodperiodprice/SubscriptionUpdateParamsAddInvoiceItemPriceData
price_dataquantityr   	tax_ratesN)	r>   r?   r@   r   r   rA   r   rD   rC   rE   rF   rG   r
   r
      s    =>  $sCx.)) FGG s MNN # 233rF   r
   c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)rI   coupondiscountpromotion_codeNr>   r?   r@   r   rD   rA   rE   rF   rG   rI   rI      6     #  $$rF   rI   c                   $    e Zd ZU ded<   	 ded<   y)rJ   /SubscriptionUpdateParamsAddInvoiceItemPeriodEndend1SubscriptionUpdateParamsAddInvoiceItemPeriodStartstartNr>   r?   r@   rA   rE   rF   rG   rJ   rJ      s    	:: ?>rF   rJ   c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)rX   	timestamp)min_item_period_endr^   typeNr>   r?   r@   r   rC   rA   r   rE   rF   rG   rX   rX      s%    3 4
55rF   rX   c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)rZ   r^   )max_item_period_startr   r^   r`   Nra   rE   rF   rG   rZ   rZ      s%    3 =
>>rF   rZ   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)rM   currencyproduct	exclusive	inclusiveunspecifiedtax_behaviorunit_amountunit_amount_decimalNr>   r?   r@   rD   rA   r   r   rC   rE   rF   rG   rM   rM      sT    M L g&MNOO S!! %S))rF   rM   c                   *    e Zd ZU eed<   	 ed   ed<   y)r   enabled-SubscriptionUpdateParamsAutomaticTaxLiability	liabilityN)r>   r?   r@   rB   rA   r   rE   rF   rG   r   r     s    M JKKrF   r   c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)rq   accountrt   selfr`   Nr>   r?   r@   r   rD   rA   r   rE   rF   rG   rq   rq     %     #
$$rF   rq   c                   0    e Zd ZU ee   ed<   	 ee   ed<   y))SubscriptionUpdateParamsBillingThresholds
amount_gtereset_billing_cycle_anchorN)r>   r?   r@   r   rC   rA   rB   rE   rF   rG   rz   rz   %  s$    C   !,D 11rF   rz   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?   r@   r   rA   rE   rF   rG   r   r   0  s-    *++  	\ rF   r   c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y) SubscriptionUpdateParamsDiscountrR   rS   rT   NrU   rE   rF   rG   r   r   =  rV   rF   r   c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)r#   r   account_tax_ids-SubscriptionUpdateParamsInvoiceSettingsIssuerissuerNr   rE   rF   rG   r#   r#   L  s&     !899 GHHrF   r#   c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r   rt   ru   r`   Nrw   rE   rF   rG   r   r   W  rx   rF   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['']|SubscriptionUpdateParamsItemBillingThresholdsr   clear_usagedeletedz6Literal['']|List[SubscriptionUpdateParamsItemDiscount]r!   idr'   r(   planrL   %SubscriptionUpdateParamsItemPriceDatarN   rO   r   rP   N)r>   r?   r@   r   rA   rB   rD   rC   rE   rF   rG   r%   r%   b  s    #C  T""  @  	C 677 c
 s CDD # 233rF   r%   c                       e Zd ZU eed<   y)-SubscriptionUpdateParamsItemBillingThresholds	usage_gteN)r>   r?   r@   rC   rA   rE   rF   rG   r   r     s    NrF   r   c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)$SubscriptionUpdateParamsItemDiscountrR   rS   rT   NrU   rE   rF   rG   r   r     rV   rF   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   re   rf   .SubscriptionUpdateParamsItemPriceDataRecurring	recurringrg   rk   rl   rm   Nrn   rE   rF   rG   r   r     sb    M L @? g&MNOO S!! %S))rF   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?   r@   r   rA   r   rC   rE   rF   rG   r   r     %    455  $$rF   r   c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)'SubscriptionUpdateParamsPauseCollection)keep_as_draftmark_uncollectiblevoidbehavior
resumes_atNr   rE   rF   rG   r   r     s%    CDD C  rF   r   c                   H    e Zd ZU ed   ed<   	 ed   ed<   	 eed      ed<   y)r1   ;SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptions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?   r@   r   rA   r   rE   rF   rG   r1   r1     sI    'E  & 	`  "-W5M-N!OOrF   r1   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['']|SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebit
acss_debitzQLiteral['']|SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsBancontact
bancontactzKLiteral['']|SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsCardcardzVLiteral['']|SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancecustomer_balancezNLiteral['']|SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsKonbinikonbinizPLiteral['']|SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsSepaDebit
sepa_debitzTLiteral['']|SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountus_bank_accountNr   rE   rF   rG   r   r     s    Z  [  U  "`  X  Z  !^ rF   r   c                   6    e Zd ZU ed   ed<   	 eed      ed<   y)DSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitRSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsmandate_options	automaticinstantmicrodepositsverification_methodNr   rE   rF   rG   r   r     s6     !\  %78 rF   r   c                   $    e Zd ZU eed      ed<   y)r   )businesspersonaltransaction_typeNr>   r?   r@   r   r   rA   rE   rF   rG   r   r   -  s     "'*@"ABBrF   r   c                   $    e Zd ZU eed      ed<   y)ESubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsBancontact)deenfrnlpreferred_languageNr   rE   rF   rG   r   r   6  s     $G,B$CDDrF   r   c                   N    e Zd ZU ed   ed<   	 eed      ed<   	 eed      ed<   y)?SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsCardMSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsCardMandateOptionsr   )amexcartes_bancairesdinersdiscover	eftpos_augirocardinteracjcblink
mastercardunionpayunknownvisanetwork)anyr   	challengerequest_three_d_secureNr   rE   rF   rG   r   r   ?  sW     !W  	
 " (/0 rF   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?   r@   r   rC   rA   r   rD   rE   rF   rG   r   r   d  s>      W%7899 S!!rF   r   c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)JSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceVSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferbank_transferfunding_typeNr>   r?   r@   r   rA   rD   rE   rF   rG   r   r   u  s+     `  c""rF   r   c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)r   dSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfereu_bank_transferr`   Nr   rE   rF   rG   r   r     s+     "n  c
rF   r   c                       e Zd ZU eed<   y)r   countryN)r>   r?   r@   rD   rA   rE   rF   rG   r   r     s     LrF   r   c                       e Zd Zy)BSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsKonbiniNr>   r?   r@   rE   rF   rG   r   r          	rF   r   c                       e Zd Zy)DSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsSepaDebitNr   rE   rF   rG   r   r     r   rF   r   c                   6    e Zd ZU ed   ed<   	 eed      ed<   y)HSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccount\SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsfinancial_connectionsr   r   Nr   rE   rF   rG   r   r     s6     'f  %78 rF   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   cSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersfilters)balances	ownershippayment_methodtransactionspermissions)r   r   r   prefetchN)r>   r?   r@   r   rA   r   r   rE   rF   rG   r   r     s`     m  MN	
 
 W<=> rF   r   c                   *    e Zd ZU eeed         ed<   y)r   )checkingsavingsaccount_subcategoriesN)r>   r?   r@   r   r   r   rA   rE   rF   rG   r   r     s     'tG4I,J'KLLrF   r   c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)2SubscriptionUpdateParamsPendingInvoiceItemIntervalr   r   r   Nr   rE   rF   rG   r  r    r   rF   r  c                   *    e Zd ZU ee   ed<   	 eed<   y)$SubscriptionUpdateParamsTransferDataamount_percentdestinationN)r>   r?   r@   r   floatrA   rD   rE   rF   rG   r
  r
    s    && rF   r
  c                       e Zd ZU ded<   y)r<   0SubscriptionUpdateParamsTrialSettingsEndBehaviorend_behaviorNr\   rE   rF   rG   r<   r<     s    DDrF   r<   c                       e Zd ZU ed   ed<   y)r  )cancelcreate_invoicepausemissing_payment_methodN)r>   r?   r@   r   rA   rE   rF   rG   r  r    s    #$GHHrF   r  N).typingr   r   typing_extensionsr   r   r   r	   r
   rI   rJ   rX   rZ   rM   r   rq   rz   r   r   r#   r   r%   r   r   r   r   r   r1   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r
  r<   r  rE   rF   rG   <module>r     s    = =]y ]@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 rF   