o
    éË·e€  ã                   @   s^   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eeeƒZ	dS )	é    )Úabsolute_importÚdivisionÚprint_function)ÚCreateableAPIResource)ÚListableAPIResource)ÚSearchableAPIResource)ÚUpdateableAPIResourcec                   @   s,   e Zd ZdZdZedd„ ƒZedd„ ƒZdS )ÚPriceal  
    Prices define the unit cost, currency, and (optional) billing cycle for both recurring and one-time purchases of products.
    [Products](https://stripe.com/docs/api#products) help you track inventory or provisioning, and prices help you track payment terms. Different physical goods or levels of service should be represented by products, and pricing options should be represented by prices. This approach lets you change prices without having to change your provisioning scheme.

    For example, you might have a single "gold" product that has prices for $10/month, $100/year, and EUR 9 once.

    Related guides: [Set up a subscription](https://stripe.com/docs/billing/subscriptions/set-up-subscription), [create an invoice](https://stripe.com/docs/billing/invoices/create), and more about [products and prices](https://stripe.com/docs/products-prices/overview).
    Úpricec                 O   s   | j |ddi|¤ŽS )NÚ
search_urlz/v1/prices/search)Ú_search©ÚclsÚargsÚkwargs© r   úQ/var/www/ideatree/venv/lib/python3.10/site-packages/stripe/api_resources/price.pyÚsearch   ó   zPrice.searchc                 O   s   | j |i |¤Ž ¡ S )N)r   Úauto_paging_iterr   r   r   r   Úsearch_auto_paging_iter   r   zPrice.search_auto_paging_iterN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚOBJECT_NAMEÚclassmethodr   r   r   r   r   r   r	   
   s    	
r	   N)
Ú
__future__r   r   r   Ústripe.api_resources.abstractr   r   r   r   r	   r   r   r   r   Ú<module>   s   
ü