
    (g;                    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\5\SW'    \5\SX'    \6\7SY      \SZ'    \6\5   \S['    \6\8   \S\'    \
\S]'   \S^   \S_'    \\S`'   \5\Sa'    \6\9   \Sb'    \6\7Sc      \Sd'    \6\:\7Se         \Sf'    \6\9   \Sg'    \:\7Sh      \Si'    \5\Sj'    \6\9   \Sk'    \6\   \Sl'    \6\9   \Sm'    \9\Sn'    \6\7So      \Sp'    \\Sq'   \6\;Sr      \Ss'    \<\St'    \=\9\94   \Su'    \6\9   \Sv'    \S   \Sw'    \6\7Sx      \Sy'    \Sz   \S{'    \\S|'   \6\7S}      \S~'    \\S'   \6\7S      \S'    \6\7S      \S'    \\S'   \6\   \S'    \>S\9S\?S   SS 4S j5       r@\A\BS\9S\?S   SS 4S j5       5       rC\AS\?S   SS 4S j5       rC\D" S5      S\?S   SS 4S j5       rC\>S\9S\?S   SS 4S j5       rE\A\BS\9S\?S   SS 4S j5       5       rF\AS\?S   SS 4S j5       rF\D" S5      S\?S   SS 4S j5       rF\>S\9S\?S   SS 4S j5       rG\A\BS\9S\?S   SS 4S j5       5       rH\AS\?S   SS 4S j5       rH\D" S5      S\?S   SS 4S j5       rH\>S\9S\?S   SS 4S j5       rI\A\BS\9S\?S   SS 4S j5       5       rJ\AS\?S   SS 4S j5       rJ\D" S5      S\?S   SS 4S j5       rJ\>S\?S   SS 4S j5       rK\>S\?S   SS 4S j5       rL\>S\9S\?S   SS 4S j5       rM\A\BS\9S\?S   SS 4S j5       5       rN\AS\?S   SS 4S j5       rN\D" S5      S\?S   SS 4S j5       rN\>S\9S\?S   SS 4S j5       rO\A\BS\9S\?S   SS 4S j5       5       rP\AS\?S   SS 4S j5       rP\D" S5      S\?S   SS 4S j5       rP\>S\?S   S\;S    4S j5       rQ\>S\?S   S\;S    4S j5       rR\>S\9S\?S   S\;Sr   4S j5       rS\A\BS\9S\?S   S\;Sr   4S j5       5       rT\AS\?S   S\;Sr   4S j5       rT\D" S5      S\?S   S\;Sr   4S j5       rT\>S\9S\?S   S\;Sr   4S j5       rU\A\BS\9S\?S   S\;Sr   4S j5       5       rV\AS\?S   S\;Sr   4S j5       rV\D" S5      S\?S   S\;Sr   4S j5       rV\>S\9S\?S   S\;Sr   4S j5       rW\A\BS\9S\?S   S\;Sr   4S j5       5       rX\AS\?S   S\;Sr   4S j5       rX\D" S5      S\?S   S\;Sr   4S j5       rX\>S\9S\?S   S\;Sr   4S j5       rY\A\BS\9S\?S   S\;Sr   4S j5       5       rZ\AS\?S   S\;Sr   4S j5       rZ\D" S5      S\?S   S\;Sr   4S j5       rZ\>Sn\9S\?S   SS 4S j5       r[\>Sn\9S\?S   SS 4S j5       r\\>S\9S\?S   S\]4S j5       r^\A\BS\9S\?S   S\]4S j5       5       r_\AS\?S   S\]4S j5       r_\D" S5      S\?S   S\]4S j5       r_\>S\9S\?S   S\]4S j5       r`\A\BS\9S\?S   S\]4S j5       5       ra\AS\?S   S\]4S j5       ra\D" S5      S\?S   S\]4S j5       ra\>Sn\9S\?S   SS 4S j5       rb\>Sn\9S\?S   SS 4S j5       rc\
\\\\\\\S.rdSreg)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                   j    \ rS rSr%  " S S\5      r\\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       RC:\Suresh\moveshuttle\MDcreated\moveengine\venv\Lib\site-packages\stripe/_quote.py	Liabilityr+   .   *    oi899 +,,r9   r;   enabled	liability)completefailedrequires_location_inputsstatusr1   N)r3   r4   r5   r6   r   r;   boolr7   r   r   _inner_class_typesr8   r1   r9   r:   AutomaticTaxr(   -   sV    	 	 	 I&&	 DE
 	
	 *95r9   rE   c                   h    \ rS rSr%  " S S\5      r " S S\5      r\\   \S'    \\S'   \\S.r	S	r
g
)Quote.ComputedH   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.RecurringI   c                   n    \ rS rSr%  " S S\5      r\\S'    \\   \S'    \\S'    \\   \S'   S\0r	Sr
g	)
%Quote.Computed.Recurring.TotalDetailsJ   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.BreakdownK   c                   ,    \ rS rSr% \\S'    S\S'   Srg)8Quote.Computed.Recurring.TotalDetails.Breakdown.DiscountL   amountDiscountResourcediscountr1   Nr3   r4   r5   r6   intr7   r8   r1   r9   r:   r   rS   L        # #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.TaxY   rU   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   rY   r7   r   r   r8   r1   r9   r:   Taxr\   Y   J     # (
 ,4#!., & )15r9   rr   	discountstaxesrt   ru   r1   Nr3   r4   r5   r6   r   r   rr   r   r7   rD   r8   r1   r9   r:   	BreakdownrP   K   K    < $l $L  $H~-  9$ 8@#)N&r9   rx   amount_discountamount_shipping
amount_tax	breakdownr1   Nr3   r4   r5   r6   r   rx   rY   r7   r   rD   r8   r1   r9   r:   TotalDetailsrM   J   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   rY   r7   r   rD   r8   r1   r9   r:   	RecurringrJ   I   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   rU   rV   rW   r1   NrX   r1   r9   r:   r   r      rZ   r9   r   c                   V    \ rS rSr% \\S'    S\S'    \\S      \S'    \\   \S'   Srg	)
1Quote.Computed.Upfront.TotalDetails.Breakdown.Tax   rU   r    r^   r_   ro   rp   r1   Nrq   r1   r9   r:   rr   r      rs   r9   rr   rt   ru   rv   r1   Nrw   r1   r9   r:   rx   r      ry   r9   rx   rz   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   rY   r7   r   r   rD   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   rD   r8   r1   r9   r:   ComputedrG   H   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   rC   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   rY   r7   rD   r8   r1   r9   r:   InvoiceSettingsr     s1    	\ 	 !%	 &/r9   r   c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)Quote.StatusTransitionsi,  accepted_atcanceled_atfinalized_atr1   N)r3   r4   r5   r6   r   rY   r7   r8   r1   r9   r:   StatusTransitionsr   ,  s3    c]"	 c]"	 sm#	r9   r   c                   f    \ rS rSr% \\   \S'    \\   \S'    \\\\4      \S'    \\   \S'   Sr	g)Quote.SubscriptionDatai:  descriptioneffective_datemetadatatrial_period_daysr1   N)
r3   r4   r5   r6   r   strr7   rY   r   r8   r1   r9   r:   SubscriptionDatar   :  sM    c]"	 !%	 4S>**	 $C=(	r9   r   c                   n    \ rS rSr%  " S S\5      r\\S'    \\   \S'    \\S'    \\   \S'   S\0r	Sr
g	)
Quote.TotalDetailsiL  c                   p    \ rS rSr%  " S S\5      r " S S\5      r\\   \S'    \\   \S'    \\S.r	S	r
g
)Quote.TotalDetails.BreakdowniM  c                   ,    \ rS rSr% \\S'    S\S'   Srg)%Quote.TotalDetails.Breakdown.DiscountiN  rU   rV   rW   r1   NrX   r1   r9   r:   r   r   N  s     -,r9   r   c                   V    \ rS rSr% \\S'    S\S'    \\S      \S'    \\   \S'   Srg	)
 Quote.TotalDetails.Breakdown.Taxi[  rU   r    r^   r_   ro   rp   r1   Nrq   r1   r9   r:   rr   r   [  sJ      
 $,&$ & !)-r9   rr   rt   ru   rv   r1   Nrw   r1   r9   r:   rx   r   M  sJ    < $l $L H~% 9 08#!Fr9   rx   rz   r{   r|   r}   r1   Nr~   r1   r9   r:   r   r   L  sS    <	G <	G| 	 "#&	 	 I&&)95r9   r   c                   J    \ rS rSr% \\   \S'    \\   \S'    \S   \S'   Sr	g)Quote.TransferDatai  rU   amount_percentr   destinationr1   N)
r3   r4   r5   r6   r   rY   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   r   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]rt   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   r   r   rY   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   rC   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   r   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  couponrW   promotion_coder1   Nr3   r4   r5   r6   r   r   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   rC   r7   r   r8   r1   r9   r:   CreateParamsFromQuoteQuote.CreateParamsFromQuote,  s     &&	 
	r9   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r   i6  r   'Quote.CreateParamsInvoiceSettingsIssuerr   r1   Nr3   r4   r5   r6   r   rY   r7   r8   r1   r9   r:   CreateParamsInvoiceSettings!Quote.CreateParamsInvoiceSettings6  %    #C((	 EFF	r9   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r  i@  r-   r.   r0   r1   Nr   r1   r9   r:   !CreateParamsInvoiceSettingsIssuer'Quote.CreateParamsInvoiceSettingsIssuer@  r   r9   r  c                   n    \ rS rSr% \S   \S'    \\   \S'    \S   \S'    \\   \S'    \S   \S	'   S
rg)r   iJ  z4Literal['']|List[Quote.CreateParamsLineItemDiscount]rt   price#Quote.CreateParamsLineItemPriceData
price_dataquantityr   	tax_ratesr1   N	r3   r4   r5   r6   r   r7   r   rY   r8   r1   r9   r:   CreateParamsLineItemQuote.CreateParamsLineItemJ  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.CreateParamsLineItemDiscountib  r   rW   r   r1   Nr   r1   r9   r:   CreateParamsLineItemDiscountr  b  r  r9   r  c                   z    \ rS rSr% \\S'    \\S'    \S   \S'    \\S      \S'    \\   \S'    \\   \S	'   S
r	g)r  ip  currencyproduct,Quote.CreateParamsLineItemPriceDataRecurringr   	exclusive	inclusiveunspecifiedtax_behaviorunit_amountunit_amount_decimalr1   N
r3   r4   r5   r6   r   r7   r   r   rY   r8   r1   r9   r:   CreateParamsLineItemPriceData#Quote.CreateParamsLineItemPriceDatap  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   rY   r8   r1   r9   r:   &CreateParamsLineItemPriceDataRecurring,Quote.CreateParamsLineItemPriceDataRecurring  %    899	 $C((	r9   r+  c                   f    \ rS rSr% \\   \S'    \S   \S'    \\\\4      \S'    \S   \S'   Srg	)
r   i  r   -Literal['']|Literal['current_period_end']|intr   r   r   r   r1   N)	r3   r4   r5   r6   r   r   r7   r   r8   r1   r9   r:   CreateParamsSubscriptionData"Quote.CreateParamsSubscriptionData  sV     %%	 $;
 	
	 d38n--	 ''899	r9   r0  c                   D    \ rS rSr% \\   \S'    \\   \S'    \\S'   Sr	g)Quote.CreateParamsTransferDatai  rU   r   r   r1   N
r3   r4   r5   r6   r   rY   r7   r   r   r8   r1   r9   r:   CreateParamsTransferDatar3    1    C  	 $E**	 	r9   r5  c                   >    \ rS rSr% \\\      \S'    \\   \S'   Sr	g)Quote.FinalizeQuoteParamsi  r   r   r1   N)
r3   r4   r5   r6   r   r   r   r7   rY   r8   r1   r9   r:   FinalizeQuoteParamsr8    s(    DI&&	  $$	r9   r9  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   r   r7   r   rY   r8   r1   r9   r:   "ListComputedUpfrontLineItemsParamsr;    L    "3''	 DI&&	 3	 $C((	r9   r@  c                   b    \ rS rSr% \\   \S'    \\\      \S'    \\   \S'    \\   \S'   Sr	g)Quote.ListLineItemsParamsi  r<  r   r=  r>  r1   Nr?  r1   r9   r:   ListLineItemsParamsrC    rA  r9   rD  c                       \ rS rSr% \\   \S'    \\   \S'    \\\      \S'    \\   \S'    \\   \S'    \\	S      \S'    \\   \S	'   S
r
g)Quote.ListParamsi  r   r<  r   r=  r>  acceptedcanceleddraftopenrB   r   r1   N)r3   r4   r5   r6   r   r   r7   r   rY   r   r8   r1   r9   r:   
ListParamsrF    s    c""	 #3''	 DI&&	 3	 $C((	 G$KLMM	  $$	r9   rL  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]rt   r   r   r   r   !Quote.ModifyParamsInvoiceSettingsr   Quote.ModifyParamsLineItemr   r   r   "Quote.ModifyParamsSubscriptionDatar   z*Literal['']|Quote.ModifyParamsTransferDatar   r1   Nr   r1   r9   r:   ModifyParamsrN    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   rS  c                   2    \ rS rSr% \\S'    \S   \S'   Srg)rO  iR  r=   'Quote.ModifyParamsAutomaticTaxLiabilityr>   r1   Nr   r1   r9   r:   ModifyParamsAutomaticTaxQuote.ModifyParamsAutomaticTaxR  r   r9   rV  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)rU  i\  r-   r.   r0   r1   Nr   r1   r9   r:   !ModifyParamsAutomaticTaxLiability'Quote.ModifyParamsAutomaticTaxLiability\  r   r9   rY  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)Quote.ModifyParamsDiscountif  r   rW   r   r1   Nr   r1   r9   r:   ModifyParamsDiscountr\  f  r  r9   r]  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)rP  it  r   'Quote.ModifyParamsInvoiceSettingsIssuerr   r1   Nr  r1   r9   r:   ModifyParamsInvoiceSettings!Quote.ModifyParamsInvoiceSettingst  r
  r9   r`  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r_  i~  r-   r.   r0   r1   Nr   r1   r9   r:   !ModifyParamsInvoiceSettingsIssuer'Quote.ModifyParamsInvoiceSettingsIssuer~  r   r9   rc  c                       \ rS rSr% \S   \S'    \\   \S'    \\   \S'    \S   \S'    \\   \S'    \S	   \S
'   Srg)rQ  i  z4Literal['']|List[Quote.ModifyParamsLineItemDiscount]rt   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   rh  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)"Quote.ModifyParamsLineItemDiscounti  r   rW   r   r1   Nr   r1   r9   r:   ModifyParamsLineItemDiscountrk    r  r9   rl  c                   z    \ rS rSr% \\S'    \\S'    \S   \S'    \\S      \S'    \\   \S'    \\   \S	'   S
r	g)rg  i  r  r  ,Quote.ModifyParamsLineItemPriceDataRecurringr   r  r"  r#  r$  r1   Nr%  r1   r9   r:   ModifyParamsLineItemPriceData#Quote.ModifyParamsLineItemPriceData  r(  r9   ro  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)rn  i  r   r   r   r1   Nr*  r1   r9   r:   &ModifyParamsLineItemPriceDataRecurring,Quote.ModifyParamsLineItemPriceDataRecurring  r-  r9   rr  c                   f    \ rS rSr% \S   \S'    \S   \S'    \\\\4      \S'    \S   \S'   S	rg
)rR  i  r   r   r/  r   r   r   r   r1   N)	r3   r4   r5   r6   r   r7   r   r   r8   r1   r9   r:   ModifyParamsSubscriptionData"Quote.ModifyParamsSubscriptionData  sW     !233	 $;
 	
	 d38n--	 ''899	r9   ru  c                   D    \ rS rSr% \\   \S'    \\   \S'    \\S'   Sr	g)Quote.ModifyParamsTransferDatai  rU   r   r   r1   Nr4  r1   r9   r:   ModifyParamsTransferDatarx    r6  r9   ry  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   rV   rt   r   r   r   r   rf  r   invoicer   r   r   livemoder   numberobjectr   r   rG  rB   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  rf  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  rf  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  rf  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_async  r  r  c                    #    g7fr  r1   r  s     r:   cancel_asyncQuote.cancel_async(  r  r  c                    #    g7fr  r1   r  s     r:   r  r  2  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  rf  r  r  Nr  r  s     r:   r  r  ;  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.createM  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_async[  sC      ++ ,  
 	
s   )64
	6r8  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_quotek  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  rf  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  rf  r  r  Nr  r  s     r:   r  r    s_      %%-44%dhhtn5 5   &  	
 		
r  rF  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$r;  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    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  rf  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_async5  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_asyncI  s
      	r  c                    #    g7fr  r1   r  s     r:   r  r  T  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  rf  r  r  Nr   r   r  r  r   r  r  s     r:   r  r  ]  se      z"%%@GG%dhhtn5 H   &  	
 		
   AA	A

	ArC  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_itemso  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  rf  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  rf  r  r  Nr  r  s     r:   r   r!    sd      z"%%/66%dhhtn5 7   &  	
 		
r  rN  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  rf  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)r%  r&  r#   r  r  N)r  r   r   r  r'  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r8  r1   r  s     r:   r9  r:    r  r9   r5  c                     [        [        U R                  SSR                  [	        U R                  S5      5      S9USS95      $ )r/  r  r0  rf  r  r1  r2  )r   r   _request_streamr  r   r  r  s     r:   r9  r:    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  r0  r  r1  r2  N)r   r   _static_request_stream_asyncr  r   r  s      r:   _cls_pdf_asyncQuote._cls_pdf_async0  sS      22(//k%6H/I$	 3  
 	
s   6AA
	Ac                    #    g7fr8  r1   r  s     r:   	pdf_asyncQuote.pdf_asyncA  r  r  c                    #    g7fr8  r1   r  s     r:   rC  rD  K  s
     
 	r  r@  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  r0  rf  r  r1  r2  N)r   r   _request_stream_asyncr  r   r  r  s     r:   rC  rD  R  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  rf  r  instances       r:   retrieveQuote.retrievee  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)rI  N)refresh_asyncrK  s       r:   retrieve_asyncQuote.retrieve_asyncp  s2      r$V$$$&&& 	's   (&()r   r  r   r   r  r   r   r   r1   N)fr3   r4   r5   r6   __doc__r&   r   r   r7   r   rE   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  r  r  r&  r+  r0  r5  r9  r@  rD  rL  rS  rV  rY  r]  r`  rc  rh  rl  ro  rr  ru  ry  r|  r  rY   r   r   r   r   r   r   rC   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   r)  r,  r   r5  r9  r@  rC  rM  rQ  rD   r8   r1   r9   r:   r#   r#   !   s   

 /6K''*+56| 66F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 (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   rV   stripe._invoicer   stripe._line_itemr   stripe._subscriptionr   stripe._subscription_scheduler   stripe._tax_rater    stripe.test_helpers._test_clockr!   r#   r1   r9   r:   <module>rj     sz    B 4 * = 2 . A : F F F  '/)='*1B(9c'" '"cr9   