
    +h                     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	 e	rd dl
mZ d dlmZ d dlmZ  G d d	e      Zy
)    )ExpandableField)StripeObject)ClassVarOptional)LiteralTYPE_CHECKING)Coupon)Customer)PromotionCodec                      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<   y)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subscriptionTdeletedN)__name__
__module____qualname____doc__r   r   r   __annotations__r   strr   int     P/var/www/html/venv/lib/python3.12/site-packages/stripe/api_resources/discount.pyr   r      s     2<K'*-.;sm# 
 z233 
# 	G c] 3- J __=>> J 3- gdm$$r$   r   N)%stripe.api_resources.expandable_fieldr   stripe.stripe_objectr   typingr   r   typing_extensionsr   r   stripe.api_resources.couponr	   stripe.api_resources.customerr
   #stripe.api_resources.promotion_coder   r   r#   r$   r%   <module>r-      s,    B - % 426A:| :r$   