
    <@g                       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(y)    )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y)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                   v    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	y	)
PaymentLink.AfterCompletionc                       e Zd ZU ee   ed<   y).PaymentLink.AfterCompletion.HostedConfirmationcustom_messageN__name__
__module____qualname__r   str__annotations__     S/var/www/html/AdoubleTech/venv/lib/python3.12/site-packages/stripe/_payment_link.pyHostedConfirmationr#   ,   s    $SM)r,   r.   c                       e Zd ZU eed<   y)$PaymentLink.AfterCompletion.RedirecturlNr&   r'   r(   r)   r*   r+   r,   r-   Redirectr0   2   s    Hr,   r3   hosted_confirmationredirectr4   r5   typeN)
r&   r'   r(   r   r.   r3   r   r*   r   _inner_class_typesr+   r,   r-   AfterCompletionr!   +   sT    	 		| 	 &&8998$$788	 $6 
r,   r9   c                   J    e Zd ZU  G d de      Zeed<   	 ee   ed<   	 deiZy)PaymentLink.AutomaticTaxc                   6    e Zd ZU eed      ed<   	 ed   ed<   y)"PaymentLink.AutomaticTax.Liabilityr   accountr>   selfr7   Nr&   r'   r(   r   r   r*   r   r+   r,   r-   	Liabilityr=   D   s*    oi899 +,,r,   rB   enabled	liabilityN)	r&   r'   r(   r   rB   boolr*   r   r8   r+   r,   r-   AutomaticTaxr;   C   s9    	 	 	 I&&	 *95r,   rF   c                   n    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y)	PaymentLink.ConsentCollectionc                       e Zd ZU ed   ed<   y)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	 W^4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y)PaymentLink.CustomFieldc                   >    e Zd ZU  G d de      Zee   ed<   	 deiZy) PaymentLink.CustomField.Dropdownc                   $    e Zd ZU eed<   	 eed<   y)'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                   0    e Zd ZU ee   ed<   	 ed   ed<   y)PaymentLink.CustomField.Labelcustomr7   N)r&   r'   r(   r   r)   r*   r   r+   r,   r-   Labelre      s#    SM! (##r,   rg   c                   0    e Zd ZU ee   ed<   	 ee   ed<   y)PaymentLink.CustomField.Numericmaximum_lengthminimum_lengthNr&   r'   r(   r   intr*   r+   r,   r-   Numericri      "    $SM) %SM)r,   rn   c                   0    e Zd ZU ee   ed<   	 ee   ed<   y)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   s    	5| 	5"	L 		l 		< 	 8$$	 '""	 tn3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
y)PaymentLink.CustomTextc                       e Zd ZU eed<   y)"PaymentLink.CustomText.AfterSubmitmessageNr2   r+   r,   r-   AfterSubmitr}          Lr,   r   c                       e Zd ZU eed<   y)&PaymentLink.CustomText.ShippingAddressr~   Nr2   r+   r,   r-   ShippingAddressr      r   r,   r   c                       e Zd ZU eed<   y)PaymentLink.CustomText.Submitr~   Nr2   r+   r,   r-   Submitr      r   r,   r   c                       e Zd ZU eed<   y)/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{      s    	, 		l 		\ 		| 	 {++	 #?33	   	 &..F%GG	 ( /+C	
r,   r   c                   J    e Zd ZU  G d de      Zeed<   	 ee   ed<   	 deiZy)PaymentLink.InvoiceCreationc                       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y)'PaymentLink.InvoiceCreation.InvoiceDatac                   $    e Zd ZU eed<   	 eed<   y)3PaymentLink.InvoiceCreation.InvoiceData.CustomFieldnamer`   Nr2   r+   r,   r-   ry   r      s    	 
r,   ry   c                   6    e Zd ZU eed      ed<   	 ed   ed<   y).PaymentLink.InvoiceCreation.InvoiceData.Issuerr   r>   r?   r7   NrA   r+   r,   r-   Issuerr      *    !/)"<== /00r,   r   c                       e Zd ZU ee   ed<   y)8PaymentLink.InvoiceCreation.InvoiceData.RenderingOptionsamount_tax_displayNr%   r+   r,   r-   RenderingOptionsr      s    $,SM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      s    l  <  &d?7+C&DEE $D$566 "#& SM! V$$ tCH~..  ((899 "- %5"r,   r   rC   invoice_dataN)	r&   r'   r(   r   r   rE   r*   r   r8   r+   r,   r-   InvoiceCreationr      s:    ;	, ;	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	<   y
)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	 'sm+	 &.c]2	 !%	r,   r   c                       e Zd ZU eed<   y)!PaymentLink.PhoneNumberCollectionrC   Nr&   r'   r(   rE   r*   r+   r,   r-   PhoneNumberCollectionr   P      	r,   r   c                   6    e Zd ZU  G d de      Zeed<   deiZy)PaymentLink.Restrictionsc                   $    e Zd ZU eed<   	 eed<   y)*PaymentLink.Restrictions.CompletedSessionscountlimitNr&   r'   r(   rm   r*   r+   r,   r-   CompletedSessionsr   W  s    J Jr,   r   completed_sessionsN)r&   r'   r(   r   r   r*   r8   r+   r,   r-   Restrictionsr   V  s"    	 	 .-24EFr,   r   c                   $    e Zd ZU eed      ed<   y)%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  s&    lnp
 p	
b	r,   r  c                   *    e Zd ZU eed<   	 ed   ed<   y)PaymentLink.ShippingOptionshipping_amountr   shipping_rateN)r&   r'   r(   rm   r*   r   r+   r,   r-   ShippingOptionr  Z  s    	 '~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y)PaymentLink.SubscriptionDatac                   6    e Zd ZU  G d de      Zeed<   deiZy),PaymentLink.SubscriptionData.InvoiceSettingsc                   6    e Zd ZU eed      ed<   	 ed   ed<   y)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  s       N"*F!3r,   r  c                   8    e Zd ZU  G d de      Zeed<   	 deiZy)*PaymentLink.SubscriptionData.TrialSettingsc                       e Zd ZU ed   ed<   y)6PaymentLink.SubscriptionData.TrialSettings.EndBehaviorcancelcreate_invoicepausemissing_payment_methodNrO   r+   r,   r-   EndBehaviorr  t  s    (/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  sy    	4l 	4	?L 	? c]"	 *)sCx. 	 $C=(	 !//	 !0+
r,   r  c                   *    e Zd ZU eed<   	 ed   ed<   y)PaymentLink.TaxIdCollectionrC   if_supportedneverrV   N)r&   r'   r(   rE   r*   r   r+   r,   r-   TaxIdCollectionr    s    	 122r,   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)PaymentLink.TransferDataamountr   destinationN)r&   r'   r(   r   rm   r*   r   r+   r,   r-   TransferDatar    s#    	 %Y//	r,   r  c                   D   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/<   y0)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alma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	subscribe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    s|   %5
 	
	  +400	 !,C 00	 "-U!33	 ##IJJ	 %08J0K$LL	 (7
 	
	 c""	 #4(M#NOO	 !!EFF	 'w/F'GHH	 DI&&	 &c**	 &5
 	
	 ;<<	 d38n--	 "#&&	 )7
 	
	 $/+,$
 	
	 *!#%'
 '	
P	 "-;"
 	
	
 ""HII	 &1?&
 	
	 &9:
 	
	 !@A
 	
	 '6
 	
	 '5
 	
	 ##IJJ	r,   r8  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)r  9PaymentLink.CreateParamsAfterCompletionHostedConfirmationr4   /PaymentLink.CreateParamsAfterCompletionRedirectr5   r6   r7   Nr&   r'   r(   r   r*   r   r+   r,   r-   CreateParamsAfterCompletionz'PaymentLink.CreateParamsAfterCompletion^  A    (G
 	
	 =
 	
	 788	r,   r=  c                       e Zd ZU ee   ed<   y)r:  r$   Nr&   r'   r(   r   r)   r*   r+   r,   r-   -CreateParamsAfterCompletionHostedConfirmationz9PaymentLink.CreateParamsAfterCompletionHostedConfirmationp      #C((	r,   rA  c                       e Zd ZU eed<   y)r;  r1   Nr2   r+   r,   r-   #CreateParamsAfterCompletionRedirectz/PaymentLink.CreateParamsAfterCompletionRedirectv      	r,   rD  c                   *    e Zd ZU eed<   	 ed   ed<   y)r  rC   -PaymentLink.CreateParamsAutomaticTaxLiabilityrD   Nr&   r'   r(   rE   r*   r   r+   r,   r-   CreateParamsAutomaticTaxz$PaymentLink.CreateParamsAutomaticTax|      	
 NOO	r,   rI  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)rG  r>   r?   r7   Nr&   r'   r(   r   r)   r*   r   r+   r,   r-   !CreateParamsAutomaticTaxLiabilityz-PaymentLink.CreateParamsAutomaticTaxLiability  %    S!!	 '((	r,   rM  c                   N    e Zd ZU ed   ed<   	 eed      ed<   	 eed      ed<   y)r  DPaymentLink.CreateParamsConsentCollectionPaymentMethodReuseAgreementrQ   rR   rT   rU   rW   Nr<  r+   r,   r-   CreateParamsConsentCollectionz)PaymentLink.CreateParamsConsentCollection  sF    (3R)
 	
	   788	
 &g.@&ABB	r,   rQ  c                       e Zd ZU ed   ed<   y)rP  rK   rN   NrO   r+   r,   r-   8CreateParamsConsentCollectionPaymentMethodReuseAgreementzDPaymentLink.CreateParamsConsentCollectionPaymentMethodReuseAgreement  s    *++	r,   rS  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<   y)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  w    KLL	 	 :9	 IJJ	 d##	 CDD	 344	r,   rZ  c                       e Zd ZU ed   ed<   y)rU  1PaymentLink.CreateParamsCustomFieldDropdownOptionrb   Nr&   r'   r(   r   r*   r+   r,   r-   CreateParamsCustomFieldDropdownz+PaymentLink.CreateParamsCustomFieldDropdown      IJJ	r,   r_  c                   $    e Zd ZU eed<   	 eed<   y)r]  r_   r`   Nr2   r+   r,   r-   %CreateParamsCustomFieldDropdownOptionz1PaymentLink.CreateParamsCustomFieldDropdownOption      
	 
	r,   rb  c                   *    e Zd ZU eed<   	 ed   ed<   y)rV  rf   r7   Nr&   r'   r(   r)   r*   r   r+   r,   r-   CreateParamsCustomFieldLabelz(PaymentLink.CreateParamsCustomFieldLabel      	 h	r,   rf  c                   0    e Zd ZU ee   ed<   	 ee   ed<   y)rW  rj   rk   Nr&   r'   r(   r   rm   r*   r+   r,   r-   CreateParamsCustomFieldNumericz*PaymentLink.CreateParamsCustomFieldNumeric  $    #C((	 $C((	r,   rj  c                   0    e Zd ZU ee   ed<   	 ee   ed<   y)rX  rj   rk   Nri  r+   r,   r-   CreateParamsCustomFieldTextz'PaymentLink.CreateParamsCustomFieldText  rk  r,   rm  c                   T    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y	)
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,   rp  c                       e Zd ZU eed<   y)-PaymentLink.CreateParamsCustomTextAfterSubmitr~   Nr2   r+   r,   r-   !CreateParamsCustomTextAfterSubmitrs        	r,   rt  c                       e Zd ZU eed<   y)1PaymentLink.CreateParamsCustomTextShippingAddressr~   Nr2   r+   r,   r-   %CreateParamsCustomTextShippingAddressrw    ru  r,   rx  c                       e Zd ZU eed<   y)(PaymentLink.CreateParamsCustomTextSubmitr~   Nr2   r+   r,   r-   CreateParamsCustomTextSubmitrz    ru  r,   r{  c                       e Zd ZU eed<   y):PaymentLink.CreateParamsCustomTextTermsOfServiceAcceptancer~   Nr2   r+   r,   r-   .CreateParamsCustomTextTermsOfServiceAcceptancer}  $  ru  r,   r~  c                   *    e Zd ZU eed<   	 ed   ed<   y)r  rC   2PaymentLink.CreateParamsInvoiceCreationInvoiceDatar   NrH  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<   y)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.CreateParamsInvoiceCreationInvoiceData6      $%<==	 #]
 	
	 !%%	 C  	 F
 	
	 :;;	 '\
 	
	r,   r  c                   $    e Zd ZU eed<   	 eed<   y)=PaymentLink.CreateParamsInvoiceCreationInvoiceDataCustomFieldr   r`   Nr2   r+   r,   r-   1CreateParamsInvoiceCreationInvoiceDataCustomFieldr  Z      		 
	r,   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r>   r?   r7   NrL  r+   r,   r-   ,CreateParamsInvoiceCreationInvoiceDataIssuerz8PaymentLink.CreateParamsInvoiceCreationInvoiceDataIssuerd  rN  r,   r  c                       e Zd ZU ed   ed<   y)BPaymentLink.CreateParamsInvoiceCreationInvoiceDataRenderingOptions;Literal['']|Literal['exclude_tax', 'include_inclusive_tax']r   Nro  r+   r,   r-   6CreateParamsInvoiceCreationInvoiceDataRenderingOptionsr  n      'I
 	
	r,   r  c                   6    e Zd ZU ed   ed<   	 eed<   	 eed<   y)r  2PaymentLink.CreateParamsLineItemAdjustableQuantityadjustable_quantitypricequantityNr&   r'   r(   r   r*   r)   rm   r+   r,   r-   CreateParamsLineItemz PaymentLink.CreateParamsLineItemv  s/    (@
 	
	 
	 	r,   r  c                   <    e Zd ZU eed<   	 ee   ed<   	 ee   ed<   y)r  rC   maximumminimumNr&   r'   r(   rE   r*   r   rm   r+   r,   r-   &CreateParamsLineItemAdjustableQuantityz2PaymentLink.CreateParamsLineItemAdjustableQuantity  0    	 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	<   y
)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	 *#..	
 &1%55	 $C((	r,   r  c                       e Zd ZU eed<   y)r#  rC   Nr   r+   r,   r-   !CreateParamsPhoneNumberCollectionz-PaymentLink.CreateParamsPhoneNumberCollection  r   r,   r  c                       e Zd ZU ded<   y)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<   y)r  r   Nr   r+   r,   r-   )CreateParamsRestrictionsCompletedSessionsz5PaymentLink.CreateParamsRestrictionsCompletedSessions      
	r,   r  c                   $    e Zd ZU eed      ed<   y)r'  r   r  Nr  r+   r,   r-   %CreateParamsShippingAddressCollectionz1PaymentLink.CreateParamsShippingAddressCollection  &    lnp
 p	
b	r,   r  c                       e Zd ZU ee   ed<   y)r)  r  Nr@  r+   r,   r-   CreateParamsShippingOptionz&PaymentLink.CreateParamsShippingOption  s    "3''	r,   r  c                   p    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<   y)	r1  r   7PaymentLink.CreateParamsSubscriptionDataInvoiceSettingsr  r   r  5PaymentLink.CreateParamsSubscriptionDataTrialSettingsr  N)r&   r'   r(   r   r)   r*   r   rm   r+   r,   r-   CreateParamsSubscriptionDataz(PaymentLink.CreateParamsSubscriptionData  sl     %%	 &E
 	
	 d38n--	 's++	 $C
 	
	r,   r  c                       e Zd ZU ed   ed<   y)r  =PaymentLink.CreateParamsSubscriptionDataInvoiceSettingsIssuerr   Nro  r+   r,   r-   +CreateParamsSubscriptionDataInvoiceSettingsz7PaymentLink.CreateParamsSubscriptionDataInvoiceSettings      K
 	
	r,   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r>   r?   r7   NrL  r+   r,   r-   1CreateParamsSubscriptionDataInvoiceSettingsIssuerz=PaymentLink.CreateParamsSubscriptionDataInvoiceSettingsIssuer  rN  r,   r  c                       e Zd ZU ded<   y)r  @PaymentLink.CreateParamsSubscriptionDataTrialSettingsEndBehaviorr  Nr  r+   r,   r-   )CreateParamsSubscriptionDataTrialSettingsz5PaymentLink.CreateParamsSubscriptionDataTrialSettings      N	
	r,   r  c                       e Zd ZU ed   ed<   y)r  r  r  NrO   r+   r,   r-   4CreateParamsSubscriptionDataTrialSettingsEndBehaviorz@PaymentLink.CreateParamsSubscriptionDataTrialSettingsEndBehavior       '(K LL	r,   r  c                   0    e Zd ZU eed<   	 eed      ed<   y)r3  rC   r  rV   Nr&   r'   r(   rE   r*   r   r   r+   r,   r-   CreateParamsTaxIdCollectionz'PaymentLink.CreateParamsTaxIdCollection  $    	 g&=>??	r,   r  c                   *    e Zd ZU ee   ed<   	 eed<   y)r5  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<   y)PaymentLink.ListLineItemsParamsending_beforer  r   starting_afterN)r&   r'   r(   r   r)   r*   r   rm   r+   r,   r-   ListLineItemsParamsr  "  sL    "3''	 DI&&	 3	 $C((	r,   r  c                   l    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<   y)PaymentLink.ListParamsactiver  r  r   r  N)	r&   r'   r(   r   rE   r*   r)   r   rm   r+   r,   r-   
ListParamsr  4  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ed       ed!<   	 ed"   ed#<   	 ed$   ed%<   y&)'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', 'alma', '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(  r+  r0  (PaymentLink.ModifyParamsSubscriptionDatar2  'PaymentLink.ModifyParamsTaxIdCollectionr4  N)
r&   r'   r(   r   rE   r*   r   r   r)   r   r+   r,   r-   ModifyParamsr  J  s   D!!	 &5
 	
	  +400	 ##IJJ	 %08J0K$LL	 #C
 	
	 !!EFF	 'w/F'GHH	 DI&&	 &&788	 &5
 	
	  %G HII	 d38n--	 )7
 	
	 $/+,$
 	
	 * Y
 	
	 ">
 	
	 &1K&
 	
	 !@A
 	
	 '6
 	
	 '5
 	
	r,   r  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)r  9PaymentLink.ModifyParamsAfterCompletionHostedConfirmationr4   /PaymentLink.ModifyParamsAfterCompletionRedirectr5   r6   r7   Nr<  r+   r,   r-   ModifyParamsAfterCompletionz'PaymentLink.ModifyParamsAfterCompletion  r>  r,   r  c                       e Zd ZU ee   ed<   y)r  r$   Nr@  r+   r,   r-   -ModifyParamsAfterCompletionHostedConfirmationz9PaymentLink.ModifyParamsAfterCompletionHostedConfirmation  rB  r,   r  c                       e Zd ZU eed<   y)r  r1   Nr2   r+   r,   r-   #ModifyParamsAfterCompletionRedirectz/PaymentLink.ModifyParamsAfterCompletionRedirect  rE  r,   r  c                   *    e Zd ZU eed<   	 ed   ed<   y)r  rC   -PaymentLink.ModifyParamsAutomaticTaxLiabilityrD   NrH  r+   r,   r-   ModifyParamsAutomaticTaxz$PaymentLink.ModifyParamsAutomaticTax  rJ  r,   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r>   r?   r7   NrL  r+   r,   r-   !ModifyParamsAutomaticTaxLiabilityz-PaymentLink.ModifyParamsAutomaticTaxLiability  rN  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<   y)#PaymentLink.ModifyParamsCustomField+PaymentLink.ModifyParamsCustomFieldDropdownrs   rt   (PaymentLink.ModifyParamsCustomFieldLabelr_   *PaymentLink.ModifyParamsCustomFieldNumericru   rv   'PaymentLink.ModifyParamsCustomFieldTextrw   rx   r7   NrY  r+   r,   r-   ModifyParamsCustomFieldr    r[  r,   r  c                       e Zd ZU ed   ed<   y)r  1PaymentLink.ModifyParamsCustomFieldDropdownOptionrb   Nr^  r+   r,   r-   ModifyParamsCustomFieldDropdownz+PaymentLink.ModifyParamsCustomFieldDropdown  r`  r,   r  c                   $    e Zd ZU eed<   	 eed<   y)r  r_   r`   Nr2   r+   r,   r-   %ModifyParamsCustomFieldDropdownOptionz1PaymentLink.ModifyParamsCustomFieldDropdownOption  rc  r,   r  c                   *    e Zd ZU eed<   	 ed   ed<   y)r  rf   r7   Nre  r+   r,   r-   ModifyParamsCustomFieldLabelz(PaymentLink.ModifyParamsCustomFieldLabel  rg  r,   r  c                   0    e Zd ZU ee   ed<   	 ee   ed<   y)r  rj   rk   Nri  r+   r,   r-   ModifyParamsCustomFieldNumericz*PaymentLink.ModifyParamsCustomFieldNumeric&  rk  r,   r  c                   0    e Zd ZU ee   ed<   	 ee   ed<   y)r  rj   rk   Nri  r+   r,   r-   ModifyParamsCustomFieldTextz'PaymentLink.ModifyParamsCustomFieldText0  rk  r,   r  c                   T    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y	)
r  z9Literal['']|PaymentLink.ModifyParamsCustomTextAfterSubmitr   z=Literal['']|PaymentLink.ModifyParamsCustomTextShippingAddressr   z4Literal['']|PaymentLink.ModifyParamsCustomTextSubmitr   zFLiteral['']|PaymentLink.ModifyParamsCustomTextTermsOfServiceAcceptancer   Nro  r+   r,   r-   ModifyParamsCustomTextz"PaymentLink.ModifyParamsCustomText:  rq  r,   r  c                       e Zd ZU eed<   y)-PaymentLink.ModifyParamsCustomTextAfterSubmitr~   Nr2   r+   r,   r-   !ModifyParamsCustomTextAfterSubmitr  T  ru  r,   r  c                       e Zd ZU eed<   y)1PaymentLink.ModifyParamsCustomTextShippingAddressr~   Nr2   r+   r,   r-   %ModifyParamsCustomTextShippingAddressr  Z  ru  r,   r  c                       e Zd ZU eed<   y)(PaymentLink.ModifyParamsCustomTextSubmitr~   Nr2   r+   r,   r-   ModifyParamsCustomTextSubmitr  `  ru  r,   r  c                       e Zd ZU eed<   y):PaymentLink.ModifyParamsCustomTextTermsOfServiceAcceptancer~   Nr2   r+   r,   r-   .ModifyParamsCustomTextTermsOfServiceAcceptancer
  f  ru  r,   r  c                   *    e Zd ZU eed<   	 ed   ed<   y)r  rC   2PaymentLink.ModifyParamsInvoiceCreationInvoiceDatar   NrH  r+   r,   r-   ModifyParamsInvoiceCreationz'PaymentLink.ModifyParamsInvoiceCreationl  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<   y)r  r  r   zOLiteral['']|List[PaymentLink.ModifyParamsInvoiceCreationInvoiceDataCustomField]r   r   r   8PaymentLink.ModifyParamsInvoiceCreationInvoiceDataIssuerr   r  r   zNLiteral['']|PaymentLink.ModifyParamsInvoiceCreationInvoiceDataRenderingOptionsr   Nr  r+   r,   r-   &ModifyParamsInvoiceCreationInvoiceDataz2PaymentLink.ModifyParamsInvoiceCreationInvoiceDatax  r  r,   r  c                   $    e Zd ZU eed<   	 eed<   y)=PaymentLink.ModifyParamsInvoiceCreationInvoiceDataCustomFieldr   r`   Nr2   r+   r,   r-   1ModifyParamsInvoiceCreationInvoiceDataCustomFieldr    r  r,   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r>   r?   r7   NrL  r+   r,   r-   ,ModifyParamsInvoiceCreationInvoiceDataIssuerz8PaymentLink.ModifyParamsInvoiceCreationInvoiceDataIssuer  rN  r,   r  c                       e Zd ZU ed   ed<   y)BPaymentLink.ModifyParamsInvoiceCreationInvoiceDataRenderingOptionsr  r   Nro  r+   r,   r-   6ModifyParamsInvoiceCreationInvoiceDataRenderingOptionsr    r  r,   r  c                   <    e Zd ZU ed   ed<   	 eed<   	 ee   ed<   y)r  2PaymentLink.ModifyParamsLineItemAdjustableQuantityr  idr  Nr  r+   r,   r-   ModifyParamsLineItemz PaymentLink.ModifyParamsLineItem  s5    (@
 	
	 	 c""	r,   r  c                   <    e Zd ZU eed<   	 ee   ed<   	 ee   ed<   y)r  rC   r  r  Nr  r+   r,   r-   &ModifyParamsLineItemAdjustableQuantityz2PaymentLink.ModifyParamsLineItemAdjustableQuantity  r  r,   r  c                   f    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<   y)	r  r  r   r  r   r   r   r   Nro  r+   r,   r-   ModifyParamsPaymentIntentDataz)PaymentLink.ModifyParamsPaymentIntentData  s_     !233	 :;;	 **;<<	
 &11B%CC	 $$566	r,   r!  c                       e Zd ZU ded<   y)$PaymentLink.ModifyParamsRestrictions5PaymentLink.ModifyParamsRestrictionsCompletedSessionsr   Nr  r+   r,   r-   ModifyParamsRestrictionsr#    r  r,   r%  c                       e Zd ZU eed<   y)r$  r   Nr   r+   r,   r-   )ModifyParamsRestrictionsCompletedSessionsz5PaymentLink.ModifyParamsRestrictionsCompletedSessions  r  r,   r'  c                   $    e Zd ZU eed      ed<   y)1PaymentLink.ModifyParamsShippingAddressCollectionr   r  Nr  r+   r,   r-   %ModifyParamsShippingAddressCollectionr)    r  r,   r*  c                   T    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y	)
r  7PaymentLink.ModifyParamsSubscriptionDataInvoiceSettingsr  r  r   zLiteral['']|intr  zALiteral['']|PaymentLink.ModifyParamsSubscriptionDataTrialSettingsr  Nro  r+   r,   r-   ModifyParamsSubscriptionDataz(PaymentLink.ModifyParamsSubscriptionData  sT    %E
 	
	 :;;	 ''899	 $O
 	
	r,   r-  c                       e Zd ZU ed   ed<   y)r,  =PaymentLink.ModifyParamsSubscriptionDataInvoiceSettingsIssuerr   Nro  r+   r,   r-   +ModifyParamsSubscriptionDataInvoiceSettingsz7PaymentLink.ModifyParamsSubscriptionDataInvoiceSettings		  r  r,   r0  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r/  r>   r?   r7   NrL  r+   r,   r-   1ModifyParamsSubscriptionDataInvoiceSettingsIssuerz=PaymentLink.ModifyParamsSubscriptionDataInvoiceSettingsIssuer	  rN  r,   r2  c                       e Zd ZU ded<   y)5PaymentLink.ModifyParamsSubscriptionDataTrialSettings@PaymentLink.ModifyParamsSubscriptionDataTrialSettingsEndBehaviorr  Nr  r+   r,   r-   )ModifyParamsSubscriptionDataTrialSettingsr4  	  r  r,   r6  c                       e Zd ZU ed   ed<   y)r5  r  r  NrO   r+   r,   r-   4ModifyParamsSubscriptionDataTrialSettingsEndBehaviorz@PaymentLink.ModifyParamsSubscriptionDataTrialSettingsEndBehavior#	  r  r,   r8  c                   0    e Zd ZU eed<   	 eed      ed<   y)r  rC   r  rV   Nr  r+   r,   r-   ModifyParamsTaxIdCollectionz'PaymentLink.ModifyParamsTaxIdCollection)	  r  r,   r:  c                   $    e Zd ZU eee      ed<   y)PaymentLink.RetrieveParamsr  N)r&   r'   r(   r   r   r)   r*   r+   r,   r-   RetrieveParamsr<  3	  s    DI&&	r,   r=  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+  r0  r2  r4  r6  r1   paramsr  returnc                 Z    t        d| j                  d| j                         |            S ))
        Creates a payment link.
        r   postrA  )r   _static_request	class_urlclsrA  s     r-   createzPaymentLink.create	  s6        
 	
r,   c                 v   K   t        d| j                  d| j                         |       d{         S 7 w)rD  r   rE  rF  N)r   _static_request_asyncrH  rI  s     r-   create_asynczPaymentLink.create_async	  sD      ++ ,  
 	
s   ,97
	9r  c                     | j                  d| j                         |      }t        |t              s!t	        dt        |      j                  z        |S )7
        Returns a list of your payment links.
        getrF  %Expected list object from API, got %s)rG  rH  
isinstancer   	TypeErrorr7   r&   rJ  rA  results      r-   listzPaymentLink.list	  s]     $$MMO % 

 &*-7<((* 
 r,   c                    K   | j                  d| j                         |       d{   }t        |t              s!t	        dt        |      j                  z        |S 7 7w)rP  rQ  rF  NrR  )rM  rH  rS  r   rT  r7   r&   rU  s      r-   
list_asynczPaymentLink.list_async

  sk      00MMO 1 
 

 &*-7<((* 
 
s   &A"A 8A"r  c                 ~    t        t        d   | j                  ddj                  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   rQ  +/v1/payment_links/{payment_link}/line_itemsr   rF  )r   r   rG  formatr   rJ  r   rA  s      r-   _cls_list_line_itemsz PaymentLink._cls_list_line_items
  sP     z"=DD!,\!: E     	
 		
r,   c                      yr[  Nr+   r   rA  s     r-   list_line_itemszPaymentLink.list_line_items2
  s     	r,   c                      yrb  r+   r@   rA  s     r-   rd  zPaymentLink.list_line_items<
  s     	r,   r`  c                     t        t        d   | j                  ddj                  t	        | j                  d                  |            S )r[  r   rQ  r\  r  r]  rF  )r   r   _requestr^  r   rQ  rf  s     r-   rd  zPaymentLink.list_line_itemsE
  sV     z"MM=DD!,TXXd^!< E    	
 		
r,   c                    K   t        t        d   | j                  ddj                  t	        |            |       d{         S 7 w)r[  r   rQ  r\  r]  rF  N)r   r   rM  r^  r   r_  s      r-   _cls_list_line_items_asyncz&PaymentLink._cls_list_line_items_asyncW
  s^      z"++=DD!,\!: E   ,  	
 		
s   >A A	
	Ac                    K   ywrb  r+   rc  s     r-   list_line_items_asyncz!PaymentLink.list_line_items_asynck
  s      	   c                    K   ywrb  r+   rf  s     r-   rl  z!PaymentLink.list_line_items_asyncu
  s      	rm  rj  c                    K   t        t        d   | j                  ddj                  t	        | j                  d                  |       d{         S 7 w)r[  r   rQ  r\  r  r]  rF  N)r   r   _request_asyncr^  r   rQ  rf  s     r-   rl  z!PaymentLink.list_line_items_async~
  sf      z"%%=DD!,TXXd^!< E   &  	
 		
s   AAA
	Ar  c                 z    | j                         dt        |      }t        d| j                  d||            S ))
        Updates a payment link.
        /r   rE  rF  )rH  r   r   rG  rJ  r  rA  r1   s       r-   modifyzPaymentLink.modify
  sD     +b/:   
 	
r,   c                    K   | j                         dt        |      }t        d| j                  d||       d{         S 7 w)rr  rs  r   rE  rF  N)rH  r   r   rM  rt  s       r-   modify_asynczPaymentLink.modify_async
  sR      +b/:++ ,  
 	
s   <A	A
	A	r<  c                 8     | |fi |}|j                          |S )*
        Retrieve a payment link.
        )refreshrJ  r  rA  instances       r-   retrievezPaymentLink.retrieve
  s$     r$V$r,   c                 T   K    | |fi |}|j                          d{    |S 7 w)ry  N)refresh_asyncr{  s       r-   retrieve_asynczPaymentLink.retrieve_async
  s3      r$V$$$&&& 	's   (&()r  r  r  r   r  r  r  r$  r&  r(  r*  r2  r4  r6  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   r8  r   r=  rA  rD  rI  rM  rQ  rS  rZ  r_  rb  rf  rj  rm  rp  rt  rx  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-  r0  r2  r6  r8  r:  r=  rE   r   r   rm   r7  r)   r   r   r   classmethodr   rK  rN  rW  rY  r`  r   staticmethodrd  r
   rj  rl  ru  rw  r}  r  r8   r+   r,   r-   r   r      s	   
 6DK'.12C
, 
06| 6*
L 
2E
l E
N.
\ .
`F;, F;PL @ G| GtL tl 2
< 2
h3, 3| s~ sji $	 i 
9 
I 	 &9 ) <) 	 y  i  4I 	 y  
i 
" "HI y  y   *	 *XI 9 I u	 unY y 4i I I y i 9 n $^ ,n~ n`i $	 i 
9 
I ) <) 	 y  i  4I 	 y  
i 
" "HI y  y   	 09 I u	 uny ,i I I y i   L &% /-899 %SM) &e_,   '(: ;; !!233 M $$ 677 	G sm# // J/00 N 38n N## ?9566 ""344  ''>?? #!#%	
' 'P 32<(( "**C!DD >** EFF   011 '&L)) 
H 
89
	
 
 
89
	
 
 67	M	" & 67	M	" & 

 :;
 
J		
 
& %+,M%N	J	   @A	J	  01
@A
	J	
 2
" 

 :;
 
J		
 
& %+,M%N	J	   @A	J	  67
@A
	J	
 8
" 

 &'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     sh    B 4 * = 2 . A : A A  '/*2${*-(&-({*r,   