
    Ch>                    Z   S SK Jr  S SKJr  S SKJr  S SKJr  S SKJ	r	  S SK
Jr  S SKJr  S SKJrJr  S S	KJrJrJrJrJrJrJr  S S
KJrJrJrJrJr  \(       a<  S SKJ r   S SK!J"r"  S SK#J$r$  S SK%J&r'  S SK(J)r)  S SK*J+r+  S SK,J-r-  S SK.J/r/  S SK0J1r1  S SK2J3r3   " S S\S   \S   \S   5      r4g)    )CreateableAPIResource)ExpandableField)
ListObject)ListableAPIResource)RequestOptions)StripeObject)UpdateableAPIResource)class_method_variantsanitize_id)AnyClassVarDictListOptionalcastoverload)LiteralNotRequired	TypedDictUnpackTYPE_CHECKING)Account)Application)Customer)Discount)Invoice)LineItem)Subscription)SubscriptionSchedule)TaxRate)	TestClockc            	          \ rS rSr% SrSr\\S      \S'    " S S\	5      r
 " S S\	5      r " S	 S
\	5      r " S S\	5      r " S S\	5      r " S S\	5      r " S S\	5      r " S S\	5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S \5      r " S! S"\5      r " S# S$\5      r " S% S&\5      r " S' S(\5      r " S) S*\5      r " S+ S,\5      r " S- S.\5      r  " S/ S0\5      r! " S1 S2\5      r" " S3 S4\5      r# " S5 S6\5      r$ " S7 S8\5      r% " S9 S:\5      r& " S; S<\5      r' " S= S>\5      r( " S? S@\5      r) " SA SB\5      r* " SC SD\5      r+ " SE SF\5      r, " SG SH\5      r- " SI SJ\5      r. " SK SL\5      r/ " SM SN\5      r0 " SO SP\5      r1 " SQ SR\5      r2 " SS ST\5      r3 " SU SV\5      r4 " SW SX\5      r5\6\SY'    \6\SZ'    \7\8S[      \S\'    \7\6   \S]'    \7\9   \S^'    \
\S_'   \S`   \Sa'    \\Sb'   \6\Sc'    \7\:   \Sd'    \7\8Se      \Sf'    \7\;\8Sg         \Sh'    \7\:   \Si'    \;\8Sj      \Sk'    \6\Sl'    \7\:   \Sm'    \7\   \Sn'    \7\:   \So'    \:\Sp'    \7\8Sq      \Sr'    \\Ss'   \7\<St      \Su'    \=\Sv'    \>\:\:4   \Sw'    \7\:   \Sx'    \S   \Sy'    \7\8Sz      \S{'    \S|   \S}'    \\S~'   \7\8S      \S'    \\S'   \7\8S      \S'    \7\8S      \S'    \\S'   \7\   \S'    \?S\:S\@S   SS 4S j5       rA\B\CS\:S\@S   SS 4S j5       5       rD\BS\@S   SS 4S j5       rD\E" S5      S\@S   SS 4S j5       rD\?S\:S\@S   SS 4S j5       rF\B\CS\:S\@S   SS 4S j5       5       rG\BS\@S   SS 4S j5       rG\E" S5      S\@S   SS 4S j5       rG\?S\:S\@S   SS 4S j5       rH\B\CS\:S\@S   SS 4S j5       5       rI\BS\@S   SS 4S j5       rI\E" S5      S\@S   SS 4S j5       rI\?S\:S\@S   SS 4S j5       rJ\B\CS\:S\@S   SS 4S j5       5       rK\BS\@S   SS 4S j5       rK\E" S5      S\@S   SS 4S j5       rK\?S\@S   SS 4S j5       rL\?S\@S   SS 4S j5       rM\?S\:S\@S   SS 4S j5       rN\B\CS\:S\@S   SS 4S j5       5       rO\BS\@S   SS 4S j5       rO\E" S5      S\@S   SS 4S j5       rO\?S\:S\@S   SS 4S j5       rP\B\CS\:S\@S   SS 4S j5       5       rQ\BS\@S   SS 4S j5       rQ\E" S5      S\@S   SS 4S j5       rQ\?S\@S   S\<S    4S j5       rR\?S\@S   S\<S    4S j5       rS\?S\:S\@S   S\<St   4S j5       rT\B\CS\:S\@S   S\<St   4S j5       5       rU\BS\@S   S\<St   4S j5       rU\E" S5      S\@S   S\<St   4S j5       rU\?S\:S\@S   S\<St   4S j5       rV\B\CS\:S\@S   S\<St   4S j5       5       rW\BS\@S   S\<St   4S j5       rW\E" S5      S\@S   S\<St   4S j5       rW\?S\:S\@S   S\<St   4S j5       rX\B\CS\:S\@S   S\<St   4S j5       5       rY\BS\@S   S\<St   4S j5       rY\E" S5      S\@S   S\<St   4S j5       rY\?S\:S\@S   S\<St   4S j5       rZ\B\CS\:S\@S   S\<St   4S j5       5       r[\BS\@S   S\<St   4S j5       r[\E" S5      S\@S   S\<St   4S j5       r[\?Sp\:S\@S   SS 4S j5       r\\?Sp\:S\@S   SS 4S j5       r]\?S\:S\@S   S\^4S j5       r_\B\CS\:S\@S   S\^4S j5       5       r`\BS\@S   S\^4S j5       r`\E" S5      S\@S   S\^4S j5       r`\?S\:S\@S   S\^4S j5       ra\B\CS\:S\@S   S\^4S j5       5       rb\BS\@S   S\^4S j5       rb\E" S5      S\@S   S\^4S j5       rb\?Sp\:S\@S   SS 4S j5       rc\?Sp\:S\@S   SS 4S j5       rd\
\\\\\\\S.reSrfg)Quote!   z
A Quote is a way to model prices that you'd like to provide to a customer.
Once accepted, it will automatically create an invoice, subscription or subscription schedule.
quoteOBJECT_NAMEc                   |    \ rS rSr%  " S S\5      r\\S'    \\   \S'    \\	   \S'    \\
S      \S'    S\0rS	rg
)Quote.AutomaticTax-   c                   >    \ rS rSr% \\S      \S'    \S   \S'   Srg)Quote.AutomaticTax.Liability.   r   accountr-   selftype N	__name__
__module____qualname____firstlineno__r   r   __annotations__r   __static_attributes__r1       P/home/kali/devsecops-assessor/venv/lib/python3.13/site-packages/stripe/_quote.py	Liabilityr+   .   *    oi899 +,,r9   r;   enabled	liabilityprovider)completefailedrequires_location_inputsstatusr1   N)r3   r4   r5   r6   r   r;   boolr7   r   strr   _inner_class_typesr8   r1   r9   r:   AutomaticTaxr(   -   sg    	 	 	 I&&	 3-	 DE
 	
	 *95r9   rG   c                   h    \ rS rSr%  " S S\5      r " S S\5      r\\   \S'    \\S'   \\S.r	S	r
g
)Quote.ComputedL   c                   t    \ rS rSr%  " S S\5      r\\S'    \\S'    \S   \S'    \\S'    \\S	'   S	\0r	S
r
g)Quote.Computed.RecurringM   c                   n    \ rS rSr%  " S S\5      r\\S'    \\   \S'    \\S'    \\   \S'   S\0r	Sr
g	)
%Quote.Computed.Recurring.TotalDetailsN   c                   p    \ rS rSr%  " S S\5      r " S S\5      r\\   \S'    \\   \S'    \\S.r	S	r
g
)/Quote.Computed.Recurring.TotalDetails.BreakdownO   c                   ,    \ rS rSr% \\S'    S\S'   Srg)8Quote.Computed.Recurring.TotalDetails.Breakdown.DiscountP   amountDiscountResourcediscountr1   Nr3   r4   r5   r6   intr7   r8   r1   r9   r:   r   rU   P        # #54r9   r   c                   V    \ rS rSr% \\S'    S\S'    \\S      \S'    \\   \S'   Srg	)
3Quote.Computed.Recurring.TotalDetails.Breakdown.Tax]   rW   r    ratecustomer_exemptnot_collectingnot_subject_to_taxnot_supportedportion_product_exemptportion_reduced_ratedportion_standard_ratedproduct_exemptproduct_exempt_holidayproportionally_ratedreduced_ratedreverse_chargestandard_ratedtaxable_basis_reduced
zero_ratedtaxability_reasontaxable_amountr1   N	r3   r4   r5   r6   r[   r7   r   r   r8   r1   r9   r:   Taxr^   ]   J     # (
 ,4#!., & )15r9   rt   	discountstaxesrv   rw   r1   Nr3   r4   r5   r6   r   r   rt   r   r7   rF   r8   r1   r9   r:   	BreakdownrR   O   K    < $l $L  $H~-  9$ 8@#)N&r9   rz   amount_discountamount_shipping
amount_tax	breakdownr1   Nr3   r4   r5   r6   r   rz   r[   r7   r   rF   r8   r1   r9   r:   TotalDetailsrO   N   S    <O <O| "%$ "*#.   $I..&19%="r9   r   amount_subtotalamount_totaldaymonthweekyearintervalinterval_counttotal_detailsr1   N)r3   r4   r5   r6   r   r   r[   r7   r   rF   r8   r1   r9   r:   	RecurringrL   M   s^    L>| L>\ !   <==   ('"1<!@r9   r   c                   n    \ rS rSr%  " S S\5      r\\S'    \\S'    \\	S      \S'    \\S'   S\0r
S	rg
)Quote.Computed.Upfront   c                   n    \ rS rSr%  " S S\5      r\\S'    \\   \S'    \\S'    \\   \S'   S\0r	Sr
g	)
#Quote.Computed.Upfront.TotalDetails   c                   p    \ rS rSr%  " S S\5      r " S S\5      r\\   \S'    \\   \S'    \\S.r	S	r
g
)-Quote.Computed.Upfront.TotalDetails.Breakdown   c                   ,    \ rS rSr% \\S'    S\S'   Srg)6Quote.Computed.Upfront.TotalDetails.Breakdown.Discount   rW   rX   rY   r1   NrZ   r1   r9   r:   r   r      r\   r9   r   c                   V    \ rS rSr% \\S'    S\S'    \\S      \S'    \\   \S'   Srg	)
1Quote.Computed.Upfront.TotalDetails.Breakdown.Tax   rW   r    r`   ra   rq   rr   r1   Nrs   r1   r9   r:   rt   r      ru   r9   rt   rv   rw   rx   r1   Nry   r1   r9   r:   rz   r      r{   r9   rz   r|   r}   r~   r   r1   Nr   r1   r9   r:   r   r      r   r9   r   r   r   r   
line_itemsr   r1   N)r3   r4   r5   r6   r   r   r[   r7   r   r   rF   r8   r1   r9   r:   Upfrontr      sU    L>| L>\ !   !J!788 ('"1<!@r9   r   	recurringupfront)r   r   r1   N)r3   r4   r5   r6   r   r   r   r   r7   rF   r8   r1   r9   r:   ComputedrI   L   sI    `	A `	AD\	Al \	A| I&&	 +4Ir9   r   c                   2    \ rS rSr% \\S'    \S   \S'   Srg)Quote.FromQuotei  is_revisionr#   r%   r1   N)r3   r4   r5   r6   rD   r7   r   r8   r1   r9   r:   	FromQuoter     s    	 w''	r9   r   c                   P    \ rS rSr%  " S S\5      r\\   \S'    \\S'   S\0r	Sr
g)Quote.InvoiceSettingsi  c                   >    \ rS rSr% \\S      \S'    \S   \S'   Srg)Quote.InvoiceSettings.Issueri  r   r-   r.   r0   r1   Nr2   r1   r9   r:   Issuerr     r<   r9   r   days_until_dueissuerr1   N)r3   r4   r5   r6   r   r   r   r[   r7   rF   r8   r1   r9   r:   InvoiceSettingsr     s1    	\ 	 !%	 &/r9   r   c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)Quote.StatusTransitionsi0  accepted_atcanceled_atfinalized_atr1   N)r3   r4   r5   r6   r   r[   r7   r8   r1   r9   r:   StatusTransitionsr   0  s3    c]"	 c]"	 sm#	r9   r   c                       \ rS rSr%  " S S\5      r\\S'    \\   \S'    \\	   \S'    \\
\\4      \S'    \\	   \S'    S\0rS	rg
)Quote.SubscriptionDatai>  c                   &    \ rS rSr% \S   \S'   Srg)"Quote.SubscriptionData.BillingModei?  classicflexibler0   r1   Nr3   r4   r5   r6   r   r7   r8   r1   r9   r:   BillingModer   ?  s    /00r9   r   billing_modedescriptioneffective_datemetadatatrial_period_daysr1   N)r3   r4   r5   r6   r   r   r7   r   rE   r[   r   rF   r8   r1   r9   r:   SubscriptionDatar   >  su    	, 	 "!	 c]"	 !%	 4S>**	 $C=(	 -k:r9   r   c                   n    \ rS rSr%  " S S\5      r\\S'    \\   \S'    \\S'    \\   \S'   S\0r	Sr
g	)
Quote.TotalDetailsi[  c                   p    \ rS rSr%  " S S\5      r " S S\5      r\\   \S'    \\   \S'    \\S.r	S	r
g
)Quote.TotalDetails.Breakdowni\  c                   ,    \ rS rSr% \\S'    S\S'   Srg)%Quote.TotalDetails.Breakdown.Discounti]  rW   rX   rY   r1   NrZ   r1   r9   r:   r   r   ]  s     -,r9   r   c                   V    \ rS rSr% \\S'    S\S'    \\S      \S'    \\   \S'   Srg	)
 Quote.TotalDetails.Breakdown.Taxij  rW   r    r`   ra   rq   rr   r1   Nrs   r1   r9   r:   rt   r   j  sJ      
 $,&$ & !)-r9   rt   rv   rw   rx   r1   Nry   r1   r9   r:   rz   r   \  sJ    < $l $L H~% 9 08#!Fr9   rz   r|   r}   r~   r   r1   Nr   r1   r9   r:   r   r   [  sS    <	G <	G| 	 "#&	 	 I&&)95r9   r   c                   J    \ rS rSr% \\   \S'    \\   \S'    \S   \S'   Sr	g)Quote.TransferDatai  rW   amount_percentr   destinationr1   N)
r3   r4   r5   r6   r   r[   r7   floatr   r8   r1   r9   r:   TransferDatar     s4    	 !'	 %Y//	r9   r   c                   ,    \ rS rSr% \\\      \S'   Srg)Quote.AcceptParamsi  expandr1   N	r3   r4   r5   r6   r   r   rE   r7   r8   r1   r9   r:   AcceptParamsr         DI&&	r9   r   c                   ,    \ rS rSr% \\\      \S'   Srg)Quote.CancelParamsi  r   r1   Nr   r1   r9   r:   CancelParamsr     r   r9   r   c                      \ rS rSr% \S   \S'    \S   \S'    \S   \S'    \\S      \S	'    \\   \S
'    \S   \S'    \S   \S'    \S   \S'    \\\      \S'    \\	   \S'    \S   \S'    \S   \S'    \S   \S'    \S   \S'    \\S      \S'    \\
\\4      \S'    \S   \S'    \S   \S'    \\   \S'    \S    \S!'   S"rg#)$Quote.CreateParamsi  Literal['']|intapplication_fee_amountLiteral['']|floatapplication_fee_percentQuote.CreateParamsAutomaticTaxautomatic_taxcharge_automaticallysend_invoicecollection_methodcustomerLiteral['']|List[str]default_tax_ratesLiteral['']|strr   z,Literal['']|List[Quote.CreateParamsDiscount]rv   r   
expires_atfooterQuote.CreateParamsFromQuote
from_quoteheader!Quote.CreateParamsInvoiceSettingsinvoice_settingsQuote.CreateParamsLineItemr   r   on_behalf_of"Quote.CreateParamsSubscriptionDatasubscription_data
test_clockz*Literal['']|Quote.CreateParamsTransferDatatransfer_datar1   Nr3   r4   r5   r6   r   r7   r   rE   r   r[   r   r8   r1   r9   r:   CreateParamsr     s    +,= >>	 "--@!AA	 ##CDD	 ':;
 	
	 c""	 ''>??	 !!233	 MNN	 DI&&	  $$	 -..	   =>>	 -..	 &&IJJ	  %A BCC	 d38n--	 ""344	 ''KLL	  $$	 #8
 	
	r9   r   c                   2    \ rS rSr% \\S'    \S   \S'   Srg)r   i  r=   'Quote.CreateParamsAutomaticTaxLiabilityr>   r1   Nr3   r4   r5   r6   rD   r7   r   r8   r1   r9   r:   CreateParamsAutomaticTaxQuote.CreateParamsAutomaticTax      	 HII	r9   r   c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r   i#  r-   r.   r0   r1   N	r3   r4   r5   r6   r   rE   r7   r   r8   r1   r9   r:   !CreateParamsAutomaticTaxLiability'Quote.CreateParamsAutomaticTaxLiability#  %    S!!	 '((	r9   r  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)Quote.CreateParamsDiscounti-  couponrY   promotion_coder1   Nr3   r4   r5   r6   r   rE   r7   r8   r1   r9   r:   CreateParamsDiscountr  -  6    C  	 c""	 $C((	r9   r	  c                   2    \ rS rSr% \\   \S'    \\S'   Srg)r   i;  r   r%   r1   N)	r3   r4   r5   r6   r   rD   r7   rE   r8   r1   r9   r:   CreateParamsFromQuoteQuote.CreateParamsFromQuote;  s     &&	 
	r9   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r   iE  r   'Quote.CreateParamsInvoiceSettingsIssuerr   r1   Nr3   r4   r5   r6   r   r[   r7   r8   r1   r9   r:   CreateParamsInvoiceSettings!Quote.CreateParamsInvoiceSettingsE  %    #C((	 EFF	r9   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r  iO  r-   r.   r0   r1   Nr   r1   r9   r:   !CreateParamsInvoiceSettingsIssuer'Quote.CreateParamsInvoiceSettingsIssuerO  r  r9   r  c                   n    \ rS rSr% \S   \S'    \\   \S'    \S   \S'    \\   \S'    \S   \S	'   S
rg)r   iY  z4Literal['']|List[Quote.CreateParamsLineItemDiscount]rv   price#Quote.CreateParamsLineItemPriceData
price_dataquantityr   	tax_ratesr1   N	r3   r4   r5   r6   r   r7   rE   r[   r8   r1   r9   r:   CreateParamsLineItemQuote.CreateParamsLineItemY  sa    B
 	
	 3	   EFF	 c""	 677	r9   r  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)"Quote.CreateParamsLineItemDiscountiq  r  rY   r  r1   Nr  r1   r9   r:   CreateParamsLineItemDiscountr!  q  r
  r9   r"  c                   z    \ rS rSr% \\S'    \\S'    \S   \S'    \\S      \S'    \\   \S'    \\   \S	'   S
r	g)r  i  currencyproduct,Quote.CreateParamsLineItemPriceDataRecurringr   	exclusive	inclusiveunspecifiedtax_behaviorunit_amountunit_amount_decimalr1   N
r3   r4   r5   r6   rE   r7   r   r   r[   r8   r1   r9   r:   CreateParamsLineItemPriceData#Quote.CreateParamsLineItemPriceData  l    	 	 MNN	 ";<
 	
	 !%%	 )--	r9   r/  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)r&  i  r   r   r   r1   N	r3   r4   r5   r6   r   r7   r   r[   r8   r1   r9   r:   &CreateParamsLineItemPriceDataRecurring,Quote.CreateParamsLineItemPriceDataRecurring  %    899	 $C((	r9   r4  c                   x    \ rS rSr% \S   \S'    \\   \S'    \S   \S'    \\\\4      \S'    \S   \S	'   S
rg)r   i  -Quote.CreateParamsSubscriptionDataBillingModer   r   -Literal['']|Literal['current_period_end']|intr   r   r   r   r1   N)	r3   r4   r5   r6   r   r7   rE   r   r8   r1   r9   r:   CreateParamsSubscriptionData"Quote.CreateParamsSubscriptionData  sm    !;
 	
	 !%%	 $;
 	
	 d38n--	 ''899	r9   r:  c                   &    \ rS rSr% \S   \S'   Srg)r8  i  r   r0   r1   Nr   r1   r9   r:   'CreateParamsSubscriptionDataBillingMode-Quote.CreateParamsSubscriptionDataBillingMode  s    +,,	r9   r=  c                   D    \ rS rSr% \\   \S'    \\   \S'    \\S'   Sr	g)Quote.CreateParamsTransferDatai  rW   r   r   r1   N
r3   r4   r5   r6   r   r[   r7   r   rE   r8   r1   r9   r:   CreateParamsTransferDatar@    1    C  	 $E**	 	r9   rB  c                   >    \ rS rSr% \\\      \S'    \\   \S'   Sr	g)Quote.FinalizeQuoteParamsi  r   r   r1   N)
r3   r4   r5   r6   r   r   rE   r7   r[   r8   r1   r9   r:   FinalizeQuoteParamsrE    s(    DI&&	  $$	r9   rF  c                   b    \ rS rSr% \\   \S'    \\\      \S'    \\   \S'    \\   \S'   Sr	g)(Quote.ListComputedUpfrontLineItemsParamsi  ending_beforer   limitstarting_afterr1   N
r3   r4   r5   r6   r   rE   r7   r   r[   r8   r1   r9   r:   "ListComputedUpfrontLineItemsParamsrH    L    "3''	 DI&&	 3	 $C((	r9   rM  c                   b    \ rS rSr% \\   \S'    \\\      \S'    \\   \S'    \\   \S'   Sr	g)Quote.ListLineItemsParamsi  rI  r   rJ  rK  r1   NrL  r1   r9   r:   ListLineItemsParamsrP    rN  r9   rQ  c                       \ rS rSr% \\   \S'    \\   \S'    \\\      \S'    \\   \S'    \\   \S'    \\	S      \S'    \\   \S	'   S
r
g)Quote.ListParamsi  r   rI  r   rJ  rK  acceptedcanceleddraftopenrC   r   r1   N)r3   r4   r5   r6   r   rE   r7   r   r[   r   r8   r1   r9   r:   
ListParamsrS    s    c""	 #3''	 DI&&	 3	 $C((	 G$KLMM	  $$	r9   rY  c                   t   \ rS rSr% \S   \S'    \S   \S'    \S   \S'    \\S      \S	'    \\   \S
'    \S   \S'    \S   \S'    \S   \S'    \\\      \S'    \\	   \S'    \S   \S'    \S   \S'    \S   \S'    \\S      \S'    \\
\\4      \S'    \S   \S'    \S   \S'    \S   \S'   Srg )!Quote.ModifyParamsi  r   r   r   r   Quote.ModifyParamsAutomaticTaxr   r   r   r   r   r   r   r   z,Literal['']|List[Quote.ModifyParamsDiscount]rv   r   r   r   r   !Quote.ModifyParamsInvoiceSettingsr   Quote.ModifyParamsLineItemr   r   r   "Quote.ModifyParamsSubscriptionDatar   z*Literal['']|Quote.ModifyParamsTransferDatar   r1   Nr   r1   r9   r:   ModifyParamsr[    sq    +,= >>	 "--@!AA	 ##CDD	 ':;
 	
	 c""	 ''>??	 !!233	 MNN	 DI&&	  $$	 -..	 -..	 &&IJJ	  %A BCC	 d38n--	 ""344	 ''KLL	 #8
 	
	r9   r`  c                   2    \ rS rSr% \\S'    \S   \S'   Srg)r\  im  r=   'Quote.ModifyParamsAutomaticTaxLiabilityr>   r1   Nr   r1   r9   r:   ModifyParamsAutomaticTaxQuote.ModifyParamsAutomaticTaxm  r   r9   rc  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)rb  iw  r-   r.   r0   r1   Nr   r1   r9   r:   !ModifyParamsAutomaticTaxLiability'Quote.ModifyParamsAutomaticTaxLiabilityw  r  r9   rf  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)Quote.ModifyParamsDiscounti  r  rY   r  r1   Nr  r1   r9   r:   ModifyParamsDiscountri    r
  r9   rj  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r]  i  r   'Quote.ModifyParamsInvoiceSettingsIssuerr   r1   Nr  r1   r9   r:   ModifyParamsInvoiceSettings!Quote.ModifyParamsInvoiceSettings  r  r9   rm  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)rl  i  r-   r.   r0   r1   Nr   r1   r9   r:   !ModifyParamsInvoiceSettingsIssuer'Quote.ModifyParamsInvoiceSettingsIssuer  r  r9   rp  c                       \ rS rSr% \S   \S'    \\   \S'    \\   \S'    \S   \S'    \\   \S'    \S	   \S
'   Srg)r^  i  z4Literal['']|List[Quote.ModifyParamsLineItemDiscount]rv   idr  #Quote.ModifyParamsLineItemPriceDatar  r  r   r  r1   Nr  r1   r9   r:   ModifyParamsLineItemQuote.ModifyParamsLineItem  ss    B
 	
	 	 3	   EFF	 c""	 677	r9   ru  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)"Quote.ModifyParamsLineItemDiscounti  r  rY   r  r1   Nr  r1   r9   r:   ModifyParamsLineItemDiscountrx    r
  r9   ry  c                   z    \ rS rSr% \\S'    \\S'    \S   \S'    \\S      \S'    \\   \S'    \\   \S	'   S
r	g)rt  i  r$  r%  ,Quote.ModifyParamsLineItemPriceDataRecurringr   r'  r+  r,  r-  r1   Nr.  r1   r9   r:   ModifyParamsLineItemPriceData#Quote.ModifyParamsLineItemPriceData  r1  r9   r|  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)r{  i  r   r   r   r1   Nr3  r1   r9   r:   &ModifyParamsLineItemPriceDataRecurring,Quote.ModifyParamsLineItemPriceDataRecurring  r6  r9   r  c                   f    \ rS rSr% \S   \S'    \S   \S'    \\\\4      \S'    \S   \S'   S	rg
)r_  i  r   r   r9  r   r   r   r   r1   N)	r3   r4   r5   r6   r   r7   r   rE   r8   r1   r9   r:   ModifyParamsSubscriptionData"Quote.ModifyParamsSubscriptionData  sW     !233	 $;
 	
	 d38n--	 ''899	r9   r  c                   D    \ rS rSr% \\   \S'    \\   \S'    \\S'   Sr	g)Quote.ModifyParamsTransferDatai  rW   r   r   r1   NrA  r1   r9   r:   ModifyParamsTransferDatar    rC  r9   r  c                   ,    \ rS rSr% \\\      \S'   Srg)Quote.PdfParamsi  r   r1   Nr   r1   r9   r:   	PdfParamsr    r   r9   r  c                   ,    \ rS rSr% \\\      \S'   Srg)Quote.RetrieveParamsi  r   r1   Nr   r1   r9   r:   RetrieveParamsr    r   r9   r  r   r   r   applicationr   r   r   r   r   computedcreatedr$  r   r   r    r   r   rX   rv   r   r   r   r   rs  r   invoicer   r   r   livemoder   numberobjectr   r   rT  rC   status_transitionsr   subscriptionr   r   subscription_scheduler!   r   r   r   paramsr   returnc                 d    [        SU R                  SSR                  [        U5      S9US95      $ )
Accepts the specified quote.
r#   post/v1/quotes/{quote}/acceptr%   r  r   _static_requestformatr   clsr%   r  s      r:   _cls_acceptQuote._cls_accept  C     +22U9K2L   
 	
r9   c                     gr  Nr1   r%   r  s     r:   acceptQuote.accept       	r9   c                     gr  r1   r/   r  s     r:   r  r        
 	r9   r  c                     [        SU R                  SSR                  [        U R	                  S5      5      S9US95      $ )r  r#   r  r  rs  r  r  r   _requestr  r   getr  s     r:   r  r    P     MM+22%dhhtn5 3    	
 		
r9   c                    #    [        SU R                  SSR                  [        U5      S9US9I Sh  vN 5      $  N7f)r  r#   r  r  r  r  Nr   _static_request_asyncr  r   r  s      r:   _cls_accept_asyncQuote._cls_accept_async  P      +++22U9K2L ,  
 	
   1><
	>c                    #    g7fr  r1   r  s     r:   accept_asyncQuote.accept_async  
      	   c                    #    g7fr  r1   r  s     r:   r  r    
      	r  r  c                    #    [        SU R                  SSR                  [        U R	                  S5      5      S9US9I Sh  vN 5      $  N7f)r  r#   r  r  rs  r  r  Nr   _request_asyncr  r   r  r  s     r:   r  r    _      %%+22%dhhtn5 3   &  	
 		
   A AA
	Ar   c                 d    [        SU R                  SSR                  [        U5      S9US95      $ )
Cancels the quote.
r#   r  /v1/quotes/{quote}/cancelr  r  r  r  s      r:   _cls_cancelQuote._cls_cancel  r  r9   c                     gr  Nr1   r  s     r:   cancelQuote.cancel  r  r9   c                     gr  r1   r  s     r:   r  r    r  r9   r  c                     [        SU R                  SSR                  [        U R	                  S5      5      S9US95      $ )r  r#   r  r  rs  r  r  r  r  s     r:   r  r  !  r  r9   c                    #    [        SU R                  SSR                  [        U5      S9US9I Sh  vN 5      $  N7f)r  r#   r  r  r  r  Nr  r  s      r:   _cls_cancel_asyncQuote._cls_cancel_async3  r  r  c                    #    g7fr  r1   r  s     r:   cancel_asyncQuote.cancel_asyncC  r  r  c                    #    g7fr  r1   r  s     r:   r  r  M  r  r  r  c                    #    [        SU R                  SSR                  [        U R	                  S5      5      S9US9I Sh  vN 5      $  N7f)r  r#   r  r  rs  r  r  Nr  r  s     r:   r  r  V  r  r  r   c           	      T    [        SU R                  SU R                  5       US95      $ )
A quote models prices and services for a customer. Default options for header, description, footer, and expires_at can be set in the dashboard via the [quote template](https://dashboard.stripe.com/settings/billing/quote).
r#   r  r  )r   r  	class_urlr  r  s     r:   createQuote.createh  s6    
    
 	
r9   c           	      p   #    [        SU R                  SU R                  5       US9I Sh  vN 5      $  N7f)r  r#   r  r  N)r   r  r  r  s     r:   create_asyncQuote.create_asyncv  sC      ++ ,  
 	
s   )64
	6rE  c                 d    [        SU R                  SSR                  [        U5      S9US95      $ )
Finalizes the quote.
r#   r  /v1/quotes/{quote}/finalizer  r  r  r  s      r:   _cls_finalize_quoteQuote._cls_finalize_quote  sC     -44;u;M4N   
 	
r9   c                     gr  Nr1   r  s     r:   finalize_quoteQuote.finalize_quote       	r9   c                     gr  r1   r  s     r:   r  r         	r9   r  c                     [        SU R                  SSR                  [        U R	                  S5      5      S9US95      $ )r  r#   r  r  rs  r  r  r  r  s     r:   r  r    sP     MM-44%dhhtn5 5    	
 		
r9   c                    #    [        SU R                  SSR                  [        U5      S9US9I Sh  vN 5      $  N7f)r  r#   r  r  r  r  Nr  r  s      r:   _cls_finalize_quote_asyncQuote._cls_finalize_quote_async  sP      ++-44;u;M4N ,  
 	
r  c                    #    g7fr  r1   r  s     r:   finalize_quote_asyncQuote.finalize_quote_async  r  r  c                    #    g7fr  r1   r  s     r:   r  r    r  r  r  c                    #    [        SU R                  SSR                  [        U R	                  S5      5      S9US9I Sh  vN 5      $  N7f)r  r#   r  r  rs  r  r  Nr  r  s     r:   r  r    s_      %%-44%dhhtn5 5   &  	
 		
r  rS  c                     U R                  SU R                  5       US9n[        U[        5      (       d!  [	        S[        U5      R                  -  5      eU$ ) 
Returns a list of your quotes.
r  r  %Expected list object from API, got %s)r  r  
isinstancer   	TypeErrorr0   r3   r  r  results      r:   list
Quote.list  s`    
 $$MMO % 

 &*--7<((* 
 r9   c                    #    U R                  SU R                  5       US9I Sh  vN n[        U[        5      (       d!  [	        S[        U5      R                  -  5      eU$  N<7f)r  r  r  Nr  )r  r  r  r   r  r0   r3   r  s      r:   
list_asyncQuote.list_async  sm      00MMO 1 
 

 &*--7<((* 
 
s   #A$A"=A$rH  c                 r    [        [        S   U R                  SSR                  [	        U5      S9US95      $ )5  
When retrieving a quote, there is an includable [computed.upfront.line_items](https://stripe.com/docs/api/quotes/object#quote_object-computed-upfront-line_items) property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of upfront line items.
r   r  ./v1/quotes/{quote}/computed_upfront_line_itemsr  r  r   r   r  r  r   r  s      r:   %_cls_list_computed_upfront_line_items+Quote._cls_list_computed_upfront_line_items  sP     z"@GG%e, H     	
 		
r9   c                     gr  Nr1   r  s     r:    list_computed_upfront_line_items&Quote.list_computed_upfront_line_items*  s     	r9   c                     gr  r1   r  s     r:   r  r  5  r  r9   r	  c                     [        [        S   U R                  SSR                  [	        U R                  S5      5      S9US95      $ )r  r   r  r  rs  r  r  r   r   r  r  r   r  r  s     r:   r  r  >  sV     z"MM@GG%dhhtn5 H    	
 		
r9   c                    #    [        [        S   U R                  SSR                  [	        U5      S9US9I Sh  vN 5      $  N7f)r  r   r  r  r  r  Nr   r   r  r  r   r  s      r:   +_cls_list_computed_upfront_line_items_async1Quote._cls_list_computed_upfront_line_items_asyncP  s]      z"++@GG%e, H   ,  	
 		
   8AA
	Ac                    #    g7fr  r1   r  s     r:   &list_computed_upfront_line_items_async,Quote.list_computed_upfront_line_items_asyncd  s
      	r  c                    #    g7fr  r1   r  s     r:   r  r  o  r  r  r  c                    #    [        [        S   U R                  SSR                  [	        U R                  S5      5      S9US9I Sh  vN 5      $  N7f)r  r   r  r  rs  r  r  Nr   r   r  r  r   r  r  s     r:   r  r  x  se      z"%%@GG%dhhtn5 H   &  	
 		
   AA	A

	ArP  c                 r    [        [        S   U R                  SSR                  [	        U5      S9US95      $ )
When retrieving a quote, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.
r   r  /v1/quotes/{quote}/line_itemsr  r  r  r  s      r:   _cls_list_line_itemsQuote._cls_list_line_items  sO     z"/66%e, 7     	
 		
r9   c                     gr  Nr1   r  s     r:   list_line_itemsQuote.list_line_items  r  r9   c                     gr$  r1   r  s     r:   r%  r&    r  r9   r!  c                     [        [        S   U R                  SSR                  [	        U R                  S5      5      S9US95      $ )r  r   r  r   rs  r  r  r  r  s     r:   r%  r&    sU     z"MM/66%dhhtn5 7    	
 		
r9   c                    #    [        [        S   U R                  SSR                  [	        U5      S9US9I Sh  vN 5      $  N7f)r  r   r  r   r  r  Nr  r  s      r:   _cls_list_line_items_async Quote._cls_list_line_items_async  s\      z"++/66%e, 7   ,  	
 		
r  c                    #    g7fr$  r1   r  s     r:   list_line_items_asyncQuote.list_line_items_async  r  r  c                    #    g7fr$  r1   r  s     r:   r-  r.    r  r  r*  c                    #    [        [        S   U R                  SSR                  [	        U R                  S5      5      S9US9I Sh  vN 5      $  N7f)r  r   r  r   rs  r  r  Nr  r  s     r:   r-  r.    sd      z"%%/66%dhhtn5 7   &  	
 		
r  r[  c           	      x    U R                  5       < S[        U5      < 3n[        SU R                  SUUS95      $ )4
A quote models prices and services for a customer.
/r#   r  r  )r  r   r   r  r  rs  r  urls       r:   modifyQuote.modify  sD     +b/:   
 	
r9   c           	         #    U R                  5       < S[        U5      < 3n[        SU R                  SUUS9I Sh  vN 5      $  N7f)r2  r3  r#   r  r  N)r  r   r   r  r4  s       r:   modify_asyncQuote.modify_async	  sQ      +b/:++ ,  
 	
s   ;AA
	Ar  c                 n    [        [        U R                  SSR                  [	        U5      S9USS95      $ )
Download the PDF for a finalized quote. Explanation for special handling can be found [here](https://docs.stripe.com/quotes/overview#quote_pdf)
r  /v1/quotes/{quote}/pdfr  filesr  base_address)r   r   _static_request_streamr  r   r  s      r:   _cls_pdfQuote._cls_pdf  sF    
 &&(//k%6H/I$	 ' 
 	
r9   c                     gr<  Nr1   r  s     r:   pdf	Quote.pdf)  r  r9   c                     grE  r1   r  s     r:   rF  rG  1  r  r9   rB  c                     [        [        U R                  SSR                  [	        U R                  S5      5      S9USS95      $ )r<  r  r=  rs  r  r>  r?  )r   r   _request_streamr  r   r  r  s     r:   rF  rG  8  sU       (//%dhhtn5 0  $ ! 

 
	
r9   c                    #    [        [        U R                  SSR                  [	        U5      S9USS9I Sh  vN 5      $  N7f)r<  r  r=  r  r>  r?  N)r   r   _static_request_stream_asyncr  r   r  s      r:   _cls_pdf_asyncQuote._cls_pdf_asyncK  sS      22(//k%6H/I$	 3  
 	
s   6AA
	Ac                    #    g7frE  r1   r  s     r:   	pdf_asyncQuote.pdf_async\  r  r  c                    #    g7frE  r1   r  s     r:   rP  rQ  f  s
     
 	r  rM  c                    #    [        [        U R                  SSR                  [	        U R                  S5      5      S9USS9I Sh  vN 5      $  N7f)r<  r  r=  rs  r  r>  r?  N)r   r   _request_stream_asyncr  r   r  r  s     r:   rP  rQ  m  sb      ,,(//%dhhtn5 0  $ -  

 
	
s   AAA
	Ar  c                 8    U " U40 UD6nUR                  5         U$ )(
Retrieves the quote with the given ID.
)refreshr  rs  r  instances       r:   retrieveQuote.retrieve  s$     r$V$r9   c                 T   #    U " U40 UD6nUR                  5       I Sh  vN   U$  N7f)rV  N)refresh_asyncrX  s       r:   retrieve_asyncQuote.retrieve_async  s2      r$V$$$&&& 	's   (&()r   r  r   r   r  r   r   r   r1   N)gr3   r4   r5   r6   __doc__r&   r   r   r7   r   rG   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r	  r  r  r  r  r"  r/  r4  r:  r=  rB  rF  rM  rQ  rY  r`  rc  rf  rj  rm  rp  ru  ry  r|  r  r  r  r  r  r[   r   r   r   rE   r   r   rD   r   classmethodr   r  r   staticmethodr  r
   r  r  r  r  r  r  r  r  r  r  r  r  r   r  r	  r  r  r  r!  r%  r*  r-  r6  r9  r   rB  rF  rM  rP  rZ  r^  rF   r8   r1   r9   r:   r#   r#   !   s   

 /6K''*+56| 6>FJ< FJPL 0, 0$L ;< ;:L6| L6\| ~ ~ T~ Tl9 I y 	 i I y 0y 	 8 y 4) 9 n ^ $n $^ <L~ L\9 I y i I y 8y 	 8 y (9 N     /-899 %SM) &e_,  EFF L sm z233  _Y%? @AA # O$6788 O SM ## SM 	G oi011 &%J/00 N 38n SM G ?9566 ;<< *)?>:;; ('#O4J$KLL 566  L)) 

#)*>#?
	
 
 c V,@%A g    v&:;    -(
34
	
 )
" 

#)*>#?
	
 
 $%9:	   34	  -.
34
	
 /
" 

#)*>#?
	
 
 c V,@%A g    v&:;    -(
34
	
 )
" 

#)*>#?
	
 
 $%9:	   34	  -.
34
	
 /
" 
f%9: 
w 
 
 
23
	
 
 

#)*E#F
	
 
 $%@A	   :;	  /0
:;
	
 1
" 

#)*E#F
	
 
 $%@A	   :;	  56
:;
	
 7
" F#56 :g;N  " 01	G	 & 

 CD
 
J		
 
& CD 
J	   IJ	J	  AB
IJ
	J	
 C
" 

 CD
 
J		
 
& CD 
J	   IJ	J	  GH
IJ
	J	
 I
" 

#)*E#F
	J	
 
" $%@A	J	   :;	J	  01
:;
	J	
 2
" 

#)*E#F
	J	
 
" $%@A	J	   :;	J	  67
:;
	J	
 8
" 

 &'; <
	
 
  

 &'; <
	
 
  
S 
F3D,E 
# 
 
 3 &):";     F#45 #   *%
01
	
 &
$ 

#)*;#<
	
 
  $%67	   /@(A c   *+
01
	
 ,
$  &'= >	   &'= >	  &+/-%%	r9   r#   N)5stripe._createable_api_resourcer   stripe._expandable_fieldr   stripe._list_objectr   stripe._listable_api_resourcer   stripe._request_optionsr   stripe._stripe_objectr   stripe._updateable_api_resourcer	   stripe._utilr
   r   typingr   r   r   r   r   r   r   typing_extensionsr   r   r   r   r   stripe._accountr   stripe._applicationr   stripe._customerr   stripe._discountr   rX   stripe._invoicer   stripe._line_itemr   stripe._subscriptionr   stripe._subscription_scheduler   stripe._tax_rater    stripe.test_helpers._test_clockr!   r#   r1   r9   r:   <module>rw     sz    B 4 * = 2 . A : F F F  '/)='*1B(9~'" '"~r9   