o
    iь                     @   s  d dl mZ d dlmZmZ d dlmZmZmZ G dd deZ	G dd deZ
G dd	 d	eZG d
d deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG d d! d!eZG d"d# d#eZG d$d% d%eZG d&d' d'eZG d(d) d)eZG d*d+ d+eZG d,d- d-eZG d.d/ d/eZG d0d1 d1eZG d2d3 d3eZ G d4d5 d5eZ!G d6d7 d7eZ"G d8d9 d9eZ#G d:d; d;eZ$G d<d= d=eZ%G d>d? d?eZ&G d@dA dAeZ'G dBdC dCeZ(G dDdE dEeZ)G dFdG dGeZ*G dHdI dIeZ+G dJdK dKeZ,G dLdM dMeZ-G dNdO dOeZ.G dPdQ dQeZ/dRS )S    )RequestOptions)DictList)LiteralNotRequired	TypedDictc                   @   s  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 rD   rD   /var/www/snowflake_co_dev_github/snow_flake_back_end_deploy/env/lib/python3.10/site-packages/stripe/params/_subscription_modify_params.pyr      s   
 	r   c                   @   sz   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>   r?   r   r   r@   r   rC   rB   rD   rD   rD   rE   r	      s"   
 r	   c                   @   6   e Zd ZU ee ed< 	 ee ed< 	 ee ed< dS )rF   coupondiscountpromotion_codeNr=   r>   r?   r   rC   r@   rD   rD   rD   rE   rF         
 rF   c                   @   s    e Zd ZU ded< 	 ded< dS )rG   /SubscriptionModifyParamsAddInvoiceItemPeriodEndend1SubscriptionModifyParamsAddInvoiceItemPeriodStartstartNr=   r>   r?   r@   rD   rD   rD   rE   rG      s
   
 rG   c                   @   (   e Zd ZU ee ed< 	 ed ed< dS )rT   	timestamp)min_item_period_endrZ   typeNr=   r>   r?   r   rB   r@   r   rD   rD   rD   rE   rT      
   
 rT   c                   @   rY   )rV   rZ   )max_item_period_startr   rZ   r\   Nr]   rD   rD   rD   rE   rV      r^   rV   c                   @   sN   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 )rJ   currencyproduct	exclusive	inclusiveunspecifiedtax_behaviorunit_amountunit_amount_decimalNr=   r>   r?   rC   r@   r   r   rB   rD   rD   rD   rE   rJ      s   
 rJ   c                   @   s$   e Zd ZU eed< 	 ed ed< dS )r   enabled-SubscriptionModifyParamsAutomaticTaxLiability	liabilityN)r=   r>   r?   rA   r@   r   rD   rD   rD   rE   r     s
   
 r   c                   @   rY   )rk   accountrm   selfr\   Nr=   r>   r?   r   rC   r@   r   rD   rD   rD   rE   rk     r^   rk   c                   @   s(   e Zd ZU ee ed< 	 ee ed< dS ))SubscriptionModifyParamsBillingThresholds
amount_gtereset_billing_cycle_anchorN)r=   r>   r?   r   rB   r@   rA   rD   rD   rD   rE   rq   &  r^   rq   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   r@   rD   rD   rD   rE   r   1  s   
 r   c                   @   rN   ) SubscriptionModifyParamsDiscountrO   rP   rQ   NrR   rD   rD   rD   rE   rx   >  rS   rx   c                   @   rt   )r"   r   account_tax_ids-SubscriptionModifyParamsInvoiceSettingsIssuerissuerNrw   rD   rD   rD   rE   r"   M  r^   r"   c                   @   rY   )rz   rm   rn   r\   Nrp   rD   rD   rD   rE   rz   X  r^   rz   c                   @   s   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'   planrI   %SubscriptionModifyParamsItemPriceDatarK   rL   r   rM   N)r=   r>   r?   r   r@   rA   rC   rB   rD   rD   rD   rE   r$   c  s6   
 r$   c                   @      e Zd ZU eed< dS )-SubscriptionModifyParamsItemBillingThresholds	usage_gteN)r=   r>   r?   rB   r@   rD   rD   rD   rE   r        
 r   c                   @   rN   )$SubscriptionModifyParamsItemDiscountrO   rP   rQ   NrR   rD   rD   rD   rE   r     rS   r   c                   @   sX   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   r`   ra   .SubscriptionModifyParamsItemPriceDataRecurring	recurringrb   rf   rg   rh   Nri   rD   rD   rD   rE   r     s   
 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   r@   r   rB   rD   rD   rD   rE   r     r^   r   c                   @   r   )'SubscriptionModifyParamsPauseCollection)keep_as_draftmark_uncollectiblevoidbehavior
resumes_atNr   rD   rD   rD   rE   r     r^   r   c                   @   s:   e Zd ZU ed ed< 	 ed ed< 	 eed  ed< dS )r0   ;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>   r?   r   r@   r   rD   rD   rD   rE   r0     s   
 r0   c                   @   sn   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< dS )r   zPLiteral['']|SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebit
acss_debitzQLiteral['']|SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsBancontact
bancontactzKLiteral['']|SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsCardcardzVLiteral['']|SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalancecustomer_balancezNLiteral['']|SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsKonbinikonbinizPLiteral['']|SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsSepaDebit
sepa_debitzTLiteral['']|SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountus_bank_accountNrw   rD   rD   rD   rE   r     s:   
 r   c                   @   ,   e Zd ZU ed ed< 	 eed  ed< dS )DSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebitRSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsmandate_options	automaticinstantmicrodepositsverification_methodNr   rD   rD   rD   rE   r        
 r   c                   @      e Zd ZU eed  ed< dS )r   )businesspersonaltransaction_typeNr=   r>   r?   r   r   r@   rD   rD   rD   rE   r   .     
 r   c                   @   r   )ESubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsBancontact)deenfrnlpreferred_languageNr   rD   rD   rD   rE   r   7  r   r   c                   @   s>   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   rD   rD   rD   rE   r   @  s   
 r   c                   @   s:   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   rB   r@   r   rC   rD   rD   rD   rE   r   e  s   
 r   c                   @   (   e Zd ZU ed ed< 	 ee ed< dS )JSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceVSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferbank_transferfunding_typeNr=   r>   r?   r   r@   rC   rD   rD   rD   rE   r   v     
 r   c                   @   r   )r   dSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfereu_bank_transferr\   Nr   rD   rD   rD   rE   r     r   r   c                   @   r   )r   countryN)r=   r>   r?   rC   r@   rD   rD   rD   rE   r     s   
 r   c                   @      e Zd ZdS )BSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsKonbiniNr=   r>   r?   rD   rD   rD   rE   r         r   c                   @   r   )DSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsSepaDebitNr   rD   rD   rD   rE   r     r   r   c                   @   r   )HSubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccount\SubscriptionModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsfinancial_connectionsr   r   Nr   rD   rD   rD   rE   r     r   r   c                   @   sF   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>   r?   r   r@   r   r   rD   rD   rD   rE   r     s   
 
r   c                   @   s"   e Zd ZU eeed   ed< dS )r   )checkingsavingsaccount_subcategoriesN)r=   r>   r?   r   r   r   r@   rD   rD   rD   rE   r     s   
 r   c                   @   r   )2SubscriptionModifyParamsPendingInvoiceItemIntervalr   r   r   Nr   rD   rD   rD   rE   r     r^   r   c                   @   s$   e Zd ZU ee ed< 	 eed< dS )$SubscriptionModifyParamsTransferDataamount_percentdestinationN)r=   r>   r?   r   floatr@   rC   rD   rD   rD   rE   r     s
   
 r   c                   @   s   e Zd ZU ded< dS )r;   0SubscriptionModifyParamsTrialSettingsEndBehaviorend_behaviorNrX   rD   rD   rD   rE   r;     r   r;   c                   @   s   e Zd ZU ed ed< dS )r   )cancelcreate_invoicepausemissing_payment_methodN)r=   r>   r?   r   r@   rD   rD   rD   rE   r     s   
 r   N)0stripe._request_optionsr   typingr   r   typing_extensionsr   r   r   r   r	   rF   rG   rT   rV   rJ   r   rk   rq   r   rx   r"   rz   r$   r   r   r   r   r   r0   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r;   r   rD   rD   rD   rE   <module>   s    !!3
-

	
	
%



	



	