§
    jo—f…8  ã                   óÆ   — 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mZmZmZ d dlmZmZmZmZ  G d	„ d
ed
         ed
         e	d
         ¦  «        ZdS )é    )ÚCreateableAPIResource)Ú
ListObject)ÚListableAPIResource)ÚRequestOptions)ÚUpdateableAPIResource)Úsanitize_id)ÚClassVarÚDictÚListÚOptionalÚcast)ÚLiteralÚNotRequiredÚ	TypedDictÚUnpackc                   ó¢  — e Zd ZU dZdZeed                  ed<    G d„ de¦  «        Z	 G d„ de¦  «        Z
 G d„ d	e¦  «        Z G d
„ de¦  «        Z G d„ de¦  «        Zeed<   	 ee         ed<   	 eed<   	 ee         ed<   	 eed<   	 ee         ed<   	 eed<   	 eed<   	 ee         ed<   	 eed                  ed<   	 eed<   	 eeeef                  ed<   	 ed         ed<   	 eed<   	 ee         ed<   	 eed                  ed<   	 ed ed!         d"d fd#„¦   «         Zed ed!         d"d fd$„¦   «         Zed ed%         d"ed          fd&„¦   «         Zed ed%         d"ed          fd'„¦   «         Zeded ed(         d"d fd)„¦   «         Zeded ed(         d"d fd*„¦   «         Zeded ed+         d"d fd,„¦   «         Zeded ed+         d"d fd-„¦   «         Zd.S )/ÚTaxRatean  
    Tax rates can be applied to [invoices](https://stripe.com/docs/billing/invoices/tax-rates), [subscriptions](https://stripe.com/docs/billing/subscriptions/taxes) and [Checkout Sessions](https://stripe.com/docs/payments/checkout/set-up-a-subscription#tax-rates) to collect tax.

    Related guide: [Tax rates](https://stripe.com/docs/billing/taxes/tax-rates)
    Útax_rateÚOBJECT_NAMEc                   ó  — e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   	 eed<   	 eee                  ed<   	 eed<   	 ee         ed<   	 eeeef                  ed<   	 e	ed	<   	 ee         ed
<   	 ee
d                  ed<   dS )úTaxRate.CreateParamsÚactiveÚcountryÚdescriptionÚdisplay_nameÚexpandÚ	inclusiveÚjurisdictionÚmetadataÚ
percentageÚstate©Úamusement_taxÚcommunications_taxÚgstÚhstÚigstÚjctÚ	lease_taxÚpstÚqstÚrstÚ	sales_taxÚvatÚtax_typeN)Ú__name__Ú
__module__Ú__qualname__r   ÚboolÚ__annotations__Ústrr   r
   Úfloatr   © ó    úJ/var/www/html/Alfredo/env/lib/python3.11/site-packages/stripe/_tax_rate.pyÚCreateParamsr      s$  € € € € € € Ø˜DÔ!Ð!Ð!Ñ!ð	ð ˜SÔ!Ð!Ð!Ñ!ð	ð ! Ô%Ð%Ð%Ñ%ð	ð ÐÐÑð	ð ˜D œIÔ&Ð&Ð&Ñ&ð	ð ˆˆ‰ð	ð " #Ô&Ð&Ð&Ñ&ð	ð ˜d 3¨ 8œnÔ-Ð-Ð-Ñ-ð	ð ÐÐÑð	ð ˜3ÔÐÐÑð	ð Øðôô
ð 	
ð 	
ñ 	
ð 	ð 	r8   r:   c                   óÂ   — e Zd ZU ee         ed<   	 ed         ed<   	 ee         ed<   	 eee                  ed<   	 ee         ed<   	 ee         ed<   	 ee         ed<   d	S )
úTaxRate.ListParamsr   zTaxRate.ListParamsCreated|intÚcreatedÚending_beforer   r   ÚlimitÚstarting_afterN)	r0   r1   r2   r   r3   r4   r5   r   Úintr7   r8   r9   Ú
ListParamsr<   W   s¼   € € € € € € Ø˜DÔ!Ð!Ð!Ñ!ð	ð Ð<Ô=Ð=Ð=Ñ=ð	ð # 3Ô'Ð'Ð'Ñ'ð	ð ˜D œIÔ&Ð&Ð&Ñ&ð	ð ˜tÔ$Ð$Ð$Ñ$ð	ð ˜3ÔÐÐÑð	ð $ CÔ(Ð(Ð(Ñ(ð	ð 	r8   rB   c                   ón   — e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   	 ee         ed<   dS )úTaxRate.ListParamsCreatedÚgtÚgteÚltÚlteN)r0   r1   r2   r   rA   r4   r7   r8   r9   ÚListParamsCreatedrD   u   so   € € € € € € Ø˜ÔÐÐÑð	ð ˜ÔÐÐÑð	ð ˜ÔÐÐÑð	ð ˜ÔÐÐÑð	ð 	r8   rI   c                   óþ   — e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   	 ee         ed<   	 eee                  ed<   	 ee         ed<   	 ed         ed<   	 ee         ed	<   	 eed
                  ed<   dS )úTaxRate.ModifyParamsr   r   r   r   r   r   zLiteral['']|Dict[str, str]r   r!   r"   r/   N)	r0   r1   r2   r   r3   r4   r5   r   r   r7   r8   r9   ÚModifyParamsrK   ‡   sÿ   € € € € € € Ø˜DÔ!Ð!Ð!Ñ!ð	ð ˜SÔ!Ð!Ð!Ñ!ð	ð ! Ô%Ð%Ð%Ñ%ð	ð " #Ô&Ð&Ð&Ñ&ð	ð ˜D œIÔ&Ð&Ð&Ñ&ð	ð " #Ô&Ð&Ð&Ñ&ð	ð Ð:Ô;Ð;Ð;Ñ;ð	ð ˜3ÔÐÐÑð	ð Øðôô
ð 	
ð 	
ñ 	
ð 	ð 	r8   rL   c                   ó2   — e Zd ZU eee                  ed<   dS )úTaxRate.RetrieveParamsr   N)r0   r1   r2   r   r   r5   r4   r7   r8   r9   ÚRetrieveParamsrN   ¼   s+   € € € € € € Ø˜D œIÔ&Ð&Ð&Ñ&ð	ð 	r8   rO   r   r   r=   r   r   Úeffective_percentageÚidr   r   )Úcityr   ÚcountyÚdistrictÚmultipler!   Újurisdiction_levelÚlivemoder   Úobjectr    r!   r"   r/   Úparamsr   Úreturnc                 ór   — t          d|                      d|                      ¦   «         |¬¦  «        ¦  «        S )ú)
        Creates a new tax rate.
        r   Úpost©rY   )r   Ú_static_requestÚ	class_url©ÚclsrY   s     r9   ÚcreatezTaxRate.create  sB   € õ
 ØØ×ÒØØ—’‘”Øð  ñ ô ñ
ô 
ð 	
r8   c              ‹   ó‚   K  — t          d|                      d|                      ¦   «         |¬¦  «        ƒ d{V —†¦  «        S )r\   r   r]   r^   N)r   Ú_static_request_asyncr`   ra   s     r9   Úcreate_asynczTaxRate.create_async$  sd   è è € õ ØØ×+Ò+ØØ—’‘”Øð ,ñ ô ð ð ð ð ð ð ñ
ô 
ð 	
r8   r<   c                 óÌ   — |                       d|                      ¦   «         |¬¦  «        }t          |t          ¦  «        s$t	          dt          |¦  «        j        z  ¦  «        ‚|S )ú
        Returns a list of your tax rates. Tax rates are returned sorted by creation date, with the most recently created tax rates appearing first.
        Úgetr^   ú%Expected list object from API, got %s)r_   r`   Ú
isinstancer   Ú	TypeErrorÚtyper0   ©rb   rY   Úresults      r9   ÚlistzTaxRate.list4  sp   € ð ×$Ò$ØØMŠM‰OŒOØð %ñ 
ô 
ˆõ
 ˜&¥*Ñ-Ô-ð 	ÝØ7Ý˜‘<”<Ô(ñ*ñô ð ð
 ˆr8   c              ‹   óÜ   K  — |                       d|                      ¦   «         |¬¦  «        ƒ d{V —†}t          |t          ¦  «        s$t	          dt          |¦  «        j        z  ¦  «        ‚|S )rh   ri   r^   Nrj   )re   r`   rk   r   rl   rm   r0   rn   s      r9   Ú
list_asynczTaxRate.list_asyncH  s’   è è € ð ×0Ò0ØØMŠM‰OŒOØð 1ñ 
ô 
ð 
ð 
ð 
ð 
ð 
ð 
ˆõ
 ˜&¥*Ñ-Ô-ð 	ÝØ7Ý˜‘<”<Ô(ñ*ñô ð ð
 ˆr8   rK   c                 óš   — |                       ¦   «         ›dt          |¦  «        ›}t          d|                      d||¬¦  «        ¦  «        S )ú/
        Updates an existing tax rate.
        ú/r   r]   r^   )r`   r   r   r_   ©rb   rQ   rY   Úurls       r9   ÚmodifyzTaxRate.modify\  sX   € ð Ÿš™œ˜˜­+°b©/¬/¨/Ð:ˆÝØØ×ÒØØØð  ñ ô ñ
ô 
ð 	
r8   c              ‹   óª   K  — |                       ¦   «         ›dt          |¦  «        ›}t          d|                      d||¬¦  «        ƒ d{V —†¦  «        S )rt   ru   r   r]   r^   N)r`   r   r   re   rv   s       r9   Úmodify_asynczTaxRate.modify_asyncm  sz   è è € ð Ÿš™œ˜˜­+°b©/¬/¨/Ð:ˆÝØØ×+Ò+ØØØð ,ñ ô ð ð ð ð ð ð ñ
ô 
ð 	
r8   rN   c                 ó@   —  | |fi |¤Ž}|                      ¦   «          |S )ú8
        Retrieves a tax rate with the given ID
        )Úrefresh©rb   rQ   rY   Úinstances       r9   ÚretrievezTaxRate.retrieve~  s2   € ð 3rÐ$Ð$˜VÐ$Ð$ˆØ×ÒÑÔÐØˆr8   c              ‹   óP   K  —  | |fi |¤Ž}|                      ¦   «         ƒ d{V —† |S )r|   N)Úrefresh_asyncr~   s       r9   Úretrieve_asynczTaxRate.retrieve_async‰  sH   è è € ð 3rÐ$Ð$˜VÐ$Ð$ˆØ×$Ò$Ñ&Ô&Ð&Ð&Ð&Ð&Ð&Ð&Ð&Øˆr8   N) r0   r1   r2   Ú__doc__r   r	   r   r4   r   r:   rB   r   rI   rL   rO   r3   r   r5   rA   r6   r
   Úclassmethodr   rc   rf   r   rp   rr   rx   rz   r€   rƒ   r7   r8   r9   r   r      s[  € € € € € € ð
ð ð 2<€K˜' *Ô-Ô.Ð;Ð;Ñ;ð;ð ;ð ;ð ;ð ;~ñ ;ô ;ð ;ðzð ð ð ð ^ñ ô ð ð<ð ð ð ð ˜Iñ ô ð ð$3ð 3ð 3ð 3ð 3~ñ 3ô 3ð 3ðjð ð ð ð ˜ñ ô ð ð €L€LLðð cŒ]ÐÐÑðð €L€LLðð ˜#”ÐÐÑðð ÐÐÑðð # 5œ/Ð)Ð)Ñ)ðð
 	€G€GGðð €O€OOðð ˜3”-ÐÐÑðð !ØÐLÔMôð ð ñ ðð €N€NNðð t˜C ˜H”~Ô&Ð&Ð&Ñ&ðð JÔÐÐÑðð ÐÐÑðð CŒ=ÐÐÑðð Øðô	
ôð ð ñ ð ð ð
˜fÐ%;Ô<ð 
Àð 
ð 
ð 
ñ „[ð
ð ð
ØÐ4Ô5ð
à	ð
ð 
ð 
ñ „[ð
ð ðØÐ2Ô3ðà	IÔ	ðð ð ñ „[ðð& ðØÐ2Ô3ðà	IÔ	ðð ð ñ „[ðð& ð
Øð
Ø &Ð'=Ô >ð
à	ð
ð 
ð 
ñ „[ð
ð  ð
Øð
Ø &Ð'=Ô >ð
à	ð
ð 
ð 
ñ „[ð
ð  ðØðØ &Ð'?Ô @ðà	ðð ð ñ „[ðð ðØðØ &Ð'?Ô @ðà	ðð ð ñ „[ðð ð r8   r   N)Ústripe._createable_api_resourcer   Ústripe._list_objectr   Ústripe._listable_api_resourcer   Ústripe._request_optionsr   Ústripe._updateable_api_resourcer   Ústripe._utilr   Útypingr	   r
   r   r   r   Útyping_extensionsr   r   r   r   r   r7   r8   r9   ú<module>rŽ      s  ðð BÐ AÐ AÐ AÐ AÐ AØ *Ð *Ð *Ð *Ð *Ð *Ø =Ð =Ð =Ð =Ð =Ð =Ø 2Ð 2Ð 2Ð 2Ð 2Ð 2Ø AÐ AÐ AÐ AÐ AÐ AØ $Ð $Ð $Ð $Ð $Ð $Ø 7Ð 7Ð 7Ð 7Ð 7Ð 7Ð 7Ð 7Ð 7Ð 7Ð 7Ð 7Ð 7Ð 7Ø EÐ EÐ EÐ EÐ EÐ EÐ EÐ EÐ EÐ EÐ EÐ EðEð Eð Eð Eð EØ˜)Ô$Ø˜	Ô"Ø˜)Ô$ñEô Eð Eð Eð Er8   