o
    i                     @   s  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 d/d0 d0eZG d1d2 d2eZG d3d4 d4eZG d5d6 d6eZ G d7d8 d8eZ!G d9d: d:eZ"G d;d< d<eZ#G d=d> d>eZ$G d?d@ d@eZ%G dAdB dBeZ&G dCdD dDeZ'G dEdF dFeZ(G dGdH dHeZ)G dIdJ dJeZ*G dKdL dLeZ+G dMdN dNeZ,G dOdP dPeZ-dQS )R    )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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 rC   rC   /var/www/snowflake_co_dev_github/snow_flake_back_end_deploy/env/lib/python3.10/site-packages/stripe/params/_subscription_update_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   .SubscriptionUpdateParamsAddInvoiceItemDiscountr   r&   ,SubscriptionUpdateParamsAddInvoiceItemPeriodperiodprice/SubscriptionUpdateParamsAddInvoiceItemPriceData
price_dataquantityr   	tax_ratesN)	r<   r=   r>   r   r   r?   r   rB   rA   rC   rC   rC   rD   r      s"   
 r   c                   @   6   e Zd ZU ee ed< 	 ee ed< 	 ee ed< dS )rE   coupondiscountpromotion_codeNr<   r=   r>   r   rB   r?   rC   rC   rC   rD   rE         
 rE   c                   @   s    e Zd ZU ded< 	 ded< dS )rF   /SubscriptionUpdateParamsAddInvoiceItemPeriodEndend1SubscriptionUpdateParamsAddInvoiceItemPeriodStartstartNr<   r=   r>   r?   rC   rC   rC   rD   rF      s
   
 rF   c                   @   (   e Zd ZU ee ed< 	 ed ed< dS )rS   	timestamp)min_item_period_endrY   typeNr<   r=   r>   r   rA   r?   r   rC   rC   rC   rD   rS      
   
 rS   c                   @   rX   )rU   rY   )max_item_period_startr   rY   r[   Nr\   rC   rC   rC   rD   rU      r]   rU   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 )rI   currencyproduct	exclusive	inclusiveunspecifiedtax_behaviorunit_amountunit_amount_decimalNr<   r=   r>   rB   r?   r   r   rA   rC   rC   rC   rD   rI      s   
 rI   c                   @   s$   e Zd ZU eed< 	 ed ed< dS )r   enabled-SubscriptionUpdateParamsAutomaticTaxLiability	liabilityN)r<   r=   r>   r@   r?   r   rC   rC   rC   rD   r     s
   
 r   c                   @   rX   )rj   accountrl   selfr[   Nr<   r=   r>   r   rB   r?   r   rC   rC   rC   rD   rj     r]   rj   c                   @   s(   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   rA   r?   r@   rC   rC   rC   rD   rp   %  r]   rp   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?   rC   rC   rC   rD   r   0  s   
 r   c                   @   rM   ) SubscriptionUpdateParamsDiscountrN   rO   rP   NrQ   rC   rC   rC   rD   rw   =  rR   rw   c                   @   rs   )r!   r   account_tax_ids-SubscriptionUpdateParamsInvoiceSettingsIssuerissuerNrv   rC   rC   rC   rD   r!   L  r]   r!   c                   @   rX   )ry   rl   rm   r[   Nro   rC   rC   rC   rD   ry   W  r]   ry   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['']|SubscriptionUpdateParamsItemBillingThresholdsr   clear_usagedeletedz6Literal['']|List[SubscriptionUpdateParamsItemDiscount]r   idr%   r&   planrH   %SubscriptionUpdateParamsItemPriceDatarJ   rK   r   rL   N)r<   r=   r>   r   r?   r@   rB   rA   rC   rC   rC   rD   r#   b  s6   
 r#   c                   @      e Zd ZU eed< dS )-SubscriptionUpdateParamsItemBillingThresholds	usage_gteN)r<   r=   r>   rA   r?   rC   rC   rC   rD   r        
 r   c                   @   rM   )$SubscriptionUpdateParamsItemDiscountrN   rO   rP   NrQ   rC   rC   rC   rD   r     rR   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_   r`   .SubscriptionUpdateParamsItemPriceDataRecurring	recurringra   re   rf   rg   Nrh   rC   rC   rC   rD   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   rA   rC   rC   rC   rD   r     r]   r   c                   @   r   )'SubscriptionUpdateParamsPauseCollection)keep_as_draftmark_uncollectiblevoidbehavior
resumes_atNr   rC   rC   rC   rD   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 )r/   ;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   r?   r   rC   rC   rC   rD   r/     s   
 r/   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['']|SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebit
acss_debitzQLiteral['']|SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsBancontact
bancontactzKLiteral['']|SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsCardcardzVLiteral['']|SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancecustomer_balancezNLiteral['']|SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsKonbinikonbinizPLiteral['']|SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsSepaDebit
sepa_debitzTLiteral['']|SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountus_bank_accountNrv   rC   rC   rC   rD   r     s:   
 r   c                   @   ,   e Zd ZU ed ed< 	 eed  ed< dS )DSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitRSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsmandate_options	automaticinstantmicrodepositsverification_methodNr   rC   rC   rC   rD   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?   rC   rC   rC   rD   r   -     
 r   c                   @   r   )ESubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsBancontact)deenfrnlpreferred_languageNr   rC   rC   rC   rD   r   6  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 )?SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsCardMSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsCardMandateOptionsr   )amexcartes_bancairesdinersdiscover	eftpos_augirocardinteracjcblink
mastercardunionpayunknownvisanetwork)anyr   	challengerequest_three_d_secureNr   rC   rC   rC   rD   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   rA   r?   r   rB   rC   rC   rC   rD   r   d  s   
 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   r?   rB   rC   rC   rC   rD   r   u     
 r   c                   @   r   )r   dSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfereu_bank_transferr[   Nr   rC   rC   rC   rD   r     r   r   c                   @   r   )r   countryN)r<   r=   r>   rB   r?   rC   rC   rC   rD   r     s   
 r   c                   @      e Zd ZdS )BSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsKonbiniNr<   r=   r>   rC   rC   rC   rD   r         r   c                   @   r   )DSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsSepaDebitNr   rC   rC   rC   rD   r     r   r   c                   @   r   )HSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccount\SubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsfinancial_connectionsr   r   Nr   rC   rC   rC   rD   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   cSubscriptionUpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersfilters)balances	ownershippayment_methodtransactionspermissions)r   r   r   prefetchN)r<   r=   r>   r   r?   r   r   rC   rC   rC   rD   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?   rC   rC   rC   rD   r     s   
 r   c                   @   r   )2SubscriptionUpdateParamsPendingInvoiceItemIntervalr   r   r   Nr   rC   rC   rC   rD   r     r]   r   c                   @   s$   e Zd ZU ee ed< 	 eed< dS )$SubscriptionUpdateParamsTransferDataamount_percentdestinationN)r<   r=   r>   r   floatr?   rB   rC   rC   rC   rD   r     s
   
 r   c                   @   s   e Zd ZU ded< dS )r:   0SubscriptionUpdateParamsTrialSettingsEndBehaviorend_behaviorNrW   rC   rC   rC   rD   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?   rC   rC   rC   rD   r     s   
 r   N).typingr   r   typing_extensionsr   r   r   r   r   rE   rF   rS   rU   rI   r   rj   rp   r   rw   r!   ry   r#   r   r   r   r   r   r/   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r:   r   rC   rC   rC   rD   <module>   s    !!3
-

	
	
%



	



	