
    _jy                        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- G dQ dRe          Z. G dS dTe          Z/dUS )V    )DictList)LiteralNotRequired	TypedDictc                   J   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<   d6S )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     m/var/www/app.qaans.com/backend/venv/lib/python3.11/site-packages/stripe/params/_subscription_update_params.pyr	   r	      s        "56    ))<==== EFFFF &g.@&ABBBB $?    E    &d++++ &5    #67     $$$$ (,,,,   12222 ##:;;;; .//// <    S	"""" ""KLLLL t:;<<<< 67777 T"""" /0000 "=    "%	
    ""KLLLL $/H$    $=>     $$$$ :    /0000 !&&&&   GHH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<   dS )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GG s MNNNN # 23333 rF   r
   c                   V    e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   dS )rI   coupondiscountpromotion_codeNr>   r?   r@   r   rD   rA   rE   rF   rG   rI   rI      W          #  $$$$ rF   rI   c                   &    e Zd ZU ded<   	 ded<   dS )rJ   /SubscriptionUpdateParamsAddInvoiceItemPeriodEndend1SubscriptionUpdateParamsAddInvoiceItemPeriodStartstartNr>   r?   r@   rA   rE   rF   rG   rJ   rJ      s5         	:::: ?>>> rF   rJ   c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )rX   	timestamp)min_item_period_endr^   typeNr>   r?   r@   r   rC   rA   r   rE   rF   rG   rX   rX      s@         3 4
5555 rF   rX   c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )rZ   r^   )max_item_period_startr   r^   r`   Nra   rE   rF   rG   rZ   rZ      s@         3 =
>>>> rF   rZ   c                   z    e Zd ZU eed<   	 eed<   	 eed                  ed<   	 ee         ed<   	 ee         ed<   dS )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      s}         MMM LLL g&MNOOOO S!!!! %S)))) rF   rM   c                   2    e Zd ZU eed<   	 ed         ed<   dS )r   enabled-SubscriptionUpdateParamsAutomaticTaxLiability	liabilityN)r>   r?   r@   rB   rA   r   rE   rF   rG   r   r     s8         MMM JKKKK rF   r   c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )rq   accountrt   selfr`   Nr>   r?   r@   r   rD   rA   r   rE   rF   rG   rq   rq     @          #
$$$$ rF   rq   c                   >    e Zd ZU ee         ed<   	 ee         ed<   dS ))SubscriptionUpdateParamsBillingThresholds
amount_gtereset_billing_cycle_anchorN)r>   r?   r@   r   rC   rA   rB   rE   rF   rG   rz   rz   %  s?         C     !,D 1111 rF   rz   c                   >    e Zd ZU ed         ed<   	 ed         ed<   dS )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  sL         *++++  	\    rF   r   c                   V    e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   dS ) SubscriptionUpdateParamsDiscountrR   rS   rT   NrU   rE   rF   rG   r   r   =  rV   rF   r   c                   >    e Zd ZU ed         ed<   	 ed         ed<   dS )r#   r   account_tax_ids-SubscriptionUpdateParamsInvoiceSettingsIssuerissuerNr   rE   rF   rG   r#   r#   L  sA          !89999 GHHHH rF   r#   c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )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<   dS )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77 c
 s CDDDD # 23333 rF   r%   c                       e Zd ZU eed<   dS )-SubscriptionUpdateParamsItemBillingThresholds	usage_gteN)r>   r?   r@   rC   rA   rE   rF   rG   r   r     s         NNN rF   r   c                   V    e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   dS )$SubscriptionUpdateParamsItemDiscountrR   rS   rT   NrU   rE   rF   rG   r   r     rV   rF   r   c                       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<   d	S )
r   re   rf   .SubscriptionUpdateParamsItemPriceDataRecurring	recurringrg   rk   rl   rm   Nrn   rE   rF   rG   r   r     s         MMM LLL @??? g&MNOOOO S!!!! %S)))) rF   r   c                   >    e Zd ZU ed         ed<   	 ee         ed<   dS )r   daymonthweekyearintervalinterval_countNr>   r?   r@   r   rA   r   rC   rE   rF   rG   r   r     @         45555  $$$$ rF   r   c                   >    e Zd ZU ed         ed<   	 ee         ed<   dS )'SubscriptionUpdateParamsPauseCollection)keep_as_draftmark_uncollectiblevoidbehavior
resumes_atNr   rE   rF   rG   r   r     s@         CDDDD C     rF   r   c                   b    e Zd ZU ed         ed<   	 ed         ed<   	 eed                  ed<   dS )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', 'pay_by_bank', 'payco', 'paynow', 'paypal', 'payto', '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     sr         'E    & 	x    "-W5M-N!OO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<   	 ed         ed<   dS )r   zPLiteral['']|SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebit
acss_debitzQLiteral['']|SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsBancontact
bancontactzKLiteral['']|SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsCardcardzVLiteral['']|SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancecustomer_balancezNLiteral['']|SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsKonbinikonbinizLLiteral['']|SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsPaytopaytozPLiteral['']|SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsSepaDebit
sepa_debitzTLiteral['']|SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountus_bank_accountNr   rE   rF   rG   r   r     s        Z    [    U    "`    X    V    Z    !^    rF   r   c                   J    e Zd ZU ed         ed<   	 eed                  ed<   dS )DSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitRSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsmandate_options	automaticinstantmicrodepositsverification_methodNr   rE   rF   rG   r   r   "  sY          !\    %78    rF   r   c                   2    e Zd ZU eed                  ed<   dS )r   )businesspersonaltransaction_typeNr>   r?   r@   r   r   rA   rE   rF   rG   r   r   3  s/          "'*@"ABBBB rF   r   c                   2    e Zd ZU eed                  ed<   dS )ESubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsBancontact)deenfrnlpreferred_languageNr   rE   rF   rG   r   r   <  s/          $G,B$CDD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<   dS )?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   E  s          !W    	
   " (/0    rF   r   c                   b    e Zd ZU ee         ed<   	 eed                  ed<   	 ee         ed<   dS )r   amount)fixedmaximumamount_typer    N)r>   r?   r@   r   rC   rA   r   rD   rE   rF   rG   r   r   j  s_           W%789999 S!!!! rF   r   c                   >    e Zd ZU ed         ed<   	 ee         ed<   dS )JSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceVSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferbank_transferfunding_typeNr>   r?   r@   r   rA   rD   rE   rF   rG   r   r   {  sJ          `    c"""" rF   r   c                   >    e Zd ZU ed         ed<   	 ee         ed<   dS )r   dSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfereu_bank_transferr`   Nr   rE   rF   rG   r   r     sJ          "n    c
 rF   r   c                       e Zd ZU eed<   dS )r   countryN)r>   r?   r@   rD   rA   rE   rF   rG   r   r     s!          LLL rF   r   c                       e Zd ZdS )BSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsKonbiniNr>   r?   r@   rE   rF   rG   r   r              	DrF   r   c                   &    e Zd ZU ed         ed<   dS )@SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsPaytoNSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsPaytoMandateOptionsr   Nr   rE   rF   rG   r   r     s2          !X    rF   r   c                   J    e Zd ZU ee         ed<   	 eed                  ed<   dS )r   r   )dependant_support
governmentloanmortgageotherpensionr   retailsalarytaxutilitypurposeNra   rE   rF   rG   r   r     sT           
	
    rF   r   c                       e Zd ZdS )DSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsSepaDebitNr   rE   rF   rG   r  r    r   rF   r  c                   J    e Zd ZU ed         ed<   	 eed                  ed<   dS )HSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccount\SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsfinancial_connectionsr   r   Nr   rE   rF   rG   r  r    sY          'f    %78    rF   r  c                       e Zd ZU ed         ed<   	 eeed                           ed<   	 eeed                           ed<   dS )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<   dS )r  )checkingsavingsaccount_subcategoriesN)r>   r?   r@   r   r   r   rA   rE   rF   rG   r  r    s4          'tG4I,J'KLLLL rF   r  c                   >    e Zd ZU ed         ed<   	 ee         ed<   dS )2SubscriptionUpdateParamsPendingInvoiceItemIntervalr   r   r   Nr   rE   rF   rG   r  r    r   rF   r  c                   2    e Zd ZU ee         ed<   	 eed<   dS )$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<   dS )r<   0SubscriptionUpdateParamsTrialSettingsEndBehaviorend_behaviorNr\   rE   rF   rG   r<   r<     s"         DDDD rF   r<   c                   &    e Zd ZU ed         ed<   dS )r  )cancelcreate_invoicepausemissing_payment_methodN)r>   r?   r@   r   rA   rE   rF   rG   r  r  $  s(         #$GHHHH rF   r  N)0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  r<   r  rE   rF   rG   <module>r(     s           = = = = = = = = = =] ] ] ] ]y ] ] ]@    Y   B    Y       9       i       	       i   .    9       I       	   
 
 
 
 
) 
 
 
    y       i       I   0 0 0 0 09 0 0 0f    I       9       I   6    Y       i       i   &0 0 0 0 0) 0 0 0f      "            " " " " "" " "J      "                  	 	 	 	 		 	 	            6	 	 	 	 		 	 	      "      2                 9       I       y     rF   