
    _j%                         d dl mZ 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 d d	lmZ  G d
 de          ZdS )    )StripeService)sanitize_id)Optionalcast)TYPE_CHECKING)
ListObject)RequestOptions)TaxCode)TaxCodeListParams)TaxCodeRetrieveParamsc            	           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ed         ded         ddfdZ	 	 dd
eded         ded         ddfdZdS )TaxCodeServiceNparamsr   optionsr	   returnListObject[TaxCode]c           
      R    t          d|                     ddd||                    S )
        A list of [all tax codes available](https://stripe.com/docs/tax/tax-categories) to add to Products in order to allow specific tax calculations.
        r   get/v1/tax_codesapibase_addressr   r   )r   _requestselfr   r   s      \/var/www/app.qaans.com/backend/venv/lib/python3.11/site-packages/stripe/_tax_code_service.pylistzTaxCodeService.list   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   
list_asynczTaxCodeService.list_async$   sb       !%%" &        	
 	
 		
r   idr   r
   c                     t          d|                     dd                    t          |                    d||                    S )
        Retrieves the details of an existing tax code. Supply the unique tax code ID and Stripe will return the corresponding tax code information.
        r
   r   /v1/tax_codes/{id}r#   r   r   )r   r   formatr   r   r#   r   r   s       r   retrievezTaxCodeService.retrieve7   sU     MM$++{2+??"   	
 	
 		
r   c                    K   t          d|                     dd                    t          |                    d||           d{V           S )r%   r
   r   r&   r'   r   r   N)r   r!   r(   r   r)   s       r   retrieve_asynczTaxCodeService.retrieve_asyncK   sy       %%$++{2+??" &        	
 	
 		
r   )NN)	__name__
__module____qualname__r   r   r"   strr*   r,    r   r   r   r      sL        15.2
 
,-
 *+
 
	
 
 
 
* 15.2
 
,-
 *+
 
	
 
 
 
, 59.2	
 

 01
 *+	

 

 
 
 
. 59.2	
 

 01
 *+	

 

 
 
 
 
 
r   r   N)stripe._stripe_servicer   stripe._utilr   typingr   r   typing_extensionsr   stripe._list_objectr   stripe._request_optionsr	   stripe._tax_coder
   #stripe.params._tax_code_list_paramsr   'stripe.params._tax_code_retrieve_paramsr   r   r1   r   r   <module>r;      s    1 0 0 0 0 0 $ $ $ $ $ $ ! ! ! ! ! ! ! ! + + + + + + N......666666((((((EEEEEEMMMMMMM
 M
 M
 M
 M
] M
 M
 M
 M
 M
r   