
    <@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mZmZ d dlmZmZmZ  G d	 d
e	      Zy)    )
ListObject)PaymentLink)PaymentLinkLineItemService)RequestOptions)StripeService)sanitize_id)DictListcast)LiteralNotRequired	TypedDictc            	       x    e Zd Z fd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 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      Z+ G dP dQe      Z, G dR dSe      Z- G dT dUe      Z. G dV dWe      Z/ G dX dYe      Z0 G dZ d[e      Z1 G d\ d]e      Z2 G d^ d_e      Z3 G d` dae      Z4 G db dce      Z5 G dd dee      Z6 G df dge      Z7 G dh die      Z8 G dj dke      Z9 G dl dme      Z: G dn doe      Z; G dp dqe      Z< G dr dse      Z= G dt due      Z> G dv dwe      Z? G dx dye      Z@ G dz d{e      ZA G d| d}e      ZB G d~ de      ZC G d de      ZD G d de      ZE G d de      ZF G d de      ZG G d de      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      ZOi i fdddePdeQeR   fdZSi i fdddePdeQeR   fdZTi fdddePdeRfdZUi fdddePdeRfdZVi i fdeWdddePdeRfdZXi i fdeWdddePdeRfdZYi i fdeWdddePdeRfdZZi i fdeWdddePdeRfdZ[ xZ\S )PaymentLinkServicec                 X    t         |   |       t        | j                        | _        y )N)super__init__r   
_requestor
line_items)self	requestor	__class__s     [/var/www/html/AdoubleTech/venv/lib/python3.12/site-packages/stripe/_payment_link_service.pyr   zPaymentLinkService.__init__   s     #4T__E    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PaymentLinkService.CreateParams.PaymentLinkService.CreateParamsAfterCompletionafter_completionallow_promotion_codesapplication_fee_amountapplication_fee_percent+PaymentLinkService.CreateParamsAutomaticTaxautomatic_taxautorequiredbilling_address_collection0PaymentLinkService.CreateParamsConsentCollectionconsent_collectioncurrency*PaymentLinkService.CreateParamsCustomFieldcustom_fields)PaymentLinkService.CreateParamsCustomTextcustom_textalwaysif_requiredcustomer_creationexpandinactive_message.PaymentLinkService.CreateParamsInvoiceCreationinvoice_creation'PaymentLinkService.CreateParamsLineItemr   metadataon_behalf_of0PaymentLinkService.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_types4PaymentLinkService.CreateParamsPhoneNumberCollectionphone_number_collection+PaymentLinkService.CreateParamsRestrictionsrestrictions8PaymentLinkService.CreateParamsShippingAddressCollectionshipping_address_collection-PaymentLinkService.CreateParamsShippingOptionshipping_optionsr%   bookdonatepay	subscribesubmit_type/PaymentLinkService.CreateParamsSubscriptionDatasubscription_data.PaymentLinkService.CreateParamsTaxIdCollectiontax_id_collection+PaymentLinkService.CreateParamsTransferDatatransfer_dataN)__name__
__module____qualname__r   __annotations__boolintfloatr   strr
   r	    r   r   CreateParamsr      s   %<
 	
	  +400	 !,C 00	 "-U!33	 #9
 	
	 %08J0K$LL	 (>
 	
	 c""	 #=>
 	
	 !!LMM	 'w/F'GHH	 DI&&	 &c**	 &<
 	
	 BCC	 d38n--	 "#&&	 )>
 	
	 $/+,$
 	
	 *!#%'
 '	
P	 "-B"
 	
	
 "9
 	
	 &1F&
 	
	 &@A
 	
	 !@A
 	
	 '=
 	
	 '<
 	
	 #9
 	
	r   r}   c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)r   @PaymentLinkService.CreateParamsAfterCompletionHostedConfirmationhosted_confirmation6PaymentLinkService.CreateParamsAfterCompletionRedirectredirectr   r   typeNrt   ru   rv   r   rw   r   r|   r   r   CreateParamsAfterCompletionz.PaymentLinkService.CreateParamsAfterCompletion   A    (N
 	
	 D
 	
	 788	r   r   c                       e Zd ZU ee   ed<   y)r   custom_messageNrt   ru   rv   r   r{   rw   r|   r   r   -CreateParamsAfterCompletionHostedConfirmationz@PaymentLinkService.CreateParamsAfterCompletionHostedConfirmation       #C((	r   r   c                       e Zd ZU eed<   y)r   urlNrt   ru   rv   r{   rw   r|   r   r   #CreateParamsAfterCompletionRedirectz6PaymentLinkService.CreateParamsAfterCompletionRedirect       	r   r   c                   *    e Zd ZU eed<   	 ed   ed<   y)r"   enabled4PaymentLinkService.CreateParamsAutomaticTaxLiability	liabilityNrt   ru   rv   rx   rw   r   r|   r   r   CreateParamsAutomaticTaxz+PaymentLinkService.CreateParamsAutomaticTax   #    	
 B
 	
	r   r   c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r   accountr   r   r   Nrt   ru   rv   r   r{   rw   r   r|   r   r   !CreateParamsAutomaticTaxLiabilityz4PaymentLinkService.CreateParamsAutomaticTaxLiability   %    S!!	 '((	r   r   c                   N    e Zd ZU ed   ed<   	 eed      ed<   	 eed      ed<   y)r(   KPaymentLinkService.CreateParamsConsentCollectionPaymentMethodReuseAgreementpayment_method_reuse_agreement)r%   none
promotions)r   r&   terms_of_serviceNr   r|   r   r   CreateParamsConsentCollectionz0PaymentLinkService.CreateParamsConsentCollection  sF    (3Y)
 	
	   788	
 &g.@&ABB	r   r   c                       e Zd ZU ed   ed<   y)r   )r%   hiddenpositionNrt   ru   rv   r   rw   r|   r   r   8CreateParamsConsentCollectionPaymentMethodReuseAgreementzKPaymentLinkService.CreateParamsConsentCollectionPaymentMethodReuseAgreement  s    *++	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)r+   2PaymentLinkService.CreateParamsCustomFieldDropdowndropdownkey/PaymentLinkService.CreateParamsCustomFieldLabellabel1PaymentLinkService.CreateParamsCustomFieldNumericnumericoptional.PaymentLinkService.CreateParamsCustomFieldTexttextr   r   r   r   Nrt   ru   rv   r   rw   r{   rx   r   r|   r   r   CreateParamsCustomFieldz*PaymentLinkService.CreateParamsCustomField      @
 	
	 	 A@	 ?
 	
	 d##	 JKK	 344	r   r   c                       e Zd ZU ed   ed<   y)r   8PaymentLinkService.CreateParamsCustomFieldDropdownOptionoptionsNrt   ru   rv   r
   rw   r|   r   r   CreateParamsCustomFieldDropdownz2PaymentLinkService.CreateParamsCustomFieldDropdownA      F
 	
	r   r   c                   $    e Zd ZU eed<   	 eed<   y)r   r   valueNr   r|   r   r   %CreateParamsCustomFieldDropdownOptionz8PaymentLinkService.CreateParamsCustomFieldDropdownOptionI      
	 
	r   r   c                   *    e Zd ZU eed<   	 ed   ed<   y)r   customr   Nrt   ru   rv   r{   rw   r   r|   r   r   CreateParamsCustomFieldLabelz/PaymentLinkService.CreateParamsCustomFieldLabelS      	 h	r   r   c                   0    e Zd ZU ee   ed<   	 ee   ed<   y)r   maximum_lengthminimum_lengthNrt   ru   rv   r   ry   rw   r|   r   r   CreateParamsCustomFieldNumericz1PaymentLinkService.CreateParamsCustomFieldNumeric]  $    #C((	 $C((	r   r   c                   0    e Zd ZU ee   ed<   	 ee   ed<   y)r   r   r   Nr   r|   r   r   CreateParamsCustomFieldTextz.PaymentLinkService.CreateParamsCustomFieldTextg  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-   z@Literal['']|PaymentLinkService.CreateParamsCustomTextAfterSubmitafter_submitzDLiteral['']|PaymentLinkService.CreateParamsCustomTextShippingAddressshipping_addressz;Literal['']|PaymentLinkService.CreateParamsCustomTextSubmitsubmitzMLiteral['']|PaymentLinkService.CreateParamsCustomTextTermsOfServiceAcceptanceterms_of_service_acceptanceNrt   ru   rv   r   rw   r|   r   r   CreateParamsCustomTextz)PaymentLinkService.CreateParamsCustomTextq  \    !N
 	
	 &R
 	
	 I
 	
	 &1[&
 	
	r   r   c                       e Zd ZU eed<   y)4PaymentLinkService.CreateParamsCustomTextAfterSubmitmessageNr   r|   r   r   !CreateParamsCustomTextAfterSubmitr         	r   r   c                       e Zd ZU eed<   y)8PaymentLinkService.CreateParamsCustomTextShippingAddressr   Nr   r|   r   r   %CreateParamsCustomTextShippingAddressr     r   r   r   c                       e Zd ZU eed<   y)/PaymentLinkService.CreateParamsCustomTextSubmitr   Nr   r|   r   r   CreateParamsCustomTextSubmitr     r   r   r   c                       e Zd ZU eed<   y)APaymentLinkService.CreateParamsCustomTextTermsOfServiceAcceptancer   Nr   r|   r   r   .CreateParamsCustomTextTermsOfServiceAcceptancer     r   r   r   c                   *    e Zd ZU eed<   	 ed   ed<   y)r5   r   9PaymentLinkService.CreateParamsInvoiceCreationInvoiceDatainvoice_dataNr   r|   r   r   CreateParamsInvoiceCreationz.PaymentLinkService.CreateParamsInvoiceCreation  #    	 "G
 	
	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]account_tax_idszVLiteral['']|List[PaymentLinkService.CreateParamsInvoiceCreationInvoiceDataCustomField]r,   descriptionfooter?PaymentLinkService.CreateParamsInvoiceCreationInvoiceDataIssuerissuerLiteral['']|Dict[str, str]r8   zULiteral['']|PaymentLinkService.CreateParamsInvoiceCreationInvoiceDataRenderingOptionsrendering_optionsNrt   ru   rv   r   rw   r{   r|   r   r   &CreateParamsInvoiceCreationInvoiceDataz9PaymentLinkService.CreateParamsInvoiceCreationInvoiceData      $%<==	 #d
 	
	 !%%	 C  	 M
 	
	 :;;	 'c
 	
	r   r   c                   $    e Zd ZU eed<   	 eed<   y)DPaymentLinkService.CreateParamsInvoiceCreationInvoiceDataCustomFieldnamer   Nr   r|   r   r   1CreateParamsInvoiceCreationInvoiceDataCustomFieldr         		 
	r   r   c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r   r   r   r   Nr   r|   r   r   ,CreateParamsInvoiceCreationInvoiceDataIssuerz?PaymentLinkService.CreateParamsInvoiceCreationInvoiceDataIssuer  r   r   r   c                       e Zd ZU ed   ed<   y)IPaymentLinkService.CreateParamsInvoiceCreationInvoiceDataRenderingOptions;Literal['']|Literal['exclude_tax', 'include_inclusive_tax']amount_tax_displayNr   r|   r   r   6CreateParamsInvoiceCreationInvoiceDataRenderingOptionsr         'I
 	
	r   r  c                   6    e Zd ZU ed   ed<   	 eed<   	 eed<   y)r7   9PaymentLinkService.CreateParamsLineItemAdjustableQuantityadjustable_quantitypricequantityNrt   ru   rv   r   rw   r{   ry   r|   r   r   CreateParamsLineItemz'PaymentLinkService.CreateParamsLineItem  s/    (G
 	
	 
	 	r   r  c                   <    e Zd ZU eed<   	 ee   ed<   	 ee   ed<   y)r  r   maximumminimumNrt   ru   rv   rx   rw   r   ry   r|   r   r   &CreateParamsLineItemAdjustableQuantityz9PaymentLinkService.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:   )	automaticautomatic_asyncmanualcapture_methodr   r8   )off_session
on_sessionsetup_future_usagestatement_descriptorstatement_descriptor_suffixtransfer_groupN)rt   ru   rv   r   r   rw   r{   r	   r|   r   r   CreateParamsPaymentIntentDataz0PaymentLinkService.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`   r   N)rt   ru   rv   rx   rw   r|   r   r   !CreateParamsPhoneNumberCollectionz4PaymentLinkService.CreateParamsPhoneNumberCollection9  s    	r   r  c                       e Zd ZU ded<   y)rb   <PaymentLinkService.CreateParamsRestrictionsCompletedSessionscompleted_sessionsNrt   ru   rv   rw   r|   r   r   CreateParamsRestrictionsz+PaymentLinkService.CreateParamsRestrictions?      J	
	r   r$  c                       e Zd ZU eed<   y)r!  limitNrt   ru   rv   ry   rw   r|   r   r   )CreateParamsRestrictionsCompletedSessionsz<PaymentLinkService.CreateParamsRestrictionsCompletedSessionsG      
	r   r)  c                   $    e Zd ZU eed      ed<   y)rd   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rt   ru   rv   r
   r   rw   r|   r   r   %CreateParamsShippingAddressCollectionz8PaymentLinkService.CreateParamsShippingAddressCollectionM  &    lnp
 p	
b	r   r  c                       e Zd ZU ee   ed<   y)rf   shipping_rateNr   r|   r   r   CreateParamsShippingOptionz-PaymentLinkService.CreateParamsShippingOptionD  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)	rn   r   >PaymentLinkService.CreateParamsSubscriptionDataInvoiceSettingsinvoice_settingsr8   trial_period_days<PaymentLinkService.CreateParamsSubscriptionDataTrialSettingstrial_settingsN)rt   ru   rv   r   r{   rw   r	   ry   r|   r   r   CreateParamsSubscriptionDataz/PaymentLinkService.CreateParamsSubscriptionDataJ  sl     %%	 &L
 	
	 d38n--	 's++	 $J
 	
	r   r'  c                       e Zd ZU ed   ed<   y)r"  DPaymentLinkService.CreateParamsSubscriptionDataInvoiceSettingsIssuerr   Nr   r|   r   r   +CreateParamsSubscriptionDataInvoiceSettingsz>PaymentLinkService.CreateParamsSubscriptionDataInvoiceSettingsd      R
 	
	r   r*  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r)  r   r   r   Nr   r|   r   r   1CreateParamsSubscriptionDataInvoiceSettingsIssuerzDPaymentLinkService.CreateParamsSubscriptionDataInvoiceSettingsIssuerl  r   r   r-  c                       e Zd ZU ded<   y)r%  GPaymentLinkService.CreateParamsSubscriptionDataTrialSettingsEndBehaviorend_behaviorNr#  r|   r   r   )CreateParamsSubscriptionDataTrialSettingsz<PaymentLinkService.CreateParamsSubscriptionDataTrialSettingsv      __	r   r1  c                       e Zd ZU ed   ed<   y)r/  cancelcreate_invoicepausemissing_payment_methodNr   r|   r   r   4CreateParamsSubscriptionDataTrialSettingsEndBehaviorzGPaymentLinkService.CreateParamsSubscriptionDataTrialSettingsEndBehavior|       '(K LL	r   r9  c                   0    e Zd ZU eed<   	 eed      ed<   y)rp   r   if_supportedneverr&   Nrt   ru   rv   rx   rw   r   r   r|   r   r   CreateParamsTaxIdCollectionz.PaymentLinkService.CreateParamsTaxIdCollection  $    	 g&=>??	r   r@  c                   *    e Zd ZU ee   ed<   	 eed<   y)rr   amountdestinationN)rt   ru   rv   r   ry   rw   r{   r|   r   r   CreateParamsTransferDataz+PaymentLinkService.CreateParamsTransferData  s    C  	 	r   rE  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)PaymentLinkService.ListParamsactiveending_beforer3   r'  starting_afterN)	rt   ru   rv   r   rx   rw   r{   r
   ry   r|   r   r   
ListParamsrG    s^    D!!	 #3''	 DI&&	 3	 $C((	r   rK  c                   $    e Zd ZU eee      ed<   y)!PaymentLinkService.RetrieveParamsr3   N)rt   ru   rv   r   r
   r{   rw   r|   r   r   RetrieveParamsrM    s    DI&&	r   rN  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&)'PaymentLinkService.UpdateParamsrH  .PaymentLinkService.UpdateParamsAfterCompletionr   r   +PaymentLinkService.UpdateParamsAutomaticTaxr#   r$   r'   z<Literal['']|List[PaymentLinkService.UpdateParamsCustomField]r,   )PaymentLinkService.UpdateParamsCustomTextr.   r/   r2   r3   Literal['']|strr4   .PaymentLinkService.UpdateParamsInvoiceCreationr6   'PaymentLinkService.UpdateParamsLineItemr   r8   0PaymentLinkService.UpdateParamsPaymentIntentDatar;   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_   z7Literal['']|PaymentLinkService.UpdateParamsRestrictionsrc   zDLiteral['']|PaymentLinkService.UpdateParamsShippingAddressCollectionre   rh   rm   /PaymentLinkService.UpdateParamsSubscriptionDataro   .PaymentLinkService.UpdateParamsTaxIdCollectionrq   N)
rt   ru   rv   r   rx   rw   r   r
   r{   r	   r|   r   r   UpdateParamsrP    s   D!!	 &<
 	
	  +400	 #9
 	
	 %08J0K$LL	 #J
 	
	 !!LMM	 'w/F'GHH	 DI&&	 &&788	 &<
 	
	  :;
 	
	 d38n--	 )>
 	
	 $/+,$
 	
	 * Y
 	
	 "E
 	
	 &1R&
 	
	 !@A
 	
	 '=
 	
	 '<
 	
	r   rZ  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)rQ  @PaymentLinkService.UpdateParamsAfterCompletionHostedConfirmationr   6PaymentLinkService.UpdateParamsAfterCompletionRedirectr   r   r   Nr   r|   r   r   UpdateParamsAfterCompletionz.PaymentLinkService.UpdateParamsAfterCompletion)  r   r   r^  c                       e Zd ZU ee   ed<   y)r\  r   Nr   r|   r   r   -UpdateParamsAfterCompletionHostedConfirmationz@PaymentLinkService.UpdateParamsAfterCompletionHostedConfirmation;  r   r   r`  c                       e Zd ZU eed<   y)r]  r   Nr   r|   r   r   #UpdateParamsAfterCompletionRedirectz6PaymentLinkService.UpdateParamsAfterCompletionRedirectA  r   r   rb  c                   *    e Zd ZU eed<   	 ed   ed<   y)rR  r   4PaymentLinkService.UpdateParamsAutomaticTaxLiabilityr   Nr   r|   r   r   UpdateParamsAutomaticTaxz+PaymentLinkService.UpdateParamsAutomaticTaxG  r   r   re  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)rd  r   r   r   Nr   r|   r   r   !UpdateParamsAutomaticTaxLiabilityz4PaymentLinkService.UpdateParamsAutomaticTaxLiabilityU  r   r   rg  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)*PaymentLinkService.UpdateParamsCustomField2PaymentLinkService.UpdateParamsCustomFieldDropdownr   r   /PaymentLinkService.UpdateParamsCustomFieldLabelr   1PaymentLinkService.UpdateParamsCustomFieldNumericr   r   .PaymentLinkService.UpdateParamsCustomFieldTextr   r   r   Nr   r|   r   r   UpdateParamsCustomFieldri  _  r   r   rn  c                       e Zd ZU ed   ed<   y)rj  8PaymentLinkService.UpdateParamsCustomFieldDropdownOptionr   Nr   r|   r   r   UpdateParamsCustomFieldDropdownz2PaymentLinkService.UpdateParamsCustomFieldDropdown  r   r   rq  c                   $    e Zd ZU eed<   	 eed<   y)rp  r   r   Nr   r|   r   r   %UpdateParamsCustomFieldDropdownOptionz8PaymentLinkService.UpdateParamsCustomFieldDropdownOption  r   r   rs  c                   *    e Zd ZU eed<   	 ed   ed<   y)rk  r   r   Nr   r|   r   r   UpdateParamsCustomFieldLabelz/PaymentLinkService.UpdateParamsCustomFieldLabel  r   r   ru  c                   0    e Zd ZU ee   ed<   	 ee   ed<   y)rl  r   r   Nr   r|   r   r   UpdateParamsCustomFieldNumericz1PaymentLinkService.UpdateParamsCustomFieldNumeric  r   r   rw  c                   0    e Zd ZU ee   ed<   	 ee   ed<   y)rm  r   r   Nr   r|   r   r   UpdateParamsCustomFieldTextz.PaymentLinkService.UpdateParamsCustomFieldText  r   r   ry  c                   T    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y	)
rS  z@Literal['']|PaymentLinkService.UpdateParamsCustomTextAfterSubmitr   zDLiteral['']|PaymentLinkService.UpdateParamsCustomTextShippingAddressr   z;Literal['']|PaymentLinkService.UpdateParamsCustomTextSubmitr   zMLiteral['']|PaymentLinkService.UpdateParamsCustomTextTermsOfServiceAcceptancer   Nr   r|   r   r   UpdateParamsCustomTextz)PaymentLinkService.UpdateParamsCustomText  r   r   r{  c                       e Zd ZU eed<   y)4PaymentLinkService.UpdateParamsCustomTextAfterSubmitr   Nr   r|   r   r   !UpdateParamsCustomTextAfterSubmitr}    r   r   r~  c                       e Zd ZU eed<   y)8PaymentLinkService.UpdateParamsCustomTextShippingAddressr   Nr   r|   r   r   %UpdateParamsCustomTextShippingAddressr    r   r   r  c                       e Zd ZU eed<   y)/PaymentLinkService.UpdateParamsCustomTextSubmitr   Nr   r|   r   r   UpdateParamsCustomTextSubmitr    r   r   r  c                       e Zd ZU eed<   y)APaymentLinkService.UpdateParamsCustomTextTermsOfServiceAcceptancer   Nr   r|   r   r   .UpdateParamsCustomTextTermsOfServiceAcceptancer    r   r   r  c                   *    e Zd ZU eed<   	 ed   ed<   y)rU  r   9PaymentLinkService.UpdateParamsInvoiceCreationInvoiceDatar   Nr   r|   r   r   UpdateParamsInvoiceCreationz.PaymentLinkService.UpdateParamsInvoiceCreation  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   zVLiteral['']|List[PaymentLinkService.UpdateParamsInvoiceCreationInvoiceDataCustomField]r,   r   r   ?PaymentLinkService.UpdateParamsInvoiceCreationInvoiceDataIssuerr   r   r8   zULiteral['']|PaymentLinkService.UpdateParamsInvoiceCreationInvoiceDataRenderingOptionsr   Nr   r|   r   r   &UpdateParamsInvoiceCreationInvoiceDataz9PaymentLinkService.UpdateParamsInvoiceCreationInvoiceData  r   r   r  c                   $    e Zd ZU eed<   	 eed<   y)DPaymentLinkService.UpdateParamsInvoiceCreationInvoiceDataCustomFieldr   r   Nr   r|   r   r   1UpdateParamsInvoiceCreationInvoiceDataCustomFieldr    r   r   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r   r   r   Nr   r|   r   r   ,UpdateParamsInvoiceCreationInvoiceDataIssuerz?PaymentLinkService.UpdateParamsInvoiceCreationInvoiceDataIssuer  r   r   r  c                       e Zd ZU ed   ed<   y)IPaymentLinkService.UpdateParamsInvoiceCreationInvoiceDataRenderingOptionsr  r  Nr   r|   r   r   6UpdateParamsInvoiceCreationInvoiceDataRenderingOptionsr  '  r  r   r  c                   <    e Zd ZU ed   ed<   	 eed<   	 ee   ed<   y)rV  9PaymentLinkService.UpdateParamsLineItemAdjustableQuantityr  idr	  Nr
  r|   r   r   UpdateParamsLineItemz'PaymentLinkService.UpdateParamsLineItem/  s5    (G
 	
	 	 c""	r   r  c                   <    e Zd ZU eed<   	 ee   ed<   	 ee   ed<   y)r  r   r  r  Nr  r|   r   r   &UpdateParamsLineItemAdjustableQuantityz9PaymentLinkService.UpdateParamsLineItemAdjustableQuantity?  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)	rW  rT  r   r   r8   r  r  r  Nr   r|   r   r   UpdateParamsPaymentIntentDataz0PaymentLinkService.UpdateParamsPaymentIntentDataM  s_     !233	 :;;	 **;<<	
 &11B%CC	 $$566	r   r  c                       e Zd ZU ded<   y)+PaymentLinkService.UpdateParamsRestrictions<PaymentLinkService.UpdateParamsRestrictionsCompletedSessionsr"  Nr#  r|   r   r   UpdateParamsRestrictionsr  e  r%  r   r  c                       e Zd ZU eed<   y)r  r'  Nr(  r|   r   r   )UpdateParamsRestrictionsCompletedSessionsz<PaymentLinkService.UpdateParamsRestrictionsCompletedSessionsm  r*  r   r  c                   $    e Zd ZU eed      ed<   y)8PaymentLinkService.UpdateParamsShippingAddressCollectionr,  r  Nr  r|   r   r   %UpdateParamsShippingAddressCollectionr  s  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	)
rX  >PaymentLinkService.UpdateParamsSubscriptionDataInvoiceSettingsr#  r   r8   zLiteral['']|intr$  zHLiteral['']|PaymentLinkService.UpdateParamsSubscriptionDataTrialSettingsr&  Nr   r|   r   r   UpdateParamsSubscriptionDataz/PaymentLinkService.UpdateParamsSubscriptionDataj  sT    %L
 	
	 :;;	 ''899	 $V
 	
	r   r  c                       e Zd ZU ed   ed<   y)r  DPaymentLinkService.UpdateParamsSubscriptionDataInvoiceSettingsIssuerr   Nr   r|   r   r   +UpdateParamsSubscriptionDataInvoiceSettingsz>PaymentLinkService.UpdateParamsSubscriptionDataInvoiceSettings  r+  r   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r   r   r   Nr   r|   r   r   1UpdateParamsSubscriptionDataInvoiceSettingsIssuerzDPaymentLinkService.UpdateParamsSubscriptionDataInvoiceSettingsIssuer  r   r   r  c                       e Zd ZU ded<   y)<PaymentLinkService.UpdateParamsSubscriptionDataTrialSettingsGPaymentLinkService.UpdateParamsSubscriptionDataTrialSettingsEndBehaviorr0  Nr#  r|   r   r   )UpdateParamsSubscriptionDataTrialSettingsr    r2  r   r  c                       e Zd ZU ed   ed<   y)r  r4  r8  Nr   r|   r   r   4UpdateParamsSubscriptionDataTrialSettingsEndBehaviorzGPaymentLinkService.UpdateParamsSubscriptionDataTrialSettingsEndBehavior  r:  r   r  c                   0    e Zd ZU eed<   	 eed      ed<   y)rY  r   r<  r&   Nr?  r|   r   r   UpdateParamsTaxIdCollectionz.PaymentLinkService.UpdateParamsTaxIdCollection  rA  r   r  paramsrG  r   returnc           
      X    t        t        t           | j                  ddd||            S )7
        Returns a list of your payment links.
        get/v1/payment_linksapibase_addressr  r   )r   r   r   _requestr   r  r   s      r   listzPaymentLinkService.list  s9     {#MM#"  	
 		
r   c           
      t   K   t        t        t           | j                  ddd||       d{         S 7 w)r  r  r  r  r  N)r   r   r   _request_asyncr  s      r   
list_asynczPaymentLinkService.list_async  sI      {#%%#" &  	
 		
s   +86
	8r   c           
      J    t        t        | j                  ddd||            S ))
        Creates a payment link.
        postr  r  r  )r   r   r  r  s      r   createzPaymentLinkService.create  s4     MM#"  	
 		
r   c           
      f   K   t        t        | j                  ddd||       d{         S 7 w)r  r  r  r  r  N)r   r   r  r  s      r   create_asynczPaymentLinkService.create_async  sD      %%#" &  	
 		
s   $1/
	1payment_linkrM  c                 |    t        t        | j                  ddj                  t	        |            d||            S )*
        Retrieve a payment link.
        r   /v1/payment_links/{payment_link}r  r  r  r   r   r  formatr   r   r  r  r   s       r   retrievezPaymentLinkService.retrieve  sN     MM299!,\!: :  #  
 	
r   c                    K   t        t        | j                  ddj                  t	        |            d||       d{         S 7 w)r  r  r  r  r  r  Nr   r   r  r  r   r  s       r   retrieve_asyncz!PaymentLinkService.retrieve_async
  s^      %%299!,\!: :  # &  
 	
   =A
A
 	A
rP  c                 |    t        t        | j                  ddj                  t	        |            d||            S ))
        Updates a payment link.
        r  r  r  r  r  r  r  s       r   updatezPaymentLinkService.update   sN     MM299!,\!: :  #  
 	
r   c                    K   t        t        | j                  ddj                  t	        |            d||       d{         S 7 w)r  r  r  r  r  r  Nr  r  s       r   update_asynczPaymentLinkService.update_async6  s^      %%299!,\!: :  # &  
 	
r  )]rt   ru   rv   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  r9  r@  rE  rK  rN  rZ  r^  r`  rb  re  rg  rn  rq  rs  ru  rw  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  __classcell__)r   s   @r   r   r      s   F{y {zi $	 i 9 I 	 &9  )  D) 	 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 Y , ry rhi $	 i 9 I  )  D) 	 y  i  4I 	 y  
i 
" "HI y  y   	 09 I u	 uny ,i I I y i  35"$
/
  
 
K	 	
* 35"$
/
  
 
K	 	
, #%
1
  
 
	
, #%
1
  
 
	
, 79"$	

 4
  	

 

2 79"$	

 4
  	

 

2 57"$	

 2
  	

 

2 57"$	

 2
  	

 

r   r   N)stripe._list_objectr   stripe._payment_linkr   &stripe._payment_link_line_item_servicer   stripe._request_optionsr   stripe._stripe_servicer   stripe._utilr   typingr	   r
   r   typing_extensionsr   r   r   r   r|   r   r   <module>r     s3    + , M 2 0 $ # # = =}
 }
r   