
    jof                    *   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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mZmZ er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ed         ed         ed                   Z(dS )    )CreateableAPIResource)ExpandableField)
ListObject)ListableAPIResource)RequestOptions)StripeObject)UpdateableAPIResource)class_method_variantsanitize_id)ClassVarDictListOptionalcastoverload)LiteralNotRequired	TypedDictUnpackTYPE_CHECKING)Account)Application)LineItem)ShippingRate)TaxIdc                      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 G d de          Z G d de          Z G d de          Z G d de          Z G d de          Z G d de          Z G d de          Z G d de          Z G d de          Z G d de          Z G d  d!e          Z G d" d#e          Z G d$ d%e          Z G d& d'e          Z G d( d)e          Z G d* d+e          Z G d, d-e          Z G d. d/e          Z  G d0 d1e          Z! G d2 d3e          Z" G d4 d5e          Z# G d6 d7e          Z$ G d8 d9e          Z% G d: d;e          Z& G d< d=e          Z' G d> d?e          Z( G d@ dAe          Z) G dB dCe          Z* G dD dEe          Z+ G dF dGe          Z, G dH dIe          Z- G dJ dKe          Z. G dL dMe          Z/ G dN dOe          Z0 G dP dQe          Z1 G dR dSe          Z2 G dT dUe          Z3 G dV dWe          Z4 G dX dYe          Z5 G dZ d[e          Z6 G d\ d]e          Z7 G d^ d_e          Z8 G d` dae          Z9 G db dce          Z: G dd dee          Z; G df dge          Z< G dh die          Z= G dj dke          Z> G dl dme          Z? G dn doe          Z@ G dp dqe          ZA G dr dse          ZB G dt due          ZC G dv dwe          ZD G dx dye          ZE G dz d{e          ZF G d| d}e          ZG G d~ de          ZH G d de          ZI G d de          ZJ G d de          ZK G d de          ZL G d de          ZM G d de          ZN G d de          ZO G d de          ZP G d de          ZQ G d de          ZR G d de          ZS G d de          ZT G d de          ZU G d de          ZV G d de          ZW G d de          ZX G d de          ZY G d de          ZZ G d de          Z[ G d de          Z\ G d de          Z] G d de          Z^ G d de          Z_ G d de          Z` G d de          Za G d de          Zb G d de          Zc G d de          Zdeeed<   	 e	ed<   eeed<   	 efegd                  ed<   	 efeh         ed<   	 efei         ed<   	 e
ed<   ed         ed<   	 efe         ed<   	 ejed<   	 eke         ed<   	 eed<   ed         ed<   	 ejed<   	 efej         ed<   	 efe         ed<   	 efeld                  ed<   	 eeed<   	 emejejf         ed<   	 ed         ed<   	 efegd                  ed<   	 efe         ed<   	 ed         ed<   	 efeked                           ed<   	 eed<   efe         ed<   	 efe         ed<   	 eke         ed<   	 ed         ed<   	 efe         ed<   	 eed<   efe         ed<   	 ejed<   	 endeod         dd fd            Zpendeod         dd fd            Zqendeod         deld          fd            Zrendeod         deld          fd            Zsendejdeod         deld         fd            Zteuevdejdeod         deld         fd                        Zweudeod         deld         fd            Zw exd          deod         deld         fd            Zwendejdeod         deld         fd            Zyeuevdejdeod         deld         fd                        Zzeudeod         deld         fd            Zz exd          deod         deld         fd            Zzendejdeod         dd fd            Z{endejdeod         dd fd            Z|endejdeod         dd fd            Z}endejdeod         dd fd            Z~e	e
eeeeeeeeeeeedZdS )PaymentLinka#  
    A payment link is a shareable URL that will take your customers to a hosted payment page. A payment link can be shared and used multiple times.

    When a customer opens a payment link it will open a new [checkout session](https://stripe.com/docs/api/checkout/sessions) to render the payment page. You can use [checkout session events](https://stripe.com/docs/api/events/types#event_types-checkout.session.completed) to track payments through payment links.

    Related guide: [Payment Links API](https://stripe.com/docs/payment-links)
    payment_linkOBJECT_NAMEc                       e Zd ZU  G d de          Z G d de          Zee         ed<   ee         ed<   ed         ed<   	 eedZ	d	S )
PaymentLink.AfterCompletionc                   &    e Zd ZU ee         ed<   dS ).PaymentLink.AfterCompletion.HostedConfirmationcustom_messageN__name__
__module____qualname__r   str__annotations__     N/var/www/html/Alfredo/env/lib/python3.11/site-packages/stripe/_payment_link.pyHostedConfirmationr#   ,   s&         $SM))) r,   r.   c                       e Zd ZU eed<   dS )$PaymentLink.AfterCompletion.RedirecturlNr&   r'   r(   r)   r*   r+   r,   r-   Redirectr0   2   s         HHH r,   r3   hosted_confirmationredirectr4   r5   typeN)
r&   r'   r(   r   r.   r3   r   r*   r   _inner_class_typesr+   r,   r-   AfterCompletionr!   +   s         	 	 	 	 	 	 	 		 	 	 	 	| 	 	 	 &&899998$$$$78888	 $6 
 
r,   r9   c                   X    e Zd ZU  G d de          Zeed<   	 ee         ed<   	 deiZdS )PaymentLink.AutomaticTaxc                   J    e Zd ZU eed                  ed<   	 ed         ed<   dS )"PaymentLink.AutomaticTax.Liabilityr   accountr>   selfr7   Nr&   r'   r(   r   r   r*   r   r+   r,   r-   	Liabilityr=   D   sE         oi89999 +,,,, r,   rB   enabled	liabilityN)	r&   r'   r(   r   rB   boolr*   r   r8   r+   r,   r-   AutomaticTaxr;   C   sq         	 	 	 	 	 	 	 	 	 I&&&&	 *95r,   rF   c                       e Zd ZU  G d de          Zee         ed<   	 eed                  ed<   	 eed                  ed<   	 deiZdS )	PaymentLink.ConsentCollectionc                   &    e Zd ZU ed         ed<   dS )9PaymentLink.ConsentCollection.PaymentMethodReuseAgreementautohiddenpositionNr&   r'   r(   r   r*   r+   r,   r-   PaymentMethodReuseAgreementrJ   Y   s(         .//// r,   rP   payment_method_reuse_agreementrL   none
promotionsrS   requiredterms_of_serviceN)	r&   r'   r(   r   rP   r   r*   r   r8   r+   r,   r-   ConsentCollectionrH   X   s         	 	 	 	 	, 	 	 	 )11L(MMMM	 W^45555	 #7+=#>????	 -.I
r,   rX   c                   
   e Zd ZU  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
e	d
<   	 ee	d<   ee         e	d<   ee	d<   	 ee         e	d<   ed         e	d<   	 eeeedZdS )PaymentLink.CustomFieldc                   L    e Zd ZU  G d de          Zee         ed<   	 deiZdS ) PaymentLink.CustomField.Dropdownc                   &    e Zd ZU eed<   	 eed<   dS )'PaymentLink.CustomField.Dropdown.OptionlabelvalueNr2   r+   r,   r-   Optionr^   s   s/         


 


 r,   ra   optionsN)r&   r'   r(   r   ra   r   r*   r8   r+   r,   r-   Dropdownr\   r   s`                 &\!!! #,V!4r,   rc   c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )PaymentLink.CustomField.Labelcustomr7   N)r&   r'   r(   r   r)   r*   r   r+   r,   r-   Labelre      s>         SM!!! (#### r,   rg   c                   >    e Zd ZU ee         ed<   	 ee         ed<   dS )PaymentLink.CustomField.Numericmaximum_lengthminimum_lengthNr&   r'   r(   r   intr*   r+   r,   r-   Numericri      =         $SM))) %SM))) r,   rn   c                   >    e Zd ZU ee         ed<   	 ee         ed<   dS )PaymentLink.CustomField.Textrj   rk   Nrl   r+   r,   r-   Textrq      ro   r,   rr   dropdownkeyr_   numericoptionaltextrs   ru   rw   r7   )rs   r_   ru   rw   N)r&   r'   r(   r   rc   rg   rn   rr   r   r*   r)   rE   r   r8   r+   r,   r-   CustomFieldrZ   q   sI        	5 	5 	5 	5 	5| 	5 	5 	5"	 	 	 	 	L 	 	 		 	 	 	 	l 	 	 		 	 	 	 	< 	 	 	 8$$$$	 '""""	 tn34444	 !	
 
r,   ry   c                       e Zd ZU  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e         e	d
<   	 ee         e	d<   	 ee         e	d<   	 eeeedZ
dS )PaymentLink.CustomTextc                       e Zd ZU eed<   dS )"PaymentLink.CustomText.AfterSubmitmessageNr2   r+   r,   r-   AfterSubmitr}               LLL r,   r   c                       e Zd ZU eed<   dS )&PaymentLink.CustomText.ShippingAddressr~   Nr2   r+   r,   r-   ShippingAddressr      r   r,   r   c                       e Zd ZU eed<   dS )PaymentLink.CustomText.Submitr~   Nr2   r+   r,   r-   Submitr      r   r,   r   c                       e Zd ZU eed<   dS )/PaymentLink.CustomText.TermsOfServiceAcceptancer~   Nr2   r+   r,   r-   TermsOfServiceAcceptancer      r   r,   r   after_submitshipping_addresssubmitterms_of_service_acceptance)r   r   r   r   N)r&   r'   r(   r   r   r   r   r   r   r*   r8   r+   r,   r-   
CustomTextr{      s6        	 	 	 	 	, 	 	 		 	 	 	 	l 	 	 		 	 	 	 	\ 	 	 		 	 	 	 	| 	 	 	 {++++	 #?3333	     	 &..F%GGGG	 ( /+C	
 
r,   r   c                   X    e Zd ZU  G d de          Zeed<   	 ee         ed<   	 deiZdS )PaymentLink.InvoiceCreationc                   L   e Zd ZU  G d de          Z G d de          Z G d de          Zeee	d                           e
d<   	 eee                  e
d	<   	 ee         e
d
<   	 ee         e
d<   	 ee         e
d<   	 eeeef                  e
d<   	 ee         e
d<   	 eeedZdS )'PaymentLink.InvoiceCreation.InvoiceDatac                   &    e Zd ZU eed<   	 eed<   dS )3PaymentLink.InvoiceCreation.InvoiceData.CustomFieldnamer`   Nr2   r+   r,   r-   ry   r      s/         			 


 r,   ry   c                   J    e Zd ZU eed                  ed<   	 ed         ed<   dS ).PaymentLink.InvoiceCreation.InvoiceData.Issuerr   r>   r?   r7   NrA   r+   r,   r-   Issuerr      E         !/)"<==== /0000 r,   r   c                   &    e Zd ZU ee         ed<   dS )8PaymentLink.InvoiceCreation.InvoiceData.RenderingOptionsamount_tax_displayNr%   r+   r,   r-   RenderingOptionsr      s&         $,SM111 r,   r   r   account_tax_idscustom_fieldsdescriptionfooterissuermetadatarendering_options)r   r   r   N)r&   r'   r(   r   ry   r   r   r   r   r   r*   r)   r   r8   r+   r,   r-   InvoiceDatar      sf            l              <    &d?7+C&DEEEE $D$56666 "#&&& SM!!! V$$$$ tCH~....  ((89999 "- %5" "r,   r   rC   invoice_dataN)	r&   r'   r(   r   r   rE   r*   r   r8   r+   r,   r-   InvoiceCreationr      sr         ;	 ;	 ;	 ;	 ;	, ;	 ;	 ;	z 	 {++++	 -k:r,   r   c                       e Zd ZU eed                  ed<   	 ee         ed<   	 eeef         ed<   	 eed                  ed<   	 ee         ed<   	 ee         ed<   	 ee         ed	<   d
S )PaymentLink.PaymentIntentData	automaticautomatic_asyncmanualcapture_methodr   r   off_session
on_sessionsetup_future_usagestatement_descriptorstatement_descriptor_suffixtransfer_groupN)r&   r'   r(   r   r   r*   r)   r   r+   r,   r-   PaymentIntentDatar   0  s          <=
 	
 	
 	
	 c]"""	 sCx.   	 %W-H%IJJJJ	 'sm+++	 &.c]222	 !%%%	 	r,   r   c                       e Zd ZU eed<   dS )!PaymentLink.PhoneNumberCollectionrC   Nr&   r'   r(   rE   r*   r+   r,   r-   PhoneNumberCollectionr   P           	 	r,   r   c                   >    e Zd ZU  G d de          Zeed<   deiZdS )PaymentLink.Restrictionsc                   &    e Zd ZU eed<   	 eed<   dS )*PaymentLink.Restrictions.CompletedSessionscountlimitNr&   r'   r(   rm   r*   r+   r,   r-   CompletedSessionsr   W  s/         JJJ JJJ r,   r   completed_sessionsN)r&   r'   r(   r   r   r*   r8   r+   r,   r-   Restrictionsr   V  sV         	 	 	 	 	 	 	 	 .---24EFr,   r   c                   2    e Zd ZU eed                  ed<   dS )%PaymentLink.ShippingAddressCollectionACADAEAFAGAIALAMAOAQARATAUAWAXAZBABBBDBEBFBGBHBIBJBLBMBNBOBQBRBSBTBVBWBYBZCACDCFCGCHCICKCLCMCNCOCRCVCWCYCZDEDJDKDMDODZECEEEGEHERESETFIFJFKFOFRGAGBGDGEGFGGGHGIGLGMGNGPGQGRGSGTGUGWGYHKHNHRHTHUIDIEILIMINIOIQISITJEJMJOJPKEKGKHKIKMKNKRKWKYKZLALBLCLILKLRLSLTLULVLYMAMCMDMEMFMGMKMLMMMNMOMQMRMSMTMUMVMWMXMYMZNANCNENGNINLNONPNRNUNZOMPAPEPFPGPHPKPLPMPNPRPSPTPYQARERORSRURWSASBSCSESGSHSISJSKSLSMSNSOSRSSSTSVSXSZTATCTDTFTGTHTJTKTLTMTNTOTRTTTVTWTZUAUGUSUYUZVAVCVEVGVNVUWFWSXKYEYTZAZMZWZZallowed_countriesNr&   r'   r(   r   r   r*   r+   r,   r-   ShippingAddressCollectionr   d  sA         lnp
 p	
 p	
 p	
b	 	r,   r  c                   2    e Zd ZU eed<   	 ed         ed<   dS )PaymentLink.ShippingOptionshipping_amountr   shipping_rateN)r&   r'   r(   rm   r*   r   r+   r,   r-   ShippingOptionr  Z  s:         	 '~6666	 	r,   r  c                       e Zd ZU  G d de          Z G d de          Zee         ed<   	 eed<   e	eef         ed<   	 ee
         ed<   	 ee         ed	<   	 eed
ZdS )PaymentLink.SubscriptionDatac                   >    e Zd ZU  G d de          Zeed<   deiZdS ),PaymentLink.SubscriptionData.InvoiceSettingsc                   J    e Zd ZU eed                  ed<   	 ed         ed<   dS )3PaymentLink.SubscriptionData.InvoiceSettings.Issuerr   r>   r?   r7   NrA   r+   r,   r-   r   r  f  r   r,   r   r   N)r&   r'   r(   r   r   r*   r8   r+   r,   r-   InvoiceSettingsr  e  sR                 NNN"*F!3r,   r  c                   @    e Zd ZU  G d de          Zeed<   	 deiZdS )*PaymentLink.SubscriptionData.TrialSettingsc                   &    e Zd ZU ed         ed<   dS )6PaymentLink.SubscriptionData.TrialSettings.EndBehaviorcancelcreate_invoicepausemissing_payment_methodNrO   r+   r,   r-   EndBehaviorr  t  s0         (/7)    r,   r  end_behaviorN)r&   r'   r(   r   r  r*   r8   r+   r,   r-   TrialSettingsr  s  s\             l    &%%% #1+!>r,   r  r   invoice_settingsr   trial_period_daystrial_settings)r  r  N)r&   r'   r(   r   r  r  r   r)   r*   r   rm   r8   r+   r,   r-   SubscriptionDatar  d  s         	4 	4 	4 	4 	4l 	4 	4 	4	? 	? 	? 	? 	?L 	? 	? 	? c]"""	 *)))sCx.   	 $C=(((	 !////	 !0+
 
r,   r  c                       e Zd ZU eed<   dS )PaymentLink.TaxIdCollectionrC   Nr   r+   r,   r-   TaxIdCollectionr    r   r,   r  c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )PaymentLink.TransferDataamountr   destinationN)r&   r'   r(   r   rm   r*   r   r+   r,   r-   TransferDatar    s>         	 %Y////	 	r,   r  c                   *   e Zd ZU ed         ed<   	 ee         ed<   	 ee         ed<   	 ee         ed<   	 ed         ed<   	 eed                  ed	<   	 ed
         ed<   	 ee	         ed<   	 ee
d                  ed<   	 ed         ed<   	 eed                  ed<   	 ee
e	                  ed<   	 ee	         ed<   	 ed         ed<   	 e
d         ed<   	 eee	e	f                  ed<   	 ee	         ed<   	 ed         ed<   	 eed                  ed<   	 ee
ed                           ed<   	 ed          ed!<   	 ed"         ed#<   	 ed$         ed%<   	 ee
d&                  ed'<   	 eed(                  ed)<   	 ed*         ed+<   	 ed,         ed-<   	 ed.         ed/<   d0S )1PaymentLink.CreateParams'PaymentLink.CreateParamsAfterCompletionafter_completionallow_promotion_codesapplication_fee_amountapplication_fee_percent$PaymentLink.CreateParamsAutomaticTaxautomatic_taxrL   rV   billing_address_collection)PaymentLink.CreateParamsConsentCollectionconsent_collectioncurrency#PaymentLink.CreateParamsCustomFieldr   "PaymentLink.CreateParamsCustomTextcustom_textalwaysif_requiredcustomer_creationexpandinactive_message'PaymentLink.CreateParamsInvoiceCreationinvoice_creation PaymentLink.CreateParamsLineItem
line_itemsr   on_behalf_of)PaymentLink.CreateParamsPaymentIntentDatapayment_intent_datapayment_method_collection!affirmafterpay_clearpayalipayau_becs_debit
bacs_debit
bancontactblikboletocardcashappepsfpxgiropaygrabpayidealklarnakonbinilink	mobilepay
multibancooxxop24paynowpaypalpix	promptpay
sepa_debitsofortswishtwintus_bank_account
wechat_payzippayment_method_types-PaymentLink.CreateParamsPhoneNumberCollectionphone_number_collection$PaymentLink.CreateParamsRestrictionsrestrictions1PaymentLink.CreateParamsShippingAddressCollectionshipping_address_collection&PaymentLink.CreateParamsShippingOptionshipping_optionsrL   bookdonatepaysubmit_type(PaymentLink.CreateParamsSubscriptionDatasubscription_data'PaymentLink.CreateParamsTaxIdCollectiontax_id_collection$PaymentLink.CreateParamsTransferDatatransfer_dataN)r&   r'   r(   r   r*   rE   rm   floatr   r)   r   r   r+   r,   r-   CreateParamsr    sZ        %5
 	
 	
 	
	  +40000	 !,C 0000	 "-U!3333	 ##IJJJJ	 %08J0K$LLLL	 (7
 	
 	
 	
	 c""""	 #4(M#NOOOO	 !!EFFFF	 'w/F'GHHHH	 DI&&&&	 &c****	 &5
 	
 	
 	
	 ;<<<<	 d38n----	 "#&&&&	 )7
 	
 	
 	
	 $/+,$
 	
 	
 	
	 * "$&
 &	
 &	
 &	
N	 "-;"
 	
 	
 	
	
 ""HIIII	 &1?&
 	
 	
 	
	 &9:
 	
 	
 	
	 !)H!IJJJJ	 '6
 	
 	
 	
	 '5
 	
 	
 	
	 ##IJJJJ	 	r,   r3  c                   V    e Zd ZU ed         ed<   	 ed         ed<   	 ed         ed<   dS )r  9PaymentLink.CreateParamsAfterCompletionHostedConfirmationr4   /PaymentLink.CreateParamsAfterCompletionRedirectr5   r6   r7   Nr&   r'   r(   r   r*   r   r+   r,   r-   CreateParamsAfterCompletionz'PaymentLink.CreateParamsAfterCompletionZ  j         (G
 	
 	
 	
	 =
 	
 	
 	
	 78888	 	r,   r8  c                   &    e Zd ZU ee         ed<   dS )r5  r$   Nr&   r'   r(   r   r)   r*   r+   r,   r-   -CreateParamsAfterCompletionHostedConfirmationz9PaymentLink.CreateParamsAfterCompletionHostedConfirmationl  '         #C((((	 	r,   r<  c                       e Zd ZU eed<   dS )r6  r1   Nr2   r+   r,   r-   #CreateParamsAfterCompletionRedirectz/PaymentLink.CreateParamsAfterCompletionRedirectr           	 	r,   r?  c                   2    e Zd ZU eed<   	 ed         ed<   dS )r  rC   -PaymentLink.CreateParamsAutomaticTaxLiabilityrD   Nr&   r'   r(   rE   r*   r   r+   r,   r-   CreateParamsAutomaticTaxz$PaymentLink.CreateParamsAutomaticTaxx  8         	 NOOOO	 	r,   rD  c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )rB  r>   r?   r7   Nr&   r'   r(   r   r)   r*   r   r+   r,   r-   !CreateParamsAutomaticTaxLiabilityz-PaymentLink.CreateParamsAutomaticTaxLiability  @         S!!!!	 '((((	 	r,   rH  c                   n    e Zd ZU ed         ed<   	 eed                  ed<   	 eed                  ed<   dS )r  DPaymentLink.CreateParamsConsentCollectionPaymentMethodReuseAgreementrQ   rR   rT   rU   rW   Nr7  r+   r,   r-   CreateParamsConsentCollectionz)PaymentLink.CreateParamsConsentCollection  sk         (3R)
 	
 	
 	
	   78888	
 &g.@&ABBBB	 	r,   rL  c                   &    e Zd ZU ed         ed<   dS )rK  rK   rN   NrO   r+   r,   r-   8CreateParamsConsentCollectionPaymentMethodReuseAgreementzDPaymentLink.CreateParamsConsentCollectionPaymentMethodReuseAgreement  s(         *++++	 	r,   rN  c                       e Zd ZU ed         ed<   	 eed<   	 ded<   	 ed         ed<   	 ee         ed<   	 ed	         ed
<   	 ed         ed<   dS )r  +PaymentLink.CreateParamsCustomFieldDropdownrs   rt   (PaymentLink.CreateParamsCustomFieldLabelr_   *PaymentLink.CreateParamsCustomFieldNumericru   rv   'PaymentLink.CreateParamsCustomFieldTextrw   rx   r7   Nr&   r'   r(   r   r*   r)   rE   r   r+   r,   r-   CreateParamsCustomFieldz#PaymentLink.CreateParamsCustomField           KLLLL	 	 :999	 IJJJJ	 d####	 CDDDD	 34444	 	r,   rU  c                   &    e Zd ZU ed         ed<   dS )rP  1PaymentLink.CreateParamsCustomFieldDropdownOptionrb   Nr&   r'   r(   r   r*   r+   r,   r-   CreateParamsCustomFieldDropdownz+PaymentLink.CreateParamsCustomFieldDropdown  (         IJJJJ	 	r,   rZ  c                   &    e Zd ZU eed<   	 eed<   dS )rX  r_   r`   Nr2   r+   r,   r-   %CreateParamsCustomFieldDropdownOptionz1PaymentLink.CreateParamsCustomFieldDropdownOption  /         


	 


	 	r,   r]  c                   2    e Zd ZU eed<   	 ed         ed<   dS )rQ  rf   r7   Nr&   r'   r(   r)   r*   r   r+   r,   r-   CreateParamsCustomFieldLabelz(PaymentLink.CreateParamsCustomFieldLabel  7         	 h	 	r,   ra  c                   >    e Zd ZU ee         ed<   	 ee         ed<   dS )rR  rj   rk   Nr&   r'   r(   r   rm   r*   r+   r,   r-   CreateParamsCustomFieldNumericz*PaymentLink.CreateParamsCustomFieldNumeric  ?         #C((((	 $C((((	 	r,   re  c                   >    e Zd ZU ee         ed<   	 ee         ed<   dS )rS  rj   rk   Nrd  r+   r,   r-   CreateParamsCustomFieldTextz'PaymentLink.CreateParamsCustomFieldText  rf  r,   rh  c                   n    e Zd ZU ed         ed<   	 ed         ed<   	 ed         ed<   	 ed         ed<   d	S )
r  z9Literal['']|PaymentLink.CreateParamsCustomTextAfterSubmitr   z=Literal['']|PaymentLink.CreateParamsCustomTextShippingAddressr   z4Literal['']|PaymentLink.CreateParamsCustomTextSubmitr   zFLiteral['']|PaymentLink.CreateParamsCustomTextTermsOfServiceAcceptancer   Nr&   r'   r(   r   r*   r+   r,   r-   CreateParamsCustomTextz"PaymentLink.CreateParamsCustomText           !G
 	
 	
 	
	 &K
 	
 	
 	
	 B
 	
 	
 	
	 &1T&
 	
 	
 	
	 	r,   rk  c                       e Zd ZU eed<   dS )-PaymentLink.CreateParamsCustomTextAfterSubmitr~   Nr2   r+   r,   r-   !CreateParamsCustomTextAfterSubmitrn             	 	r,   ro  c                       e Zd ZU eed<   dS )1PaymentLink.CreateParamsCustomTextShippingAddressr~   Nr2   r+   r,   r-   %CreateParamsCustomTextShippingAddressrr    rp  r,   rs  c                       e Zd ZU eed<   dS )(PaymentLink.CreateParamsCustomTextSubmitr~   Nr2   r+   r,   r-   CreateParamsCustomTextSubmitru    rp  r,   rv  c                       e Zd ZU eed<   dS ):PaymentLink.CreateParamsCustomTextTermsOfServiceAcceptancer~   Nr2   r+   r,   r-   .CreateParamsCustomTextTermsOfServiceAcceptancerx    rp  r,   ry  c                   2    e Zd ZU eed<   	 ed         ed<   dS )r  rC   2PaymentLink.CreateParamsInvoiceCreationInvoiceDatar   NrC  r+   r,   r-   CreateParamsInvoiceCreationz'PaymentLink.CreateParamsInvoiceCreation$  @         	 "@
 	
 	
 	
	 	r,   r|  c                       e Zd ZU ed         ed<   	 ed         ed<   	 ee         ed<   	 ee         ed<   	 ed         ed<   	 ed	         ed
<   	 ed         ed<   dS )r{  Literal['']|List[str]r   zOLiteral['']|List[PaymentLink.CreateParamsInvoiceCreationInvoiceDataCustomField]r   r   r   8PaymentLink.CreateParamsInvoiceCreationInvoiceDataIssuerr   Literal['']|Dict[str, str]r   zNLiteral['']|PaymentLink.CreateParamsInvoiceCreationInvoiceDataRenderingOptionsr   Nr&   r'   r(   r   r*   r)   r+   r,   r-   &CreateParamsInvoiceCreationInvoiceDataz2PaymentLink.CreateParamsInvoiceCreationInvoiceData0           $%<====	 #]
 	
 	
 	
	 !%%%%	 C    	 F
 	
 	
 	
	 :;;;;	 '\
 	
 	
 	
	 	r,   r  c                   &    e Zd ZU eed<   	 eed<   dS )=PaymentLink.CreateParamsInvoiceCreationInvoiceDataCustomFieldr   r`   Nr2   r+   r,   r-   1CreateParamsInvoiceCreationInvoiceDataCustomFieldr  T  /         				 


	 	r,   r  c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )r  r>   r?   r7   NrG  r+   r,   r-   ,CreateParamsInvoiceCreationInvoiceDataIssuerz8PaymentLink.CreateParamsInvoiceCreationInvoiceDataIssuer^  rI  r,   r  c                   &    e Zd ZU ed         ed<   dS )BPaymentLink.CreateParamsInvoiceCreationInvoiceDataRenderingOptions;Literal['']|Literal['exclude_tax', 'include_inclusive_tax']r   Nrj  r+   r,   r-   6CreateParamsInvoiceCreationInvoiceDataRenderingOptionsr  h  0         'I
 	
 	
 	
	 	r,   r  c                   >    e Zd ZU ed         ed<   	 eed<   	 eed<   dS )r  2PaymentLink.CreateParamsLineItemAdjustableQuantityadjustable_quantitypricequantityNr&   r'   r(   r   r*   r)   rm   r+   r,   r-   CreateParamsLineItemz PaymentLink.CreateParamsLineItemp  sP         (@
 	
 	
 	
	 


	 	 	r,   r  c                   J    e Zd ZU eed<   	 ee         ed<   	 ee         ed<   dS )r  rC   maximumminimumNr&   r'   r(   rE   r*   r   rm   r+   r,   r-   &CreateParamsLineItemAdjustableQuantityz2PaymentLink.CreateParamsLineItemAdjustableQuantity  O         	 S!!!!	 S!!!!	 	r,   r  c                       e Zd ZU eed                  ed<   	 ee         ed<   	 eeeef                  ed<   	 eed                  ed<   	 ee         ed<   	 ee         ed<   	 ee         ed	<   d
S )r  r   r   r   r   r   r   r   r   r   N)r&   r'   r(   r   r   r*   r)   r   r+   r,   r-   CreateParamsPaymentIntentDataz)PaymentLink.CreateParamsPaymentIntentData  s         #<=
 	
 	
 	
	 !%%%%	 d38n----	 (0K(LMMMM	 *#....	 &1%5555	 $C((((	 	r,   r  c                       e Zd ZU eed<   dS )r  rC   Nr   r+   r,   r-   !CreateParamsPhoneNumberCollectionz-PaymentLink.CreateParamsPhoneNumberCollection  r   r,   r  c                       e Zd ZU ded<   dS )r!  5PaymentLink.CreateParamsRestrictionsCompletedSessionsr   Nr&   r'   r(   r*   r+   r,   r-   CreateParamsRestrictionsz$PaymentLink.CreateParamsRestrictions  (         C	
 	
 	
	 	r,   r  c                       e Zd ZU eed<   dS )r  r   Nr   r+   r,   r-   )CreateParamsRestrictionsCompletedSessionsz5PaymentLink.CreateParamsRestrictionsCompletedSessions           


	 	r,   r  c                   2    e Zd ZU eed                  ed<   dS )r#  r   r  Nr  r+   r,   r-   %CreateParamsShippingAddressCollectionz1PaymentLink.CreateParamsShippingAddressCollection  A         lnp
 p	
 p	
 p	
b	 	r,   r  c                   &    e Zd ZU ee         ed<   dS )r%  r  Nr;  r+   r,   r-   CreateParamsShippingOptionz&PaymentLink.CreateParamsShippingOption  s'         "3''''	 	r,   r  c                       e Zd ZU ee         ed<   	 ed         ed<   	 eeeef                  ed<   	 ee         ed<   	 ed         ed<   dS )	r,  r   7PaymentLink.CreateParamsSubscriptionDataInvoiceSettingsr  r   r  5PaymentLink.CreateParamsSubscriptionDataTrialSettingsr  N)r&   r'   r(   r   r)   r*   r   rm   r+   r,   r-   CreateParamsSubscriptionDataz(PaymentLink.CreateParamsSubscriptionData  s          %%%%	 &E
 	
 	
 	
	 d38n----	 's++++	 $C
 	
 	
 	
	 	r,   r  c                   &    e Zd ZU ed         ed<   dS )r  =PaymentLink.CreateParamsSubscriptionDataInvoiceSettingsIssuerr   Nrj  r+   r,   r-   +CreateParamsSubscriptionDataInvoiceSettingsz7PaymentLink.CreateParamsSubscriptionDataInvoiceSettings  0         K
 	
 	
 	
	 	r,   r  c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )r  r>   r?   r7   NrG  r+   r,   r-   1CreateParamsSubscriptionDataInvoiceSettingsIssuerz=PaymentLink.CreateParamsSubscriptionDataInvoiceSettingsIssuer  rI  r,   r  c                       e Zd ZU ded<   dS )r  @PaymentLink.CreateParamsSubscriptionDataTrialSettingsEndBehaviorr  Nr  r+   r,   r-   )CreateParamsSubscriptionDataTrialSettingsz5PaymentLink.CreateParamsSubscriptionDataTrialSettings  (         N	
 	
 	
	 	r,   r  c                   &    e Zd ZU ed         ed<   dS )r  r  r  NrO   r+   r,   r-   4CreateParamsSubscriptionDataTrialSettingsEndBehaviorz@PaymentLink.CreateParamsSubscriptionDataTrialSettingsEndBehavior  (          '(K LLLL	 	r,   r  c                       e Zd ZU eed<   dS )r.  rC   Nr   r+   r,   r-   CreateParamsTaxIdCollectionz'PaymentLink.CreateParamsTaxIdCollection  r   r,   r  c                   2    e Zd ZU ee         ed<   	 eed<   dS )r0  r  r  N)r&   r'   r(   r   rm   r*   r)   r+   r,   r-   CreateParamsTransferDataz$PaymentLink.CreateParamsTransferData	  s:         C    	 	 	r,   r  c                   z    e Zd ZU ee         ed<   	 eee                  ed<   	 ee         ed<   	 ee         ed<   dS )PaymentLink.ListLineItemsParamsending_beforer  r   starting_afterN)r&   r'   r(   r   r)   r*   r   rm   r+   r,   r-   ListLineItemsParamsr    ss         "3''''	 DI&&&&	 3	 $C((((	 	r,   r  c                       e Zd ZU ee         ed<   	 ee         ed<   	 eee                  ed<   	 ee         ed<   	 ee         ed<   dS )PaymentLink.ListParamsactiver  r  r   r  N)	r&   r'   r(   r   rE   r*   r)   r   rm   r+   r,   r-   
ListParamsr  (  s         D!!!!	 #3''''	 DI&&&&	 3	 $C((((	 	r,   r  c                   :   e Zd ZU ee         ed<   	 ed         ed<   	 ee         ed<   	 ed         ed<   	 eed                  ed<   	 ed	         ed
<   	 ed         ed<   	 eed                  ed<   	 eee                  ed<   	 ed         ed<   	 ed         ed<   	 eed                  ed<   	 ee	eef                  ed<   	 ed         ed<   	 eed                  ed<   	 ed         ed<   	 ed         ed<   	 ed         ed<   	 ed          ed!<   	 ed"         ed#<   d$S )%PaymentLink.ModifyParamsr  'PaymentLink.ModifyParamsAfterCompletionr  r  $PaymentLink.ModifyParamsAutomaticTaxr  r  r  z5Literal['']|List[PaymentLink.ModifyParamsCustomField]r   "PaymentLink.ModifyParamsCustomTextr  r  r  r  Literal['']|strr  'PaymentLink.ModifyParamsInvoiceCreationr   PaymentLink.ModifyParamsLineItemr  r   )PaymentLink.ModifyParamsPaymentIntentDatar  r  a  Literal['']|List[Literal['affirm', 'afterpay_clearpay', 'alipay', 'au_becs_debit', 'bacs_debit', 'bancontact', 'blik', 'boleto', 'card', 'cashapp', 'eps', 'fpx', 'giropay', 'grabpay', 'ideal', 'klarna', 'konbini', 'link', 'mobilepay', 'multibanco', 'oxxo', 'p24', 'paynow', 'paypal', 'pix', 'promptpay', 'sepa_debit', 'sofort', 'swish', 'twint', 'us_bank_account', 'wechat_pay', 'zip']]r  z0Literal['']|PaymentLink.ModifyParamsRestrictionsr"  z=Literal['']|PaymentLink.ModifyParamsShippingAddressCollectionr$  (PaymentLink.ModifyParamsSubscriptionDatar-  'PaymentLink.ModifyParamsTaxIdCollectionr/  N)
r&   r'   r(   r   rE   r*   r   r   r)   r   r+   r,   r-   ModifyParamsr  >  ss        D!!!!	 &5
 	
 	
 	
	  +40000	 ##IJJJJ	 %08J0K$LLLL	 #C
 	
 	
 	
	 !!EFFFF	 'w/F'GHHHH	 DI&&&&	 &&78888	 &5
 	
 	
 	
	  %G HIIII	 d38n----	 )7
 	
 	
 	
	 $/+,$
 	
 	
 	
	 * Q
 	
 	
 	
	 ">
 	
 	
 	
	 &1K&
 	
 	
 	
	 '6
 	
 	
 	
	 '5
 	
 	
 	
	 	r,   r  c                   V    e Zd ZU ed         ed<   	 ed         ed<   	 ed         ed<   dS )r  9PaymentLink.ModifyParamsAfterCompletionHostedConfirmationr4   /PaymentLink.ModifyParamsAfterCompletionRedirectr5   r6   r7   Nr7  r+   r,   r-   ModifyParamsAfterCompletionz'PaymentLink.ModifyParamsAfterCompletion  r9  r,   r  c                   &    e Zd ZU ee         ed<   dS )r  r$   Nr;  r+   r,   r-   -ModifyParamsAfterCompletionHostedConfirmationz9PaymentLink.ModifyParamsAfterCompletionHostedConfirmation  r=  r,   r  c                       e Zd ZU eed<   dS )r  r1   Nr2   r+   r,   r-   #ModifyParamsAfterCompletionRedirectz/PaymentLink.ModifyParamsAfterCompletionRedirect  r@  r,   r  c                   2    e Zd ZU eed<   	 ed         ed<   dS )r  rC   -PaymentLink.ModifyParamsAutomaticTaxLiabilityrD   NrC  r+   r,   r-   ModifyParamsAutomaticTaxz$PaymentLink.ModifyParamsAutomaticTax  rE  r,   r  c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )r  r>   r?   r7   NrG  r+   r,   r-   !ModifyParamsAutomaticTaxLiabilityz-PaymentLink.ModifyParamsAutomaticTaxLiability  rI  r,   r  c                       e Zd ZU ed         ed<   	 eed<   	 ded<   	 ed         ed<   	 ee         ed<   	 ed	         ed
<   	 ed         ed<   dS )#PaymentLink.ModifyParamsCustomField+PaymentLink.ModifyParamsCustomFieldDropdownrs   rt   (PaymentLink.ModifyParamsCustomFieldLabelr_   *PaymentLink.ModifyParamsCustomFieldNumericru   rv   'PaymentLink.ModifyParamsCustomFieldTextrw   rx   r7   NrT  r+   r,   r-   ModifyParamsCustomFieldr    rV  r,   r  c                   &    e Zd ZU ed         ed<   dS )r  1PaymentLink.ModifyParamsCustomFieldDropdownOptionrb   NrY  r+   r,   r-   ModifyParamsCustomFieldDropdownz+PaymentLink.ModifyParamsCustomFieldDropdown  r[  r,   r  c                   &    e Zd ZU eed<   	 eed<   dS )r  r_   r`   Nr2   r+   r,   r-   %ModifyParamsCustomFieldDropdownOptionz1PaymentLink.ModifyParamsCustomFieldDropdownOption  r^  r,   r  c                   2    e Zd ZU eed<   	 ed         ed<   dS )r  rf   r7   Nr`  r+   r,   r-   ModifyParamsCustomFieldLabelz(PaymentLink.ModifyParamsCustomFieldLabel  rb  r,   r  c                   >    e Zd ZU ee         ed<   	 ee         ed<   dS )r  rj   rk   Nrd  r+   r,   r-   ModifyParamsCustomFieldNumericz*PaymentLink.ModifyParamsCustomFieldNumeric  rf  r,   r  c                   >    e Zd ZU ee         ed<   	 ee         ed<   dS )r  rj   rk   Nrd  r+   r,   r-   ModifyParamsCustomFieldTextz'PaymentLink.ModifyParamsCustomFieldText  rf  r,   r  c                   n    e Zd ZU ed         ed<   	 ed         ed<   	 ed         ed<   	 ed         ed<   d	S )
r  z9Literal['']|PaymentLink.ModifyParamsCustomTextAfterSubmitr   z=Literal['']|PaymentLink.ModifyParamsCustomTextShippingAddressr   z4Literal['']|PaymentLink.ModifyParamsCustomTextSubmitr   zFLiteral['']|PaymentLink.ModifyParamsCustomTextTermsOfServiceAcceptancer   Nrj  r+   r,   r-   ModifyParamsCustomTextz"PaymentLink.ModifyParamsCustomText&  rl  r,   r  c                       e Zd ZU eed<   dS )-PaymentLink.ModifyParamsCustomTextAfterSubmitr~   Nr2   r+   r,   r-   !ModifyParamsCustomTextAfterSubmitr  @  rp  r,   r  c                       e Zd ZU eed<   dS )1PaymentLink.ModifyParamsCustomTextShippingAddressr~   Nr2   r+   r,   r-   %ModifyParamsCustomTextShippingAddressr  F  rp  r,   r  c                       e Zd ZU eed<   dS )(PaymentLink.ModifyParamsCustomTextSubmitr~   Nr2   r+   r,   r-   ModifyParamsCustomTextSubmitr   L  rp  r,   r  c                       e Zd ZU eed<   dS ):PaymentLink.ModifyParamsCustomTextTermsOfServiceAcceptancer~   Nr2   r+   r,   r-   .ModifyParamsCustomTextTermsOfServiceAcceptancer  R  rp  r,   r  c                   2    e Zd ZU eed<   	 ed         ed<   dS )r  rC   2PaymentLink.ModifyParamsInvoiceCreationInvoiceDatar   NrC  r+   r,   r-   ModifyParamsInvoiceCreationz'PaymentLink.ModifyParamsInvoiceCreationX  r}  r,   r  c                       e Zd ZU ed         ed<   	 ed         ed<   	 ee         ed<   	 ee         ed<   	 ed         ed<   	 ed	         ed
<   	 ed         ed<   dS )r  r  r   zOLiteral['']|List[PaymentLink.ModifyParamsInvoiceCreationInvoiceDataCustomField]r   r   r   8PaymentLink.ModifyParamsInvoiceCreationInvoiceDataIssuerr   r  r   zNLiteral['']|PaymentLink.ModifyParamsInvoiceCreationInvoiceDataRenderingOptionsr   Nr  r+   r,   r-   &ModifyParamsInvoiceCreationInvoiceDataz2PaymentLink.ModifyParamsInvoiceCreationInvoiceDatad  r  r,   r
  c                   &    e Zd ZU eed<   	 eed<   dS )=PaymentLink.ModifyParamsInvoiceCreationInvoiceDataCustomFieldr   r`   Nr2   r+   r,   r-   1ModifyParamsInvoiceCreationInvoiceDataCustomFieldr    r  r,   r  c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )r	  r>   r?   r7   NrG  r+   r,   r-   ,ModifyParamsInvoiceCreationInvoiceDataIssuerz8PaymentLink.ModifyParamsInvoiceCreationInvoiceDataIssuer  rI  r,   r  c                   &    e Zd ZU ed         ed<   dS )BPaymentLink.ModifyParamsInvoiceCreationInvoiceDataRenderingOptionsr  r   Nrj  r+   r,   r-   6ModifyParamsInvoiceCreationInvoiceDataRenderingOptionsr    r  r,   r  c                   J    e Zd ZU ed         ed<   	 eed<   	 ee         ed<   dS )r  2PaymentLink.ModifyParamsLineItemAdjustableQuantityr  idr  Nr  r+   r,   r-   ModifyParamsLineItemz PaymentLink.ModifyParamsLineItem  sX         (@
 	
 	
 	
	 	 c""""	 	r,   r  c                   J    e Zd ZU eed<   	 ee         ed<   	 ee         ed<   dS )r  rC   r  r  Nr  r+   r,   r-   &ModifyParamsLineItemAdjustableQuantityz2PaymentLink.ModifyParamsLineItemAdjustableQuantity  r  r,   r  c                       e Zd ZU ed         ed<   	 ed         ed<   	 ed         ed<   	 ed         ed<   	 ed         ed<   dS )	r  r  r   r  r   r   r   r   Nrj  r+   r,   r-   ModifyParamsPaymentIntentDataz)PaymentLink.ModifyParamsPaymentIntentData  s          !23333	 :;;;;	 **;<<<<	 &11B%CCCC	 $$56666	 	r,   r  c                       e Zd ZU ded<   dS )$PaymentLink.ModifyParamsRestrictions5PaymentLink.ModifyParamsRestrictionsCompletedSessionsr   Nr  r+   r,   r-   ModifyParamsRestrictionsr    r  r,   r  c                       e Zd ZU eed<   dS )r  r   Nr   r+   r,   r-   )ModifyParamsRestrictionsCompletedSessionsz5PaymentLink.ModifyParamsRestrictionsCompletedSessions  r  r,   r   c                   2    e Zd ZU eed                  ed<   dS )1PaymentLink.ModifyParamsShippingAddressCollectionr   r  Nr  r+   r,   r-   %ModifyParamsShippingAddressCollectionr"    r  r,   r#  c                   V    e Zd ZU ed         ed<   	 ed         ed<   	 ed         ed<   dS )r  7PaymentLink.ModifyParamsSubscriptionDataInvoiceSettingsr  r  r   zALiteral['']|PaymentLink.ModifyParamsSubscriptionDataTrialSettingsr  Nrj  r+   r,   r-   ModifyParamsSubscriptionDataz(PaymentLink.ModifyParamsSubscriptionData  sj         %E
 	
 	
 	
	 :;;;;	 $O
 	
 	
 	
	 	r,   r&  c                   &    e Zd ZU ed         ed<   dS )r%  =PaymentLink.ModifyParamsSubscriptionDataInvoiceSettingsIssuerr   Nrj  r+   r,   r-   +ModifyParamsSubscriptionDataInvoiceSettingsz7PaymentLink.ModifyParamsSubscriptionDataInvoiceSettings  r  r,   r)  c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )r(  r>   r?   r7   NrG  r+   r,   r-   1ModifyParamsSubscriptionDataInvoiceSettingsIssuerz=PaymentLink.ModifyParamsSubscriptionDataInvoiceSettingsIssuer  rI  r,   r+  c                       e Zd ZU ded<   dS )5PaymentLink.ModifyParamsSubscriptionDataTrialSettings@PaymentLink.ModifyParamsSubscriptionDataTrialSettingsEndBehaviorr  Nr  r+   r,   r-   )ModifyParamsSubscriptionDataTrialSettingsr-  	  r  r,   r/  c                   &    e Zd ZU ed         ed<   dS )r.  r  r  NrO   r+   r,   r-   4ModifyParamsSubscriptionDataTrialSettingsEndBehaviorz@PaymentLink.ModifyParamsSubscriptionDataTrialSettingsEndBehavior		  r  r,   r1  c                       e Zd ZU eed<   dS )r  rC   Nr   r+   r,   r-   ModifyParamsTaxIdCollectionz'PaymentLink.ModifyParamsTaxIdCollection	  r   r,   r3  c                   2    e Zd ZU eee                  ed<   dS )PaymentLink.RetrieveParamsr  N)r&   r'   r(   r   r   r)   r*   r+   r,   r-   RetrieveParamsr5  	  s+         DI&&&&	 	r,   r6  r  r  r  r   applicationr  r  r  r  r  r  r  r   r  r  r  r  r  r  r   r  livemoder   objectr   r  r  r  r  r  r   r"  r$  r&  r'  r+  r-  r/  r1  r1   paramsr  returnc                 r    t          d|                     d|                                 |                    S ))
        Creates a payment link.
        r   postr:  )r   _static_request	class_urlclsr:  s     r-   createzPaymentLink.create	  sB         
 
 	
r,   c                    K   t          d|                     d|                                 |           d{V           S )r=  r   r>  r?  N)r   _static_request_asyncrA  rB  s     r-   create_asynczPaymentLink.create_async	  sd       ++ ,        
 
 	
r,   r  c                     |                      d|                                 |          }t          |t                    s$t	          dt          |          j        z            |S )7
        Returns a list of your payment links.
        getr?  %Expected list object from API, got %s)r@  rA  
isinstancer   	TypeErrorr7   r&   rC  r:  results      r-   listzPaymentLink.list	  sp     $$MMOO % 
 

 &*-- 	7<<(*  
 r,   c                    K   |                      d|                                 |           d{V }t          |t                    s$t	          dt          |          j        z            |S )rI  rJ  r?  NrK  )rF  rA  rL  r   rM  r7   r&   rN  s      r-   
list_asynczPaymentLink.list_async	  s       00MMOO 1 
 
 
 
 
 
 
 

 &*-- 	7<<(*  
 r,   r  c                     t          t          d         |                     dd                    t	          |                    |                    S )
        When retrieving a payment link, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.
        r   rJ  +/v1/payment_links/{payment_link}/line_itemsr   r?  )r   r   r@  formatr   rC  r   r:  s      r-   _cls_list_line_itemsz PaymentLink._cls_list_line_items	  sb     z"=DD!,\!:!: E       	
 	
 		
r,   c                     dS rT  Nr+   r   r:  s     r-   list_line_itemszPaymentLink.list_line_items
  s	     	r,   c                     dS r[  r+   r@   r:  s     r-   r]  zPaymentLink.list_line_items
  s	     	r,   rY  c                     t          t          d         |                     dd                    t	          |                     d                              |                    S )rT  r   rJ  rU  r  rV  r?  )r   r   _requestrW  r   rJ  r_  s     r-   r]  zPaymentLink.list_line_items&
  sj     z"MM=DD!,TXXd^^!<!< E      	
 	
 		
r,   c                    K   t          t          d         |                     dd                    t	          |                    |           d{V           S )rT  r   rJ  rU  rV  r?  N)r   r   rF  rW  r   rX  s      r-   _cls_list_line_items_asyncz&PaymentLink._cls_list_line_items_async8
  s       z"++=DD!,\!:!: E    ,        	
 	
 		
r,   c                 
   K   dS r[  r+   r\  s     r-   list_line_items_asyncz!PaymentLink.list_line_items_asyncL
  s       	r,   c                 
   K   dS r[  r+   r_  s     r-   re  z!PaymentLink.list_line_items_asyncV
  s       	r,   rc  c                    K   t          t          d         |                     dd                    t	          |                     d                              |           d{V           S )rT  r   rJ  rU  r  rV  r?  N)r   r   _request_asyncrW  r   rJ  r_  s     r-   re  z!PaymentLink.list_line_items_async_
  s       z"%%=DD!,TXXd^^!<!< E    &        	
 	
 		
r,   r  c                     |                                  dt          |          }t          d|                     d||                    S ))
        Updates a payment link.
        /r   r>  r?  )rA  r   r   r@  rC  r  r:  r1   s       r-   modifyzPaymentLink.modifyq
  sX     +b///:    
 
 	
r,   c                    K   |                                  dt          |          }t          d|                     d||           d{V           S )rj  rk  r   r>  r?  N)rA  r   r   rF  rl  s       r-   modify_asynczPaymentLink.modify_async
  sz       +b///:++ ,        
 
 	
r,   r5  c                 @     | |fi |}|                                  |S )*
        Retrieve a payment link.
        )refreshrC  r  r:  instances       r-   retrievezPaymentLink.retrieve
  s2     3r$$V$$r,   c                 P   K    | |fi |}|                                  d{V  |S )rq  N)refresh_asyncrs  s       r-   retrieve_asynczPaymentLink.retrieve_async
  sH       3r$$V$$$$&&&&&&&&&r,   )r  r  r  r   r  r  r  r   r"  r$  r&  r-  r/  r1  N)r&   r'   r(   __doc__r   r   r   r*   r   r9   rF   rX   ry   r   r   r   r   r   r  r  r  r  r  r   r3  r   r8  r<  r?  rD  rH  rL  rN  rU  rZ  r]  ra  re  rh  rk  ro  rs  rv  ry  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  r  r  r  r  r
  r  r  r  r  r  r  r  r   r#  r&  r)  r+  r/  r1  r3  r6  rE   r   r   rm   r2  r)   r   r   r   classmethodr   rD  rG  rP  rR  rY  r   staticmethodr]  r
   rc  re  rm  ro  ru  rx  r8   r+   r,   r-   r   r      sm        
  6DK'.12CCC
 
 
 
 
, 
 
 
06 6 6 6 6| 6 6 6*
 
 
 
 
L 
 
 
2E
 E
 E
 E
 E
l E
 E
 E
N.
 .
 .
 .
 .
\ .
 .
 .
`F; F; F; F; F;, F; F; F;P    L   @       G G G G G| G G Gt t t t tL t t tl       2
 2
 2
 2
 2
< 2
 2
 2
h    ,       |   p p p p p~ p p pd    i   $    	       i       9       I       	   &    9       )   <    )       	       y              i          4    I       	       y          
 
 
 
 
i 
 
 
" " " " " " " "H    I       y              y           ( ( ( ( (	 ( ( (T    I       9       I   u u u u u	 u u un    Y       y   4    i       I       I       y       i       9       n   $    ^   ,h h h h h~ h h hT    i   $    	       i       9       I       )   <    )       	       y              i          4    I       	       y          
 
 
 
 
i 
 
 
" " " " " " " "H    I       y              y               	   ,    9       I   u u u u u	 u u un    y   $    i       I       I       y       i           LLL &%%% /-89999 %SM))) &e_,,,   '(: ;;;; !!23333 MMM $$$$ 67777 	GGG sm### //// J/0000 NNN 38n N#### ?956666 ""34444  ''>???? # "$	
& & & &N 3222<(((( "**C!DDDD >**** 89999   01111 '&&&L)))) 
HHH 
89
	
 
 
 [
 
89
	
 
 
 [
 67	M	"   [& 67	M	"   [& 

 :;
 
J		
 
 
 [
& %+,M%N	J	   \ X @A	J	   X 011
@A
	J	
 
 
 21
" 

 :;
 
J		
 
 
 [
& %+,M%N	J	   \ X @A	J	   X 677
@A
	J	
 
 
 87
" 

 &'A B
	
 
 
 [
  

 &'A B
	
 
 
 [
   &'C D	   [  &'C D	   [ ,%/$!+0#8$'@*-,% r,   r   N))stripe._createable_api_resourcer   stripe._expandable_fieldr   stripe._list_objectr   stripe._listable_api_resourcer   stripe._request_optionsr   stripe._stripe_objectr   stripe._updateable_api_resourcer	   stripe._utilr
   r   typingr   r   r   r   r   r   typing_extensionsr   r   r   r   r   stripe._accountr   stripe._applicationr   stripe._line_itemr   stripe._shipping_rater   stripe._tax_idr   r   r+   r,   r-   <module>r     s   B A A A A A 4 4 4 4 4 4 * * * * * * = = = = = = 2 2 2 2 2 2 . . . . . . A A A A A A : : : : : : : : A A A A A A A A A A A A A A A A               %''''''//////******222222$$$$$$\* \* \* \* \*-(&-(\* \* \* \* \*r,   