
    _j                         d dl mZ d dlmZ d dlmZmZ d dlmZm	Z	 e	rd dl
mZ d dlmZ d dlmZ  G d d	e          Zd
S )    )ExpandableField)StripeObject)ClassVarOptional)LiteralTYPE_CHECKING)Coupon)Customer)PromotionCodec                      e Zd ZU dZdZeed                  ed<    G d de          Z	e
e         ed<   	 e
ed                  ed<   	 e
e         ed	<   	 e
ed
                  ed<   	 e
e         ed<   	 eed<   	 e
e         ed<   	 e
e         ed<   	 ed         ed<   	 e
ed                  ed<   	 e	ed<   eed<   	 e
e         ed<   	 e
e         ed<   	 de	iZdS )Discounta|  
    A discount represents the actual application of a [coupon](https://api.stripe.com#coupons) or [promotion code](https://api.stripe.com#promotion_codes).
    It contains information about when the discount began, when it will end, and what it is applied to.

    Related guide: [Applying discounts to subscriptions](https://docs.stripe.com/billing/subscriptions/discounts)
    discountOBJECT_NAMEc                   J    e Zd ZU eed                  ed<   	 ed         ed<   dS )Discount.Sourcer	   coupontypeN)__name__
__module____qualname__r   r   __annotations__r        T/var/www/app.qaans.com/backend/venv/lib/python3.11/site-packages/stripe/_discount.pySourcer      sD         23333	 h	 	r   r   checkout_sessionr
   customercustomer_accountTdeletedendidinvoiceinvoice_itemobjectr   promotion_codesourcestartsubscriptionsubscription_itemN)r   r   r   __doc__r   r   r   r   r   r   r   strr   int_inner_class_typesr   r   r   r   r      s          2<K'*-.;;;        sm### z23333 sm### gdm$$$$ 
# 	GGG c] 3- J __=>>>> NNNJJJ 3-  }$$$ #F+r   r   N)stripe._expandable_fieldr   stripe._stripe_objectr   typingr   r   typing_extensionsr   r   stripe._couponr	   stripe._customerr
   stripe._promotion_coder   r   r   r   r   <module>r5      s    5 4 4 4 4 4 . . . . . . % % % % % % % % 4 4 4 4 4 4 4 4 5%%%%%%))))))444444I, I, I, I, I,| I, I, I, I, I,r   