Ë
    <@‹gx  ã                   ó�   — 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	m
Z
mZ d dlmZmZmZmZmZ erd dlmZ  G d„ d	ed	   «      Zy
)é    )ÚExpandableField)ÚRequestOptions)ÚSingletonAPIResource)ÚStripeObject)ÚClassVarÚListÚOptional)ÚLiteralÚNotRequiredÚ	TypedDictÚUnpackÚTYPE_CHECKING)ÚCustomerc                   ó  — 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 G d
„ de«      Zee	   ed<   	 ed   ed<   	 eed<   	 ed   ed<   	 eded   dd fd„«       Zeded   dd fd„«       Zed„ «       Zde	iZy)ÚCreditBalanceSummaryzY
    Indicates the billing credit balance for billing credits granted to a customer.
    zbilling.credit_balance_summaryÚOBJECT_NAMEc                   óX   — e Zd ZU  G d„ de«      Z G d„ de«      Zeed<   eed<   eedœZy)	úCreditBalanceSummary.Balancec                   óP   — e Zd ZU  G d„ de«      Zee   ed<   	 ed   ed<   	 deiZy)ú-CreditBalanceSummary.Balance.AvailableBalancec                   ó$   — e Zd ZU eed<   	 eed<   y)ú6CreditBalanceSummary.Balance.AvailableBalance.MonetaryÚcurrencyÚvalueN©Ú__name__Ú
__module__Ú__qualname__ÚstrÚ__annotations__Úint© ó    úe/var/www/html/AdoubleTech/venv/lib/python3.12/site-packages/stripe/billing/_credit_balance_summary.pyÚMonetaryr      ó   … Ø“ðð “
ðr#   r%   ÚmonetaryÚtypeN©	r   r   r   r   r%   r	   r    r
   Ú_inner_class_typesr"   r#   r$   ÚAvailableBalancer      ó?   … ô˜<ô ð ˜xÑ(Ó(ðð ˜*Ñ%Ó%ðð #-¨hÐ!7Ñr#   r+   c                   óP   — e Zd ZU  G d„ de«      Zee   ed<   	 ed   ed<   	 deiZy)ú*CreditBalanceSummary.Balance.LedgerBalancec                   ó$   — e Zd ZU eed<   	 eed<   y)ú3CreditBalanceSummary.Balance.LedgerBalance.Monetaryr   r   Nr   r"   r#   r$   r%   r0   4   r&   r#   r%   r'   r(   Nr)   r"   r#   r$   ÚLedgerBalancer.   3   r,   r#   r1   Úavailable_balanceÚledger_balance)r2   r3   N)r   r   r   r   r+   r1   r    r*   r"   r#   r$   ÚBalancer      s6   … ô	8˜|ô 	8ô*	8˜Lô 	8ð* ,Ó+Ø%Ó%à!1Ø+ñ
Ñr#   r4   c                   ó<   — e Zd ZU eed<   	 eee      ed<   	 ded<   y)ú#CreditBalanceSummary.RetrieveParamsÚcustomerÚexpandú)CreditBalanceSummary.RetrieveParamsFilterÚfilterN)r   r   r   r   r    r   r   r"   r#   r$   ÚRetrieveParamsr6   O   s/   … Ø‹ð	ð ˜D ™IÑ&Ó&ð	ð <Ó;ð	r#   r;   c                   óB   — e Zd ZU ed   ed<   	 ee   ed<   	 ed   ed<   y)r9   ú;CreditBalanceSummary.RetrieveParamsFilterApplicabilityScopeÚapplicability_scopeÚcredit_grant)r>   r?   r(   N)r   r   r   r   r    r   r
   r"   r#   r$   ÚRetrieveParamsFilterz)CreditBalanceSummary.RetrieveParamsFilter]   s<   … Ø(ØIñ
ó 	
ð	ð " #Ñ&Ó&ð	ð Ð;Ñ<Ó<ð	r#   r@   c                   ó   — e Zd ZU ed   ed<   y)r=   ÚmeteredÚ
price_typeN)r   r   r   r
   r    r"   r#   r$   Ú&RetrieveParamsFilterApplicabilityScopez;CreditBalanceSummary.RetrieveParamsFilterApplicabilityScopem   s   … Ø˜IÑ&Ó&ð	r#   rD   Úbalancesr   r7   ÚlivemodeÚobjectÚparamsr6   Úreturnc                 ó6   —  | di |¤Ž}|j                  «        |S )úF
        Retrieves the credit balance summary for a customer.
        ©N)Úrefresh©ÚclsrH   Úinstances      r$   ÚretrievezCreditBalanceSummary.retrieve„   s"   € ñ Ñ&˜vÑ&ˆØ×ÑÔØˆr#   c              ‹   óR   K  —  | di |¤Ž}|j                  «       ƒ d{  –—†  |S 7 Œ­w)rK   NrL   )Úrefresh_asyncrN   s      r$   Úretrieve_asyncz#CreditBalanceSummary.retrieve_async�   s1   è ø€ ñ Ñ&˜vÑ&ˆØ×$Ñ$Ó&×&Ð&Øˆð 	'ús   ‚'ž%Ÿ'c                  ó   — y)Nz"/v1/billing/credit_balance_summaryr"   )rO   s    r$   Ú	class_urlzCreditBalanceSummary.class_urlš   s   € à3r#   N)r   r   r   Ú__doc__r   r   r
   r    r   r4   r   r;   r   r@   rD   r   r   ÚboolÚclassmethodr   rQ   rT   rV   r*   r"   r#   r$   r   r      s  … ñð
 	)ð �˜'Ð"BÑCÑDó ô0
�,ô 0
ôd˜ô ô˜yô ô °ô ð �7‰mÓðð ˜jÑ)Ó)ðð ƒNðð Ð4Ñ5Ó5ðð ðØÐCÑDðà	òó ðð ðØÐCÑDðà	òó ðð ñ4ó ð4ð % gÐ.Ñr#   r   N)Ústripe._expandable_fieldr   Ústripe._request_optionsr   Ústripe._singleton_api_resourcer   Ústripe._stripe_objectr   Útypingr   r   r	   Útyping_extensionsr
   r   r   r   r   Ústripe._customerr   r   r"   r#   r$   ú<module>ra      s@   ðõ 5Ý 2Ý ?Ý .ß +Ñ +÷õ ñ Ý)ôJ/Ð/Ð0FÑGõ J/r#   