o
    Bi1%                     @   st   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 d dlmZmZmZ G dd	 d	eZd
S )    )
ListObject)RequestOptions)StripeService)TaxId)sanitize_id)Listcast)LiteralNotRequired	TypedDictc                   @   s`  e Zd ZG dd deZG dd deZG dd deZG dd deZi i fd	ed
eddde	de
f
ddZi i fd	ed
eddde	de
f
ddZi i fd	ed
eddde	de
f
ddZi i fd	ed
eddde	de
f
ddZi i fd	eddde	dee
 fddZi i fd	eddde	dee
 fddZi fd	eddde	de
fddZi fd	eddde	de
fd d!Zd"S )#CustomerTaxIdServicec                   @   s6   e Zd ZU eee  ed< 	 ed ed< 	 eed< dS )!CustomerTaxIdService.CreateParamsexpand)Jad_nrtae_trnar_cuitau_abnau_arnbg_uicbh_vatbo_tinbr_cnpjbr_cpfca_bn
ca_gst_hst	ca_pst_bc	ca_pst_mb	ca_pst_skca_qstch_uidch_vatcl_tincn_tinco_nitcr_tinde_stndo_rcnec_ruceg_tines_cif
eu_oss_vateu_vatgb_vatge_vathk_brhr_oibhu_tinid_npwpil_vatin_gstis_vatjp_cnjp_rnjp_trnke_pinkr_brnkz_binli_uidmx_rfcmy_frpmy_itnmy_sstng_tinno_vatno_voecnz_gstom_vatpe_rucph_tinro_tinrs_pibru_innru_kppsa_vatsg_gstsg_uensi_tinsv_nitth_vattr_tintw_vatua_vatus_einuy_rucve_rifvn_tinza_vattypevalueN)__name__
__module____qualname__r
   r   str__annotations__r	    r`   r`   _/var/www/html/Trade-python/venv/lib/python3.10/site-packages/stripe/_customer_tax_id_service.pyCreateParams   s   
 Lrb   c                   @   s   e Zd ZdS )!CustomerTaxIdService.DeleteParamsN)r[   r\   r]   r`   r`   r`   ra   DeleteParamsf   s    rd   c                   @   sH   e Zd ZU ee ed< 	 eee  ed< 	 ee ed< 	 ee ed< dS )CustomerTaxIdService.ListParamsending_beforer   limitstarting_afterN)r[   r\   r]   r
   r^   r_   r   intr`   r`   r`   ra   
ListParamsi   s   
 rj   c                   @   s   e Zd ZU eee  ed< dS )#CustomerTaxIdService.RetrieveParamsr   N)r[   r\   r]   r
   r   r^   r_   r`   r`   r`   ra   RetrieveParams{   s   
 rl   customeridparamsrc   optionsreturnc              	   C   ,   t t| jddjt|t|dd||dS )4
        Deletes an existing tax_id object.
        delete%/v1/customers/{customer}/tax_ids/{id}rm   rn   apibase_addressro   rp   r   r   _requestformatr   selfrm   rn   ro   rp   r`   r`   ra   rt         
zCustomerTaxIdService.deletec              	      4   t t| jddjt|t|dd||dI dH S )rs   rt   ru   rv   rw   rx   Nr   r   _request_asyncr|   r   r}   r`   r`   ra   delete_async      

z!CustomerTaxIdService.delete_asyncrk   c              	   C   rr   )H
        Retrieves the tax_id object with the given identifier.
        getru   rv   rw   rx   rz   r}   r`   r`   ra   retrieve   r   zCustomerTaxIdService.retrievec              	      r   )r   r   ru   rv   rw   rx   Nr   r}   r`   r`   ra   retrieve_async   r   z#CustomerTaxIdService.retrieve_asyncre   c              	   C   s*   t tt | jddjt|dd||dS );
        Returns a list of tax IDs for a customer.
        r    /v1/customers/{customer}/tax_idsrm   rw   rx   )r   r   r   r{   r|   r   r~   rm   ro   rp   r`   r`   ra   list   s   	zCustomerTaxIdService.listc              	      s2   t tt | jddjt|dd||dI dH S )r   r   r   r   rw   rx   N)r   r   r   r   r|   r   r   r`   r`   ra   
list_async   s   	
zCustomerTaxIdService.list_asyncr   c              	   C   s&   t t| jddjt|dd||dS )=
        Creates a new tax_id object for a customer.
        postr   r   rw   rx   rz   r   r`   r`   ra   create  s   	zCustomerTaxIdService.createc              	      s.   t t| jddjt|dd||dI dH S )r   r   r   r   rw   rx   Nr   r   r`   r`   ra   create_async#  s   	
z!CustomerTaxIdService.create_asyncN)r[   r\   r]   r   rb   rd   rj   rl   r^   r   r   rt   r   r   r   r   r   r   r   r   r`   r`   r`   ra   r      s    Y







r   N)stripe._list_objectr   stripe._request_optionsr   stripe._stripe_servicer   stripe._tax_idr   stripe._utilr   typingr   r   typing_extensionsr	   r
   r   r   r`   r`   r`   ra   <module>   s   