o
    Bi                     @   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)sanitize_id)PhysicalBundle)Listcast)LiteralNotRequired	TypedDictc                	   @   s   e Zd ZG dd deZG dd deZi i fdddedee fd	d
Z	i i fdddedee fddZ
i i fdedddedefddZi i fdedddedefddZdS )PhysicalBundleServicec                   @   sl   e Zd ZU ee ed< 	 eee  ed< 	 ee ed< 	 ee ed< 	 eed  ed< 	 eed  ed< d	S )
 PhysicalBundleService.ListParamsending_beforeexpandlimitstarting_after)activeinactivereviewstatus)customstandardtypeN)	__name__
__module____qualname__r
   str__annotations__r   intr	    r   r   g/var/www/html/Trade-python/venv/lib/python3.10/site-packages/stripe/issuing/_physical_bundle_service.py
ListParams   s   
 r!   c                   @   s   e Zd ZU eee  ed< dS )$PhysicalBundleService.RetrieveParamsr   N)r   r   r   r
   r   r   r   r   r   r   r    RetrieveParams'   s   
 r#   paramsr   optionsreturnc              	   C   s   t tt | jddd||dS )
        Returns a list of physical bundle objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
        get/v1/issuing/physical_bundlesapibase_addressr$   r%   )r   r   r   _requestselfr$   r%   r   r   r    list-   s   zPhysicalBundleService.listc              	      s&   t tt | jddd||dI dH S )r'   r(   r)   r*   r+   N)r   r   r   _request_asyncr.   r   r   r    
list_async@   s   
z PhysicalBundleService.list_asyncphysical_bundler"   c              	   C   s&   t t| jddjt|dd||dS )5
        Retrieves a physical bundle object.
        r(   ./v1/issuing/physical_bundles/{physical_bundle}r3   r*   r+   )r   r   r-   formatr   r/   r3   r$   r%   r   r   r    retrieveS   s   	zPhysicalBundleService.retrievec              	      s.   t t| jddjt|dd||dI dH S )r4   r(   r5   r6   r*   r+   N)r   r   r1   r7   r   r8   r   r   r    retrieve_asynci   s   	
z$PhysicalBundleService.retrieve_asyncN)r   r   r   r   r!   r#   r   r   r   r0   r2   r   r9   r:   r   r   r   r    r      sV    


r   N)stripe._list_objectr   stripe._request_optionsr   stripe._stripe_servicer   stripe._utilr   stripe.issuing._physical_bundler   typingr   r   typing_extensionsr	   r
   r   r   r   r   r   r    <module>   s   