
     h                     j    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eee	          Z
dS )	    )absolute_importdivisionprint_function)util)CreateableAPIResource)ListableAPIResource)UpdateableAPIResourcec                   h    e Zd ZdZdZe	 	 	 dd            Z ej        d          dd            Z	dS )	PaymentLinka#  
    A payment link is a shareable URL that will take your customers to a hosted payment page. A payment link can be shared and used multiple times.

    When a customer opens a payment link it will open a new [checkout session](https://stripe.com/docs/api/checkout/sessions) to render the payment page. You can use [checkout session events](https://stripe.com/docs/api/events/types#event_types-checkout.session.completed) to track payments through payment links.

    Related guide: [Payment Links API](https://stripe.com/docs/payment-links)
    payment_linkNc                     |                      dd                    t          j        |                    ||||          S )Nget+/v1/payment_links/{payment_link}/line_itemsr   )api_keystripe_versionstripe_accountparams)_static_requestformatr   sanitize_id)clsr   r   r   r   r   s         ]/var/www/html/Sam_Eipo/venv/lib/python3.11/site-packages/stripe/api_resources/payment_link.py_cls_list_line_itemsz PaymentLink._cls_list_line_items   sY     ""9@@!-l;; A   )) # 	
 	
 		
    r   c           
          |                      dd                    t          j        |                     d                              ||          S )Nr   r   idr   )idempotency_keyr   )_requestr   r   r   r   )selfr   r   s      r   list_line_itemszPaymentLink.list_line_items.   sY    }}9@@!-dhhtnn== A   ,  
 
 	
r   )NNN)N)
__name__
__module____qualname____doc__OBJECT_NAMEclassmethodr   r   class_method_variantr!    r   r   r   r      s}        
  !K 
 
 
 [
& T566
 
 
 76
 
 
r   r   N)
__future__r   r   r   striper   stripe.api_resources.abstractr   r   r	   r   r)   r   r   <module>r-      s    A @ @ @ @ @ @ @ @ @       ? ? ? ? ? ? = = = = = = ? ? ? ? ? ?,
 ,
 ,
 ,
 ,
,
 ,
 ,
 ,
 ,
r   