o
    rN)j	                    @   s  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
 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 d d
lmZmZmZmZ erd 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/m0Z0 d dl1m2Z2 d dl3m4Z4 d dl5m6Z6 d dl7m8Z8 d dl9m:Z: d dl;m<Z< d dl=m>Z> G dd ded ed Z?e?e?j@_AdS )    )Decimal)ExpandableField)
ListObject)ListableAPIResource)StripeObjectUntypedStripeObject)APIResourceTestHelpers)UpdateableAPIResource)class_method_variantsanitize_id)ClassVarListOptionalcastoverload)LiteralTypeUnpackTYPE_CHECKING)BalanceTransaction)Card)
Cardholder)Token)Transaction)AuthorizationApproveParams)AuthorizationCaptureParams)AuthorizationCreateParams)AuthorizationDeclineParams)AuthorizationExpireParams)!AuthorizationFinalizeAmountParams)AuthorizationIncrementParams)AuthorizationListParams)AuthorizationModifyParams)AuthorizationRespondParams)AuthorizationRetrieveParams)AuthorizationReverseParamsc                   @   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eed< 	 ee	 ed< 	 eed< 	 ed ed< 	 ed ed< 	 ded < 	 eed!  ed"< 	 eed#  ed$< 	 eed%< 	 eed&< 	 ee
 ed'< 	 eee  ed(< 	 ee ed)< 	 eed*< 	 eed+< 	 eed,< 	 eed-< 	 eed.< ee ed/< 	 ee ed0< 	 ed ed1< 	 ee ed2< 	 ee ed3< 	 ed4 ed5< 	 eed6  ed7< 	 ed8 ed9< 	 ee ed:< 	 eed;< ee ed<< 	 ee ed=< 	 ed>ed?ed@ dAd fdBdCZeed>ed?ed@ dAd fdDdEZed?ed@ dAd fdFdEZe dGd?ed@ dAd fdHdEZed>ed?ed@ dAd fdIdJZ!eed>ed?ed@ dAd fdKdLZ"ed?ed@ dAd fdMdLZ"e dNd?ed@ dAd fdOdLZ"ed>ed?edP dAd fdQdRZ#eed>ed?edP dAd fdSdTZ$ed?edP dAd fdUdTZ$e dVd?edP dAd fdWdTZ$ed>ed?edP dAd fdXdYZ%eed>ed?edP dAd fdZd[Z&ed?edP dAd fd\d[Z&e d]d?edP dAd fd^d[Z&ed?ed_ dAe'd  fd`daZ(ed?ed_ dAe'd  fdbdcZ)ed*ed?edd dAd fdedfZ*ed*ed?edd dAd fdgdhZ+ed*ed?edi dAd fdjdkZ,ed*ed?edi dAd fdldmZ-G dndo doe.d  Z/e0dpdq Z1e	e
eeeeeeeedr
Z2dsS )tAuthorizationa  
    When an [issued card](https://docs.stripe.com/issuing) is used to make a purchase, an Issuing `Authorization`
    object is created. [Authorizations](https://docs.stripe.com/issuing/purchases/authorizations) must be approved for the
    purchase to be completed successfully.

    Related guide: [Issued card authorizations](https://docs.stripe.com/issuing/purchases/authorizations)
    zissuing.authorizationOBJECT_NAMEc                   @   (   e Zd ZU ee ed< 	 ee ed< dS )zAuthorization.AmountDetailsatm_feecashback_amountN__name__
__module____qualname__r   int__annotations__ r1   r1   ~/var/www/html/finance.cargoinsureonline.com/_shared/backend-venv/lib/python3.10/site-packages/stripe/issuing/_authorization.pyAmountDetailsJ   
   
 r3   c                   @   sx   e Zd ZU G dd deZG dd deZee ed< 	 eed  ed< 	 ee ed< 	 eed	  ed
< 	 eedZ	dS )zAuthorization.Fleetc                   @   s`   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(Authorization.Fleet.CardholderPromptDataalphanumeric_id	driver_idodometerunspecified_iduser_idvehicle_numberN)r,   r-   r.   r   strr0   r/   r1   r1   r1   r2   CardholderPromptDataU   s   
 r<   c                   @   st   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
Z	dS )z%Authorization.Fleet.ReportedBreakdownc                   @   $   e Zd ZU ee ed< 	 ddiZdS )z*Authorization.Fleet.ReportedBreakdown.Fuelgross_amount_decimaldecimal_stringNr,   r-   r.   r   r   r0   _field_encodingsr1   r1   r1   r2   Fuelp      
 rB   c                   @   r=   )z-Authorization.Fleet.ReportedBreakdown.NonFuelr>   r?   Nr@   r1   r1   r1   r2   NonFuelw   rC   rD   c                   @   s4   e Zd ZU ee ed< 	 ee ed< 	 dddZdS )z)Authorization.Fleet.ReportedBreakdown.Taxlocal_amount_decimalnational_amount_decimalr?   )rE   rF   Nr@   r1   r1   r1   r2   Tax~   s   
 
rG   fuelnon_fueltax)rH   rI   rJ   N)
r,   r-   r.   r   rB   rD   rG   r   r0   _inner_class_typesr1   r1   r1   r2   ReportedBreakdowno   s   
 
rL   cardholder_prompt_data)fuel_and_non_fuel_purchasefuel_purchasenon_fuel_purchasepurchase_typereported_breakdown)full_servicenon_fuel_transactionself_serviceservice_type)rM   rR   N)
r,   r-   r.   r   r<   rL   r   r0   r   rK   r1   r1   r1   r2   FleetT   s(   
 /
rW   c                   @   s:   e Zd ZU ed ed< 	 ed ed< 	 eed  ed< dS )zAuthorization.FraudChallengesmschannel)expiredpendingrejectedundeliverableverifiedstatus)no_phone_numberunsupported_phone_numberundeliverable_reasonN)r,   r-   r.   r   r0   r   r1   r1   r1   r2   FraudChallenge   s   
 rc   c                   @   sf   e Zd ZU ee ed< 	 ee ed< 	 eed  ed< 	 eed  ed< 	 ee ed< 	 ddd	Zd
S )zAuthorization.Fuelindustry_product_codequantity_decimal)dieselotherunleaded_plusunleaded_regularunleaded_supertype)charging_minuteimperial_gallonkilogramkilowatt_hourliterrg   pound	us_gallonunitunit_cost_decimalr?   )re   rt   N)	r,   r-   r.   r   r;   r0   r   r   rA   r1   r1   r1   r2   rB      s,   
 	
rB   c                   @   s   e Zd ZU eed< 	 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< dS )zAuthorization.MerchantDatacategorycategory_codecitycountryname
network_idpostal_codestatetax_idterminal_idurlN)r,   r-   r.   r;   r0   r   r1   r1   r1   r2   MerchantData   s.   
 r   c                   @   s6   e Zd ZU ee ed< 	 ee ed< 	 ee ed< dS )zAuthorization.NetworkDataacquiring_institution_idsystem_trace_audit_numbertransaction_idN)r,   r-   r.   r   r;   r0   r1   r1   r1   r2   NetworkData(     
 r   c                   @   st   e Zd ZU G dd deZeed< 	 ee ed< 	 eed< 	 e	ed< 	 eed< 	 eed< 	 ee ed	< 	 deiZ
d
S )zAuthorization.PendingRequestc                   @   r(   )z*Authorization.PendingRequest.AmountDetailsr)   r*   Nr+   r1   r1   r1   r2   r3   7  r4   r3   amountamount_detailscurrencyis_amount_controllablemerchant_amountmerchant_currencynetwork_risk_scoreN)r,   r-   r.   r   r3   r/   r0   r   r;   boolrK   r1   r1   r1   r2   PendingRequest6  s"   
 
r   c                   @   s   e Zd ZU G dd deZeed< 	 ee ed< 	 eed< 	 ee	 ed< 	 eed< 	 e	ed< 	 eed	< 	 e	ed
< 	 ee ed< 	 e
d ed< 	 ee	 ed< 	 ee ed< 	 deiZdS )zAuthorization.RequestHistoryc                   @   r(   )z*Authorization.RequestHistory.AmountDetailsr)   r*   Nr+   r1   r1   r1   r2   r3   `  r4   r3   r   r   approvedauthorization_codecreatedr   r   r   r   )account_disabledcard_activecard_canceledcard_expiredcard_inactivecardholder_blockedcardholder_inactive cardholder_verification_requiredinsecure_authorization_methodinsufficient_fundsnetwork_fallbacknot_allowedpin_blockedspending_controlssuspected_fraudverification_failedwebhook_approvedwebhook_declinedwebhook_errorwebhook_timeoutreasonreason_messagerequested_atN)r,   r-   r.   r   r3   r/   r0   r   r   r;   r   rK   r1   r1   r1   r2   RequestHistory_  s:   
 
r   c                   @   s6   e Zd ZU ee ed< 	 ee ed< 	 ee ed< dS )zAuthorization.Treasuryreceived_creditsreceived_debitstransactionN)r,   r-   r.   r   r;   r0   r   r1   r1   r1   r2   Treasury  r   r   c                   @   s   e Zd ZU G dd deZG dd deZed ed< 	 ed ed< 	 ee ed< 	 ed ed	< 	 ed ed
< 	 ee	 ed< 	 ee ed< 	 eedZ
dS )zAuthorization.VerificationDatac                   @   s(   e Zd ZU ed ed< 	 ed ed< dS )z6Authorization.VerificationData.AuthenticationExemption)acquirerissuer
claimed_by)low_value_transactiontransaction_risk_analysisunknownrk   Nr,   r-   r.   r   r0   r1   r1   r1   r2   AuthenticationExemption  s   
 r   c                   @   s   e Zd ZU ed ed< dS )z+Authorization.VerificationData.ThreeDSecure)attempt_acknowledgedauthenticatedfailedrequiredresultNr   r1   r1   r1   r2   ThreeDSecure  s
   
 r   )matchmismatchnot_providedaddress_line1_checkaddress_postal_code_checkauthentication_exemption	cvc_checkexpiry_checkr{   three_d_secure)r   r   N)r,   r-   r.   r   r   r   r   r0   r   r;   rK   r1   r1   r1   r2   VerificationData  s(   
 
r   r   r   r   )chipcontactlesskeyed_inonlineswipeauthorization_methodr   balance_transactionsr   card)not_presentpresentcard_presencer   
cardholderr   r   fleetfraud_challengesrH   idlivemoder   r   merchant_datametadatanetwork_dataobjectpending_requestrequest_history)closedrZ   r[   reversedr_   r   tokenr   transactionstreasuryverification_dataverified_by_fraud_challengewalletauthorizationparamsr   returnc                 K   "   t d| jddjt|d|dS )  
        [Deprecated] Approves a pending Issuing Authorization object. This request should be made within the timeout window of the [real-time authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations) flow.
        This method is deprecated. Instead, [respond directly to the webhook request to approve an authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling).
        r&   post2/v1/issuing/authorizations/{authorization}/approver   r   r   _static_requestformatr   clsr   r   r1   r1   r2   _cls_approvej     zAuthorization._cls_approvec                 K      dS r   Nr1   r   r   r1   r1   r2   approve}     	zAuthorization.approvec                 K   r   r   r1   selfr   r1   r1   r2   r        r   c              	   K   *   t d| jddjt| jdd|dS )r   r&   r   r   r   r   r   r   _requestr   r   _datagetr   r1   r1   r2   r        c                    *   t d| jddjt|d|dI dH S )r   r&   r   r   r   r   Nr   _static_request_asyncr   r   r   r1   r1   r2   _cls_approve_async     
z Authorization._cls_approve_asyncc                       dS r   r1   r   r1   r1   r2   approve_async     	zAuthorization.approve_asyncc                    r  r   r1   r   r1   r1   r2   r       r  c              	      2   t d| jddjt| jdd|dI dH S )r   r&   r   r   r   r   r   Nr   _request_asyncr   r   r   r   r   r1   r1   r2   r       
r   c                 K   r   )  
        [Deprecated] Declines a pending Issuing Authorization object. This request should be made within the timeout window of the [real time authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations) flow.
        This method is deprecated. Instead, [respond directly to the webhook request to decline an authorization](https://docs.stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling).
        r&   r   2/v1/issuing/authorizations/{authorization}/decliner   r   r   r   r1   r1   r2   _cls_decline  r   zAuthorization._cls_declinec                 K   r   r  Nr1   r   r1   r1   r2   decline  r   zAuthorization.declinec                 K   r   r  r1   r   r1   r1   r2   r    r   r  c              	   K   r   )r  r&   r   r  r   r   r   r   r   r1   r1   r2   r    r  c                    r  )r  r&   r   r  r   r   Nr  r   r1   r1   r2   _cls_decline_async  r  z Authorization._cls_decline_asyncc                    r  r  r1   r   r1   r1   r2   decline_async.  r	  zAuthorization.decline_asyncc                    r  r  r1   r   r1   r1   r2   r  9  r
  r  c              	      r  )r  r&   r   r  r   r   r   Nr  r   r1   r1   r2   r  C  r  r!   c                 K   s4   | j d|  |d}t|tstdt|j |S )
        Returns a list of Issuing Authorization objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
        r   r   %Expected list object from API, got %s)r   	class_url
isinstancer   	TypeErrorrk   r,   r   r   r   r1   r1   r2   listV  s   
zAuthorization.listc                    s<   | j d|  |dI dH }t|tstdt|j |S )r  r   r   Nr  )r  r  r  r   r  rk   r,   r  r1   r1   r2   
list_asyncj  s   
zAuthorization.list_asyncr"   c                 K   s*   d|   t|f }td| jd||dS )
        Updates the specified Issuing Authorization object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
        %s/%sr&   r   r   )r  r   r   r   r   r   r   r   r1   r1   r2   modify~  s   zAuthorization.modifyc                    s2   d|   t|f }td| jd||dI dH S )r  r  r&   r   r   N)r  r   r   r  r   r1   r1   r2   modify_async  s   
zAuthorization.modify_asyncr$   c                 K   s   | |fi |}|   |S )<
        Retrieves an Issuing Authorization object.
        )refreshr   r   r   instancer1   r1   r2   retrieve  s   zAuthorization.retrievec                    s$   | |fi |}|  I dH  |S )r#  N)refresh_asyncr%  r1   r1   r2   retrieve_async  s   zAuthorization.retrieve_asyncc                   @   s  e Zd ZU ed ed< ededed ddfddZe	e
deded ddfd	d
Ze	ded ddfdd
Zedded ddfdd
Zededed ddfddZe	e
deded ddfddZe	ded ddfddZedded ddfddZeded ddfddZeded ddfddZededed ddfddZe	e
deded ddfddZe	ded ddfddZed ded ddfd!dZededed ddfd"d#Ze	e
deded ddfd$d%Ze	ded ddfd&d%Zed'ded ddfd(d%Zededed) ddfd*d+Ze	e
deded) ddfd,d-Ze	ded) ddfd.d-Zed/ded) ddfd0d-Zededed) ddfd1d2Ze	e
deded) ddfd3d4Ze	ded) ddfd5d4Zed6ded) ddfd7d4Zededed8 ddfd9d:Ze	e
deded8 ddfd;d<Ze	ded8 ddfd=d<Zed>ded8 ddfd?d<Zededed8 ddfd@dAZe	e
deded8 ddfdBdCZe	ded8 ddfdDdCZedEded8 ddfdFdCZedededG ddfdHdIZe	e
dededG ddfdJdKZe	dedG ddfdLdKZedMdedG ddfdNdKZedededG ddfdOdPZe	e
dededG ddfdQdRZ e	dedG ddfdSdRZ edTdedG ddfdUdRZ edededV ddfdWdXZ!e	e
dededV ddfdYdZZ"e	dedV ddfd[dZZ"ed\dedV ddfd]dZZ"edededV ddfd^d_Z#e	e
dededV ddfd`daZ$e	dedV ddfdbdaZ$edcdedV ddfdddaZ$deS )fzAuthorization.TestHelpersr&   _resource_clsr   r   r   r   c                 K   r   )<
            Capture a test-mode authorization.
            r&   r   ?/v1/test_helpers/issuing/authorizations/{authorization}/capturer   r   r   r   r1   r1   r2   _cls_capture     	z&Authorization.TestHelpers._cls_capturec                 K   r   r+  Nr1   r   r1   r1   r2   capture  r   z!Authorization.TestHelpers.capturec                 K   r   r/  r1   r   r1   r1   r2   r0       r-  c              	   K   .   t d| jjddjt| jjdd|dS )r+  r&   r   r,  r   r   r   r   resourcer   r   r   r   r   r   r1   r1   r2   r0       c                    r  )r+  r&   r   r,  r   r   Nr  r   r1   r1   r2   _cls_capture_async     	
z,Authorization.TestHelpers._cls_capture_asyncc                    r  r/  r1   r   r1   r1   r2   capture_async  r
  z'Authorization.TestHelpers.capture_asyncc                    r  r/  r1   r   r1   r1   r2   r8       r6  c              	      6   t d| jjddjt| jjdd|dI dH S )r+  r&   r   r,  r   r   r   Nr   r4  r  r   r   r   r   r   r1   r1   r2   r8       
r   c                 K   s   t d| jdd|dS );
            Create a test-mode authorization.
            r&   r   '/v1/test_helpers/issuing/authorizationsr   )r   r   r   r   r1   r1   r2   create/  s   z Authorization.TestHelpers.createc                    s   t d| jdd|dI dH S )r=  r&   r   r>  r   N)r   r  r?  r1   r1   r2   create_async?  s   
z&Authorization.TestHelpers.create_asyncr   c                 K   r   );
            Expire a test-mode Authorization.
            r&   r   >/v1/test_helpers/issuing/authorizations/{authorization}/expirer   r   r   r   r1   r1   r2   _cls_expireO  r.  z%Authorization.TestHelpers._cls_expirec                 K   r   rB  Nr1   r   r1   r1   r2   expirec  r   z Authorization.TestHelpers.expirec                 K   r   rE  r1   r   r1   r1   r2   rF  m  r1  rD  c              	   K   r2  )rB  r&   r   rC  r   r   r   r3  r   r1   r1   r2   rF  v  r5  c                    r  )rB  r&   r   rC  r   r   Nr  r   r1   r1   r2   _cls_expire_async  r7  z+Authorization.TestHelpers._cls_expire_asyncc                    r  rE  r1   r   r1   r1   r2   expire_async  r
  z&Authorization.TestHelpers.expire_asyncc                    r  rE  r1   r   r1   r1   r2   rH    r9  rG  c              	      r:  )rB  r&   r   rC  r   r   r   Nr;  r   r1   r1   r2   rH    r<  r   c                 K   r   )
            Finalize the amount on an Authorization prior to capture, when the initial authorization was for an estimated amount.
            r&   r   G/v1/test_helpers/issuing/authorizations/{authorization}/finalize_amountr   r   r   r   r1   r1   r2   _cls_finalize_amount  r.  z.Authorization.TestHelpers._cls_finalize_amountc                 K   r   rI  Nr1   r   r1   r1   r2   finalize_amount  r   z)Authorization.TestHelpers.finalize_amountc                 K   r   rL  r1   r   r1   r1   r2   rM    r1  rK  c              	   K   r2  )rI  r&   r   rJ  r   r   r   r3  r   r1   r1   r2   rM    r5  c                    r  )rI  r&   r   rJ  r   r   Nr  r   r1   r1   r2   _cls_finalize_amount_async  r7  z4Authorization.TestHelpers._cls_finalize_amount_asyncc                    r  rL  r1   r   r1   r1   r2   finalize_amount_async  r	  z/Authorization.TestHelpers.finalize_amount_asyncc                    r  rL  r1   r   r1   r1   r2   rO     r9  rN  c              	      r:  )rI  r&   r   rJ  r   r   r   Nr;  r   r1   r1   r2   rO  )  r<  r    c                 K   r   )>
            Increment a test-mode Authorization.
            r&   r   A/v1/test_helpers/issuing/authorizations/{authorization}/incrementr   r   r   r   r1   r1   r2   _cls_increment=  r.  z(Authorization.TestHelpers._cls_incrementc                 K   r   rP  Nr1   r   r1   r1   r2   	incrementQ  r   z#Authorization.TestHelpers.incrementc                 K   r   rS  r1   r   r1   r1   r2   rT  \  r1  rR  c              	   K   r2  )rP  r&   r   rQ  r   r   r   r3  r   r1   r1   r2   rT  e  r5  c                    r  )rP  r&   r   rQ  r   r   Nr  r   r1   r1   r2   _cls_increment_asyncy  r7  z.Authorization.TestHelpers._cls_increment_asyncc                    r  rS  r1   r   r1   r1   r2   increment_async  r	  z)Authorization.TestHelpers.increment_asyncc                    r  rS  r1   r   r1   r1   r2   rV    r9  rU  c              	      r:  )rP  r&   r   rQ  r   r   r   Nr;  r   r1   r1   r2   rV    r<  r#   c                 K   r   )
            Respond to a fraud challenge on a testmode Issuing authorization, simulating either a confirmation of fraud or a correction of legitimacy.
            r&   r   P/v1/test_helpers/issuing/authorizations/{authorization}/fraud_challenges/respondr   r   r   r   r1   r1   r2   _cls_respond  r.  z&Authorization.TestHelpers._cls_respondc                 K   r   rW  Nr1   r   r1   r1   r2   respond  r   z!Authorization.TestHelpers.respondc                 K   r   rZ  r1   r   r1   r1   r2   r[    r1  rY  c              	   K   r2  )rW  r&   r   rX  r   r   r   r3  r   r1   r1   r2   r[    r5  c                    r  )rW  r&   r   rX  r   r   Nr  r   r1   r1   r2   _cls_respond_async  r7  z,Authorization.TestHelpers._cls_respond_asyncc                    r  rZ  r1   r   r1   r1   r2   respond_async  r
  z'Authorization.TestHelpers.respond_asyncc                    r  rZ  r1   r   r1   r1   r2   r]    r9  r\  c              	      r:  )rW  r&   r   rX  r   r   r   Nr;  r   r1   r1   r2   r]    r<  r%   c                 K   r   )<
            Reverse a test-mode Authorization.
            r&   r   ?/v1/test_helpers/issuing/authorizations/{authorization}/reverser   r   r   r   r1   r1   r2   _cls_reverse+  r.  z&Authorization.TestHelpers._cls_reversec                 K   r   r^  Nr1   r   r1   r1   r2   reverse?  r   z!Authorization.TestHelpers.reversec                 K   r   ra  r1   r   r1   r1   r2   rb  I  r1  r`  c              	   K   r2  )r^  r&   r   r_  r   r   r   r3  r   r1   r1   r2   rb  R  r5  c                    r  )r^  r&   r   r_  r   r   Nr  r   r1   r1   r2   _cls_reverse_asyncf  r7  z,Authorization.TestHelpers._cls_reverse_asyncc                    r  ra  r1   r   r1   r1   r2   reverse_asyncz  r
  z'Authorization.TestHelpers.reverse_asyncc                    r  ra  r1   r   r1   r1   r2   rd    r9  rc  c              	      r:  )r^  r&   r   r_  r   r   r   Nr;  r   r1   r1   r2   rd    r<  N)%r,   r-   r.   r   r0   classmethodr;   r   r-  r   staticmethodr0  r
   r6  r8  r@  rA  rD  rF  rG  rH  rK  rM  rN  rO  rR  rT  rU  rV  rY  r[  r\  r]  r`  rb  rc  rd  r1   r1   r1   r2   TestHelpers  s  
 				rg  c                 C   s
   |  | S )N)rg  )r   r1   r1   r2   test_helpers  s   
zAuthorization.test_helpers)
r   r   r   rH   r   r   r   r   r   r   N)3r,   r-   r.   __doc__r'   r   r   r0   r   r3   rW   rc   rB   r   r   r   r   r   r   r/   r   r   r   r   r;   r   re  r   r   r   rf  r   r
   r  r  r  r  r  r  r   r  r  r!  r"  r'  r)  r   rg  propertyrh  rK   r1   r1   r1   r2   r&   :   s  
 	
g-.)R6								

     p

r&   N)Bdecimalr   stripe._expandable_fieldr   stripe._list_objectr   stripe._listable_api_resourcer   stripe._stripe_objectr   r   stripe._test_helpersr   stripe._updateable_api_resourcer	   stripe._utilr
   r   typingr   r   r   r   r   typing_extensionsr   r   r   r   stripe._balance_transactionr   stripe.issuing._cardr   stripe.issuing._cardholderr   stripe.issuing._tokenr   stripe.issuing._transactionr   3stripe.params.issuing._authorization_approve_paramsr   3stripe.params.issuing._authorization_capture_paramsr   2stripe.params.issuing._authorization_create_paramsr   3stripe.params.issuing._authorization_decline_paramsr   2stripe.params.issuing._authorization_expire_paramsr   ;stripe.params.issuing._authorization_finalize_amount_paramsr   5stripe.params.issuing._authorization_increment_paramsr    0stripe.params.issuing._authorization_list_paramsr!   2stripe.params.issuing._authorization_modify_paramsr"   3stripe.params.issuing._authorization_respond_paramsr#   4stripe.params.issuing._authorization_retrieve_paramsr$   3stripe.params.issuing._authorization_reverse_paramsr%   r&   rg  r*  r1   r1   r1   r2   <module>   s\   
             