
    Dh                         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
JrJr  S SKJrJrJrJr   " S S\S   \S   5      rg	)
    )RequestOptions)SingletonAPIResource)StripeObject)UpdateableAPIResource)ClassVarListOptionalcast)LiteralNotRequired	TypedDictUnpackc                      \ 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'    \\S'    \S   \S'    \S   \S'    \\S'   \S\S   SS 4S j5       r\S\S   SS 4S  j5       r\S\S!   SS 4S" j5       r\S\S!   SS 4S# j5       r\S$ 5       r\
\\S%.rS&rg')(Settings   z
You can use Tax `Settings` to manage configurations used by Stripe Tax calculations.

Related guide: [Using the Settings API](https://stripe.com/docs/tax/settings-api)
ztax.settingsOBJECT_NAMEc                   >    \ rS rSr% \\S      \S'    \\   \S'   Srg)Settings.Defaults   	exclusive	inclusiveinferred_by_currencytax_behaviortax_code N)	__name__
__module____qualname____firstlineno__r	   r   __annotations__str__static_attributes__r       W/home/kali/devsecops-assessor/venv/lib/python3.13/site-packages/stripe/tax/_settings.pyDefaultsr      s.    DE
 	
	 3-	r$   r&   c                   >    \ rS rSr%  " S S\5      r\\S'   S\0rSrg)Settings.HeadOffice#   c                       \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg	)
Settings.HeadOffice.Address$   citycountryline1line2postal_codestater   N)r   r   r   r    r	   r"   r!   r#   r   r$   r%   Addressr+   $   sf    3- c]" C=  C=  "#& C= r$   r3   addressr   N)	r   r   r   r    r   r3   r!   _inner_class_typesr#   r   r$   r%   
HeadOfficer(   #   s!    	l 	4 '1r$   r6   c                   l    \ rS rSr%  " S S\5      r " S S\5      r\\   \S'   \\   \S'   \\S.r	S	r
g
)Settings.StatusDetailsA   c                       \ rS rSrSrg)Settings.StatusDetails.ActiveB   r   N)r   r   r   r    r#   r   r$   r%   Activer;   B   s    r$   r=   c                   ,    \ rS rSr% \\\      \S'   Srg)Settings.StatusDetails.PendingE   missing_fieldsr   N)	r   r   r   r    r	   r   r"   r!   r#   r   r$   r%   Pendingr?   E   s    $T#Y//r$   rB   activependingrC   rD   r   N)r   r   r   r    r   r=   rB   r	   r!   r5   r#   r   r$   r%   StatusDetailsr8   A   s=    	\ 		l 	   '""(.7Cr$   rF   c                   P    \ rS rSr% \S   \S'    \\\      \S'    \S   \S'   Srg)	Settings.ModifyParamsO   Settings.ModifyParamsDefaultsdefaultsexpandSettings.ModifyParamsHeadOfficehead_officer   N)	r   r   r   r    r   r!   r   r"   r#   r   r$   r%   ModifyParamsrH   O   s<    =>>	 DI&&	 !!BCC	r$   rO   c                   >    \ rS rSr% \\S      \S'    \\   \S'   Srg)rJ   ]   r   r   r   r   N)	r   r   r   r    r   r   r!   r"   r#   r   r$   r%   ModifyParamsDefaultsSettings.ModifyParamsDefaults]   s/    !DE
 	
	 c""	r$   rR   c                        \ rS rSr% S\S'   Srg)rM   i   &Settings.ModifyParamsHeadOfficeAddressr4   r   N)r   r   r   r    r!   r#   r   r$   r%   ModifyParamsHeadOfficeSettings.ModifyParamsHeadOfficei   s    99	r$   rW   c                       \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg	)
rV   o   r-   r.   r/   r0   r1   r2   r   N)r   r   r   r    r   r"   r!   r#   r   r$   r%   ModifyParamsHeadOfficeAddress&Settings.ModifyParamsHeadOfficeAddresso   sl    #	 S!!	 3	 3	 !%%	 3	r$   r[   c                   ,    \ rS rSr% \\\      \S'   Srg)Settings.RetrieveParams   rL   r   N)	r   r   r   r    r   r   r"   r!   r#   r   r$   r%   RetrieveParamsr^      s    DI&&	r$   r`   rK   rN   livemodeobjectrE   statusstatus_detailsparamsrH   returnc           	      T    [        SU R                  SU R                  5       US95      $ )y
Updates Tax Settings parameters used in tax calculations. All parameters are editable but none can be removed once set.
r   postre   )r
   _static_request	class_urlclsre   s     r%   modifySettings.modify   s6    
    
 	
r$   c           	      p   #    [        SU R                  SU R                  5       US9I Sh  vN 5      $  N7f)rh   r   ri   rj   N)r
   _static_request_asyncrl   rm   s     r%   modify_asyncSettings.modify_async   sC      ++ ,  
 	
s   )64
	6r^   c                 6    U " S0 UD6nUR                  5         U$ )(
Retrieves Tax Settings for a merchant.
N)refreshrn   re   instances      r%   retrieveSettings.retrieve   s"     &v&r$   c                 R   #    U " S0 UD6nUR                  5       I Sh  vN   U$  N7f)rv   Nrw   )refresh_asyncry   s      r%   retrieve_asyncSettings.retrieve_async   s0      &v&$$&&& 	's   '%'c                     g)Nz/v1/tax/settingsr   )rn   s    r%   rl   Settings.class_url   s    !r$   )rK   rN   rd   r   N)r   r   r   r    __doc__r   r   r   r!   r   r&   r6   rF   r   rO   r   rR   rW   r[   r`   r	   boolclassmethodr   ro   rs   r{   r   rl   r5   r#   r   r$   r%   r   r      s    6DK'.12C
< 
2\ 2<D D~ 
y 
 	 4  *%% N N## '(( "!
f%<= 
* 
 
 
56
	
 
 78	  78	  " " !'r$   r   N)stripe._request_optionsr   stripe._singleton_api_resourcer   stripe._stripe_objectr   stripe._updateable_api_resourcer   typingr   r   r	   r
   typing_extensionsr   r   r   r   r   r   r$   r%   <module>r      s;    3 ? . A 1 1 E ES$*%Sr$   