o
    ÂiËÇ  ã                   @   s¨  d dl mZ d dlmZ d dlmZ d dlmZ d dlm	Z	 d dl
mZ d dlmZmZ d dlmZmZmZmZmZmZmZ d d	lmZmZmZ erÂd d
lmZ d dlmZ d dlm Z  d dl!m"Z# d dl$m%Z% d dl&m'Z' d dl(m)Z) d dl*m+Z+ d dl,m-Z- d dl.m/Z/ d dl0m1Z1 d dl2m3Z3 d dl4m5Z5 d dl6m7Z7 d dl8m9Z9 d dl:m;Z; d dl<m=Z= d dl>m?Z? d dl@mAZA d dlBmCZC G dd„ ded ed ed ƒZDd S )!é    )ÚCreateableAPIResource)ÚExpandableField)Ú
ListObject)ÚListableAPIResource)ÚStripeObject)ÚUpdateableAPIResource)Úclass_method_variantÚsanitize_id)ÚAnyÚClassVarÚDictÚListÚOptionalÚcastÚoverload)ÚLiteralÚUnpackÚTYPE_CHECKING)ÚAccount)ÚApplication)ÚCustomer)ÚDiscount)ÚInvoice)ÚLineItem)ÚSubscription)ÚSubscriptionSchedule)ÚTaxRate)ÚQuoteAcceptParams)ÚQuoteCancelParams)ÚQuoteCreateParams)ÚQuoteFinalizeQuoteParams)Ú'QuoteListComputedUpfrontLineItemsParams)ÚQuoteListLineItemsParams)ÚQuoteListParams)ÚQuoteModifyParams)ÚQuotePdfParams)ÚQuoteRetrieveParams)Ú	TestClockc                	   @   sb	  e Zd ZU dZdZeed  ed< 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eed< 	 eed< 	 eed  ed< 	 ee ed< 	 ee ed< 	 e	ed< ed ed< 	 e
ed< eed< 	 ee ed< 	 eed   ed!< 	 eeed"   ed#< 	 ee ed$< 	 eed%  ed&< 	 eed'< 	 ee ed(< 	 ee ed)< 	 ee ed*< 	 eed+< 	 eed,  ed-< 	 eed.< eed/  ed0< 	 eed1< 	 eeef ed2< 	 ee ed3< 	 ed ed4< 	 eed5  ed6< 	 ed7 ed8< 	 eed9< eed:  ed;< 	 eed<< eed=  ed>< 	 eed?  ed@< 	 eedA< ee edB< 	 ededCedD dEd fdFdG„ƒZeededCedD dEd fdHdI„ƒƒZedCedD dEd fdJdI„ƒZe dKƒdCedD dEd fdLdI„ƒZededCedD dEd fdMdN„ƒZ!eededCedD dEd fdOdP„ƒƒZ"edCedD dEd fdQdP„ƒZ"e dRƒdCedD dEd fdSdP„ƒZ"ededCedT dEd fdUdV„ƒZ#eededCedT dEd fdWdX„ƒƒZ$edCedT dEd fdYdX„ƒZ$e dZƒdCedT dEd fd[dX„ƒZ$ededCedT dEd fd\d]„ƒZ%eededCedT dEd fd^d_„ƒƒZ&edCedT dEd fd`d_„ƒZ&e daƒdCedT dEd fdbd_„ƒZ&edCedc dEd fddde„ƒZ'edCedc dEd fdfdg„ƒZ(ededCedh dEd fdidj„ƒZ)eededCedh dEd fdkdl„ƒƒZ*edCedh dEd fdmdl„ƒZ*e dnƒdCedh dEd fdodl„ƒZ*ededCedh dEd fdpdq„ƒZ+eededCedh dEd fdrds„ƒƒZ,edCedh dEd fdtds„ƒZ,e duƒdCedh dEd fdvds„ƒZ,edCedw dEed  fdxdy„ƒZ-edCedw dEed  fdzd{„ƒZ.ededCed| dEed/ fd}d~„ƒZ/eededCed| dEed/ fdd€„ƒƒZ0edCed| dEed/ fdd€„ƒZ0e d‚ƒdCed| dEed/ fdƒd€„ƒZ0ededCed| dEed/ fd„d…„ƒZ1eededCed| dEed/ fd†d‡„ƒƒZ2edCed| dEed/ fdˆd‡„ƒZ2e d‰ƒdCed| dEed/ fdŠd‡„ƒZ2ededCed‹ dEed/ fdŒd„ƒZ3eededCed‹ dEed/ fdŽd„ƒƒZ4edCed‹ dEed/ fdd„ƒZ4e d‘ƒdCed‹ dEed/ fd’d„ƒZ4ededCed‹ dEed/ fd“d”„ƒZ5eededCed‹ dEed/ fd•d–„ƒƒZ6edCed‹ dEed/ fd—d–„ƒZ6e d˜ƒdCed‹ dEed/ fd™d–„ƒZ6ed+edCedš dEd fd›dœ„ƒZ7ed+edCedš dEd fddž„ƒZ8ededCedŸ dEe9fd d¡„ƒZ:eededCedŸ dEe9fd¢d£„ƒƒZ;edCedŸ dEe9fd¤d£„ƒZ;e d¥ƒdCedŸ dEe9fd¦d£„ƒZ;ededCedŸ dEe9fd§d¨„ƒZ<eededCedŸ dEe9fd©dª„ƒƒZ=edCedŸ dEe9fd«dª„ƒZ=e d¬ƒdCedŸ dEe9fd­dª„ƒZ=ed+edCed® dEd fd¯d°„ƒZ>ed+edCed® dEd fd±d²„ƒZ?e	e
eeeeeed³œZ@d´S )µÚQuotez·
    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                   @   s^   e Zd ZU G dd„ deƒZeed< 	 ee ed< 	 ee ed< 	 ee	d  ed< 	 deiZ
dS )	zQuote.AutomaticTaxc                   @   ó,   e Zd ZU eed  ed< 	 ed ed< dS )zQuote.AutomaticTax.Liabilityr   Úaccount©r,   ÚselfÚtypeN©Ú__name__Ú
__module__Ú__qualname__r   r   Ú__annotations__r   © r5   r5   úm/var/www/snowflake_co_dev_github/snow_flake_back_end_deploy/env/lib/python3.10/site-packages/stripe/_quote.pyÚ	Liability7   ó
   
 r7   ÚenabledÚ	liabilityÚprovider)ÚcompleteÚfailedÚrequires_location_inputsÚstatusN)r1   r2   r3   r   r7   Úboolr4   r   Ústrr   Ú_inner_class_typesr5   r5   r5   r6   ÚAutomaticTax6   s   
 
ÿrC   c                   @   sN   e Zd ZU G dd„ deƒZG dd„ deƒZee ed< 	 eed< eedœZdS )	zQuote.Computedc                   @   sZ   e Zd ZU G dd„ deƒZeed< 	 eed< 	 ed ed< 	 eed< 	 eed< deiZd	S )
zQuote.Computed.Recurringc                   @   óT   e Zd ZU G dd„ deƒZeed< 	 ee ed< 	 eed< 	 ee ed< deiZdS )z%Quote.Computed.Recurring.TotalDetailsc                   @   óT   e Zd ZU G dd„ deƒZG dd„ deƒZee ed< 	 ee ed< 	 eedœZdS )	z/Quote.Computed.Recurring.TotalDetails.Breakdownc                   @   ó    e Zd ZU eed< 	 ded< dS )z8Quote.Computed.Recurring.TotalDetails.Breakdown.DiscountÚamountÚDiscountResourceÚdiscountN©r1   r2   r3   Úintr4   r5   r5   r5   r6   r   Y   ó
   
 r   c                   @   ó@   e Zd ZU eed< 	 ded< 	 eed  ed< 	 ee ed< dS )z3Quote.Computed.Recurring.TotalDetails.Breakdown.TaxrG   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_amountN©r1   r2   r3   rK   r4   r   r   r5   r5   r5   r6   ÚTaxf   ó   
 ÿÿrb   Ú	discountsÚtaxes©rd   re   N©	r1   r2   r3   r   r   rb   r   r4   rB   r5   r5   r5   r6   Ú	BreakdownX   ó   
 &rh   Úamount_discountÚamount_shippingÚ
amount_taxÚ	breakdownN©	r1   r2   r3   r   rh   rK   r4   r   rB   r5   r5   r5   r6   ÚTotalDetailsW   ó   
 >ro   Úamount_subtotalÚamount_total)ÚdayÚmonthÚweekÚyearÚintervalÚinterval_countÚtotal_detailsN)	r1   r2   r3   r   ro   rK   r4   r   rB   r5   r5   r5   r6   Ú	RecurringV   s   
 Nrz   c                   @   sT   e Zd ZU G dd„ deƒZeed< 	 eed< 	 eed  ed< 	 eed< deiZ	dS )	zQuote.Computed.Upfrontc                   @   rD   )z#Quote.Computed.Upfront.TotalDetailsc                   @   rE   )	z-Quote.Computed.Upfront.TotalDetails.Breakdownc                   @   rF   )z6Quote.Computed.Upfront.TotalDetails.Breakdown.DiscountrG   rH   rI   NrJ   r5   r5   r5   r6   r   »   rL   r   c                   @   rM   )z1Quote.Computed.Upfront.TotalDetails.Breakdown.TaxrG   r   rN   rO   r_   r`   Nra   r5   r5   r5   r6   rb   È   rc   rb   rd   re   rf   Nrg   r5   r5   r5   r6   rh   º   ri   rh   rj   rk   rl   rm   Nrn   r5   r5   r5   r6   ro   ¹   rp   ro   rq   rr   r   Ú
line_itemsry   N)
r1   r2   r3   r   ro   rK   r4   r   r   rB   r5   r5   r5   r6   ÚUpfront¸   s   
 Nr|   Ú	recurringÚupfront)r}   r~   N)	r1   r2   r3   r   rz   r|   r   r4   rB   r5   r5   r5   r6   ÚComputedU   s   
 b^r   c                   @   s$   e Zd ZU eed< 	 ed ed< dS )zQuote.FromQuoteÚis_revisionr(   r)   N)r1   r2   r3   r@   r4   r   r5   r5   r5   r6   Ú	FromQuote  s
   
 r   c                   @   s<   e Zd ZU G dd„ deƒZee ed< 	 eed< deiZdS )zQuote.InvoiceSettingsc                   @   r+   )zQuote.InvoiceSettings.Issuerr   r,   r-   r/   Nr0   r5   r5   r5   r6   ÚIssuer(  r8   r‚   Údays_until_dueÚissuerN)	r1   r2   r3   r   r‚   r   rK   r4   rB   r5   r5   r5   r6   ÚInvoiceSettings'  s   
 
r…   c                   @   s6   e Zd ZU ee ed< 	 ee ed< 	 ee ed< dS )zQuote.StatusTransitionsÚaccepted_atÚcanceled_atÚfinalized_atN)r1   r2   r3   r   rK   r4   r5   r5   r5   r6   ÚStatusTransitions9  ó   
 r‰   c                   @   sp   e Zd ZU G dd„ deƒZeed< 	 ee ed< 	 ee ed< 	 ee	eef  ed< 	 ee ed< 	 deiZ
dS )	zQuote.SubscriptionDatac                   @   s@   e Zd ZU G dd„ deƒZee ed< ed ed< 	 deiZdS )z"Quote.SubscriptionData.BillingModec                   @   s   e Zd ZU eed  ed< dS )z+Quote.SubscriptionData.BillingMode.Flexible)ÚincludedÚitemizedÚproration_discountsN)r1   r2   r3   r   r   r4   r5   r5   r5   r6   ÚFlexibleI  s   
 rŽ   Úflexible)Úclassicr   r/   N)	r1   r2   r3   r   rŽ   r   r4   r   rB   r5   r5   r5   r6   ÚBillingModeH  s   
 r‘   Úbilling_modeÚdescriptionÚeffective_dateÚmetadataÚtrial_period_daysN)r1   r2   r3   r   r‘   r4   r   rA   rK   r   rB   r5   r5   r5   r6   ÚSubscriptionDataG  s   
 r—   c                   @   rD   )zQuote.TotalDetailsc                   @   rE   )	zQuote.TotalDetails.Breakdownc                   @   rF   )z%Quote.TotalDetails.Breakdown.DiscountrG   rH   rI   NrJ   r5   r5   r5   r6   r   n  rL   r   c                   @   rM   )z Quote.TotalDetails.Breakdown.TaxrG   r   rN   rO   r_   r`   Nra   r5   r5   r5   r6   rb   {  rc   rb   rd   re   rf   Nrg   r5   r5   r5   r6   rh   m  ri   rh   rj   rk   rl   rm   Nrn   r5   r5   r5   r6   ro   l  rp   ro   c                   @   s6   e Zd ZU ee ed< 	 ee ed< 	 ed ed< dS )zQuote.TransferDatarG   Úamount_percentr   ÚdestinationN)r1   r2   r3   r   rK   r4   Úfloatr   r5   r5   r5   r6   ÚTransferDataº  rŠ   r›   rq   rr   r   ÚapplicationÚapplication_fee_amountÚapplication_fee_percentÚautomatic_tax)Úcharge_automaticallyÚsend_invoiceÚcollection_methodÚcomputedÚcreatedÚcurrencyr   Úcustomerr   Údefault_tax_ratesr“   rH   rd   Ú
expires_atÚfooterÚ
from_quoteÚheaderÚidr   ÚinvoiceÚinvoice_settingsr   r{   Úlivemoder•   ÚnumberÚobjectr   Úon_behalf_of)ÚacceptedÚcanceledÚdraftÚopenr?   Ústatus_transitionsr   ÚsubscriptionÚsubscription_datar   Úsubscription_scheduler'   Ú
test_clockry   Útransfer_dataÚparamsr   Úreturnc                 K   ó"   t d| jddjt|ƒd|dƒS )ú.
        Accepts the specified quote.
        r(   Úpostú/v1/quotes/{quote}/accept©r)   ©r½   ©r   Ú_static_requestÚformatr	   ©Úclsr)   r½   r5   r5   r6   Ú_cls_acceptC  ó   ýþzQuote._cls_acceptc                 K   ó   dS ©rÀ   Nr5   ©r)   r½   r5   r5   r6   ÚacceptS  ó   zQuote.acceptc                 K   rÌ   rÍ   r5   ©r.   r½   r5   r5   r6   rÏ   [  ó   rÊ   c              	   K   ó(   t d| jddjt|  d¡ƒd|dƒS )rÀ   r(   rÁ   rÂ   r¬   rÃ   rÄ   ©r   Ú_requestrÇ   r	   ÚgetrÑ   r5   r5   r6   rÏ   b  ó   ÿûþc                 Ë   ó*   t d| jddjt|ƒd|dI dH ƒS )rÀ   r(   rÁ   rÂ   rÃ   rÄ   N©r   Ú_static_request_asyncrÇ   r	   rÈ   r5   r5   r6   Ú_cls_accept_asynct  ó   €
ýþzQuote._cls_accept_asyncc                 Ë   ó   dS rÍ   r5   rÎ   r5   r5   r6   Úaccept_async„  ó   €zQuote.accept_asyncc                 Ë   rÝ   rÍ   r5   rÑ   r5   r5   r6   rÞ   Ž  ó   €rÛ   c              	   Ë   ó0   t d| jddjt|  d¡ƒd|dI dH ƒS )rÀ   r(   rÁ   rÂ   r¬   rÃ   rÄ   N©r   Ú_request_asyncrÇ   r	   rÖ   rÑ   r5   r5   r6   rÞ   —  ó   €ÿ
ûþr   c                 K   r¿   )ú$
        Cancels the quote.
        r(   rÁ   ú/v1/quotes/{quote}/cancelrÃ   rÄ   rÅ   rÈ   r5   r5   r6   Ú_cls_cancel©  rË   zQuote._cls_cancelc                 K   rÌ   ©rå   Nr5   rÎ   r5   r5   r6   Úcancel¹  rÐ   zQuote.cancelc                 K   rÌ   rè   r5   rÑ   r5   r5   r6   ré   Á  rÒ   rç   c              	   K   rÓ   )rå   r(   rÁ   ræ   r¬   rÃ   rÄ   rÔ   rÑ   r5   r5   r6   ré   È  r×   c                 Ë   rØ   )rå   r(   rÁ   ræ   rÃ   rÄ   NrÙ   rÈ   r5   r5   r6   Ú_cls_cancel_asyncÚ  rÜ   zQuote._cls_cancel_asyncc                 Ë   rÝ   rè   r5   rÎ   r5   r5   r6   Úcancel_asyncê  rß   zQuote.cancel_asyncc                 Ë   rÝ   rè   r5   rÑ   r5   r5   r6   rë   ô  rà   rê   c              	   Ë   rá   )rå   r(   rÁ   ræ   r¬   rÃ   rÄ   Nrâ   rÑ   r5   r5   r6   rë   ý  rä   r   c                 K   s   t d| jd|  ¡ |dƒS )úï
        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½   r5   r5   r6   Úcreate  s   ýþzQuote.createc                 Ë   s"   t d| jd|  ¡ |dI dH ƒS )rì   r(   rÁ   rÄ   N)r   rÚ   rí   rî   r5   r5   r6   Úcreate_async  s   €
ýþzQuote.create_asyncr    c                 K   r¿   )ú&
        Finalizes the quote.
        r(   rÁ   ú/v1/quotes/{quote}/finalizerÃ   rÄ   rÅ   rÈ   r5   r5   r6   Ú_cls_finalize_quote-  rË   zQuote._cls_finalize_quotec                 K   rÌ   ©rñ   Nr5   rÎ   r5   r5   r6   Úfinalize_quote=  ó   zQuote.finalize_quotec                 K   rÌ   rô   r5   rÑ   r5   r5   r6   rõ   G  ó   ró   c              	   K   rÓ   )rñ   r(   rÁ   rò   r¬   rÃ   rÄ   rÔ   rÑ   r5   r5   r6   rõ   P  r×   c                 Ë   rØ   )rñ   r(   rÁ   rò   rÃ   rÄ   NrÙ   rÈ   r5   r5   r6   Ú_cls_finalize_quote_asyncb  rÜ   zQuote._cls_finalize_quote_asyncc                 Ë   rÝ   rô   r5   rÎ   r5   r5   r6   Úfinalize_quote_asyncr  rß   zQuote.finalize_quote_asyncc                 Ë   rÝ   rô   r5   rÑ   r5   r5   r6   rù   |  rà   rø   c              	   Ë   rá   )rñ   r(   rÁ   rò   r¬   rÃ   rÄ   Nrâ   rÑ   r5   r5   r6   rù   …  rä   r#   c                 K   s4   | j d|  ¡ |d}t|tƒstdt|ƒj ƒ‚|S )ú0
        Returns a list of your quotes.
        rÖ   rÄ   ú%Expected list object from API, got %s)rÆ   rí   Ú
isinstancer   Ú	TypeErrorr/   r1   ©rÉ   r½   Úresultr5   r5   r6   Úlist—  s   ý
ÿÿz
Quote.listc                 Ë   s<   | j d|  ¡ |dI dH }t|tƒstdt|ƒj ƒ‚|S )rú   rÖ   rÄ   Nrû   )rÚ   rí   rü   r   rý   r/   r1   rþ   r5   r5   r6   Ú
list_async©  s   €ý
ÿÿzQuote.list_asyncr!   c                 K   ó&   t td | jddjt|ƒd|dƒS )áE  
        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È   r5   r5   r6   Ú%_cls_list_computed_upfront_line_items½  s   	ÿûþz+Quote._cls_list_computed_upfront_line_itemsc                 K   rÌ   ©r  Nr5   rÎ   r5   r5   r6   Ú list_computed_upfront_line_itemsÑ  rö   z&Quote.list_computed_upfront_line_itemsc                 K   rÌ   r  r5   rÑ   r5   r5   r6   r  Û  r÷   r  c              	   K   ó,   t td | jddjt|  d¡ƒd|dƒS )r  r   rÖ   r  r¬   rÃ   rÄ   ©r   r   rÕ   rÇ   r	   rÖ   rÑ   r5   r5   r6   r  ä  ó   ÿûþc                 Ë   ó.   t td | jddjt|ƒd|dI dH ƒS )r  r   rÖ   r  rÃ   rÄ   N©r   r   rÚ   rÇ   r	   rÈ   r5   r5   r6   Ú+_cls_list_computed_upfront_line_items_asyncö  s   €	ÿ
ûþz1Quote._cls_list_computed_upfront_line_items_asyncc                 Ë   rÝ   r  r5   rÎ   r5   r5   r6   Ú&list_computed_upfront_line_items_async
  rß   z,Quote.list_computed_upfront_line_items_asyncc                 Ë   rÝ   r  r5   rÑ   r5   r5   r6   r    rà   r  c              	   Ë   ó4   t td | jddjt|  d¡ƒd|dI dH ƒS )r  r   rÖ   r  r¬   rÃ   rÄ   N©r   r   rã   rÇ   r	   rÖ   rÑ   r5   r5   r6   r    ó   €ÿ
ûþr"   c                 K   r  )úÖ
        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È   r5   r5   r6   Ú_cls_list_line_items/  s   ÿûþzQuote._cls_list_line_itemsc                 K   rÌ   ©r  Nr5   rÎ   r5   r5   r6   Úlist_line_itemsA  rö   zQuote.list_line_itemsc                 K   rÌ   r  r5   rÑ   r5   r5   r6   r  K  r÷   r  c              	   K   r	  )r  r   rÖ   r  r¬   rÃ   rÄ   r
  rÑ   r5   r5   r6   r  T  r  c                 Ë   r  )r  r   rÖ   r  rÃ   rÄ   Nr  rÈ   r5   r5   r6   Ú_cls_list_line_items_asyncf  s   €ÿ
ûþz Quote._cls_list_line_items_asyncc                 Ë   rÝ   r  r5   rÎ   r5   r5   r6   Úlist_line_items_asyncx  rß   zQuote.list_line_items_asyncc                 Ë   rÝ   r  r5   rÑ   r5   r5   r6   r  ‚  rà   r  c              	   Ë   r  )r  r   rÖ   r  r¬   rÃ   rÄ   Nr  rÑ   r5   r5   r6   r  ‹  r  r$   c                 K   s*   d|   ¡ t|ƒf }td| jd||dƒS )úD
        A quote models prices and services for a customer.
        ú%s/%sr(   rÁ   rÄ   )rí   r	   r   rÆ   ©rÉ   r¬   r½   Úurlr5   r5   r6   Úmodify  s   ýþzQuote.modifyc                 Ë   s2   d|   ¡ t|ƒf }td| jd||dI dH ƒS )r  r  r(   rÁ   rÄ   N)rí   r	   r   rÚ   r  r5   r5   r6   Úmodify_async¬  s   €
ýþzQuote.modify_asyncr%   c                 K   s$   t t| jddjt|ƒd|ddƒS )ú¡
        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È   r5   r5   r6   Ú_cls_pdf½  s   üþzQuote._cls_pdfc                 K   rÌ   ©r   Nr5   rÎ   r5   r5   r6   ÚpdfÌ  rÐ   z	Quote.pdfc                 K   rÌ   r'  r5   rÑ   r5   r5   r6   r(  Ô  rÒ   r&  c              	   K   s*   t t| jddjt|  d¡ƒd|ddƒS )r   rÖ   r!  r¬   rÃ   r"  r#  )r   r
   Ú_request_streamrÇ   r	   rÖ   rÑ   r5   r5   r6   r(  Û  s   ÿúþc                 Ë   s,   t t| jddjt|ƒd|ddI dH ƒS )r   rÖ   r!  rÃ   r"  r#  N)r   r
   Ú_static_request_stream_asyncrÇ   r	   rÈ   r5   r5   r6   Ú_cls_pdf_asyncî  s   €
üþzQuote._cls_pdf_asyncc                 Ë   rÝ   r'  r5   rÎ   r5   r5   r6   Ú	pdf_asyncÿ  s   €zQuote.pdf_asyncc                 Ë   rÝ   r'  r5   rÑ   r5   r5   r6   r,    s   €r+  c              	   Ë   s2   t t| jddjt|  d¡ƒd|ddI dH ƒS )r   rÖ   r!  r¬   rÃ   r"  r#  N)r   r
   Ú_request_stream_asyncrÇ   r	   rÖ   rÑ   r5   r5   r6   r,    s   €ÿ
úþr&   c                 K   s   | |fi |¤Ž}|  ¡  |S )ú8
        Retrieves the quote with the given ID.
        )Úrefresh©rÉ   r¬   r½   Úinstancer5   r5   r6   Úretrieve!  s   zQuote.retrievec                 Ë   s$   | |fi |¤Ž}|  ¡ I dH  |S )r.  N)Úrefresh_asyncr0  r5   r5   r6   Úretrieve_async,  s   €zQuote.retrieve_async)rŸ   r£   rª   r®   r·   r¹   ry   r¼   N)Ar1   r2   r3   Ú__doc__r*   r   r   r4   r   rC   r   r   r…   r‰   r—   ro   r›   rK   r   r   rš   rA   r   r   r@   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
   r&  r(  r+  r,  r2  r4  rB   r5   r5   r5   r6   r(   *   sZ  
  I
%Nÿÿþÿþÿÿþÿÿþÿþÿþÿÿþÿþÿÿþÿÿþÿþÿþÿþÿÿþÿÿþÿþÿþÿÿþÿÿþÿþÿþÿþþýüÿÿþÿþÿþþýüÿÿþÿþÿþÿÿþÿÿþÿþÿþÿÿþÿÿþÿþÿþÿÿþÿþÿÿþÿþÿÿþ
ÿÿþ
ør(   N)EÚstripe._createable_api_resourcer   Ústripe._expandable_fieldr   Ústripe._list_objectr   Ústripe._listable_api_resourcer   Ústripe._stripe_objectr   Ústripe._updateable_api_resourcer   Ústripe._utilr   r	   Útypingr
   r   r   r   r   r   r   Útyping_extensionsr   r   r   Ústripe._accountr   Ústripe._applicationr   Ústripe._customerr   Ústripe._discountr   rH   Ústripe._invoicer   Ústripe._line_itemr   Ústripe._subscriptionr   Ústripe._subscription_scheduler   Ústripe._tax_rater   Ú"stripe.params._quote_accept_paramsr   Ú"stripe.params._quote_cancel_paramsr   Ú"stripe.params._quote_create_paramsr   Ú*stripe.params._quote_finalize_quote_paramsr    Ú<stripe.params._quote_list_computed_upfront_line_items_paramsr!   Ú+stripe.params._quote_list_line_items_paramsr"   Ú stripe.params._quote_list_paramsr#   Ú"stripe.params._quote_modify_paramsr$   Ústripe.params._quote_pdf_paramsr%   Ú$stripe.params._quote_retrieve_paramsr&   Ústripe.test_helpers._test_clockr'   r(   r5   r5   r5   r6   Ú<module>   sF   $
ý