o
    éË·ez  ã                   @   sX   d dl mZmZ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„ deƒZdS )	é    )Úabsolute_importÚdivisionÚprint_function)Úutil)ÚAPIResource)ÚCustomer)Ú
quote_plusc                   @   s*   e Zd ZdZdZdd„ Zeddd„ƒZdS )	ÚTaxIda,  
    You can add one or multiple tax IDs to a [customer](https://stripe.com/docs/api/customers).
    A customer's tax IDs are displayed on invoices and credit notes issued for the customer.

    Related guide: [Customer Tax Identification Numbers](https://stripe.com/docs/billing/taxes/tax-ids).
    Útax_idc                 C   s>   t  | j¡}t  | j¡}t ¡ }t|ƒ}t|ƒ}d|||f S )Nz%s/%s/tax_ids/%s)r   Úutf8ÚidÚcustomerr   Ú	class_urlr   )ÚselfÚtokenr   ÚbaseÚ	cust_extnÚextn© r   úR/var/www/ideatree/venv/lib/python3.10/site-packages/stripe/api_resources/tax_id.pyÚinstance_url   s   zTaxId.instance_urlNc                 K   s   t dƒ‚)NzUCan't retrieve a tax id without a customer ID. Use customer.retrieve_tax_id('tax_id'))ÚNotImplementedError)Úclsr   Úapi_keyÚparamsr   r   r   Úretrieve   s   ÿzTaxId.retrieve)N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚOBJECT_NAMEr   Úclassmethodr   r   r   r   r   r	   
   s    r	   N)Ú
__future__r   r   r   Ústriper   Ústripe.api_resources.abstractr   Ústripe.api_resources.customerr   Ústripe.six.moves.urllib.parser   r	   r   r   r   r   Ú<module>   s   