o
    Bi                     @   sp   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 G dd	 d	eZd
S )    )LineItem)
ListObject)RequestOptions)StripeService)sanitize_id)Listcast)NotRequired	TypedDictc                
   @   sd   e Zd ZG dd de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
dS )QuoteLineItemServicec                   @   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 )QuoteLineItemService.ListParamsending_beforeexpandlimitstarting_afterN)__name__
__module____qualname__r	   str__annotations__r   int r   r   _/var/www/html/Trade-python/venv/lib/python3.10/site-packages/stripe/_quote_line_item_service.py
ListParams   s   
 r   quoteparamsr   optionsreturnc              	   C   s*   t tt | jddjt|dd||dS )
        When retrieving a quote, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.
        get/v1/quotes/{quote}/line_itemsr   apibase_addressr   r   )r   r   r   _requestformatr   selfr   r   r   r   r   r   list   s   	zQuoteLineItemService.listc              	      s2   t tt | jddjt|dd||dI dH S )r   r   r    r!   r"   r#   N)r   r   r   _request_asyncr&   r   r'   r   r   r   
list_async5   s   	
zQuoteLineItemService.list_asyncN)r   r   r   r
   r   r   r   r   r   r)   r+   r   r   r   r   r      s0    
r   N)stripe._line_itemr   stripe._list_objectr   stripe._request_optionsr   stripe._stripe_servicer   stripe._utilr   typingr   r   typing_extensionsr	   r
   r   r   r   r   r   <module>   s   