a
    ù!f¹  ã                   @   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	r`d 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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)
    ZdiscountÚOBJECT_NAMEZcheckout_sessionr   Zcouponr	   ZcustomerÚendÚidZinvoiceZinvoice_itemÚobjectr
   Zpromotion_codeÚstartZsubscriptionTZdeletedN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   Ú__annotations__r   Ústrr   Úint© r   r   ú^/var/www/html/python-backend/venv/lib/python3.9/site-packages/stripe/api_resources/discount.pyr      s   
r   N)Z%stripe.api_resources.expandable_fieldr   Zstripe.stripe_objectr   Útypingr   r   Ztyping_extensionsr   r   Zstripe.api_resources.couponr   Zstripe.api_resources.customerr	   Z#stripe.api_resources.promotion_coder
   r   r   r   r   r   Ú<module>   s   