
    +hO                         d dl mZ d dlmZ d dlmZmZ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 d dlmZ d d	lmZ d d
lmZ d dlmZ  G d de      Zy)    )ExpandableField)StripeObject)ClassVarDictListOptional)LiteralTYPE_CHECKING)Discount)InvoiceItem)Plan)Price)Subscription)SubscriptionItem)TaxRatec                   F   e Zd ZU dZeed      ed<    G d de      Z G d de      Z	 G d de      Z
 G d	 d
e      Zeed<   	 ee   ed<   	 eed<   	 ee   ed<   	 eee      ed<   	 eed<   	 eeed         ed<   	 eed<   	 eed      ed<   	 eed<   	 eeef   ed<   	 ed   ed<   	 e	ed<   ed   ed<   	 ed   ed<   	 eed<   	 ee
   ed<   	 ee   ed <   	 eed!      ed"<   	 eed#      ed$<   	 eee      ed%<   	 eed&      ed'<   	 ed(   ed)<   	 ee   ed*<   	 ee	e
ed+Zy,)-InvoiceLineItem	line_itemOBJECT_NAMEc                   *    e Zd ZU eed<   	 ed   ed<   y)InvoiceLineItem.DiscountAmountamountr   discountN)__name__
__module____qualname__int__annotations__r        Y/var/www/html/venv/lib/python3.12/site-packages/stripe/api_resources/invoice_line_item.pyDiscountAmountr      s    	 "*--	r    r"   c                   $    e Zd ZU eed<   	 eed<   y)InvoiceLineItem.PeriodendstartN)r   r   r   r   r   r   r    r!   Periodr$      s    	 
	r    r'   c                   >    e Zd ZU  G d de      Zee   ed<   	 deiZy) InvoiceLineItem.ProrationDetailsc                   *    e Zd ZU eed<   	 ee   ed<   y).InvoiceLineItem.ProrationDetails.CreditedItemsinvoiceinvoice_line_itemsN)r   r   r   strr   r   r   r    r!   CreditedItemsr+   *   s    L !%S	)r    r/   credited_itemsN)r   r   r   r   r/   r   r   _inner_class_typesr   r    r!   ProrationDetailsr)   )   s-    	L 	 !//	 />r    r2   c                   `    e Zd ZU eed<   	 eed<   	 ed   ed<   	 eed      ed<   	 ee   ed<   y)	InvoiceLineItem.TaxAmountr   	inclusiver   tax_rate)customer_exemptnot_collectingnot_subject_to_taxnot_supportedportion_product_exemptportion_reduced_ratedportion_standard_ratedproduct_exemptproduct_exempt_holidayproportionally_ratedreduced_ratedreverse_chargestandard_ratedtaxable_basis_reduced
zero_ratedtaxability_reasontaxable_amountN)	r   r   r   r   r   boolr   r   r	   r   r    r!   	TaxAmountr4   :   s\    	 	 "),,	 $
 	
&	 !%	r    rI   r   amount_excluding_taxcurrencydescriptiondiscount_amountsdiscountabler   	discountsidr   invoice_itemlivemodemetadataobjectperiodr   planr   price	prorationproration_detailsquantityr   subscriptionr   subscription_itemtax_amountsr   	tax_rates)invoiceitemr[   typeunit_amount_excluding_tax)rM   rU   rY   r]   N)r   r   r   r   r   r	   r   r   r"   r'   r2   rI   r   r   r.   r   rH   r   r   r1   r   r    r!   r   r      s   2=K'+./=  ?< ?"&L &P K #3-' M # tN344  _Z89:: 	G ?=9:: N 38n K   N
6
 G O   011 sm ?>:;;  0B CDD $y/** Y(( /
00  (},
 +- 	r    r   N)%stripe.api_resources.expandable_fieldr   stripe.stripe_objectr   typingr   r   r   r   typing_extensionsr	   r
   stripe.api_resources.discountr   !stripe.api_resources.invoice_itemr   stripe.api_resources.planr   stripe.api_resources.pricer   !stripe.api_resources.subscriptionr   &stripe.api_resources.subscription_itemr   stripe.api_resources.tax_rater   r   r   r    r!   <module>rm      s=    B - 1 1 46=.0>G5sl sr    