
    _j                        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/ G dR dSe          Z0 G dT dUe          Z1dVS )W    )RequestOptions)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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     m/var/www/app.qaans.com/backend/venv/lib/python3.11/site-packages/stripe/params/_subscription_modify_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 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<   dS )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GG s MNNNN # 23333 rG   r   c                   V    e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   dS )rJ   coupondiscountpromotion_codeNr?   r@   rA   r   rE   rB   rF   rG   rH   rJ   rJ      W          #  $$$$ rG   rJ   c                   &    e Zd ZU ded<   	 ded<   dS )rK   /SubscriptionModifyParamsAddInvoiceItemPeriodEndend1SubscriptionModifyParamsAddInvoiceItemPeriodStartstartNr?   r@   rA   rB   rF   rG   rH   rK   rK      s5         	:::: ?>>> rG   rK   c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )rY   	timestamp)min_item_period_endr_   typeNr?   r@   rA   r   rD   rB   r   rF   rG   rH   rY   rY      s@         3 4
5555 rG   rY   c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )r[   r_   )max_item_period_startr   r_   ra   Nrb   rF   rG   rH   r[   r[      s@         3 =
>>>> rG   r[   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 )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      s}         MMM LLL g&MNOOOO S!!!! %S)))) rG   rN   c                   2    e Zd ZU eed<   	 ed         ed<   dS )r   enabled-SubscriptionModifyParamsAutomaticTaxLiability	liabilityN)r?   r@   rA   rC   rB   r   rF   rG   rH   r   r     s8         MMM JKKKK rG   r   c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )rr   accountru   selfra   Nr?   r@   rA   r   rE   rB   r   rF   rG   rH   rr   rr     @          #
$$$$ rG   rr   c                   >    e Zd ZU ee         ed<   	 ee         ed<   dS ))SubscriptionModifyParamsBillingThresholds
amount_gtereset_billing_cycle_anchorN)r?   r@   rA   r   rD   rB   rC   rF   rG   rH   r{   r{   &  s?         C     !,D 1111 rG   r{   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@   rA   r   rB   rF   rG   rH   r   r   1  sL         *++++  	\    rG   r   c                   V    e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   dS ) SubscriptionModifyParamsDiscountrS   rT   rU   NrV   rF   rG   rH   r   r   >  rW   rG   r   c                   >    e Zd ZU ed         ed<   	 ed         ed<   dS )r$   r   account_tax_ids-SubscriptionModifyParamsInvoiceSettingsIssuerissuerNr   rF   rG   rH   r$   r$   M  sA          !89999 GHHHH rG   r$   c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )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<   dS )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77 c
 s CDDDD # 23333 rG   r&   c                       e Zd ZU eed<   dS )-SubscriptionModifyParamsItemBillingThresholds	usage_gteN)r?   r@   rA   rD   rB   rF   rG   rH   r   r     s         NNN rG   r   c                   V    e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   dS )$SubscriptionModifyParamsItemDiscountrS   rT   rU   NrV   rF   rG   rH   r   r     rW   rG   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   rf   rg   .SubscriptionModifyParamsItemPriceDataRecurring	recurringrh   rl   rm   rn   Nro   rF   rG   rH   r   r     s         MMM LLL @??? g&MNOOOO S!!!! %S)))) rG   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@   rA   r   rB   r   rD   rF   rG   rH   r   r     @         45555  $$$$ rG   r   c                   >    e Zd ZU ed         ed<   	 ee         ed<   dS )'SubscriptionModifyParamsPauseCollection)keep_as_draftmark_uncollectiblevoidbehavior
resumes_atNr   rF   rG   rH   r   r     s@         CDDDD C     rG   r   c                   b    e Zd ZU ed         ed<   	 ed         ed<   	 eed                  ed<   dS )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', '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@   rA   r   rB   r   rF   rG   rH   r2   r2     sr         'E    & 	x    "-W5M-N!OO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<   	 ed         ed<   dS )r   zPLiteral['']|SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebit
acss_debitzQLiteral['']|SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsBancontact
bancontactzKLiteral['']|SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsCardcardzVLiteral['']|SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalancecustomer_balancezNLiteral['']|SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsKonbinikonbinizLLiteral['']|SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsPaytopaytozPLiteral['']|SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsSepaDebit
sepa_debitzTLiteral['']|SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountus_bank_accountNr   rF   rG   rH   r   r     s        Z    [    U    "`    X    V    Z    !^    rG   r   c                   J    e Zd ZU ed         ed<   	 eed                  ed<   dS )DSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebitRSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsmandate_options	automaticinstantmicrodepositsverification_methodNr   rF   rG   rH   r   r   #  sY          !\    %78    rG   r   c                   2    e Zd ZU eed                  ed<   dS )r   )businesspersonaltransaction_typeNr?   r@   rA   r   r   rB   rF   rG   rH   r   r   4  s/          "'*@"ABBBB rG   r   c                   2    e Zd ZU eed                  ed<   dS )ESubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsBancontact)deenfrnlpreferred_languageNr   rF   rG   rH   r   r   =  s/          $G,B$CDD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<   dS )?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   F  s          !W    	
   " (/0    rG   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@   rA   r   rD   rB   r   rE   rF   rG   rH   r   r   k  s_           W%789999 S!!!! rG   r   c                   >    e Zd ZU ed         ed<   	 ee         ed<   dS )JSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceVSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferbank_transferfunding_typeNr?   r@   rA   r   rB   rE   rF   rG   rH   r   r   |  sJ          `    c"""" rG   r   c                   >    e Zd ZU ed         ed<   	 ee         ed<   dS )r   dSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfereu_bank_transferra   Nr   rF   rG   rH   r   r     sJ          "n    c
 rG   r   c                       e Zd ZU eed<   dS )r   countryN)r?   r@   rA   rE   rB   rF   rG   rH   r   r     s!          LLL rG   r   c                       e Zd ZdS )BSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsKonbiniNr?   r@   rA   rF   rG   rH   r   r              	DrG   r   c                   &    e Zd ZU ed         ed<   dS )@SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsPaytoNSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsPaytoMandateOptionsr   Nr   rF   rG   rH   r   r     s2          !X    rG   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purposeNrb   rF   rG   rH   r   r     sT           
	
    rG   r   c                       e Zd ZdS )DSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsSepaDebitNr   rF   rG   rH   r  r    r   rG   r  c                   J    e Zd ZU ed         ed<   	 eed                  ed<   dS )HSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccount\SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsfinancial_connectionsr   r   Nr   rF   rG   rH   r  r    sY          'f    %78    rG   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	  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<   dS )r  )checkingsavingsaccount_subcategoriesN)r?   r@   rA   r   r   r   rB   rF   rG   rH   r  r    s4          'tG4I,J'KLLLL rG   r  c                   >    e Zd ZU ed         ed<   	 ee         ed<   dS )2SubscriptionModifyParamsPendingInvoiceItemIntervalr   r   r   Nr   rF   rG   rH   r  r    r   rG   r  c                   2    e Zd ZU ee         ed<   	 eed<   dS )$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<   dS )r=   0SubscriptionModifyParamsTrialSettingsEndBehaviorend_behaviorNr]   rF   rG   rH   r=   r=     s"         DDDD rG   r=   c                   &    e Zd ZU ed         ed<   dS )r   )cancelcreate_invoicepausemissing_payment_methodN)r?   r@   rA   r   rB   rF   rG   rH   r   r   %  s(         #$GHHHH rG   r   N)2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  r=   r   rF   rG   rH   <module>r*     s/   3 2 2 2 2 2         = = = = = = = = = =] ] ] ] ]~ ] ] ]@    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     rG   