o
    i                    @   s   d dl mZ d dlmZ d dlmZ d dlmZmZ d dl	m
Z
mZmZmZmZmZ d dlmZmZmZ errd 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! d dl"m#Z# d dl$m%Z% d dl&m'Z' G dd ded Z(dS )    )APIResource)ExpandableField)StripeObject)class_method_variantsanitize_id)ClassVarDictListOptionalcastoverload)LiteralUnpackTYPE_CHECKING)Mandate)PaymentMethod)/PaymentRecordReportPaymentAttemptCanceledParams)-PaymentRecordReportPaymentAttemptFailedParams)1PaymentRecordReportPaymentAttemptGuaranteedParams)4PaymentRecordReportPaymentAttemptInformationalParams)'PaymentRecordReportPaymentAttemptParams) PaymentRecordReportPaymentParams)PaymentRecordReportRefundParams)PaymentRecordRetrieveParamsc                   @   s  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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d< 	 e
ed< 	 eed< 	 eed< 	 eed< 	 eed< 	 eed < 	 ee ed!< 	 eed"< 	 ee ed#< 	 eed$  ed%< 	 ee ed&< 	 eed'< 	 ee ed(< 	 eed)< 	 eeef ed*< 	 ed ed+< 	 ee ed,< 	 eed-< 	 ee ed.< 	 ed/ed0 d1d fd2d3Zed/ed0 d1d fd4d5Zed'ed/ed6 d1d fd7d8Zeed'ed/ed6 d1d fd9d:Z ed/ed6 d1d fd;d:Z e!d<d/ed6 d1d fd=d:Z ed'ed/ed6 d1d fd>d?Z"eed'ed/ed6 d1d fd@dAZ#ed/ed6 d1d fdBdAZ#e!dCd/ed6 d1d fdDdAZ#ed'ed/edE d1d fdFdGZ$eed'ed/edE d1d fdHdIZ%ed/edE d1d fdJdIZ%e!dKd/edE d1d fdLdIZ%ed'ed/edE d1d fdMdNZ&eed'ed/edE d1d fdOdPZ'ed/edE d1d fdQdPZ'e!dRd/edE d1d fdSdPZ'ed'ed/edT d1d fdUdVZ(eed'ed/edT d1d fdWdXZ)ed/edT d1d fdYdXZ)e!dZd/edT d1d fd[dXZ)ed'ed/edT d1d fd\d]Z*eed'ed/edT d1d fd^d_Z+ed/edT d1d fd`d_Z+e!dad/edT d1d fdbd_Z+ed'ed/edc d1d fdddeZ,eed'ed/edc d1d fdfdgZ-ed/edc d1d fdhdgZ-e!did/edc d1d fdjdgZ-ed'ed/edc d1d fdkdlZ.eed'ed/edc d1d fdmdnZ/ed/edc d1d fdodnZ/e!dpd/edc d1d fdqdnZ/ed'ed/edr d1d fdsdtZ0eed'ed/edr d1d fdudvZ1ed/edr d1d fdwdvZ1e!dxd/edr d1d fdydvZ1ed'ed/edr d1d fdzd{Z2eed'ed/edr d1d fd|d}Z3ed/edr d1d fd~d}Z3e!dd/edr d1d fdd}Z3ed'ed/ed d1d fddZ4eed'ed/ed d1d fddZ5ed/ed d1d fddZ5e!dd/ed d1d fddZ5ed'ed/ed d1d fddZ6eed'ed/ed d1d fddZ7ed/ed d1d fddZ7e!dd/ed d1d fddZ7ed'ed/ed d1d fddZ8ed'ed/ed d1d fddZ9e	e
eeeeeeeeedZ:dS )PaymentRecorda  
    A Payment Record is a resource that allows you to represent payments that occur on- or off-Stripe.
    For example, you can create a Payment Record to model a payment made on a different payment processor,
    in order to mark an Invoice as paid and a Subscription as active. Payment Records consist of one or
    more Payment Attempt Records, which represent individual attempts made on a payment network.
    payment_recordOBJECT_NAMEc                   @       e Zd ZU eed< 	 eed< dS )zPaymentRecord.AmountcurrencyvalueN__name__
__module____qualname__str__annotations__int r'   r'   v/var/www/snowflake_co_dev_github/snow_flake_back_end_deploy/env/lib/python3.10/site-packages/stripe/_payment_record.pyAmount1   
   
 r)   c                   @   r   )zPaymentRecord.AmountAuthorizedr   r   Nr    r'   r'   r'   r(   AmountAuthorized;   r*   r+   c                   @   r   )zPaymentRecord.AmountCanceledr   r   Nr    r'   r'   r'   r(   AmountCanceledE   r*   r,   c                   @   r   )zPaymentRecord.AmountFailedr   r   Nr    r'   r'   r'   r(   AmountFailedO   r*   r-   c                   @   r   )zPaymentRecord.AmountGuaranteedr   r   Nr    r'   r'   r'   r(   AmountGuaranteedY   r*   r.   c                   @   r   )zPaymentRecord.AmountRefundedr   r   Nr    r'   r'   r'   r(   AmountRefundedc   r*   r/   c                   @   r   )zPaymentRecord.AmountRequestedr   r   Nr    r'   r'   r'   r(   AmountRequestedm   r*   r0   c                   @   D   e Zd ZU ee ed< 	 ee ed< 	 ee ed< 	 ee ed< dS )zPaymentRecord.CustomerDetailscustomeremailnamephoneNr!   r"   r#   r
   r$   r%   r'   r'   r'   r(   CustomerDetailsw      
 r7   c                	   @   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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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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G d-d. d.eZG d/d0 d0eZG d1d2 d2eZG d3d4 d4eZG d5d6 d6eZG d7d8 d8eZG d9d: d:eZ G d;d< d<eZ!G d=d> d>eZ"G d?d@ d@eZ#G dAdB dBeZ$G dCdD dDeZ%G dEdF dFeZ&G dGdH dHeZ'G dIdJ dJeZ(G dKdL dLeZ)G dMdN dNeZ*G dOdP dPeZ+G dQdR dReZ,G dSdT dTeZ-G dUdV dVeZ.G dWdX dXeZ/G dYdZ dZeZ0G d[d\ d\eZ1G d]d^ d^eZ2G d_d` d`eZ3G dadb dbeZ4G dcdd ddeZ5G dedf dfeZ6G dgdh dheZ7G didj djeZ8G dkdl dleZ9G dmdn dneZ:G dodp dpeZ;G dqdr dreZ<G dsdt dteZ=e>e e?du< e>e e?dv< e>e e?dw< e>e e?dx< e>e e?dy< e>e	 e?dz< e>e
 e?d{< e>e e?d|< e>e e?d}< e>e e?d~< e>e e?d< e>e e?d< e>e e?d< 	 e>e e?d< e>e e?d< e>e e?d< 	 e>e e?d< e>e e?d< e>e e?d< e>e e?d< 	 e>e e?d< e>e e?d< e>e e?d< e>e e?d< e>e e?d< e>e e?d< e>e e?d< e>e e?d< e>e  e?d< e>e! e?d< e>e" e?d< e>e# e?d< e>e$ e?d< e>e% e?d< e>e& e?d< e>e' e?d< e>e( e?d< e>e) e?d< e>e* e?d< e>e+ e?d< e>e, e?d< e>e@ e?d< 	 e>e- e?d< e>e. e?d< e>e/ e?d< e>e0 e?d< e>e1 e?d< e>e2 e?d< e>e3 e?d< e>e4 e?d< e>e5 e?d< e>e6 e?d< e>e7 e?d< e>e8 e?d< e>e9 e?d< e@e?d< 	 e>e: e?d< 	 e>e; e?d< e>e< e?d< e>e= e?d< i duedvedwedxedyedze	d{e
d|ed}ed~edededededededei dededededededededededede de!de"de#de$de%i de&de'de(de)de*de+de,de-de.de/de0de1de2de3de4de5de6e7e8e9e:e;e<e=dZAdS )z"PaymentRecord.PaymentMethodDetailsc                   @   r1   )z4PaymentRecord.PaymentMethodDetails.AchCreditTransferaccount_number	bank_namerouting_number
swift_codeNr6   r'   r'   r'   r(   AchCreditTransfer   r8   r=   c                   @   sd   e Zd ZU eed  ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< dS )	z+PaymentRecord.PaymentMethodDetails.AchDebitcompany
individualaccount_holder_typer:   countryfingerprintlast4r;   Nr!   r"   r#   r
   r   r%   r$   r'   r'   r'   r(   AchDebit   s   
 rF   c                   @   `   e Zd ZU ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< dS )z,PaymentRecord.PaymentMethodDetails.AcssDebitr:   rC   institution_numberrD   mandatetransit_numberNr6   r'   r'   r'   r(   	AcssDebit      
 rK   c                   @   6   e Zd ZU ee ed< 	 ee ed< 	 ee ed< dS )z)PaymentRecord.PaymentMethodDetails.Affirmlocationreadertransaction_idNr6   r'   r'   r'   r(   Affirm      
 rQ   c                   @   (   e Zd ZU ee ed< 	 ee ed< dS )z3PaymentRecord.PaymentMethodDetails.AfterpayClearpayorder_id	referenceNr6   r'   r'   r'   r(   AfterpayClearpay   
   
 rV   c                   @   rM   )z)PaymentRecord.PaymentMethodDetails.Alipaybuyer_idrC   rP   Nr6   r'   r'   r'   r(   Alipay   rR   rY   c                   @   @   e Zd ZU G dd deZee ed< ee ed< 	 deiZdS )z'PaymentRecord.PaymentMethodDetails.Almac                   @      e Zd ZU eed< dS )z4PaymentRecord.PaymentMethodDetails.Alma.InstallmentscountN)r!   r"   r#   r&   r%   r'   r'   r'   r(   Installments      
 r]   installmentsrP   N)	r!   r"   r#   r   r]   r
   r%   r$   _inner_class_typesr'   r'   r'   r(   Alma   s   
 ra   c                   @   rZ   )z,PaymentRecord.PaymentMethodDetails.AmazonPayc                   @   D   e Zd ZU G dd deZee ed< eed  ed< 	 deiZdS )z4PaymentRecord.PaymentMethodDetails.AmazonPay.Fundingc                   @   `   e Zd ZU ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< dS )z9PaymentRecord.PaymentMethodDetails.AmazonPay.Funding.CardbrandrB   	exp_monthexp_yearfundingrD   Nr!   r"   r#   r
   r$   r%   r&   r'   r'   r'   r(   Card  rL   ri   cardtypeN	r!   r"   r#   r   ri   r
   r%   r   r`   r'   r'   r'   r(   Funding     
 rm   rg   rP   N	r!   r"   r#   r   rm   r
   r%   r$   r`   r'   r'   r'   r(   	AmazonPay     
 "rp   c                   @   r1   )z.PaymentRecord.PaymentMethodDetails.AuBecsDebit
bsb_numberrC   rD   rI   Nr6   r'   r'   r'   r(   AuBecsDebit.  r8   rs   c                   @   r1   )z,PaymentRecord.PaymentMethodDetails.BacsDebitrC   rD   rI   	sort_codeNr6   r'   r'   r'   r(   	BacsDebit@  r8   ru   c                   @   s   e Zd ZU ee ed< 	 ee ed< 	 ee ed< 	 eed  ed< 	 eed  ed< 	 ee ed< 	 eed	  ed
< 	 ee ed< dS )z-PaymentRecord.PaymentMethodDetails.Bancontact	bank_coder:   bicr   generated_sepa_debitr   generated_sepa_debit_mandate
iban_last4)deenfrnlpreferred_languageverified_nameNr!   r"   r#   r
   r$   r%   r   r   r'   r'   r'   r(   
BancontactR  s"   
 r   c                   @      e Zd ZU ee ed< dS )z)PaymentRecord.PaymentMethodDetails.BillierP   Nr6   r'   r'   r'   r(   Billiev     
 r   c                   @   sZ   e Zd ZU G dd deZeed< 	 ee ed< 	 ee ed< 	 ee ed< 	 deiZdS )z1PaymentRecord.PaymentMethodDetails.BillingDetailsc                   @   rG   )z9PaymentRecord.PaymentMethodDetails.BillingDetails.AddresscityrB   line1line2postal_codestateNr6   r'   r'   r'   r(   Address}  rL   r   addressr3   r4   r5   N	r!   r"   r#   r   r   r%   r
   r$   r`   r'   r'   r'   r(   BillingDetails|  s   
 r   c                   @   r   )z'PaymentRecord.PaymentMethodDetails.BlikrX   Nr6   r'   r'   r'   r(   Blik  r   r   c                   @   r[   )z)PaymentRecord.PaymentMethodDetails.Boletotax_idNr!   r"   r#   r$   r%   r'   r'   r'   r(   Boleto  r^   r   c                   @   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d	 e	d
< 	 e
e e	d< 	 e
e e	d< 	 e
e e	d< 	 ee	d< 	 ee	d< 	 e
e e	d< 	 ed e	d< 	 ee	d< 	 e
e e	d< 	 e
ed	  e	d< 	 e
e e	d< 	 e
e e	d< 	 e
e e	d< 	 e
e e	d< 	 eeeedZdS )z'PaymentRecord.PaymentMethodDetails.Cardc                   @   s>   e Zd ZU eed  ed< eed  ed< eed  ed< dS )z.PaymentRecord.PaymentMethodDetails.Card.Checks)failpassunavailable	uncheckedaddress_line1_checkaddress_postal_code_check	cvc_checkNr!   r"   r#   r
   r   r%   r'   r'   r'   r(   Checks  s   
 r   c                   @   r[   )z4PaymentRecord.PaymentMethodDetails.Card.NetworkTokenusedN)r!   r"   r#   boolr%   r'   r'   r'   r(   NetworkToken  r^   r   c                   @   sN   e Zd ZU eed  ed< eed  ed< eed  ed< eed  ed< d	S )
z4PaymentRecord.PaymentMethodDetails.Card.ThreeDSecure)	challengefrictionlessauthentication_flow)attempt_acknowledgedauthenticatedexemptedfailednot_supportedprocessing_errorresult)	abandonedbypassedcanceledcard_not_enrollednetwork_not_supportedprotocol_errorrejectedresult_reason)z1.0.2z2.1.0z2.2.0versionNr   r'   r'   r'   r(   ThreeDSecure  s   
 
r   c                   @   sh   e Zd ZU 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d< 	 eed	Z	d
S )z.PaymentRecord.PaymentMethodDetails.Card.Walletc                   @   r[   )z7PaymentRecord.PaymentMethodDetails.Card.Wallet.ApplePayrk   Nr   r'   r'   r'   r(   ApplePay  r^   r   c                   @      e Zd ZdS )z8PaymentRecord.PaymentMethodDetails.Card.Wallet.GooglePayNr!   r"   r#   r'   r'   r'   r(   	GooglePay      r   	apple_paydynamic_last4
google_payrk   )r   r   N)
r!   r"   r#   r   r   r   r
   r%   r$   r`   r'   r'   r'   r(   Wallet  s   
 
r   )amexcartes_bancairesdinersdiscover	eftpos_auinteracjcblink
mastercardunionpayunknownvisard   capture_beforechecksrB   re   rf   rC   )creditdebitprepaidr   rg   rD   motonetworknetwork_tokennetwork_transaction_idthree_d_securewallet)r   r   r   r   N)r!   r"   r#   r   r   r   r   r   r   r%   r
   r&   r$   r   r`   r'   r'   r'   r(   ri     s\   
 
ri   c                   @   s  e Zd ZU 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e
 e	d< 	 ee
 e	d< 	 ee
 e	d< 	 ee
 e	d< 	 ee	d< 	 ee	d< 	 ee
 e	d< 	 ee
 e	d< 	 ee
 e	d< 	 ee
 e	d< 	 ee	d< 	 ee
 e	d< 	 ee
 e	d< 	 ee
 e	d< 	 ee
 e	d< 	 ee e	d< 	 ee	d< 	 eee
  e	d< 	 eed  e	d< 	 ee e	d< 	 ee e	d < eeed!Zd"S )#z.PaymentRecord.PaymentMethodDetails.CardPresentc                   @   s,   e Zd ZU ee ed< 	 eed  ed< dS )z6PaymentRecord.PaymentMethodDetails.CardPresent.Offline	stored_atdeferredrk   N)r!   r"   r#   r
   r&   r%   r   r'   r'   r'   r(   Offline]  s
   
 r   c                   @      e Zd ZU eed  ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed	< 	 ee ed
< dS )z6PaymentRecord.PaymentMethodDetails.CardPresent.Receipt)checkingr   r   r   account_typeapplication_cryptogramapplication_preferred_nameauthorization_codeauthorization_response_codecardholder_verification_methoddedicated_file_nameterminal_verification_resultstransaction_status_informationNrE   r'   r'   r'   r(   Receiptg  *   
 r   c                   @   s   e Zd ZU ed ed< dS )z5PaymentRecord.PaymentMethodDetails.CardPresent.Wallet)r   r   samsung_payr   rk   N)r!   r"   r#   r   r%   r'   r'   r'   r(   r     s
   
 r   amount_authorizedrd   brand_productr   cardholder_namerB   descriptionemv_auth_datare   rf   rC   rg   generated_cardiin#incremental_authorization_supportedissuerrD   r   r   offlineovercapture_supportedpreferred_localescontact_emvcontactless_emvcontactless_magstripe_modemagnetic_stripe_fallbackmagnetic_stripe_track2read_methodreceiptr   )r   r   r   N)r!   r"   r#   r   r   r   r   r
   r&   r%   r$   r   r	   r   r`   r'   r'   r'   r(   CardPresent\  sz   
 
(	
r   c                   @   rM   )z*PaymentRecord.PaymentMethodDetails.CashapprX   cashtagrP   Nr6   r'   r'   r'   r(   Cashapp  rR   r   c                   @   sL   e Zd ZU ee ed< 	 eed  ed< 	 eed  ed< 	 ee ed< dS )z)PaymentRecord.PaymentMethodDetails.Cryptobuyer_address)baseethereumpolygonsolanar   )usdcusdgusdptoken_currencytransaction_hashN)r!   r"   r#   r
   r$   r%   r   r'   r'   r'   r(   Crypto  s   
 r  c                   @   s$   e Zd ZU eed< 	 ee ed< dS )z)PaymentRecord.PaymentMethodDetails.Customdisplay_namerk   N)r!   r"   r#   r$   r%   r
   r'   r'   r'   r(   Custom(  s
   
 r  c                   @   r   )z2PaymentRecord.PaymentMethodDetails.CustomerBalanceNr   r'   r'   r'   r(   CustomerBalance2  r   r  c                   @   s,   e Zd ZU eed  ed< 	 ee ed< dS )z&PaymentRecord.PaymentMethodDetails.Eps)arzte_und_apotheker_bankaustrian_anadi_bank_agbank_austriabankhaus_carl_spangler%bankhaus_schelhammer_und_schattera_agbawag_psk_agbks_bank_agbrull_kallmus_bank_agbtv_vier_lander_bankcapital_bank_grawe_gruppe_agdeutsche_bank_agdolomitenbankeasybank_agerste_bank_und_sparkassen#hypo_alpeadriabank_international_ag'hypo_bank_burgenland_aktiengesellschaft'hypo_noe_lb_fur_niederosterreich_u_wien'hypo_oberosterreich_salzburg_steiermarkhypo_tirol_bank_aghypo_vorarlberg_bank_agmarchfelder_bankoberbank_ag"raiffeisen_bankengruppe_osterreichschoellerbank_agsparda_bank_wienvolksbank_gruppevolkskreditbank_agvr_bank_braunaubankr   NrE   r'   r'   r'   r(   Eps5  s   
  r&  c                   @   s:   e Zd ZU eed  ed< 	 ed ed< 	 ee ed< dS )z&PaymentRecord.PaymentMethodDetails.Fpxr>   rA   )
affin_bankagrobankalliance_bankambank
bank_islambank_muamalatbank_of_chinabank_rakyatbsncimbdeutsche_bankhong_leong_bankhsbckfh	maybank2e	maybank2uocbcpb_enterprisepublic_bankrhbstandard_chartereduobr%  rP   NrE   r'   r'   r'   r(   Fpx`  s   
 r=  c                   @   r1   )z*PaymentRecord.PaymentMethodDetails.Giropayrv   r:   rw   r   Nr6   r'   r'   r'   r(   Giropay  r8   r>  c                   @   r   )z*PaymentRecord.PaymentMethodDetails.GrabpayrP   Nr6   r'   r'   r'   r(   Grabpay  r   r?  c                   @   sp   e Zd ZU eed  ed< 	 eed  ed< 	 eed  ed< 	 eed  ed< 	 ee ed	< 	 ee ed
< dS )z(PaymentRecord.PaymentMethodDetails.Ideal)abn_amroasn_bankbunqbuuthandelsbankeningknabmoneyoun26nnrabobank	regiobankrevolutsns_banktriodos_bankvan_lanschotyoursafer%  )ABNANL2AASNBNL21BITSNL2ABUNQNL2ABUUTNL2AFVLBNL22HANDNL2AINGBNL2AKNABNL2HMOYONL21NNBANL2GNTSBDEB1RABONL2URBRBNL21REVOIE23REVOLT21SNSBNL2ATRIONL2Urw   r   rx   r   ry   rz   r   N)r!   r"   r#   r
   r   r%   r   r$   r'   r'   r'   r(   Ideal  s*   
 rc  c                   @   s"  e Zd ZU G dd deZee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 eed< 	 eed	< 	 ee ed
< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee	e  ed< 	 ee
d  ed< 	 ee ed< 	 deiZdS )z1PaymentRecord.PaymentMethodDetails.InteracPresentc                   @   r   )z9PaymentRecord.PaymentMethodDetails.InteracPresent.Receipt)r   savingsr   r   r   r   r   r   r   r   r   r   NrE   r'   r'   r'   r(   r     r   r   rd   r   rB   r   r   re   rf   rC   rg   r   r   r   rD   r   r   r   r   r   r   N)r!   r"   r#   r   r   r
   r$   r%   r&   r	   r   r`   r'   r'   r'   r(   InteracPresent  sV   
 (	re  c                   @   rS   )z+PaymentRecord.PaymentMethodDetails.KakaoPayrX   rP   Nr6   r'   r'   r'   r(   KakaoPay`  rW   rf  c                   @   sP   e Zd ZU G dd deZee ed< 	 ee ed< 	 ee ed< 	 deiZdS )z)PaymentRecord.PaymentMethodDetails.Klarnac                   @   4   e Zd ZU G dd deZee ed< 	 deiZdS )z6PaymentRecord.PaymentMethodDetails.Klarna.PayerDetailsc                   @   r   )z>PaymentRecord.PaymentMethodDetails.Klarna.PayerDetails.AddressrB   Nr6   r'   r'   r'   r(   r   l  r   r   r   N)r!   r"   r#   r   r   r
   r%   r`   r'   r'   r'   r(   PayerDetailsk  s
   
 rh  payer_detailspayment_method_categorypreferred_localeN)	r!   r"   r#   r   rh  r
   r%   r$   r`   r'   r'   r'   r(   Klarnaj  s   
 rl  c                   @   rg  )z*PaymentRecord.PaymentMethodDetails.Konbinic                   @   s   e Zd ZU eed  ed< dS )z0PaymentRecord.PaymentMethodDetails.Konbini.Store)
familymartlawsonministop	seicomartchainNr   r'   r'   r'   r(   Store  s
   
 rr  storeN)r!   r"   r#   r   rr  r
   r%   r`   r'   r'   r'   r(   Konbini  s
   
 rt  c                   @   sH   e Zd ZU eed  ed< 	 ee ed< 	 ee ed< 	 ee ed< dS )z)PaymentRecord.PaymentMethodDetails.KrCard)bccitihanahyundaijejujeonbuk	kakaobankkbankkdbbankkookminkwangjulottemgnhpostsamsungsavingsbankshinhanshinhyupsuhyuptossbankwoorird   rX   rD   rP   NrE   r'   r'   r'   r(   KrCard  s   
 r  c                   @   r   )z'PaymentRecord.PaymentMethodDetails.LinkrB   Nr6   r'   r'   r'   r(   Link  r   r  c                   @   r   )z(PaymentRecord.PaymentMethodDetails.MbWayNr   r'   r'   r'   r(   MbWay  r   r  c                   @   rg  )z,PaymentRecord.PaymentMethodDetails.Mobilepayc                   @   sR   e Zd ZU ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< dS )z1PaymentRecord.PaymentMethodDetails.Mobilepay.Cardrd   rB   re   rf   rD   Nrh   r'   r'   r'   r(   ri     s   
 ri   rj   N)r!   r"   r#   r   ri   r
   r%   r`   r'   r'   r'   r(   	Mobilepay  s
   
 r  c                   @   rS   )z-PaymentRecord.PaymentMethodDetails.MultibancoentityrU   Nr6   r'   r'   r'   r(   
Multibanco  rW   r  c                   @   rS   )z+PaymentRecord.PaymentMethodDetails.NaverPayrX   rP   Nr6   r'   r'   r'   r(   NaverPay  rW   r  c                   @   sP   e Zd ZU ee ed< 	 eed< 	 eed< 	 eed< 	 eed< 	 ee ed< dS )z0PaymentRecord.PaymentMethodDetails.NzBankAccountaccount_holder_namerv   r:   branch_coderD   suffixNr6   r'   r'   r'   r(   NzBankAccount  s   
 r  c                   @   r   )z'PaymentRecord.PaymentMethodDetails.OxxonumberNr6   r'   r'   r'   r(   Oxxo  r   r  c                   @   s:   e Zd ZU eed  ed< 	 ee ed< 	 ee ed< dS )z&PaymentRecord.PaymentMethodDetails.P24)
alior_bankbank_millenniumbank_nowy_bfg_sabank_pekao_sabanki_spbdzielczeblikbnp_paribasbozciti_handlowycredit_agricole
envelobanketransfer_pocztowy24
getin_bankideabankrE  inteligombank_mtransfernest_przelew	noble_paypbac_z_ipko	plus_banksantander_przelew24tmobile_usbugi_bankowetoyota_bankvelobankvolkswagen_bankr%  rU   r   NrE   r'   r'   r'   r(   P24  s   
 r  c                   @   r   )z,PaymentRecord.PaymentMethodDetails.PayByBankNr   r'   r'   r'   r(   	PayByBankJ  r   r  c                   @   rS   )z(PaymentRecord.PaymentMethodDetails.PaycorX   rP   Nr6   r'   r'   r'   r(   PaycoM  rW   r  c                   @   rM   )z)PaymentRecord.PaymentMethodDetails.PaynowrN   rO   rU   Nr6   r'   r'   r'   r(   PaynowW  rR   r  c                   @   sz   e Zd ZU G dd deZee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 deiZd	S )
z)PaymentRecord.PaymentMethodDetails.Paypalc                   @   s0   e Zd ZU eeed   ed< 	 ed ed< dS )z:PaymentRecord.PaymentMethodDetails.Paypal.SellerProtection)
fraudulentproduct_not_receiveddispute_categories)eligiblenot_eligiblepartially_eligiblestatusN)r!   r"   r#   r
   r	   r   r%   r'   r'   r'   r(   SellerProtectionf  s   
 
r  rB   payer_emailpayer_id
payer_nameseller_protectionrP   N)	r!   r"   r#   r   r  r
   r$   r%   r`   r'   r'   r'   r(   Paypale  s   
 r  c                   @   r   )z&PaymentRecord.PaymentMethodDetails.Pixbank_transaction_idNr6   r'   r'   r'   r(   Pix  r   r  c                   @   r   )z,PaymentRecord.PaymentMethodDetails.PromptpayrU   Nr6   r'   r'   r'   r(   	Promptpay  r   r  c                   @   rZ   )z-PaymentRecord.PaymentMethodDetails.RevolutPayc                   @   rb   )z5PaymentRecord.PaymentMethodDetails.RevolutPay.Fundingc                   @   rc   )z:PaymentRecord.PaymentMethodDetails.RevolutPay.Funding.Cardrd   rB   re   rf   rg   rD   Nrh   r'   r'   r'   r(   ri     rL   ri   rj   rk   Nrl   r'   r'   r'   r(   rm     rn   rm   rg   rP   Nro   r'   r'   r'   r(   
RevolutPay  rq   r  c                   @   rS   )z-PaymentRecord.PaymentMethodDetails.SamsungPayrX   rP   Nr6   r'   r'   r'   r(   
SamsungPay  rW   r  c                   @   r   )z+PaymentRecord.PaymentMethodDetails.SatispayrP   Nr6   r'   r'   r'   r(   Satispay  r   r  c                   @   rM   )z5PaymentRecord.PaymentMethodDetails.SepaCreditTransferr:   rw   ibanNr6   r'   r'   r'   r(   SepaCreditTransfer  rR   r  c                   @   rG   )z,PaymentRecord.PaymentMethodDetails.SepaDebitrv   r  rB   rC   rD   rI   Nr6   r'   r'   r'   r(   	SepaDebit  rL   r  c                   @   s   e Zd ZU ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 eed  ed< 	 eed  ed< 	 ee ed	< 	 eed
  ed< 	 ee ed< dS )z)PaymentRecord.PaymentMethodDetails.Sofortrv   r:   rw   rB   r   rx   r   ry   rz   )r{   r|   esr}   itr~   plr   r   Nr   r'   r'   r'   r(   Sofort  s*   
 r  c                   @   r   )z0PaymentRecord.PaymentMethodDetails.StripeAccountNr   r'   r'   r'   r(   StripeAccount(  r   r  c                   @   rM   )z(PaymentRecord.PaymentMethodDetails.SwishrC   payment_referenceverified_phone_last4Nr6   r'   r'   r'   r(   Swish+  rR   r  c                   @   r   )z(PaymentRecord.PaymentMethodDetails.TwintNr   r'   r'   r'   r(   Twint9  r   r  c                   @   s   e Zd ZU eed  ed< eed  ed< ee ed< 	 ee ed< 	 ee ed< 	 eed  ed	< 	 ee ed
< 	 ee ed< dS )z0PaymentRecord.PaymentMethodDetails.UsBankAccountr>   rA   )r   rd  r   r:   rC   rD   r   rI   r  r;   N)r!   r"   r#   r
   r   r%   r$   r   r'   r'   r'   r(   UsBankAccount<  s   
 r  c                   @   r   )z)PaymentRecord.PaymentMethodDetails.WechatNr   r'   r'   r'   r(   WechatX  r   r  c                   @   r1   )z,PaymentRecord.PaymentMethodDetails.WechatPayrC   rN   rO   rP   Nr6   r'   r'   r'   r(   	WechatPay[  r8   r  c                   @   r   )z&PaymentRecord.PaymentMethodDetails.ZipNr   r'   r'   r'   r(   Zipm  r   r  ach_credit_transfer	ach_debit
acss_debitaffirmafterpay_clearpayalipayalma
amazon_payau_becs_debit
bacs_debit
bancontactbilliebilling_detailsr  boletorj   card_presentcashappcryptocustomcustomer_balanceepsfpxgiropaygrabpayidealinterac_present	kakao_payklarnakonbinikr_cardr   mb_way	mobilepay
multibanco	naver_paynz_bank_accountoxxop24pay_by_bankpaycopayment_methodpaynowpaypalpix	promptpayrevolut_payr   satispaysepa_credit_transfer
sepa_debitsofortstripe_accountswishtwintrk   us_bank_accountwechat
wechat_payzip)r  r	  r
  r  r  r  r  N)Br!   r"   r#   r   r=   rF   rK   rQ   rV   rY   ra   rp   rs   ru   r   r   r   r   r   ri   r   r   r  r  r  r&  r=  r>  r?  rc  re  rf  rl  rt  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r
   r%   r$   r`   r'   r'   r'   r(   PaymentMethodDetails   s  
 
*$- ( -
+%D}
+

-
+*
*	
 !"#$%&'()*+,-./01234r  c                   @   sB   e Zd ZU G dd deZee ed< 	 ed ed< 	 deiZdS )zPaymentRecord.ProcessorDetailsc                   @   r   )z%PaymentRecord.ProcessorDetails.Customr  Nr6   r'   r'   r'   r(   r     r   r  r  rk   N)	r!   r"   r#   r   r  r
   r%   r   r`   r'   r'   r'   r(   ProcessorDetails  s   
 r  c                   @   sL   e Zd ZU G dd deZeed< 	 ee ed< 	 ee ed< 	 deiZdS )zPaymentRecord.ShippingDetailsc                   @   rG   )z%PaymentRecord.ShippingDetails.Addressr   rB   r   r   r   r   Nr6   r'   r'   r'   r(   r     rL   r   r   r4   r5   Nr   r'   r'   r'   r(   ShippingDetails  s   
 r  amountr   amount_canceledamount_failedamount_guaranteedamount_refundedamount_requestedapplicationcreatedcustomer_details)off_session
on_sessioncustomer_presencer   idlatest_payment_attempt_recordlivemodemetadataobjectpayment_method_detailsprocessor_detailsshipping_detailsparamsr   returnc                 K   s   t d| jdd|dS )
        Report a new Payment Record. You may report a Payment Record as it is
         initialized and later report updates through the other report_* methods, or report Payment
         Records in a terminal state directly, through this method.
        r   r  "/v1/payment_records/report_paymentr&  )r   _static_requestclsr&  r'   r'   r(   report_payment  s   	zPaymentRecord.report_paymentc                    s   t d| jdd|dI dH S )r(  r   r  r)  r*  N)r   _static_request_asyncr,  r'   r'   r(   report_payment_async  s   	
z"PaymentRecord.report_payment_asyncr   c                 K   "   t d| jddjt|d|dS )
        Report a new payment attempt on the specified Payment Record. A new payment
         attempt can only be specified if all other payment attempts are canceled or failed.
        r   r  //v1/payment_records/{id}/report_payment_attemptr  r*  r   r+  formatr   r-  r  r&  r'   r'   r(   _cls_report_payment_attempt     
z)PaymentRecord._cls_report_payment_attemptc                 K      dS r2  Nr'   r  r&  r'   r'   r(   report_payment_attempt     	z$PaymentRecord.report_payment_attemptc                 K   r:  r;  r'   selfr&  r'   r'   r(   r=       r8  c              	   K   (   t d| jddjt| dd|dS )r2  r   r  r3  r  r4  r*  r   _requestr6  r   getr?  r'   r'   r(   r=       c                    *   t d| jddjt|d|dI dH S )r2  r   r  r3  r4  r*  Nr   r/  r6  r   r7  r'   r'   r(   !_cls_report_payment_attempt_async     

z/PaymentRecord._cls_report_payment_attempt_asyncc                       dS r;  r'   r<  r'   r'   r(   report_payment_attempt_async     	z*PaymentRecord.report_payment_attempt_asyncc                    rK  r;  r'   r?  r'   r'   r(   rL       rI  c              	      0   t d| jddjt| dd|dI dH S )r2  r   r  r3  r  r4  r*  Nr   _request_asyncr6  r   rE  r?  r'   r'   r(   rL       
r   c                 K   r1  )t
        Report that the most recent payment attempt on the specified Payment Record
         was canceled.
        r   r  8/v1/payment_records/{id}/report_payment_attempt_canceledr4  r*  r5  r7  r'   r'   r(   $_cls_report_payment_attempt_canceled*  r9  z2PaymentRecord._cls_report_payment_attempt_canceledc                 K   r:  rS  Nr'   r<  r'   r'   r(   report_payment_attempt_canceled?     
z-PaymentRecord.report_payment_attempt_canceledc                 K   r:  rV  r'   r?  r'   r'   r(   rW  K  r>  rU  c              	   K   rB  )rS  r   r  rT  r  r4  r*  rC  r?  r'   r'   r(   rW  V     	c                    rG  )rS  r   r  rT  r4  r*  NrH  r7  r'   r'   r(   *_cls_report_payment_attempt_canceled_asyncj  rJ  z8PaymentRecord._cls_report_payment_attempt_canceled_asyncc                    rK  rV  r'   r<  r'   r'   r(   %report_payment_attempt_canceled_async     
z3PaymentRecord.report_payment_attempt_canceled_asyncc                    rK  rV  r'   r?  r'   r'   r(   r[    rM  rZ  c              	      rO  )rS  r   r  rT  r  r4  r*  NrP  r?  r'   r'   r(   r[       	
r   c                 K   r1  )y
        Report that the most recent payment attempt on the specified Payment Record
         failed or errored.
        r   r  6/v1/payment_records/{id}/report_payment_attempt_failedr4  r*  r5  r7  r'   r'   r(   "_cls_report_payment_attempt_failed  r9  z0PaymentRecord._cls_report_payment_attempt_failedc                 K   r:  r^  Nr'   r<  r'   r'   r(   report_payment_attempt_failed  rX  z+PaymentRecord.report_payment_attempt_failedc                 K   r:  ra  r'   r?  r'   r'   r(   rb    rA  r`  c              	   K   rB  )r^  r   r  r_  r  r4  r*  rC  r?  r'   r'   r(   rb    rF  c                    rG  )r^  r   r  r_  r4  r*  NrH  r7  r'   r'   r(   (_cls_report_payment_attempt_failed_async  rJ  z6PaymentRecord._cls_report_payment_attempt_failed_asyncc                    rK  ra  r'   r<  r'   r'   r(   #report_payment_attempt_failed_async  r\  z1PaymentRecord.report_payment_attempt_failed_asyncc                    rK  ra  r'   r?  r'   r'   r(   rd  		  rN  rc  c              	      rO  )r^  r   r  r_  r  r4  r*  NrP  r?  r'   r'   r(   rd  	  rR  r   c                 K   r1  )v
        Report that the most recent payment attempt on the specified Payment Record
         was guaranteed.
        r   r  :/v1/payment_records/{id}/report_payment_attempt_guaranteedr4  r*  r5  r7  r'   r'   r(   &_cls_report_payment_attempt_guaranteed&	  r9  z4PaymentRecord._cls_report_payment_attempt_guaranteedc                 K   r:  re  Nr'   r<  r'   r'   r(   !report_payment_attempt_guaranteed;	  rX  z/PaymentRecord.report_payment_attempt_guaranteedc                 K   r:  rh  r'   r?  r'   r'   r(   ri  G	  r>  rg  c              	   K   rB  )re  r   r  rf  r  r4  r*  rC  r?  r'   r'   r(   ri  R	  rY  c                    rG  )re  r   r  rf  r4  r*  NrH  r7  r'   r'   r(   ,_cls_report_payment_attempt_guaranteed_asyncf	  rJ  z:PaymentRecord._cls_report_payment_attempt_guaranteed_asyncc                    rK  rh  r'   r<  r'   r'   r(   'report_payment_attempt_guaranteed_async{	  r\  z5PaymentRecord.report_payment_attempt_guaranteed_asyncc                    rK  rh  r'   r?  r'   r'   r(   rk  	  rM  rj  c              	      rO  )re  r   r  rf  r  r4  r*  NrP  r?  r'   r'   r(   rk  	  r]  r   c                 K   r1  )O
        Report informational updates on the specified Payment Record.
        r   r  =/v1/payment_records/{id}/report_payment_attempt_informationalr4  r*  r5  r7  r'   r'   r(   )_cls_report_payment_attempt_informational	  s   z7PaymentRecord._cls_report_payment_attempt_informationalc                 K   r:  rl  Nr'   r<  r'   r'   r(   $report_payment_attempt_informational	  s   z2PaymentRecord.report_payment_attempt_informationalc                 K   r:  ro  r'   r?  r'   r'   r(   rp  	  rX  rn  c              	   K   rB  )rl  r   r  rm  r  r4  r*  rC  r?  r'   r'   r(   rp  	  s   
c                    rG  )rl  r   r  rm  r4  r*  NrH  r7  r'   r'   r(   /_cls_report_payment_attempt_informational_async	  s   
z=PaymentRecord._cls_report_payment_attempt_informational_asyncc                    rK  ro  r'   r<  r'   r'   r(   *report_payment_attempt_informational_async 
  s   z8PaymentRecord.report_payment_attempt_informational_asyncc                    rK  ro  r'   r?  r'   r'   r(   rr  
  r\  rq  c              	      rO  )rl  r   r  rm  r  r4  r*  NrP  r?  r'   r'   r(   rr  
  s   

r   c                 K   r1  )t
        Report that the most recent payment attempt on the specified Payment Record
         was refunded.
        r   r  &/v1/payment_records/{id}/report_refundr4  r*  r5  r7  r'   r'   r(   _cls_report_refund.
  s   z PaymentRecord._cls_report_refundc                 K   r:  rs  Nr'   r<  r'   r'   r(   report_refundA
  r>  zPaymentRecord.report_refundc                 K   r:  rv  r'   r?  r'   r'   r(   rw  L
  rA  ru  c              	   K   rB  )rs  r   r  rt  r  r4  r*  rC  r?  r'   r'   r(   rw  V
  rF  c                    rG  )rs  r   r  rt  r4  r*  NrH  r7  r'   r'   r(   _cls_report_refund_asynci
  s   
z&PaymentRecord._cls_report_refund_asyncc                    rK  rv  r'   r<  r'   r'   r(   report_refund_async|
  rM  z!PaymentRecord.report_refund_asyncc                    rK  rv  r'   r?  r'   r'   r(   ry  
  rN  rx  c              	      rO  )rs  r   r  rt  r  r4  r*  NrP  r?  r'   r'   r(   ry  
  rR  r   c                 K   s   | |fi |}|   |S )>
        Retrieves a Payment Record with the given ID
        )refreshr-  r  r&  instancer'   r'   r(   retrieve
  s   zPaymentRecord.retrievec                    s$   | |fi |}|  I dH  |S )rz  N)refresh_asyncr|  r'   r'   r(   retrieve_async
  s   zPaymentRecord.retrieve_async)r  r   r  r  r  r  r  r  r#  r$  r%  N);r!   r"   r#   __doc__r   r   r   r%   r   r)   r+   r,   r-   r.   r/   r0   r7   r  r  r  r
   r$   r&   r   r   classmethodr   r.  r0  r8  r   staticmethodr=  r   rI  rL  rU  rW  rZ  r[  r`  rb  rc  rd  rg  ri  rj  rk  rn  rp  rq  rr  ru  rw  rx  ry  r~  r  r`   r'   r'   r'   r(   r   '   s  
 






             )				




	
	



				

r   N))stripe._api_resourcer   stripe._expandable_fieldr   stripe._stripe_objectr   stripe._utilr   r   typingr   r   r	   r
   r   r   typing_extensionsr   r   r   stripe._mandater   stripe._payment_methodr   Dstripe.params._payment_record_report_payment_attempt_canceled_paramsr   Bstripe.params._payment_record_report_payment_attempt_failed_paramsr   Fstripe.params._payment_record_report_payment_attempt_guaranteed_paramsr   Istripe.params._payment_record_report_payment_attempt_informational_paramsr   ;stripe.params._payment_record_report_payment_attempt_paramsr   3stripe.params._payment_record_report_payment_paramsr   2stripe.params._payment_record_report_refund_paramsr   -stripe.params._payment_record_retrieve_paramsr   r   r'   r'   r'   r(   <module>   s$    