
    Ai2                         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 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  G d ded   ed   e	d         Zy)    )CreateableAPIResource)
ListObject)ListableAPIResource)StripeObject)UpdateableAPIResource)sanitize_id)ClassVarListOptionalcast)LiteralUnpackTYPE_CHECKING)RegistrationCreateParams)RegistrationListParams)RegistrationModifyParams)RegistrationRetrieveParamsc                      e Zd ZU dZdZeed      ed<    G d de      Z	e
ed<   	 eed<   	 e	ed<   e
ed	<   	 ee
   ed
<   	 eed<   	 eed<   	 ed   ed<   	 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e	iZy)Registrationa  
    A Tax `Registration` lets us know that your business is registered to collect tax on payments within a region, enabling you to [automatically collect tax](https://stripe.com/docs/tax).

    Stripe doesn't register on your behalf with the relevant authorities when you create a Tax `Registration` object. For more information on how to register to collect tax, see [our guide](https://stripe.com/docs/tax/registering).

    Related guide: [Using the Registrations API](https://stripe.com/docs/tax/registrations-api)
    ztax.registrationOBJECT_NAMEc                      e Zd ZU  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 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 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 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 G d) d*e      Z G d+ d,e      Z G d- d.e      Z G d/ d0e      Z G d1 d2e      Z G d3 d4e      Z G d5 d6e      Z G d7 d8e      Z G d9 d:e      Z  G d; d<e      Z! G d= d>e      Z" G d? d@e      Z# G dA dBe      Z$ G dC dDe      Z% G dE dFe      Z& G dG dHe      Z' G dI dJe      Z( G dK dLe      Z) G dM dNe      Z* G dO dPe      Z+ G dQ dRe      Z, G dS dTe      Z- G dU dVe      Z. G dW dXe      Z/ G dY dZe      Z0 G d[ d\e      Z1 G d] d^e      Z2 G d_ d`e      Z3 G da dbe      Z4 G dc dde      Z5 G de dfe      Z6 G dg dhe      Z7 G di dje      Z8 G dk dle      Z9 G dm dne      Z: G do dpe      Z; G dq dre      Z< G ds dte      Z= G du dve      Z> G dw dxe      Z? G dy dze      Z@ G d{ d|e      ZA G d} d~e      ZB G d de      ZC G d de      ZD G d de      ZE G d de      ZF G d de      ZG G d de      ZH G d de      ZI G d de      ZJ G d de      ZK G d de      ZL G d de      ZM G d de      ZN G d de      ZO G d de      ZP G d de      ZQ G d de      ZR G d de      ZS G d de      ZT G d de      ZU G d de      ZV G d de      ZW G d de      ZX G d de      ZY G d de      ZZ G d de      Z[ G d de      Z\ G d de      Z] G d de      Z^ G d de      Z_ G d de      Z` G d de      Za G d de      Zb G d de      Zc G d de      Zd G dÄ de      Ze G dń de      Zf G dǄ de      Zgehe   eid<   ehe   eid<   ehe   eid<   ehe   eid<   ehe   eid<   ehe	   eid<   ehe
   eid<   ehe   eid<   ehe   eid<   ehe   eid<   ehe   eid<   ehe   eid<   ehe   eid<   ehe   eid<   ehe   eid<   ehe   eid<   ehe   eid<   ehe   eid<   ehe   eid<   ehe   eid<   ehe   eid<   ehe   eid<   ehe   eid<   ehe   eid<   ehe   eid<   ehe   eid<   ehe   eid<   ehe   eid<   ehe    eid<   ehe!   eid<   ehe"   eid<   ehe#   eid<   ehe$   eid<   ehe%   eid<   ehe&   eid<   ehe'   eid<   ehe(   eid<   ehe)   eid<   ehe*   eid<   ehe+   eid<   ehe,   eid<   ehe-   eid<   ehe.   eid<   ehe/   eid<   ehe0   eid<   ehe1   eid<   ehe2   eid<   ehe3   eid<   ehe4   eid<   ehe5   eid<   ehe6   eid<   ehe7   eid<   ehe8   eid<   ehe9   eid<   ehe:   eid<   ehe;   eid <   ehe<   eid<   ehe=   eid<   ehe>   eid<   ehe?   eid<   ehe@   eid<   eheA   eid<   eheB   eid<   eheC   eid<   eheD   eid	<   eheE   eid
<   eheF   eid<   eheG   eid<   eheH   eid<   eheI   eid<   eheJ   eid<   eheK   eid<   eheL   eid<   eheM   eid<   eheN   eid<   eheO   eid<   eheP   eid<   eheQ   eid<   eheR   eid<   eheS   eid<   eheT   eid<   eheU   eid<   eheV   eid<   eheW   eid<   eheX   eid<   eheY   eid<   eheZ   eid<   ehe[   eid <   ehe\   eid!<   ehe]   eid"<   ehe^   eid#<   ehe_   eid$<   ehe`   eid%<   ehea   eid&<   eheb   eid'<   ehec   eid(<   ehed   eid)<   ehee   eid*<   ehef   eid+<   eheg   eid,<   i dededededede	de
dedededededededededei dededededededededededede de!de"de#de$de%i de&de'de(de)de*de+de,de-de.de/de0d-e1d.e2de3de4de5de6i de7de8de9de:d e;de<de=de>de?de@deAdeBdeCd	eDd
eEdeFdeGi deHdeIdeJdeKdeLdeMdeNdeOdePdeQdeRdeSdeTdeUdeVdeWdeXeYeZe[e\e]e^e_e`eaebecedeeefegd/Zjd-d.d0Zky1(2  Registration.CountryOptionsc                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Aec                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Ae.Standardinbound_goodsstandardplace_of_supply_schemeN__name__
__module____qualname__r   __annotations__     K/var/www/html/immo/lib/python3.12/site-packages/stripe/tax/_registration.pyStandardr   ,       (/0K(LLr'   r)   r   typeN	r"   r#   r$   r   r)   r   r%   r   _inner_class_typesr&   r'   r(   Aer   +   8    <  x((*%% #-h!7r'   r.   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Alr   r+   Nr!   r&   r'   r(   Alr1   9       *%%r'   r2   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Am
simplifiedr+   Nr!   r&   r'   r(   Amr5   ?       ,''r'   r7   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Aor   r+   Nr!   r&   r'   r(   Aor:   E   r3   r'   r;   c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Atc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.At.Standardr   small_sellerr   r    Nr!   r&   r'   r(   r)   r?   L       (/?) r'   r)   r   iossoss_non_union	oss_unionr   r+   Nr,   r&   r'   r(   Atr=   K   9    <  x((JKK #-h!7r'   rG   c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Auc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Au.Standardr   r    Nr!   r&   r'   r(   r)   rL   \   r*   r'   r)   r   r+   Nr,   r&   r'   r(   AurJ   [   r/   r'   rM   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Awr   r+   Nr!   r&   r'   r(   AwrO   i   r3   r'   rP   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Azr6   r+   Nr!   r&   r'   r(   AzrR   o   r8   r'   rS   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Bar   r+   Nr!   r&   r'   r(   BarU   u   r3   r'   rV   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Bbr   r+   Nr!   r&   r'   r(   BbrX   {   r3   r'   rY   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Bdr   r+   Nr!   r&   r'   r(   Bdr[      r3   r'   r\   c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Bec                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Be.Standardr@   r    Nr!   r&   r'   r(   r)   r`      rB   r'   r)   r   rC   r+   Nr,   r&   r'   r(   Ber^      rH   r'   ra   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Bfr   r+   Nr!   r&   r'   r(   Bfrc      r3   r'   rd   c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Bgc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Bg.Standardr@   r    Nr!   r&   r'   r(   r)   rh      rB   r'   r)   r   rC   r+   Nr,   r&   r'   r(   Bgrf      rH   r'   ri   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Bhr   r+   Nr!   r&   r'   r(   Bhrk      r3   r'   rl   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Bjr6   r+   Nr!   r&   r'   r(   Bjrn      r8   r'   ro   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Bsr   r+   Nr!   r&   r'   r(   Bsrq      r3   r'   rr   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Byr6   r+   Nr!   r&   r'   r(   Byrt      r8   r'   ru   c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Cac                       e Zd ZU eed<   y)/Registration.CountryOptions.Ca.ProvinceStandardprovinceNr"   r#   r$   strr%   r&   r'   r(   ProvinceStandardry      s    r'   r}   province_standard)r~   r6   r   r+   N)	r"   r#   r$   r   r}   r   r%   r   r-   r&   r'   r(   Carw      s;    <   ((899GHH #67G!Hr'   r   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Cdr   r+   Nr!   r&   r'   r(   Cdr      r3   r'   r   c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Chc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Ch.Standardr   r    Nr!   r&   r'   r(   r)   r      r*   r'   r)   r   r+   Nr,   r&   r'   r(   Chr      r/   r'   r   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Clr6   r+   Nr!   r&   r'   r(   Clr      r8   r'   r   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Cmr6   r+   Nr!   r&   r'   r(   Cmr      r8   r'   r   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Cor6   r+   Nr!   r&   r'   r(   Cor      r8   r'   r   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Crr6   r+   Nr!   r&   r'   r(   Crr      r8   r'   r   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Cvr6   r+   Nr!   r&   r'   r(   Cvr      r8   r'   r   c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Cyc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Cy.Standardr@   r    Nr!   r&   r'   r(   r)   r     rB   r'   r)   r   rC   r+   Nr,   r&   r'   r(   Cyr     rH   r'   r   c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Czc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Cz.Standardr@   r    Nr!   r&   r'   r(   r)   r     rB   r'   r)   r   rC   r+   Nr,   r&   r'   r(   Czr     rH   r'   r   c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Dec                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.De.Standardr@   r    Nr!   r&   r'   r(   r)   r   &  rB   r'   r)   r   rC   r+   Nr,   r&   r'   r(   Der   %  rH   r'   r   c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Dkc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Dk.Standardr@   r    Nr!   r&   r'   r(   r)   r   6  rB   r'   r)   r   rC   r+   Nr,   r&   r'   r(   Dkr   5  rH   r'   r   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Ecr6   r+   Nr!   r&   r'   r(   Ecr   E  r8   r'   r   c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Eec                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Ee.Standardr@   r    Nr!   r&   r'   r(   r)   r   L  rB   r'   r)   r   rC   r+   Nr,   r&   r'   r(   Eer   K  rH   r'   r   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Egr6   r+   Nr!   r&   r'   r(   Egr   [  r8   r'   r   c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Esc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Es.Standardr@   r    Nr!   r&   r'   r(   r)   r   b  rB   r'   r)   r   rC   r+   Nr,   r&   r'   r(   Esr   a  rH   r'   r   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Etr   r+   Nr!   r&   r'   r(   Etr   q  r3   r'   r   c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Fic                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Fi.Standardr@   r    Nr!   r&   r'   r(   r)   r   x  rB   r'   r)   r   rC   r+   Nr,   r&   r'   r(   Fir   w  rH   r'   r   c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Frc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Fr.Standardr@   r    Nr!   r&   r'   r(   r)   r     rB   r'   r)   r   rC   r+   Nr,   r&   r'   r(   Frr     rH   r'   r   c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Gbc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Gb.Standardr   r    Nr!   r&   r'   r(   r)   r     r*   r'   r)   r   r+   Nr,   r&   r'   r(   Gbr     r/   r'   r   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Ger6   r+   Nr!   r&   r'   r(   Ger     r8   r'   r   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Gnr   r+   Nr!   r&   r'   r(   Gnr     r3   r'   r   c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Grc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Gr.Standardr@   r    Nr!   r&   r'   r(   r)   r     rB   r'   r)   r   rC   r+   Nr,   r&   r'   r(   Grr     rH   r'   r   c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Hrc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Hr.Standardr@   r    Nr!   r&   r'   r(   r)   r     rB   r'   r)   r   rC   r+   Nr,   r&   r'   r(   Hrr     rH   r'   r   c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Huc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Hu.Standardr@   r    Nr!   r&   r'   r(   r)   r     rB   r'   r)   r   rC   r+   Nr,   r&   r'   r(   Hur     rH   r'   r   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Idr6   r+   Nr!   r&   r'   r(   Idr     r8   r'   r   c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Iec                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Ie.Standardr@   r    Nr!   r&   r'   r(   r)   r     rB   r'   r)   r   rC   r+   Nr,   r&   r'   r(   Ier     rH   r'   r   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Inr6   r+   Nr!   r&   r'   r(   Inr     r8   r'   r   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Isr   r+   Nr!   r&   r'   r(   Isr     r3   r'   r   c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Itc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.It.Standardr@   r    Nr!   r&   r'   r(   r)   r     rB   r'   r)   r   rC   r+   Nr,   r&   r'   r(   Itr     rH   r'   r   c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Jpc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Jp.Standardr   r    Nr!   r&   r'   r(   r)   r     r*   r'   r)   r   r+   Nr,   r&   r'   r(   Jpr     r/   r'   r   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Ker6   r+   Nr!   r&   r'   r(   Ker   !  r8   r'   r   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Kgr6   r+   Nr!   r&   r'   r(   Kgr   '  r8   r'   r   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Khr6   r+   Nr!   r&   r'   r(   Khr  -  r8   r'   r  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Krr6   r+   Nr!   r&   r'   r(   Krr  3  r8   r'   r  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Kzr6   r+   Nr!   r&   r'   r(   Kzr  9  r8   r'   r  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Lar6   r+   Nr!   r&   r'   r(   Lar
  ?  r8   r'   r  c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Ltc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Lt.Standardr@   r    Nr!   r&   r'   r(   r)   r  F  rB   r'   r)   r   rC   r+   Nr,   r&   r'   r(   Ltr  E  rH   r'   r  c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Luc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Lu.Standardr@   r    Nr!   r&   r'   r(   r)   r  V  rB   r'   r)   r   rC   r+   Nr,   r&   r'   r(   Lur  U  rH   r'   r  c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Lvc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Lv.Standardr@   r    Nr!   r&   r'   r(   r)   r  f  rB   r'   r)   r   rC   r+   Nr,   r&   r'   r(   Lvr  e  rH   r'   r  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Mar6   r+   Nr!   r&   r'   r(   Mar  u  r8   r'   r  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Mdr6   r+   Nr!   r&   r'   r(   Mdr  {  r8   r'   r   c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Mer   r+   Nr!   r&   r'   r(   Mer"    r3   r'   r#  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Mkr   r+   Nr!   r&   r'   r(   Mkr%    r3   r'   r&  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Mrr   r+   Nr!   r&   r'   r(   Mrr(    r3   r'   r)  c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Mtc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Mt.Standardr@   r    Nr!   r&   r'   r(   r)   r-    rB   r'   r)   r   rC   r+   Nr,   r&   r'   r(   Mtr+    rH   r'   r.  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Mxr6   r+   Nr!   r&   r'   r(   Mxr0    r8   r'   r1  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Myr6   r+   Nr!   r&   r'   r(   Myr3    r8   r'   r4  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Ngr6   r+   Nr!   r&   r'   r(   Ngr6    r8   r'   r7  c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Nlc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Nl.Standardr@   r    Nr!   r&   r'   r(   r)   r;    rB   r'   r)   r   rC   r+   Nr,   r&   r'   r(   Nlr9    rH   r'   r<  c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Noc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.No.Standardr   r    Nr!   r&   r'   r(   r)   r@    r*   r'   r)   r   r+   Nr,   r&   r'   r(   Nor>    r/   r'   rA  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Npr6   r+   Nr!   r&   r'   r(   NprC    r8   r'   rD  c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Nzc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Nz.Standardr   r    Nr!   r&   r'   r(   r)   rH    r*   r'   r)   r   r+   Nr,   r&   r'   r(   NzrF    r/   r'   rI  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Omr   r+   Nr!   r&   r'   r(   OmrK    r3   r'   rL  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Per6   r+   Nr!   r&   r'   r(   PerN    r8   r'   rO  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Phr6   r+   Nr!   r&   r'   r(   PhrQ    r8   r'   rR  c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Plc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Pl.Standardr@   r    Nr!   r&   r'   r(   r)   rV    rB   r'   r)   r   rC   r+   Nr,   r&   r'   r(   PlrT    rH   r'   rW  c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Ptc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Pt.Standardr@   r    Nr!   r&   r'   r(   r)   r[  
  rB   r'   r)   r   rC   r+   Nr,   r&   r'   r(   PtrY  	  rH   r'   r\  c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Roc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Ro.Standardr@   r    Nr!   r&   r'   r(   r)   r`    rB   r'   r)   r   rC   r+   Nr,   r&   r'   r(   Ror^    rH   r'   ra  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Rsr   r+   Nr!   r&   r'   r(   Rsrc  )  r3   r'   rd  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Rur6   r+   Nr!   r&   r'   r(   Rurf  /  r8   r'   rg  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Sar6   r+   Nr!   r&   r'   r(   Sari  5  r8   r'   rj  c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Sec                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Se.Standardr@   r    Nr!   r&   r'   r(   r)   rn  <  rB   r'   r)   r   rC   r+   Nr,   r&   r'   r(   Serl  ;  rH   r'   ro  c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Sgc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Sg.Standardr   r    Nr!   r&   r'   r(   r)   rs  L  r*   r'   r)   r   r+   Nr,   r&   r'   r(   Sgrq  K  r/   r'   rt  c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Sic                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Si.Standardr@   r    Nr!   r&   r'   r(   r)   rx  Z  rB   r'   r)   r   rC   r+   Nr,   r&   r'   r(   Sirv  Y  rH   r'   ry  c                   N    e Zd ZU  G d de      Zee   ed<   ed   ed<   	 deiZy)Registration.CountryOptions.Skc                       e Zd ZU ed   ed<   y)'Registration.CountryOptions.Sk.Standardr@   r    Nr!   r&   r'   r(   r)   r}  j  rB   r'   r)   r   rC   r+   Nr,   r&   r'   r(   Skr{  i  rH   r'   r~  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Snr6   r+   Nr!   r&   r'   r(   Snr  y  r8   r'   r  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Srr   r+   Nr!   r&   r'   r(   Srr    r3   r'   r  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Thr6   r+   Nr!   r&   r'   r(   Thr    r8   r'   r  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Tjr6   r+   Nr!   r&   r'   r(   Tjr    r8   r'   r  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Trr6   r+   Nr!   r&   r'   r(   Trr    r8   r'   r  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Twr6   r+   Nr!   r&   r'   r(   Twr    r8   r'   r  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Tzr6   r+   Nr!   r&   r'   r(   Tzr    r8   r'   r  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Uar6   r+   Nr!   r&   r'   r(   Uar    r8   r'   r  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Ugr6   r+   Nr!   r&   r'   r(   Ugr    r8   r'   r  c                       e Zd ZU  G d de      Z G d de      Z G d de      Zee   ed<   ee   ed<   e	ed	<   	 ee   ed
<   e
d   ed<   	 eeedZy)Registration.CountryOptions.Usc                       e Zd ZU eed<   y)0Registration.CountryOptions.Us.LocalAmusementTaxjurisdictionNr{   r&   r'   r(   LocalAmusementTaxr        !!r'   r  c                       e Zd ZU eed<   y),Registration.CountryOptions.Us.LocalLeaseTaxr  Nr{   r&   r'   r(   LocalLeaseTaxr    r  r'   r  c                   D    e Zd ZU  G d de      Zeee      ed<   	 deiZy),Registration.CountryOptions.Us.StateSalesTaxc                   0    e Zd ZU ee   ed<   	 ed   ed<   y)5Registration.CountryOptions.Us.StateSalesTax.Electionr  )local_use_taxsimplified_sellers_use_taxsingle_local_use_taxr+   N)r"   r#   r$   r   r|   r%   r   r&   r'   r(   Electionr    s*    "*3-/ "0 
r'   r  	electionsN)	r"   r#   r$   r   r  r   r
   r%   r-   r&   r'   r(   StateSalesTaxr    s1    |  $DN33 '28%<"r'   r  local_amusement_taxlocal_lease_taxstatestate_sales_tax)r  r  state_communications_taxstate_retail_delivery_feer  r+   )r  r  r  N)r"   r#   r$   r   r  r  r  r   r%   r|   r   r-   r&   r'   r(   Usr    s    L  = =* "**;!<<%m44J &m44#  (9#0#0"r'   r  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Uyr   r+   Nr!   r&   r'   r(   Uyr    r3   r'   r  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Uzr6   r+   Nr!   r&   r'   r(   Uzr    r8   r'   r  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Vnr6   r+   Nr!   r&   r'   r(   Vnr    r8   r'   r  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Zar   r+   Nr!   r&   r'   r(   Zar    r3   r'   r  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Zmr6   r+   Nr!   r&   r'   r(   Zmr     r8   r'   r  c                       e Zd ZU ed   ed<   y)Registration.CountryOptions.Zwr   r+   Nr!   r&   r'   r(   Zwr    r3   r'   r  aealamaoatauawazbabbbdbebfbgbhbjbsbycacdchclcmcocrcvcyczdedkeceeegesetfifrgbgegngrhrhuidiein_is_itjpkekgkhkrkzlaltlulvmamdmemkmrmtmxmyngnlnonpnzompephplptrorsrusasesgsisksnsrthtjtrtwtzuaugusuyuzvnzazmzwinis)r  r  r  r  r   r!  r"  r#  r$  r%  r&  r'  r(  r)  r*  )r  r  N)lr"   r#   r$   r   r.   r2   r7   r;   rG   rM   rP   rS   rV   rY   r\   ra   rd   ri   rl   ro   rr   ru   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   r   r   r   r  r  r  r  r  r  r  r  r   r#  r&  r)  r.  r1  r4  r7  r<  rA  rD  rI  rL  rO  rR  rW  r\  ra  rd  rg  rj  ro  rt  ry  r~  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r%   r-   _field_remappingsr&   r'   r(   CountryOptionsr   *   s   	8 	8	 		 		 		8 	8 	8 	8	 		 		 		 		 		8 	8 	 		8 	8 	 		 		 		 		I 	I	 		8 	8	 		 		 		 		 		8 	8 	8 	8 	8 	8 	8 	8 	 		8 	8 	 		8 	8 	 		8 	8 	8 	8 	8 	8	 		 		8 	8 	8 	8 	8 	8 	 		8 	8 	 		 		8 	8 	8 	8	 		 		 		 		 		 		8 	8 	8 	8 	8 	8 	 		 		 		 		 		8 	8 	 		 		 		8 	8 	8 	8	 		8 	8	 		 		 		8 	8 	8 	8 	8 	8 	 		 		 		8 	8 	8 	8	8 	8 	8 	8 	 		 		 		 		 		 		 		 		 	7	 7	r	 		 		 		 		 		 	 RLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLb\b\RLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLRLe
"e
"e
 "e
 "	e

 "e
 "e
 "e
 "e
 "e
 "e
 "e
 "e
 "e
 "e
 "e
  "!e
" "#e
$ "%e
& "'e
( ")e
* "+e
, "-e
. "/e
0 "1e
2 "3e
4 "5e
6 "7e
8 "9e
: ";e
< "=e
> "?e
@ "Ae
B "Ce
D "Ee
F "Ge
H "Ie
J "Ke
L "Me
N "Oe
P "Qe
R "Se
T "Ue
V "We
X "Ye
Z "[e
\ "]e
^ "_e
` "ae
b "ce
d "ee
f "ge
h "ie
j "ke
l "me
n "oe
p "qe
r "se
t "ue
v "we
x "ye
z "{e
| "}e
~ "e
@ "Ae
B "Ce
D "Ee
F "Ge
H "Ie
J "Ke
L "Me
N "Oe
P "Qe
R "Se
T "Ue
V "We
X "Ye
Z "[e
\ "]e
^ "_e
` "ae
b "ce
d "ee
f "ge
h "ie
j "ke
l Ie
L %)6r'   r.  active_fromcountrycountry_optionscreated
expires_atr  livemodeobject)activeexpired	scheduledstatusparamsr   returnc                 Z    t        d| j                  d| j                         |            S )8
        Creates a new Tax Registration object.
        r   postr:  )r   _static_request	class_urlclsr:  s     r(   createzRegistration.create  s6        
 	
r'   c                 v   K   t        d| j                  d| j                         |       d{         S 7 w)r=  r   r>  r?  N)r   _static_request_asyncrA  rB  s     r(   create_asynczRegistration.create_async
  sD      ++ ,  
 	
s   ,97
	9r   c                     | j                  d| j                         |      }t        |t              s!t	        dt        |      j                  z        |S )=
        Returns a list of Tax Registration objects.
        getr?  %Expected list object from API, got %s)r@  rA  
isinstancer   	TypeErrorr+   r"   rC  r:  results      r(   listzRegistration.list  s]     $$MMO % 

 &*-7<((* 
 r'   c                    K   | j                  d| j                         |       d{   }t        |t              s!t	        dt        |      j                  z        |S 7 7w)rI  rJ  r?  NrK  )rF  rA  rL  r   rM  r+   r"   rN  s      r(   
list_asynczRegistration.list_async.  sk      00MMO 1 
 

 &*-7<((* 
 
s   &A"A 8A"r   c                 z    | j                         dt        |      }t        d| j                  d||            S )
        Updates an existing Tax Registration object.

        A registration cannot be deleted after it has been created. If you wish to end a registration you may do so by setting expires_at.
        /r   r>  r?  )rA  r   r   r@  rC  r  r:  urls       r(   modifyzRegistration.modifyB  sD     +b/:   
 	
r'   c                    K   | j                         dt        |      }t        d| j                  d||       d{         S 7 w)rT  rU  r   r>  r?  N)rA  r   r   rF  rV  s       r(   modify_asynczRegistration.modify_asyncU  sR      +b/:++ ,  
 	
s   <A	A
	A	r   c                 8     | |fi |}|j                          |S )4
        Returns a Tax Registration object.
        )refreshrC  r  r:  instances       r(   retrievezRegistration.retrieveh  s$     r$V$r'   c                 T   K    | |fi |}|j                          d{    |S 7 w)r\  N)refresh_asyncr^  s       r(   retrieve_asynczRegistration.retrieve_asyncs  s3      r$V$$$&&& 	's   (&(N)r"   r#   r$   __doc__r   r	   r   r%   r   r.  intr|   r   boolclassmethodr   rD  rG  r   rP  rR  rX  rZ  r`  rc  r-   r&   r'   r(   r   r      s/   
 :LK'"456Kl7 l7\%  L $#L  	G N &'' 455 
89
	
 
 
89
	
 
 67	N	# & 67	N	# & 

 &'A B
	
 
$ 

 &'A B
	
 
$  &'C D	   &'C D	  ,^<r'   r   N)stripe._createable_api_resourcer   stripe._list_objectr   stripe._listable_api_resourcer   stripe._stripe_objectr   stripe._updateable_api_resourcer   stripe._utilr   typingr	   r
   r   r   typing_extensionsr   r   r   -stripe.params.tax._registration_create_paramsr   +stripe.params.tax._registration_list_paramsr   -stripe.params.tax._registration_modify_paramsr   /stripe.params.tax._registration_retrieve_paramsr   r   r&   r'   r(   <module>rt     sa    B * = . A $ 1 1 < <
c=.)'.)c=r'   