
    _j
                     ~    d dl mZ d dlmZmZ d dl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          Zd
S )    )StripeService)Optionalcast)TYPE_CHECKING)RequestOptions)SettingsRetrieveParams)SettingsUpdateParams)Settingsc                       e Zd Z	 	 dded         ded         ddfdZ	 	 dded         ded         ddfd	Z	 	 dded
         ded         ddfdZ	 	 dded
         ded         ddfdZdS )SettingsServiceNparamsr   optionsr   returnr
   c           
      R    t          d|                     ddd||                    S )8
        Retrieves Tax Settings for a merchant.
        r
   get/v1/tax/settingsapibase_addressr   r   r   _requestselfr   r   s      `/var/www/app.qaans.com/backend/venv/lib/python3.11/site-packages/stripe/tax/_settings_service.pyretrievezSettingsService.retrieve   s>     MM""   	
 	
 		
    c           
      b   K   t          d|                     ddd||           d{V           S )r   r
   r   r   r   r   Nr   _request_asyncr   s      r   retrieve_asynczSettingsService.retrieve_async$   sb       %%"" &        	
 	
 		
r   r	   c           
      R    t          d|                     ddd||                    S )
        Updates Tax Settings parameters used in tax calculations. All parameters are editable but none can be removed once set.
        r
   postr   r   r   r   r   s      r   updatezSettingsService.update7   s>     MM""   	
 	
 		
r   c           
      b   K   t          d|                     ddd||           d{V           S )r#   r
   r$   r   r   r   Nr   r   s      r   update_asynczSettingsService.update_asyncJ   sb       %%"" &        	
 	
 		
r   )NN)__name__
__module____qualname__r   r   r!   r%   r'    r   r   r   r      s8        6:.2
 
12
 *+
 
	
 
 
 
* 6:.2
 
12
 *+
 
	
 
 
 
* 48.2
 
/0
 *+
 
	
 
 
 
* 48.2
 
/0
 *+
 
	
 
 
 
 
 
r   r   N)stripe._stripe_servicer   typingr   r   typing_extensionsr   stripe._request_optionsr   +stripe.params.tax._settings_retrieve_paramsr   )stripe.params.tax._settings_update_paramsr	   stripe.tax._settingsr
   r   r+   r   r   <module>r3      s    1 0 0 0 0 0 ! ! ! ! ! ! ! ! + + + + + + .666666      ONNNNN------K
 K
 K
 K
 K
m K
 K
 K
 K
 K
r   