o
    Ái’   ã                   @   s€   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	r6d dl
mZ d 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)ÚBalanceTransaction)ÚCustomer)ÚPaymentIntent)ÚRefundc                   @   sF  e Zd ZU dZdZeed  ed< G dd„ deƒZ	G dd„ deƒZ
G dd	„ d	eƒZG d
d„ deƒZG dd„ deƒZG dd„ deƒZee	 ed< ee
 ed< eed< 	 eed< 	 ed ed< 	 eed< 	 ee ed< eed< 	 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d < e	e
eeeed!œZd"S )#ÚCustomerCashBalanceTransactionas  
    Customers with certain payments enabled have a cash balance, representing funds that were paid
    by the customer to a merchant, but have not yet been allocated to a payment. Cash Balance Transactions
    represent when funds are moved into or out of this balance. This includes funding by the customer, allocation
    to payments, and refunds to the customer.
    Ú!customer_cash_balance_transactionÚOBJECT_NAMEc                   @   s(   e Zd ZU ed ed< 	 ed ed< dS )z3CustomerCashBalanceTransaction.AdjustedForOverdraftr   Úbalance_transactionr   Úlinked_transactionN©Ú__name__Ú
__module__Ú__qualname__r   Ú__annotations__© r   r   ú‰/var/www/snowflake_co_dev_github/snow_flake_back_end_deploy/env/lib/python3.10/site-packages/stripe/_customer_cash_balance_transaction.pyÚAdjustedForOverdraft   s
   
 r   c                   @   ó   e Zd ZU ed ed< dS )z/CustomerCashBalanceTransaction.AppliedToPaymentr
   Úpayment_intentNr   r   r   r   r   ÚAppliedToPayment%   ó   
 r   c                   @   s.   e Zd ZU G dd„ deƒZeed< deiZdS )z%CustomerCashBalanceTransaction.Fundedc                   @   s¨   e Zd ZU G dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZee e	d	< ee e	d
< ee e	d< ee
 e	d< 	 ed e	d< 	 ee e	d< eeeedœZdS )z2CustomerCashBalanceTransaction.Funded.BankTransferc                   @   ó6   e Zd ZU ee ed< 	 ee ed< 	 ee ed< dS )zACustomerCashBalanceTransaction.Funded.BankTransfer.EuBankTransferÚbicÚ
iban_last4Úsender_nameN©r   r   r   r   Ústrr   r   r   r   r   ÚEuBankTransfer-   ó   
 r#   c                   @   r   )zACustomerCashBalanceTransaction.Funded.BankTransfer.GbBankTransferÚaccount_number_last4r    Ú	sort_codeNr!   r   r   r   r   ÚGbBankTransfer;   r$   r'   c                   @   r   )zACustomerCashBalanceTransaction.Funded.BankTransfer.JpBankTransferÚsender_bankÚsender_branchr    Nr!   r   r   r   r   ÚJpBankTransferI   r$   r*   c                   @   s,   e Zd ZU eed  ed< 	 ee ed< dS )zACustomerCashBalanceTransaction.Funded.BankTransfer.UsBankTransfer)ÚachÚdomestic_wire_usÚswiftÚnetworkr    N)r   r   r   r   r   r   r"   r   r   r   r   ÚUsBankTransferW   s
   
 r/   Úeu_bank_transferÚgb_bank_transferÚjp_bank_transferÚ	reference)r0   r1   r2   Úmx_bank_transferÚus_bank_transferÚtyper5   )r0   r1   r2   r5   N)r   r   r   r   r#   r'   r*   r/   r   r   r"   r   Ú_inner_class_typesr   r   r   r   ÚBankTransfer,   s(   
 
ÿ
ür8   Úbank_transferN)r   r   r   r   r8   r   r7   r   r   r   r   ÚFunded+   s   
 Nr:   c                   @   r   )z2CustomerCashBalanceTransaction.RefundedFromPaymentr   ÚrefundNr   r   r   r   r   ÚRefundedFromPayment}   r   r<   c                   @   r   )z3CustomerCashBalanceTransaction.TransferredToBalancer   r   Nr   r   r   r   r   ÚTransferredToBalanceƒ   r   r=   c                   @   r   )z3CustomerCashBalanceTransaction.UnappliedFromPaymentr
   r   Nr   r   r   r   r   ÚUnappliedFromPayment‰   r   r>   Úadjusted_for_overdraftÚapplied_to_paymentÚcreatedÚcurrencyr	   ÚcustomerÚending_balanceÚfundedÚidÚlivemodeÚ
net_amountÚobjectÚrefunded_from_paymentÚtransferred_to_balance)	r?   r@   rE   Úfunding_reversedrJ   Úreturn_canceledÚreturn_initiatedrK   Úunapplied_from_paymentr6   rO   )r?   r@   rE   rJ   rK   rO   N)r   r   r   Ú__doc__r   r   r   r   r   r   r   r:   r<   r=   r>   r   Úintr"   r   Úboolr7   r   r   r   r   r      sV   
 ÿ
Rÿ
úr   N)Ústripe._expandable_fieldr   Ústripe._stripe_objectr   Útypingr   r   Útyping_extensionsr   r   Ústripe._balance_transactionr   Ústripe._customerr	   Ústripe._payment_intentr
   Ústripe._refundr   r   r   r   r   r   Ú<module>   s   