
    Ai1                     ~    d dl mZ d dlmZ d dl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  G d d	e      Zy
)    )ExpandableField)StripeObject)ClassVarListOptional)LiteralTYPE_CHECKING)Discount)TaxRate)CreditBalanceTransactionc                   v   e Zd ZU dZdZeed      ed<    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d<   	 ee   ed<   	 eed<   	 ed   ed<   	 ee
   ed<   	 ee   ed<   	 ed   ed<   	 eee      ed<   	 ed   ed<   	 ee   ed<   	 ee   ed<   	 e	e
edZy)CreditNoteLineItemz*
    The credit note line item object
    credit_note_line_itemOBJECT_NAMEc                   *    e Zd ZU eed<   	 ed   ed<   y)!CreditNoteLineItem.DiscountAmountamountr
   discountN)__name__
__module____qualname__int__annotations__r        P/var/www/html/immo/lib/python3.12/site-packages/stripe/_credit_note_line_item.pyDiscountAmountr      s    	 "*--	r   r   c                   Z    e Zd ZU eed<   	 eed      ed<   	 eed      ed<   	 ed   ed<   y)	%CreditNoteLineItem.PretaxCreditAmountr   r   credit_balance_transactionr
   r   )r    r   typeN)r   r   r   r   r   r   r   r   r   r   r   PretaxCreditAmountr   #   sS    	 %-67%
 	
	 ?:677	 >??	r   r"   c                       e Zd ZU  G d de      Zeed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed	<   	 ed   ed
<   	 deiZ	y)CreditNoteLineItem.Taxc                       e Zd ZU eed<   y)%CreditNoteLineItem.Tax.TaxRateDetailstax_rateN)r   r   r   strr   r   r   r   TaxRateDetailsr&   8   s    Mr   r)   r   )	exclusive	inclusivetax_behaviortax_rate_details)customer_exemptnot_available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_amountr!   N)
r   r   r   r   r)   r   r   r   r   _inner_class_typesr   r   r   Taxr$   7   s    	\ 	 	 677	 #>22	 #
 	
$	 !%	 ())	 1.Ar   rA   r   descriptiondiscount_amountdiscount_amountsidinvoice_line_itemlivemodeobjectpretax_credit_amountsquantityr   	tax_ratestaxes)custom_line_itemrF   r!   unit_amountunit_amount_decimal)rD   rI   rL   N)r   r   r   __doc__r   r   r   r   r   r   r"   rA   r   r   r(   r   boolr@   r   r   r   r   r      sU   
 	  '"9:;  \ (-Bl -B^ K #  >** 	G  }$ N +,,   233 sm I DI 9
:: # "#& +!3r   r   N)stripe._expandable_fieldr   stripe._stripe_objectr   typingr   r   r   typing_extensionsr   r	   stripe._discountr
   stripe._tax_rater   *stripe.billing._credit_balance_transactionr   r   r   r   r   <module>rY      s2    5 . + + 4)(
V Vr   