o
    Ái*  ã                   @   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< G dd„ deƒZ	e
e ed< 	 e
e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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://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_NAMEc                   @   s,   e Zd ZU eed  ed< 	 ed ed< dS )zDiscount.Sourcer   ÚcouponÚtypeN)Ú__name__Ú
__module__Ú__qualname__r   r   Ú__annotations__r   © r   r   úp/var/www/snowflake_co_dev_github/snow_flake_back_end_deploy/env/lib/python3.10/site-packages/stripe/_discount.pyÚSource   s
   
 r   Úcheckout_sessionr	   ÚcustomerTÚ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<   
 
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   