o
    ¼Bi)  ã                   @   st   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	r0d dl
mZ d dlmZ d dlmZ G dd	„ d	eƒZd
S )é    )ÚExpandableField)ÚStripeObject)ÚClassVarÚOptional)ÚLiteralÚTYPE_CHECKING)ÚCoupon)ÚCustomer)ÚPromotionCodec                   @   sÚ   e Zd ZU dZdZeed  ed< ee	 ed< 	 d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	 ed< 	 ee	 ed< 	 eed  ed< dS )ÚDiscounta†  
    A discount represents the actual application of a [coupon](https://stripe.com/docs/api#coupons) or [promotion code](https://stripe.com/docs/api#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://stripe.com/docs/billing/subscriptions/discounts)
    ÚdiscountÚOBJECT_NAMEÚcheckout_sessionr   Úcouponr	   ÚcustomerÚendÚidÚinvoiceÚinvoice_itemÚobjectr
   Úpromotion_codeÚstartÚsubscriptionÚsubscription_itemTÚdeletedN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   Ú__annotations__r   Ústrr   Úint© r"   r"   úP/var/www/html/Trade-python/venv/lib/python3.10/site-packages/stripe/_discount.pyr      s:   
 r   N)Ústripe._expandable_fieldr   Ústripe._stripe_objectr   Útypingr   r   Útyping_extensionsr   r   Ústripe._couponr   Ústripe._customerr	   Ústripe._promotion_coder
   r   r"   r"   r"   r#   Ú<module>   s   